From 3a9acac86a9b6b71d1fd3bd501615485fa9a8539 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 10 Aug 1999 19:19:22 +0000 Subject: [PATCH] * elf-hppa.h (elf_hppa_final_write_processing): Update for recent changes to the arch_info structure. --- bfd/ChangeLog | 3 +++ bfd/elf-hppa.h | 10 +++------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 228e30d0d84..e75a82d24e3 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 44f22384cdb..b046844cbcd 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. */ -- 2.30.2