* readelf.c (process_unwind): Just return if do_unwind is 0.
+2001-03-30 H.J. Lu <hjl@gnu.org>
+
+ * readelf.c (process_unwind): Just return if do_unwind is 0.
+
2001-03-28 Roger Sayle <roger@metaphorics.com>
* dlltool.c (make_one_lib_file): Fix section flags for
unsigned long i, addr_size;
struct unw_aux_info aux;
+ if (!do_unwind)
+ return 1;
+
if (elf_header.e_machine != EM_IA_64)
{
printf (_("\nThere are no unwind sections in this file.\n"));
addr_size = is_32bit_elf ? 4 : 8;
- if (!do_unwind)
- return 1;
-
for (i = 0, sec = section_headers; i < elf_header.e_shnum; ++i, ++sec)
{
if (sec->sh_type == SHT_SYMTAB)