This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: elfcpp patch committed: Add comment for STT_GNU_IFUNC
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 28 Jan 2012 09:37:35 +0100
- Subject: Re: elfcpp patch committed: Add comment for STT_GNU_IFUNC
- References: <mcry5ssmyjw.fsf@dhcp-172-18-216-180.mtv.corp.google.com>
Ian Lance Taylor <iant@google.com> writes:
> @@ -513,8 +514,12 @@
> STT_FILE = 4,
> STT_COMMON = 5,
> STT_TLS = 6,
> - STT_LOOS = 10,
> +
> + // GNU extension: symbol value points to a function which is called
> + // at runtime to determine the final value of the symbol.
> STT_GNU_IFUNC = 10,
> +
> + STT_LOOS = 10,
> STT_HIOS = 12,
STT_LOOS/STT_HIOS are marking the OS-specific value region, and
STT_GNU_IFUNC is part of it.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."