OSDN Git Service

2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl@lucon.org>
Fri, 13 May 2005 18:35:55 +0000 (18:35 +0000)
committerH.J. Lu <hjl@lucon.org>
Fri, 13 May 2005 18:35:55 +0000 (18:35 +0000)
* readelf.c (dump_ia64_unwind): Get stamp with proper size.

binutils/ChangeLog
binutils/readelf.c

index 00ffe8b..1b4e03f 100644 (file)
@@ -1,3 +1,7 @@
+2005-05-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * readelf.c (dump_ia64_unwind): Get stamp with proper size.
+
 2005-05-12  Nick Clifton  <nickc@redhat.com>
 
        * readelf.c (display_debug_lines): If pointer_size has not been
index 0ec295b..4cf2aa9 100644 (file)
@@ -4514,7 +4514,7 @@ dump_ia64_unwind (struct ia64_unw_aux_info *aux)
              (unsigned long) (tp->info.offset - aux->seg_base));
 
       head = aux->info + (tp->info.offset - aux->info_addr);
-      stamp = BYTE_GET ((unsigned char *) head);
+      stamp = byte_get ((unsigned char *) head, sizeof (stamp));
 
       printf ("  v%u, flags=0x%lx (%s%s), len=%lu bytes\n",
              (unsigned) UNW_VER (stamp),