X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fcpu-nfp.c;h=0adfb800312847de143da2c3ca7387de8f93ca7f;hb=e443398846ee51d66b3df2524f7e0ddcb26cdae3;hp=767539350fc6e3a43bf00e0182073479aa334a46;hpb=827041555ac443bd57340060f3e034fd7b199dd8;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/cpu-nfp.c b/bfd/cpu-nfp.c index 767539350f..0adfb80031 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-2020 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);