* readelf.c (dynamic_segment_ia64_val): Print address and newline
authorJakub Jelinek <jakub@redhat.com>
Tue, 1 Jul 2003 15:54:15 +0000 (15:54 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 1 Jul 2003 15:54:15 +0000 (15:54 +0000)
for sections by default.  Comment fix.

binutils/ChangeLog
binutils/readelf.c

index 4c9e958b53714b675f6abe5648a7214ac83e57e3..4e8d9280950cdc04edc6349dadb59aa288bdb266 100644 (file)
@@ -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.
index f5a8824faf5229610451807f885ed74397112821..f032cbe118945ae6b1a3e05310ac17fc21183a57 100644 (file)
@@ -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