diff options
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-sparc.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3832d10..b01dde6 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Sat Jan 20 08:36:10 1996 Doug Evans <dje@canuck.cygnus.com> + + * elf32-sparc.c (ELF_MACHINE_ALT1): Define. + Thu Jan 18 18:25:34 1996 Kim Knuttila <krk@cygnus.com> * coff-ppc.c (coff_ppc_relocate_section): changed TOCDEFN relocs. diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c index 46618e7..6d49de4 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 |