projects
/
platform
/
upstream
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2001-03-29 H.J. Lu <hjl@gnu.org>
[platform/upstream/binutils.git]
/
binutils
/
readelf.c
diff --git
a/binutils/readelf.c
b/binutils/readelf.c
index
b589e36
..
ade1d17
100644
(file)
--- a/
binutils/readelf.c
+++ b/
binutils/readelf.c
@@
-3411,6
+3411,12
@@
process_unwind (file)
unsigned long i, addr_size;
struct unw_aux_info aux;
+ if (elf_header.e_machine != EM_IA_64)
+ {
+ printf (_("\nThere are no unwind sections in this file.\n"));
+ return 1;
+ }
+
memset (& aux, 0, sizeof (aux));
addr_size = is_32bit_elf ? 4 : 8;