This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] STT_GNU_IFUNC support
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