/* BFD support for the NDS32 processor
- Copyright (C) 2012-2018 Free Software Foundation, Inc.
+ Copyright (C) 2012-2021 Free Software Foundation, Inc.
Contributed by Andes Technology Corporation.
This file is part of BFD, the Binary File Descriptor library.
#define N(number, print, default, next) \
{32, 32, 8, bfd_arch_nds32, number, "nds32", print, 4, default, \
- bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, next }
+ bfd_default_compatible, bfd_default_scan, bfd_arch_default_fill, next, 0 }
#define NEXT &arch_info_struct[0]
#define NDS32V2_NEXT &arch_info_struct[1]
static const bfd_arch_info_type arch_info_struct[] =
{
- N (bfd_mach_n1h, "n1h", FALSE, NDS32V2_NEXT),
- N (bfd_mach_n1h_v2, "n1h_v2", FALSE, NDS32V3_NEXT),
- N (bfd_mach_n1h_v3, "n1h_v3", FALSE, NDS32V3M_NEXT),
- N (bfd_mach_n1h_v3m, "n1h_v3m", FALSE, NULL),
+ N (bfd_mach_n1h, "n1h", false, NDS32V2_NEXT),
+ N (bfd_mach_n1h_v2, "n1h_v2", false, NDS32V3_NEXT),
+ N (bfd_mach_n1h_v3, "n1h_v3", false, NDS32V3M_NEXT),
+ N (bfd_mach_n1h_v3m, "n1h_v3m", false, NULL),
};
const bfd_arch_info_type bfd_nds32_arch =
- N (bfd_mach_n1, "n1h", TRUE, NEXT);
+ N (bfd_mach_n1, "n1h", true, NEXT);