* elf32-sparc.c (ELF_MACHINE_ALT1): Define.
authorDavid Edelsohn <dje.gcc@gmail.com>
Sat, 20 Jan 1996 16:53:44 +0000 (16:53 +0000)
committerDavid Edelsohn <dje.gcc@gmail.com>
Sat, 20 Jan 1996 16:53:44 +0000 (16:53 +0000)
bfd/ChangeLog
bfd/elf32-sparc.c

index 3832d1097eac0329cbf1f3cf8a5a7fd0d5c785a2..b01dde6e4fc08114d87f0a4cd2f80aae2120078e 100644 (file)
@@ -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.
index 46618e756f114ac672d1afe9e8549fc449003d04..6d49de48db23d57d925a786688b99859cc49e22d 100644 (file)
@@ -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