X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=bfd%2Fcpu-nfp.c;h=ce2b0b7128d85b7477fb9d70cb0b147b93bafe83;hb=4aeddc50d7a06294cc124dfd8f43992ffa0b7382;hp=767539350fc6e3a43bf00e0182073479aa334a46;hpb=827041555ac443bd57340060f3e034fd7b199dd8;p=binutils-gdb.git diff --git a/bfd/cpu-nfp.c b/bfd/cpu-nfp.c index 767539350fc..ce2b0b7128d 100644 --- a/bfd/cpu-nfp.c +++ b/bfd/cpu-nfp.c @@ -1,5 +1,5 @@ /* BFD library support routines for the NFP. - Copyright (C) 2017-2019 Free Software Foundation, Inc. + Copyright (C) 2017-2022 Free Software Foundation, Inc. Contributed by Francois H. Theron This file is part of BFD, the Binary File Descriptor library. @@ -50,13 +50,12 @@ bfd_nfp_compatible (const bfd_arch_info_type * a, bfd_nfp_compatible, \ bfd_default_scan, \ bfd_arch_default_fill, \ - next \ + next, \ + 0 /* Maximum offset of a reloc from the start of an insn. */ \ } -static const bfd_arch_info_type arch_info_struct[] = -{ - N (bfd_mach_nfp3200, "NFP-32xx", FALSE, NULL) -}; +static const bfd_arch_info_type arch_info_struct = + N (bfd_mach_nfp3200, "NFP-32xx", false, NULL); const bfd_arch_info_type bfd_nfp_arch = - N (bfd_mach_nfp6000, "NFP-6xxx", TRUE, &arch_info_struct[0]); + N (bfd_mach_nfp6000, "NFP-6xxx", true, &arch_info_struct);