The ARM ELF ABI requires the linker to do interworking for wide branches
from Thumb code to ARM code. The range for Thumb2 unconditional branches
is the same as for BL.
That was pointed out by @peter.smith in the comments for D33436.
Differential D33838
[ARM] Create relocations for wide Thumb2 unconditional branches. fhahn on Jun 2 2017, 9:19 AM. Authored by
Details
The ARM ELF ABI requires the linker to do interworking for wide branches That was pointed out by @peter.smith in the comments for D33436.
Diff Detail Event TimelineComment Actions I plan to add support for Thumb2 conditional branches in a separate patch, as they have a different range. I'll also investigate why unnecessary relocations are created for backward branches. Comment Actions I'm happy with this change using the same argument as D33436. Will be worth waiting to see if anyone in a later timezone objects before committing. Comment Actions I've just created D33898 , which creates relocations for all unconditional branches to function symbols with different execution mode. |