aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>1996-04-02 21:28:33 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>1996-04-02 21:28:33 +0000
commitd1f74cd2c3a5165946c0152eeedd5515a356a189 (patch)
tree832e5e409217bdec2a88b1bfca2270612bc8718f /bfd/aoutx.h
parent19bfbcbecf49abb63d85b0244dc10770e3b4ac9a (diff)
downloadgdb-d1f74cd2c3a5165946c0152eeedd5515a356a189.zip
gdb-d1f74cd2c3a5165946c0152eeedd5515a356a189.tar.gz
gdb-d1f74cd2c3a5165946c0152eeedd5515a356a189.tar.bz2
* aoutf1.h (sunos_32_set_arch_mach): Handle M_SPARCLET.
(aout_32_sunos4_write_object_contents): Likewise. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_sparc_{sparclet,sparclite}. * archures.c (bfd_mach_sparc_{sparclet,sparclite}): Define. (bfd_mach_sparc_v9_p): Update. * cpu-sparc.c (arch_info_struct): Add entries for sparclet,sparclite. * libaout.h (enum machine_type): Add M_SPARCLET. * sunos.c (MACHTYPE_OK): Define. * bfd-in2.h: Regenerated.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index b8dd884..d7a7fd6 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -692,8 +692,11 @@ NAME(aout,machine_type) (arch, machine, unknown)
case bfd_arch_sparc:
if (machine == 0
|| machine == bfd_mach_sparc
+ || machine == bfd_mach_sparc_sparclite
|| machine == bfd_mach_sparc_v9)
arch_flags = M_SPARC;
+ else if (machine == bfd_mach_sparc_sparclet)
+ arch_flags = M_SPARCLET;
break;
case bfd_arch_m68k: