2001-12-29 Elena Zannoni <ezannoni@redhat.com>
[deliverable/binutils-gdb.git] / bfd / aout-sparcle.c
index 42a1e75c91e4c816b025f7a6475ac620e087de6a..7772c290deaac61d393a6f024ec51aa848eacbe0 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD backend for sparc little-endian aout binaries.
-   Copyright (C) 1996 Free Software Foundation, Inc.
+   Copyright 1996, 2001 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
 This file is part of BFD, the Binary File Descriptor library.
@@ -19,13 +19,17 @@ along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #define TARGETNAME "a.out-sparc-little"
-#define MY(OP) CAT(sparcle_aout_,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 (sparcle_aout_,OP)
 
 #include "bfd.h"
 #include "bfdlink.h"
 #include "libaout.h"
 
-#define MACHTYPE_OK(mtype) ((mtype) == M_SPARCLET_LE)
+#define MACHTYPE_OK(mtype) ((mtype) == M_SPARC || (mtype) == M_SPARCLET)
 
 /* Include the usual a.out support.  */
 #define TARGET_IS_LITTLE_ENDIAN_P
This page took 0.027884 seconds and 4 git commands to generate.