This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: gcc 3.3.3 and interworking
On Wed, Apr 14, 2004 at 04:41:03PM +0100, Dave Korn wrote:
> > -----Original Message-----
> > From: binutils-owner On Behalf Of Dave Murphy
> > Sent: 14 April 2004 16:28
>
> > Looking at elf32-arm.h, R_ARM_PLT32 is handled as a separate
> > case in 2.14
> > but in 2.15.90 it appears to be handled along with
> > R_ARM_ABS32, R_ARM_REL32
> > & R_ARM_PC24.
> >
> > Can anyone point me in the direction of some information on
> > what these do?
>
> Just looking at the names, I'd guess they represent
>
> R_ARM_PLT32 : 32-bit reloc against PLT base address.
> R_ARM_ABS32 : 32-bit reloc against absolute address 0.
That's incorrect. R_ARM_PLT32 is treated the same as R_ARM_ABS32 but
is a 'hint' that a PLT entry should be used.
Dave (Murphy), would you mind describing your testcase in more detail.
Also, you said you'd applied a patch to GCC but did not describe what
it was. And you never told us what version of binutils you were using.
The concept of a PLT32 relocation overflowing is a little odd.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer