This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: pj `as' flags revisited
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch: pj `as' flags revisited
- From: Anthony Green <green at cygnus dot com>
- Date: Sun, 18 Mar 2001 17:49:37 -0800
- CC: sac at transmeta dot com, geoffk at redhat dot com
- Reply-to: green at cygnus dot com
Here's take two...
Most ports use -EB and -EL. I have submitted a corresponding patch to
the binutils patches. Since gcc and gas don't agree right now
anyways, and geoffk approved the previous version of this patch - I am
going to commit this to both the branch and trunk.
2001-03-18 Anthony Green <green@redhat.com>
* config/pj/pj.h: Remove some trailing commas.
(ASM_SPEC): Use -EB and -EL, not -mb and -ml.
Index: gcc/config/pj/pj.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/pj/pj.h,v
retrieving revision 1.7.4.1
diff -u -r1.7.4.1 pj.h
--- pj.h 2001/03/18 20:50:58 1.7.4.1
+++ pj.h 2001/03/18 21:53:27
@@ -27,10 +27,10 @@
#undef ASM_SPEC
#ifdef TARGET_LITTLE_ENDIAN_DEFAULT
#define CPP_SPEC "%{mb:-D__BIG_ENDIAN__ }%{!mb:-D__LITTLE_ENDIAN__ }"
-#define ASM_SPEC "%{mb:-mb }%{!mb:-ml }"
+#define ASM_SPEC "%{mb:-EB }%{!mb:-EL }"
#else
#define CPP_SPEC "%{ml:-D__LITTLE_ENDIAN__ }%{!ml:-D__BIG_ENDIAN__}"
-#define ASM_SPEC "%{ml:-ml } %{!ml:-mb }"
+#define ASM_SPEC "%{ml:-EL } %{!ml:-EB }"
#endif
#ifndef CPP_PREDEFINES
@@ -234,7 +234,7 @@
LAST_O_REG=OSC_REG,
LAST_R_REG=R31_REG,
LAST_I_REG=ISC_REG,
- LAST_S_REG=P7_REG,
+ LAST_S_REG=P7_REG
};
@@ -445,7 +445,7 @@
SRC_REGS, /* All registers valid as a source. */
DST_REGS, /* All registers valid as a destination. */
ALL_REGS,
- LIM_REG_CLASSES,
+ LIM_REG_CLASSES
};
#define GENERAL_REGS SRC_REGS
@@ -460,7 +460,7 @@
"ARG_REGS", \
"SRC_REGS", \
"DST_REGS", \
- "ALL_REGS", \
+ "ALL_REGS" \
}
/* Define which registers fit in which classes.