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.
This commit is contained in:
parent
bf6a53d00e
commit
fca870e4e6
2 changed files with 9 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 :
|
||||
|
|
Loading…
Reference in a new issue