From: David Edelsohn Date: Sat, 20 Jan 1996 16:53:44 +0000 (+0000) Subject: * elf32-sparc.c (ELF_MACHINE_ALT1): Define. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b3eb07e981f1e2487938531f812d84842b398fb;p=binutils-gdb.git * elf32-sparc.c (ELF_MACHINE_ALT1): Define. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3832d1097ea..b01dde6e4fc 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Sat Jan 20 08:36:10 1996 Doug Evans + + * elf32-sparc.c (ELF_MACHINE_ALT1): Define. + Thu Jan 18 18:25:34 1996 Kim Knuttila * coff-ppc.c (coff_ppc_relocate_section): changed TOCDEFN relocs. diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c index 46618e756f1..6d49de48db2 100644 --- a/bfd/elf32-sparc.c +++ b/bfd/elf32-sparc.c @@ -1137,9 +1137,6 @@ elf32_sparc_relocate_section (output_bfd, info, input_bfd, input_section, long indx; sym = local_syms + r_symndx; - - BFD_ASSERT (ELF_ST_TYPE (sym->st_info) == STT_SECTION); - sec = local_sections[r_symndx]; if (sec != NULL && bfd_is_abs_section (sec)) indx = 0; @@ -1487,6 +1484,7 @@ elf32_sparc_finish_dynamic_sections (output_bfd, info) #define TARGET_BIG_NAME "elf32-sparc" #define ELF_ARCH bfd_arch_sparc #define ELF_MACHINE_CODE EM_SPARC +#define ELF_MACHINE_ALT1 EM_SPARC32PLUS #define ELF_MAXPAGESIZE 0x10000 #define elf_backend_create_dynamic_sections \ _bfd_elf_create_dynamic_sections