2001-03-29 H.J. Lu <hjl@gnu.org>

* readelf.c (process_unwind): Only do unwind sections for
	IA64.
This commit is contained in:
H.J. Lu 2001-03-30 01:26:43 +00:00
parent 0068722893
commit f1467e3315
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-03-29 H.J. Lu <hjl@gnu.org>
* readelf.c (process_unwind): Only do unwind sections for
IA64.
2001-03-28 H.J. Lu <hjl@gnu.org>
* Makefile.am ($(srcdir)/dlltool.1): Remove the extra target.

View File

@ -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;