diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2010-03-05 21:04:59 +0000 |
---|---|---|
committer | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2010-03-05 21:04:59 +0000 |
commit | 44ec90b93bb675836c5ebf1498463393f72acb97 (patch) | |
tree | 813b32cf553fd1284d2f727ed1075862ffa337a9 /binutils | |
parent | f870a310ee7fbfd6ccaea95d632063cbdbd2b9c9 (diff) | |
download | fsf-binutils-gdb-44ec90b93bb675836c5ebf1498463393f72acb97.zip fsf-binutils-gdb-44ec90b93bb675836c5ebf1498463393f72acb97.tar.gz fsf-binutils-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 'binutils')
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 10 |
2 files changed, 13 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3d47c3c..128454c 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * readelf.c (get_ver_flags): Handle VER_FLG_INFO. + 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com> * NEWS: Document .ARM.exidx / .ARM.extab support. diff --git a/binutils/readelf.c b/binutils/readelf.c index 2c67759..e3b5487 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -7267,7 +7267,15 @@ get_ver_flags (unsigned int flags) strcat (buff, "WEAK "); } - if (flags & ~(VER_FLG_BASE | VER_FLG_WEAK)) + if (flags & VER_FLG_INFO) + { + if (flags & (VER_FLG_BASE|VER_FLG_WEAK)) + strcat (buff, "| "); + + strcat (buff, "INFO "); + } + + if (flags & ~(VER_FLG_BASE | VER_FLG_WEAK | VER_FLG_INFO)) strcat (buff, "| <unknown>"); return buff; |