aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-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. */