diff options
author | H.J. Lu <hjl@lucon.org> | 2005-05-13 18:35:55 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-05-13 18:35:55 +0000 |
commit | 96d628e220552b7c7d0ddcf460ba67fb148cca58 (patch) | |
tree | 877739006efce6af5e38ef75926b285db6acd0fb | |
parent | 1d06380cd45d7273fd290171019234a2eb437a8d (diff) | |
download | binutils-redhat-96d628e220552b7c7d0ddcf460ba67fb148cca58.tar.gz |
2005-05-13 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_ia64_unwind): Get stamp with proper size.
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 00ffe8ba17..1b4e03f5a1 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/readelf.c b/binutils/readelf.c index 0ec295b456..4cf2aa9f01 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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), |