X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Fcpu-spu.c;h=0bfc9f26534f8af23f045cc9562b3081dd4cf877;hb=708cedb722130686607d086085bac963a406580a;hp=3e0db39bca14afdecc0c4eb43697f014b07ad4f6;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=binutils-gdb.git diff --git a/bfd/cpu-spu.c b/bfd/cpu-spu.c index 3e0db39bca1..0bfc9f26534 100644 --- a/bfd/cpu-spu.c +++ b/bfd/cpu-spu.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2006-2014 Free Software Foundation, Inc. +/* Copyright (C) 2006-2023 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,21 +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, - bfd_arch_default_fill, - 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. */ };