[PATCH] Obvious IA-64 readelf fix
Jakub Jelinek
jakub@redhat.com
Tue Jul 1 15:56:00 GMT 2003
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
More information about the Binutils
mailing list