search for: thunksections

Displaying 1 result from an estimated 1 matches for "thunksections".

2017 Apr 04
2
[LLD] RFC Range Thunks Implementation review for ARM and Mips
...s it must be added to the correct InputSectionDescription. For the implementation I have chosen to add Thunks to OutputSection.Sections and then merge these into the InputSectionDescriptions for the OutputSection. Placement of range extension thunks I have chosen a simple implementation of spacing ThunkSections a Target dependent distance apart. For ARM (lld currently supports v7a) this is set to the Thumb2 branch range of 16Mb. If a thunk cannot be created in one of these spaced out ThunkSections a new ThunkSection is created. This allows special cases such as the Thumb2 conditional branch with a range o...