summaryrefslogtreecommitdiff
path: root/bfd/ns32knetbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ns32knetbsd.c')
-rw-r--r--bfd/ns32knetbsd.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/bfd/ns32knetbsd.c b/bfd/ns32knetbsd.c
index fa4754d1ff7..032a96dd486 100644
--- a/bfd/ns32knetbsd.c
+++ b/bfd/ns32knetbsd.c
@@ -1,5 +1,5 @@
/* BFD back-end for NetBSD/ns32k a.out-ish binaries.
- Copyright 1990, 1991, 1992, 1994, 1995, 1998, 2000
+ Copyright 1990, 1991, 1992, 1994, 1995, 1998, 2000, 2001
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -27,9 +27,12 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define DEFAULT_ARCH bfd_arch_ns32k
#define DEFAULT_MID M_532_NETBSD
-#define MY(OP) CAT(pc532netbsd_,OP)
+/* 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 NAME(x,y) CAT3(ns32kaout,_32_,y)
+#define NAME(x,y) CONCAT3 (ns32kaout,_32_,y)
/* This needs to start with a.out so GDB knows it is an a.out variant. */
#define TARGETNAME "a.out-ns32k-netbsd"