diff options
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; |