X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=bfd%2Fcpu-nfp.c;h=a242d7b74a11f024eeed72ff263ec8b2a6f2552a;hb=db178f47dd4c9d2882da42a8915018d1fb90ea17;hp=ef97f8619b84bde6a06613f562ab7c95e27883bc;hpb=fe944acf8f858cfe6bcfd00670a88847a464717c;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/cpu-nfp.c b/bfd/cpu-nfp.c index ef97f8619b..a242d7b74a 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 Free Software Foundation, Inc. + Copyright (C) 2017-2019 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);