[RFC PATCH] bfd/elf32-arm.c: Set st_value to zero for undefined symbols.

Alan Modra amodra@gmail.com
Fri Jan 24 04:17:00 GMT 2014


On Thu, Jan 23, 2014 at 03:22:21PM +0000, Will Newton wrote:
> On 16 January 2014 10:28, Will Newton <will.newton@linaro.org> wrote:
> > I'm not sure what the implications of this patch are, so I thought I would
> > post it here in the hope that someone can explain what might break.

You're probably being a bit too honest here. :)

The patch looks OK to me as far as it goes, but I count myself
unqualified to ack it.  I don't know enough about ARM to say whether
you've set pointer_equality_needed for all the relocs types you
should.  It needs to be set whenever you might be taking the address
of a function in non-PIC code or data.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list