PATCH: PR ld/15371: uninitialised ifunc symbol

Will Newton will.newton@linaro.org
Tue Apr 16 08:24:00 GMT 2013


On 15 April 2013 22:13, H.J. Lu <hongjiu.lu@intel.com> wrote:
> non_got_ref may not be set when building shared library. We need to set
> non_got_ref if there are any non-PIC relocations.  But we only did this
> when there were no PLT/GOT relocations.  It failed when there is a PLT
> relocation.  I am checking in this patch moves the non_got_ref check out.

Hi H.J.,

I noticed the code in elf-ifunc.c is only used by i386/x86_64. Is this
code intended to be generic? Would it make sense for future IFUNC
enabled ports to use it?

Copyright is 2009 in that file so probably needs updating btw.

Thanks,



More information about the Binutils mailing list