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 /binutils/readelf.c | |
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.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 9 |
1 files changed, 7 insertions, 2 deletions
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 |