[patch] STT_GNU_IFUNC support

Jan Kratochvil jan.kratochvil@redhat.com
Sun Feb 14 21:59:00 GMT 2010


On Sun, 14 Feb 2010 22:42:30 +0100, Mark Kettenis wrote:
> While the symbol may be in the OS-specific range it is actually more
> toolchain dependent than OS-dependent.  Unless I'm missing something,
> all OS'es that use binutils as their toolchain will support
> STT_GNU_IFUNC.

It is true GDB already does not interpret STT_GNU_IFUNC but it just follows
BSF_GNU_INDIRECT_FUNCTION.  It is more the bfd/'s task to decide when the
STT_GNU_IFUNC numeric value is valid at the specific platform.


> And perhaps we should consider enabling support for it on all supported ELF
> platforms.

OK, that will make this patch also simple.  I will send it later.


Thanks,
Jan



More information about the Gdb-patches mailing list