aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c9
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