From 41ba034149971e060e08becc84341bec08cf64f3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 28 Jan 2012 00:59:27 +0000 Subject: * elfcpp.h (STT_GNU_IFUNC): Add comment. --- elfcpp/ChangeLog | 4 ++++ elfcpp/elfcpp.h | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'elfcpp') diff --git a/elfcpp/ChangeLog b/elfcpp/ChangeLog index 94986c81cc..f750c4b222 100644 --- a/elfcpp/ChangeLog +++ b/elfcpp/ChangeLog @@ -1,3 +1,7 @@ +2012-01-27 Ian Lance Taylor + + * elfcpp.h (STT_GNU_IFUNC): Add comment. + 2011-07-03 Samuel Thibault Thomas Schwinge diff --git a/elfcpp/elfcpp.h b/elfcpp/elfcpp.h index 7a70765327..7258f5f06a 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 . // 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, -- cgit v1.2.1