diff options
author | Jakub Jelinek <jakub@redhat.com> | 2003-07-01 15:54:15 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2003-07-01 15:54:15 +0000 |
commit | bdf4d63a1de2eb930564665741b43f57717f0576 (patch) | |
tree | aff84b16b1f06f10e47271f33b85434effecb536 | |
parent | bac02689134af31146797f2ffa0217af7414acf0 (diff) | |
download | gdb-bdf4d63a1de2eb930564665741b43f57717f0576.zip gdb-bdf4d63a1de2eb930564665741b43f57717f0576.tar.gz gdb-bdf4d63a1de2eb930564665741b43f57717f0576.tar.bz2 |
* readelf.c (dynamic_segment_ia64_val): Print address and newline
for sections by default. Comment fix.
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4c9e958..4e8d928 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2003-07-01 Jakub Jelinek <jakub@redhat.com> + + * readelf.c (dynamic_segment_ia64_val): Print address and newline + for sections by default. Comment fix. + 2003-06-28 Danny Smith <dannysmith@users.sourceforge.net> * rcparse.y (res_text_field): New res_id variable. diff --git a/binutils/readelf.c b/binutils/readelf.c index f5a8824..f032cbe 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4671,12 +4671,17 @@ dynamic_segment_ia64_val (entry) switch (entry->d_tag) { case DT_IA_64_PLT_RESERVE: - /* First 3 bytes reserved. */ + /* First 3 slots reserved. */ print_vma (entry->d_un.d_ptr, PREFIX_HEX); printf (" -- "); print_vma (entry->d_un.d_ptr + (3 * 8), PREFIX_HEX); - printf ("\n"); + break; + + default: + print_vma (entry->d_un.d_ptr, PREFIX_HEX); + break; } + putchar ('\n'); } static int |