From bdf4d63a1de2eb930564665741b43f57717f0576 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Tue, 1 Jul 2003 15:54:15 +0000 Subject: [PATCH] * readelf.c (dynamic_segment_ia64_val): Print address and newline for sections by default. Comment fix. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 4c9e958b537..4e8d9280950 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2003-07-01 Jakub Jelinek + + * readelf.c (dynamic_segment_ia64_val): Print address and newline + for sections by default. Comment fix. + 2003-06-28 Danny Smith * rcparse.y (res_text_field): New res_id variable. diff --git a/binutils/readelf.c b/binutils/readelf.c index f5a8824faf5..f032cbe1189 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 -- 2.30.2