This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
elfcpp patch committed: Add comment for STT_GNU_IFUNC
- From: Ian Lance Taylor <iant at google dot com>
- To: binutils at sourceware dot org
- Date: Fri, 27 Jan 2012 17:00:03 -0800
- Subject: elfcpp patch committed: Add comment for STT_GNU_IFUNC
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.
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,