* elfcpp patch committed: Add comment for STT_GNU_IFUNC
@ 2012-01-28 1:00 Ian Lance Taylor
2012-01-28 8:37 ` Andreas Schwab
0 siblings, 1 reply; 2+ messages in thread
From: Ian Lance Taylor @ 2012-01-28 1:00 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 171 bytes --]
I committed this patch to elfcpp.h to add a comment for STT_GNU_IFUNC.
Ian
2012-01-27 Ian Lance Taylor <iant@google.com>
* elfcpp.h (STT_GNU_IFUNC): Add comment.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 911 bytes --]
Index: elfcpp.h
===================================================================
RCS file: /cvs/src/src/elfcpp/elfcpp.h,v
retrieving revision 1.33
diff -u -r1.33 elfcpp.h
--- elfcpp.h 3 Jul 2011 13:37:07 -0000 1.33
+++ elfcpp.h 28 Jan 2012 00:58:48 -0000
@@ -1,6 +1,7 @@
// elfcpp.h -- main header file for elfcpp -*- C++ -*-
-// Copyright 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+// Copyright 2006, 2007, 2008, 2009, 2010, 2011, 2012
+// Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of elfcpp.
@@ -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_LOPROC = 13,
STT_HIPROC = 15,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: elfcpp patch committed: Add comment for STT_GNU_IFUNC
2012-01-28 1:00 elfcpp patch committed: Add comment for STT_GNU_IFUNC Ian Lance Taylor
@ 2012-01-28 8:37 ` Andreas Schwab
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 2012-01-28 8:37 UTC (permalink / raw)
To: Ian Lance Taylor; +Cc: binutils
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."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-28 8:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-28 1:00 elfcpp patch committed: Add comment for STT_GNU_IFUNC Ian Lance Taylor
2012-01-28 8:37 ` Andreas Schwab
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).