This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Obvious IA-64 readelf fix
- From: Jakub Jelinek <jakub at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 1 Jul 2003 17:56:25 +0200
- Subject: [PATCH] Obvious IA-64 readelf fix
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
Guess the patch speaks for itself. Commited as obvious.
2003-07-01 Jakub Jelinek <jakub@redhat.com>
* readelf.c (dynamic_segment_ia64_val): Print address and newline
for sections by default. Comment fix.
--- binutils/readelf.c 26 Jun 2003 12:46:17 -0000 1.212
+++ binutils/readelf.c 1 Jul 2003 15:50:09 -0000
@@ -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
Jakub