aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/elf-hppa.h10
2 files changed, 6 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 228e30d..e75a82d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
Tue Aug 10 12:48:09 1999 Jeffrey A Law (law@cygnus.com)
+ * elf-hppa.h (elf_hppa_final_write_processing): Update for
+ recent changes to the arch_info structure.
+
* elf-hppa.h (_bfd_elf_hppa_gen_reloc_type): Handle
R_HPPA_SEGBASE and R_HPPA_SEGREL32.
* cpu-hppa.c (bfd_hppa20w_arch): New entry in architecture info
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. */