aboutsummaryrefslogtreecommitdiff
path: root/bfd/i386freebsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/i386freebsd.c')
-rw-r--r--bfd/i386freebsd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/bfd/i386freebsd.c b/bfd/i386freebsd.c
index f9684e4..73fa0ca 100644
--- a/bfd/i386freebsd.c
+++ b/bfd/i386freebsd.c
@@ -1,5 +1,5 @@
/* BFD back-end for FreeBSD/386 a.out-ish binaries.
- Copyright 1990, 1991, 1992, 1996 Free Software Foundation, Inc.
+ Copyright 1990, 1991, 1992, 1996, 2001 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -26,7 +26,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define DEFAULT_ARCH bfd_arch_i386
#define MACHTYPE_OK(mtype) ((mtype) == M_386_NETBSD || (mtype) == M_UNKNOWN)
-#define MY(OP) CAT(i386freebsd_,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 (i386freebsd_,OP)
+
/* This needs to start with a.out so GDB knows it is an a.out variant. */
#define TARGETNAME "a.out-i386-freebsd"