This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [RFC] Add IFUNC support for MIPS (v3)


On 08/16/2015 12:17 PM, Richard Sandiford wrote:
> We should probably report an error in cases where we see a global symbol
> and the tag isn't defined, rather than silently mislink the code.

A REL32 reloc with an IFUNC symbol could very well be for a data section.
Though its safe to assume that there would be a corresponding relocation for
the explicit GOT region as well, we wouldn't know which is which trivially,
from inspecting the relocation. Wouldn't it look confusing if we check for the
presence of GENERAL_GOTNO even for relocations that don't modify the general
GOT region?

Regards,
Faraz Shahbazker


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