diff options
author | Ian Lance Taylor <ian@airs.com> | 2012-01-28 00:59:27 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2012-01-28 00:59:27 +0000 |
commit | c110c91fee2ea9cd12c1cf073547384b19fb159c (patch) | |
tree | 84531af6e1965f9fdac9f7e08587ec7fbd848e7f | |
parent | c335b55d34437e607fca5ba7f0bea4a9696d2fe5 (diff) | |
download | gdb-c110c91fee2ea9cd12c1cf073547384b19fb159c.zip gdb-c110c91fee2ea9cd12c1cf073547384b19fb159c.tar.gz gdb-c110c91fee2ea9cd12c1cf073547384b19fb159c.tar.bz2 |
* elfcpp.h (STT_GNU_IFUNC): Add comment.
-rw-r--r-- | elfcpp/ChangeLog | 4 | ||||
-rw-r--r-- | elfcpp/elfcpp.h | 9 |
2 files changed, 11 insertions, 2 deletions
diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index 94986c8..f750c4b 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,7 @@ +2012-01-27 Ian Lance Taylor <iant@google.com> + + * elfcpp.h (STT_GNU_IFUNC): Add comment. + 2011-07-03 Samuel Thibault <samuel.thibault@gnu.org> Thomas Schwinge <thomas@schwinge.name> diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h index 7a70765..7258f5f 100644 --- a/elfcpp/elfcpp.h +++ b/elfcpp/elfcpp.h @@ -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 @@ enum STT 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, |