gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / bfd / cpu-spu.c
index 64ba357f54158438bb03715050dec04be106df6c..baeecdabd8e768de3f3daaab8e85e7b20b6e2a26 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright 2006, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 2006-2020 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -20,7 +20,6 @@
 #include "bfd.h"
 #include "libbfd.h"
 
-
 static const bfd_arch_info_type *
 spu_compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b)
 {
@@ -35,20 +34,20 @@ spu_compatible (const bfd_arch_info_type *a, const bfd_arch_info_type *b)
   /*NOTREACHED*/
 }
 
-const bfd_arch_info_type bfd_spu_arch[] =
+const bfd_arch_info_type bfd_spu_arch =
 {
-  {
-    32,        /* 32 bits in a word */
-    32,        /* 32 bits in an address */
-    8, /* 8 bits in a byte */
-    bfd_arch_spu,      /* architecture */
-    bfd_mach_spu,      /* machine */
-    "spu",             /* architecture name */
-    "spu:256K",                /* printable name */
-    3,                 /* aligned power */
-    TRUE,              /* the default machine for the architecture */
-    spu_compatible,    /* the spu is only compatible with itself, see above */
-    bfd_default_scan,
-    0,                 /* next -- there are none! */
-  }
+  32,                  /* Bits in a word.  */
+  32,                  /* Bits in an address.  */
+  8,                   /* Bits in a byte.  */
+  bfd_arch_spu,                /* Architecture number.  */
+  bfd_mach_spu,                /* Machine number.  */
+  "spu",               /* Architecture name.  */
+  "spu:256K",          /* Printable name.  */
+  3,                   /* Section alignment power.  */
+  TRUE,                        /* Default machine.  */
+  spu_compatible,      /* The spu is only compatible with itself, see above.  */
+  bfd_default_scan,
+  bfd_arch_default_fill,
+  NULL,                        /* Next -- there are none!  */
+  0 /* Maximum offset of a reloc from the start of an insn.  */
 };
This page took 0.024111 seconds and 4 git commands to generate.