PR gas/396
authorAlan Modra <amodra@gmail.com>
Thu, 23 Sep 2004 00:51:33 +0000 (00:51 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 23 Sep 2004 00:51:33 +0000 (00:51 +0000)
* elf32-sparc.c (elf32_sparc_final_write_processing): Handle
bfd_mach_sparc_sparclet and bfd_mach_sparc_sparclite.  Remove
redundant assignment of EM_SPARC.

bfd/ChangeLog
bfd/elf32-sparc.c

index a5983ea84afb1f7b7a171c0fcf21f2da56d661ff..842e7d9eecf21e6015704861081d087c99dd40f4 100644 (file)
@@ -1,3 +1,10 @@
+2004-09-23  Alan Modra  <amodra@bigpond.net.au>
+
+       PR gas/396
+       * elf32-sparc.c (elf32_sparc_final_write_processing): Handle
+       bfd_mach_sparc_sparclet and bfd_mach_sparc_sparclite.  Remove
+       redundant assignment of EM_SPARC.
+
 2004-09-22  Brian Ford  <ford@vss.fsi.com>
 
        * pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Enable 16 byte
index 77b108632a3106058b047db1ab70f5e60427bcb7..c44a50a1d3cf7c1dead157b936e4861363853654 100644 (file)
@@ -3371,6 +3371,8 @@ elf32_sparc_final_write_processing (abfd, linker)
   switch (bfd_get_mach (abfd))
     {
     case bfd_mach_sparc :
+    case bfd_mach_sparc_sparclet :
+    case bfd_mach_sparc_sparclite :
       break; /* nothing to do */
     case bfd_mach_sparc_v8plus :
       elf_elfheader (abfd)->e_machine = EM_SPARC32PLUS;
@@ -3389,7 +3391,6 @@ elf32_sparc_final_write_processing (abfd, linker)
                                       | EF_SPARC_SUN_US3;
       break;
     case bfd_mach_sparc_sparclite_le :
-      elf_elfheader (abfd)->e_machine = EM_SPARC;
       elf_elfheader (abfd)->e_flags |= EF_SPARC_LEDATA;
       break;
     default :
This page took 0.027888 seconds and 4 git commands to generate.