* elf64-ppc.c (ppc64_elf_size_stubs): When determining need for
[deliverable/binutils-gdb.git] / bfd / cpu-sparc.c
index 583a75d261328bf91089ae54ab54868b93cfa181..3c0eae50fada1ee151e59bc85fb35b8068f98e74 100644 (file)
@@ -1,5 +1,6 @@
 /* BFD support for the SPARC architecture.
-   Copyright (C) 1992, 1995, 1996 Free Software Foundation, Inc.
+   Copyright 1992, 1995, 1996, 1998, 2000, 2002
+   Free Software Foundation, Inc.
 
 This file is part of BFD, the Binary File Descriptor library.
 
@@ -24,20 +25,33 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 static const bfd_arch_info_type arch_info_struct[] =
 {
   {
-    64,        /* bits in a word */
-    64,        /* bits in an address */
+    32,        /* bits in a word */
+    32,        /* bits in an address */
     8, /* bits in a byte */
     bfd_arch_sparc,
-    bfd_mach_sparc_v9,
+    bfd_mach_sparc_sparclet,
     "sparc",
-    "sparc:v9",
+    "sparc:sparclet",
     3,
-    false,
-    bfd_default_compatible, 
+    FALSE,
+    bfd_default_compatible,
     bfd_default_scan,
     &arch_info_struct[1],
   },
-  /* start-sanitize-v8plus */
+  {
+    32,        /* bits in a word */
+    32,        /* bits in an address */
+    8, /* bits in a byte */
+    bfd_arch_sparc,
+    bfd_mach_sparc_sparclite,
+    "sparc",
+    "sparc:sparclite",
+    3,
+    FALSE,
+    bfd_default_compatible,
+    bfd_default_scan,
+    &arch_info_struct[2],
+  },
   {
     32,        /* bits in a word */
     32,        /* bits in an address */
@@ -47,10 +61,10 @@ static const bfd_arch_info_type arch_info_struct[] =
     "sparc",
     "sparc:v8plus",
     3,
-    false,
-    bfd_default_compatible, 
+    FALSE,
+    bfd_default_compatible,
     bfd_default_scan,
-    &arch_info_struct[2],
+    &arch_info_struct[3],
   },
   {
     32,        /* bits in a word */
@@ -61,12 +75,39 @@ static const bfd_arch_info_type arch_info_struct[] =
     "sparc",
     "sparc:v8plusa",
     3,
-    false,
-    bfd_default_compatible, 
+    FALSE,
+    bfd_default_compatible,
     bfd_default_scan,
-    &arch_info_struct[3],
+    &arch_info_struct[4],
+  },
+  {
+    32,        /* bits in a word */
+    32,        /* bits in an address */
+    8, /* bits in a byte */
+    bfd_arch_sparc,
+    bfd_mach_sparc_sparclite_le,
+    "sparc",
+    "sparc:sparclite_le",
+    3,
+    FALSE,
+    bfd_default_compatible,
+    bfd_default_scan,
+    &arch_info_struct[5],
+  },
+  {
+    64,        /* bits in a word */
+    64,        /* bits in an address */
+    8, /* bits in a byte */
+    bfd_arch_sparc,
+    bfd_mach_sparc_v9,
+    "sparc",
+    "sparc:v9",
+    3,
+    FALSE,
+    bfd_default_compatible,
+    bfd_default_scan,
+    &arch_info_struct[6],
   },
-  /* end-sanitize-v8plus */
   {
     64,        /* bits in a word */
     64,        /* bits in an address */
@@ -76,8 +117,36 @@ static const bfd_arch_info_type arch_info_struct[] =
     "sparc",
     "sparc:v9a",
     3,
-    false,
-    bfd_default_compatible, 
+    FALSE,
+    bfd_default_compatible,
+    bfd_default_scan,
+    &arch_info_struct[7],
+  },
+  {
+    32,        /* bits in a word */
+    32,        /* bits in an address */
+    8, /* bits in a byte */
+    bfd_arch_sparc,
+    bfd_mach_sparc_v8plusb,
+    "sparc",
+    "sparc:v8plusb",
+    3,
+    FALSE,
+    bfd_default_compatible,
+    bfd_default_scan,
+    &arch_info_struct[8],
+  },
+  {
+    64,        /* bits in a word */
+    64,        /* bits in an address */
+    8, /* bits in a byte */
+    bfd_arch_sparc,
+    bfd_mach_sparc_v9b,
+    "sparc",
+    "sparc:v9b",
+    3,
+    FALSE,
+    bfd_default_compatible,
     bfd_default_scan,
     0,
   }
@@ -93,8 +162,8 @@ const bfd_arch_info_type bfd_sparc_arch =
     "sparc",
     "sparc",
     3,
-    true, /* the default */
-    bfd_default_compatible, 
+    TRUE, /* the default */
+    bfd_default_compatible,
     bfd_default_scan,
     &arch_info_struct[0],
   };
This page took 0.024729 seconds and 4 git commands to generate.