diff options
author | Alan Modra <amodra@gmail.com> | 2004-09-23 00:51:33 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-09-23 00:51:33 +0000 |
commit | fca870e4e6b5ed75bb12261d9e8aac0fa5d7c00c (patch) | |
tree | 7fa1417b06f5eaff8201e36902f6f514f713fa1c /bfd/elf32-sparc.c | |
parent | bf6a53d00ea03bdc15632d911db673380cbf034e (diff) | |
download | gdb-fca870e4e6b5ed75bb12261d9e8aac0fa5d7c00c.zip gdb-fca870e4e6b5ed75bb12261d9e8aac0fa5d7c00c.tar.gz gdb-fca870e4e6b5ed75bb12261d9e8aac0fa5d7c00c.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf32-sparc.c')
-rw-r--r-- | bfd/elf32-sparc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-sparc.c b/bfd/elf32-sparc.c index 77b1086..c44a50a 100644 --- a/bfd/elf32-sparc.c +++ b/bfd/elf32-sparc.c @@ -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 : |