This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: PR ld/15371: uninitialised ifunc symbol


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,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]