From c2fd0c7c03c02e4b9c5bc9e6d6c0da5248778a16 Mon Sep 17 00:00:00 2001 From: Rainer Orth Date: Fri, 5 Mar 2010 21:04:59 +0000 Subject: [PATCH] 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. --- include/ChangeLog | 5 +++++ include/elf/common.h | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/include/ChangeLog b/include/ChangeLog index 64f6e1fbd..f153061e3 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2010-03-05 Rainer Orth + + * elf/common.h (VER_FLG_*): Document. + (VER_FLG_INFO): Define. + 2010-02-08 David S. Miller * elf/sparc.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define. diff --git a/include/elf/common.h b/include/elf/common.h index e7ffac4b7..6bad0d93c 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. */