[RFC] Add IFUNC support for MIPS (v3)

Faraz Shahbazker faraz.shahbazker@imgtec.com
Mon Aug 17 19:18:00 GMT 2015


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



More information about the Libc-alpha mailing list