aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1994-06-27 15:24:36 +0000
committerRichard Earnshaw <erich@gnu.org>1994-06-27 15:24:36 +0000
commit4a1934977f4e1b47aae217dc7f7f469b02c07f72 (patch)
treee229bbfc552126d100e78dc1e69bb2465142c374
parent24f0c1b4ccfb8afb37529cbe7e913a859bfece26 (diff)
downloadgcc-4a1934977f4e1b47aae217dc7f7f469b02c07f72.zip
gcc-4a1934977f4e1b47aae217dc7f7f469b02c07f72.tar.gz
gcc-4a1934977f4e1b47aae217dc7f7f469b02c07f72.tar.bz2
(STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos.
(ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic. From-SVN: r7572
-rw-r--r--gcc/config/arm/riscix.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/gcc/config/arm/riscix.h b/gcc/config/arm/riscix.h
index bb2d287..f0aba74 100644
--- a/gcc/config/arm/riscix.h
+++ b/gcc/config/arm/riscix.h
@@ -23,11 +23,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Translation to find startup files. On RISC iX boxes,
crt0, mcrt0 and gcrt0.o are in /usr/lib. */
#define STARTFILE_SPEC "\
- %{pg:/usr/lib/mcrt0.o%s}\
+ %{pg:/usr/lib/gcrt0.o%s}\
%{!pg:%{p:/usr/lib/mcrt0.o%s}\
- %{!p:%{g:/usr/lib/gcrt0.o%s}\
- %{!g:/usr/lib/crt0.o%s}}}"
-
+ %{!p:/usr/lib/crt0.o%s}}"
/* RISC iX has no concept of -lg */
/* If -static is specified then link with -lc_n */
@@ -77,9 +75,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define ASM_FINAL_SPEC "\
%{!mno-symrename: \
\n /usr/bin/symrename \
- -%{mbsd:%{ansi:%e-mbsd and -ansi incompatible}BSD}\
+ -%{mbsd:%{pedantic:%e-mbsd and -pedantic incompatible}BSD}\
%{mxopen:%{mbsd:%e-mbsd and -mxopen incompatible}\
-%{ansi:%e-mxopen and -ansi incompatible}XOPEN}\
+%{pedantic:%e-mxopen and -pedantic incompatible}XOPEN}\
%{!mbsd:%{!mxopen:%{!ansi:BSD}}} %{c:%{o*:%*}%{!o*:%b.o}}%{!c:%U.o}}"
#endif
#endif
@@ -116,10 +114,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
/* size_t is "unsigned int" in RISCiX */
-#define SIZE_TYPE unsigned int
+#define SIZE_TYPE "unsigned int"
/* ptrdiff_t is "int" in RISCiX */
-#define PTRDIFF_TYPE int
+#define PTRDIFF_TYPE "int"
/* Maths operation domain error number, EDOM */
#define TARGET_EDOM 33