aboutsummaryrefslogtreecommitdiff
path: root/include/elf
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-03-05 21:04:59 +0000
committerRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2010-03-05 21:04:59 +0000
commit44ec90b93bb675836c5ebf1498463393f72acb97 (patch)
tree813b32cf553fd1284d2f727ed1075862ffa337a9 /include/elf
parentf870a310ee7fbfd6ccaea95d632063cbdbd2b9c9 (diff)
downloadgdb-44ec90b93bb675836c5ebf1498463393f72acb97.zip
gdb-44ec90b93bb675836c5ebf1498463393f72acb97.tar.gz
gdb-44ec90b93bb675836c5ebf1498463393f72acb97.tar.bz2
include:
* elf/common.h (VER_FLG_*): Document. (VER_FLG_INFO): Define. gold: * dynobj.h (Verdef::Verdef): Add is_info arg, is_info member function, is_info_ member. * dynobj.cc (Verdef::write): Set VER_FLG_INFO if this->is_info_. (Versions::Versions): Update caller. (Versions::define_base_version): Likewise. (Versions::add_def): Likewise. elfcpp: * elfcpp.h (VER_FLG_INFO): Define. binutils: * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index e7ffac4..6bad0d9 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -812,10 +812,16 @@
#define VER_DEF_CURRENT 1
/* These constants appear in the vd_flags field of a Elf32_Verdef
- structure. */
+ structure.
+
+ Cf. the Solaris Linker and Libraries Guide, Ch. 7, Object File Format,
+ Versioning Sections, for a description:
+
+ http://docs.sun.com/app/docs/doc/819-0690/chapter6-93046?l=en&a=view */
#define VER_FLG_BASE 0x1
#define VER_FLG_WEAK 0x2
+#define VER_FLG_INFO 0x4
/* These special constants can be found in an Elf32_Versym field. */