aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-hppa.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-08-10 19:19:22 +0000
committerJeff Law <law@redhat.com>1999-08-10 19:19:22 +0000
commit3a9acac86a9b6b71d1fd3bd501615485fa9a8539 (patch)
treea19f96dfb3fa62ae04d56698617d2a8d087bdb12 /bfd/elf-hppa.h
parent9100134ca0c00987df7b3490e0e1c5d941bc8a2a (diff)
downloadgdb-3a9acac86a9b6b71d1fd3bd501615485fa9a8539.zip
gdb-3a9acac86a9b6b71d1fd3bd501615485fa9a8539.tar.gz
gdb-3a9acac86a9b6b71d1fd3bd501615485fa9a8539.tar.bz2
* elf-hppa.h (elf_hppa_final_write_processing): Update for
recent changes to the arch_info structure.
Diffstat (limited to 'bfd/elf-hppa.h')
-rw-r--r--bfd/elf-hppa.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/bfd/elf-hppa.h b/bfd/elf-hppa.h
index 44f2238..b046844 100644
--- a/bfd/elf-hppa.h
+++ b/bfd/elf-hppa.h
@@ -606,13 +606,9 @@ elf_hppa_final_write_processing (abfd, linker)
else if (mach == 11)
elf_elfheader (abfd)->e_flags |= EFA_PARISC_1_1;
else if (mach == 20)
- {
- elf_elfheader (abfd)->e_flags |= EFA_PARISC_2_0;
-#if ARCH_SIZE == 64
- elf_elfheader (abfd)->e_flags |= EF_PARISC_WIDE;
-#endif
- }
-
+ elf_elfheader (abfd)->e_flags |= EFA_PARISC_2_0;
+ else if (mach == 25)
+ elf_elfheader (abfd)->e_flags |= EF_PARISC_WIDE | EFA_PARISC_2_0;
}
/* Return true if SYM represents a local label symbol. */