This is the mail archive of the
mailing list for the binutils project.
Re: Never emit R_ARM_PC24 relocations when linking
- From: Philip Blundell <pb at nexus dot co dot uk>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 08 Jan 2004 23:42:29 +0000
- Subject: Re: Never emit R_ARM_PC24 relocations when linking
- References: <20040107215854.GA18629@nevyn.them.org>
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.