Never emit R_ARM_PC24 relocations when linking
Thu Jan 8 23:42:00 GMT 2004
On Wed, 2004-01-07 at 21:58, Daniel Jacobowitz wrote:
> Right now we have a lot of baggage carried around for the difference between
> R_ARM_PLT32 relocations and R_ARM_PC24. In particular, we emit R_ARM_PC24
> relocations for shared libraries when we receive R_ARM_PC24 input
> relocations. This seems like a misfeature; every branch instruction should
> either be resolved locally, or go through a PLT stub.
This looks good to me. So, with this patch, PLT32 and PC24 relocs in
linker input should be treated as entirely synonymous, right? The next
obvious stage would be to stop gas from producing PLT32, and then that
reloc type can fade gently into obscurity.
More information about the Binutils