X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Fns32knetbsd.c;h=b4a6ace4d87ef4914b65a3471b2b8fedb7e4f791;hb=e0e48e8cf9bf04fb4fe3f232af299cdd3416e28a;hp=6b636ae6b0e58058b4fee154b7b14dc943eb879d;hpb=cd123cb70c845b890eed231a84e6e84c92c2ef92;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/ns32knetbsd.c b/bfd/ns32knetbsd.c index 6b636ae6b0..b4a6ace4d8 100644 --- a/bfd/ns32knetbsd.c +++ b/bfd/ns32knetbsd.c @@ -1,6 +1,5 @@ /* BFD back-end for NetBSD/ns32k a.out-ish binaries. - Copyright 1990, 1991, 1992, 1994, 1995, 1998, 2000, 2001, 2002, 2005, - 2007 Free Software Foundation, Inc. + Copyright (C) 1990-2021 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -26,12 +25,12 @@ #define SEGMENT_SIZE 4096 #define DEFAULT_ARCH bfd_arch_ns32k -#define DEFAULT_MID M_532_NETBSD +#define DEFAULT_MID M_532_NETBSD /* Do not "beautify" the CONCAT* macro args. Traditional C will not remove whitespace added here, and thus will fail to concatenate the tokens. */ -#define MY(OP) CONCAT2 (pc532netbsd_,OP) +#define MY(OP) CONCAT2 (ns32k_aout_pc532nbsd_,OP) #define NAME(x,y) CONCAT3 (ns32kaout,_32_,y) @@ -44,10 +43,11 @@ /* We can`t use the MYNS macro here for cpp reasons too subtle for me -- IWD. */ -#define MY_bfd_reloc_type_lookup ns32kaout_bfd_reloc_type_lookup +#define MY_bfd_reloc_type_lookup ns32k_aout_bfd_reloc_type_lookup +#include "sysdep.h" #include "bfd.h" /* To ensure following declaration is OK. */ -const struct reloc_howto_struct * MY_bfd_reloc_type_lookup (bfd *, bfd_reloc_code_real_type); +reloc_howto_type * MY_bfd_reloc_type_lookup (bfd *, bfd_reloc_code_real_type); #include "netbsd.h"