From 4a1934977f4e1b47aae217dc7f7f469b02c07f72 Mon Sep 17 00:00:00 2001 From: Richard Earnshaw Date: Mon, 27 Jun 1994 15:24:36 +0000 Subject: [PATCH] (STARTFILE_SPEC,SIZE_TYPE,PTRDIFF_TYPE): Fix typos. (ASM_FINAL_SPEC): Only reject -mbsd and -mxopen when -pedantic. From-SVN: r7572 --- gcc/config/arm/riscix.h | 14 ++++++-------- 1 file 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 -- 2.7.4