Commit 2b57e919 by Neil Booth

config:

	* a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
	alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
	alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
	alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
	arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
	arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
	c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
	elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
	i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
	i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
	i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
	i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
	i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
	i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
	i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
	i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
	i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
	i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
	i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
	i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
	i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
	ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
	m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
	m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
	m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
	m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
	m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
	m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
	m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
	m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
	m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
	m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
	mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
	mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
	mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
	mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
	mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
	mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
	ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
	ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
	pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
	pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
	romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
	rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
	rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
	rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
	sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
	sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
	sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
	sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
	sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
	sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
	sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
	v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
	vax/vaxv.h, vax/vms.h, we32k/we32k.h

	Replace -A() with -A=, the new assertion syntax.

From-SVN: r37213
parent bcf60bdd
...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-D_AM29K -D_AM29000 -D_EPI -Acpu(a29k) -Amachine(a29k)" #define CPP_PREDEFINES "-D_AM29K -D_AM29000 -D_EPI -Acpu=a29k -Amachine=a29k"
/* Print subsidiary information on the compiler version in use. */ /* Print subsidiary information on the compiler version in use. */
#define TARGET_VERSION #define TARGET_VERSION
......
...@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */
#define TARGET_DEFAULT (1+2+16+128) #define TARGET_DEFAULT (1+2+16+128)
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dam29k -Da29k -Dam29000 -Asystem(unix) -Acpu(a29k) -Amachine(a29k)" #define CPP_PREDEFINES "-Dam29k -Da29k -Dam29000 -Asystem=unix -Acpu=a29k -Amachine=a29k"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%{!m29000:-Dam29050 -D__am29050__}" #define CPP_SPEC "%{!m29000:-Dam29050 -D__am29050__}"
......
...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D_AM29K -D_AM29000 -Acpu(a29k) -Amachine(a29k) -D__vxworks -D__vxworks_5" #define CPP_PREDEFINES "-D_AM29K -D_AM29000 -Acpu=a29k -Amachine=a29k -D__vxworks -D__vxworks_5"
/* Vxworks header files require that the macro CPU be set. /* Vxworks header files require that the macro CPU be set.
We could define it in CPP_PREDEFINES, but the value is (or will be) We could define it in CPP_PREDEFINES, but the value is (or will be)
......
...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */
-D__alpha -D__alpha__\ -D__alpha -D__alpha__\
-D__stdcall= \ -D__stdcall= \
-D__cdecl= \ -D__cdecl= \
-Asystem(unix) -Asystem(interix) -Acpu(alpha) -Amachine(alpha)" -Asystem=unix -Asystem=interix -Acpu=alpha -Amachine=alpha"
#undef CPP_SUBTARGET_SPEC #undef CPP_SUBTARGET_SPEC
#define CPP_SUBTARGET_SPEC "\ #define CPP_SUBTARGET_SPEC "\
......
...@@ -272,15 +272,15 @@ extern const char *alpha_mlat_string; /* For -mmemory-latency= */ ...@@ -272,15 +272,15 @@ extern const char *alpha_mlat_string; /* For -mmemory-latency= */
/* Attempt to describe CPU characteristics to the preprocessor. */ /* Attempt to describe CPU characteristics to the preprocessor. */
/* Corresponding to amask... */ /* Corresponding to amask... */
#define CPP_AM_BWX_SPEC "-D__alpha_bwx__ -Acpu(bwx)" #define CPP_AM_BWX_SPEC "-D__alpha_bwx__ -Acpu=bwx"
#define CPP_AM_MAX_SPEC "-D__alpha_max__ -Acpu(max)" #define CPP_AM_MAX_SPEC "-D__alpha_max__ -Acpu=max"
#define CPP_AM_FIX_SPEC "-D__alpha_fix__ -Acpu(fix)" #define CPP_AM_FIX_SPEC "-D__alpha_fix__ -Acpu=fix"
#define CPP_AM_CIX_SPEC "-D__alpha_cix__ -Acpu(cix)" #define CPP_AM_CIX_SPEC "-D__alpha_cix__ -Acpu=cix"
/* Corresponding to implver... */ /* Corresponding to implver... */
#define CPP_IM_EV4_SPEC "-D__alpha_ev4__ -Acpu(ev4)" #define CPP_IM_EV4_SPEC "-D__alpha_ev4__ -Acpu=ev4"
#define CPP_IM_EV5_SPEC "-D__alpha_ev5__ -Acpu(ev5)" #define CPP_IM_EV5_SPEC "-D__alpha_ev5__ -Acpu=ev5"
#define CPP_IM_EV6_SPEC "-D__alpha_ev6__ -Acpu(ev6)" #define CPP_IM_EV6_SPEC "-D__alpha_ev6__ -Acpu=ev6"
/* Common combinations. */ /* Common combinations. */
#define CPP_CPU_EV4_SPEC "%(cpp_im_ev4)" #define CPP_CPU_EV4_SPEC "%(cpp_im_ev4)"
...@@ -318,7 +318,7 @@ extern const char *alpha_mlat_string; /* For -mmemory-latency= */ ...@@ -318,7 +318,7 @@ extern const char *alpha_mlat_string; /* For -mmemory-latency= */
#ifndef CPP_CPU_SPEC #ifndef CPP_CPU_SPEC
#define CPP_CPU_SPEC "\ #define CPP_CPU_SPEC "\
%{!undef:-Acpu(alpha) -Amachine(alpha) -D__alpha -D__alpha__ \ %{!undef:-Acpu=alpha -Amachine=alpha -D__alpha -D__alpha__ \
%{mcpu=ev4|mcpu=21064:%(cpp_cpu_ev4) }\ %{mcpu=ev4|mcpu=21064:%(cpp_cpu_ev4) }\
%{mcpu=ev5|mcpu=21164:%(cpp_cpu_ev5) }\ %{mcpu=ev5|mcpu=21164:%(cpp_cpu_ev5) }\
%{mcpu=ev56|mcpu=21164a:%(cpp_cpu_ev56) }\ %{mcpu=ev56|mcpu=21164a:%(cpp_cpu_ev56) }\
......
...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dlinux -Dunix -Asystem(linux) -D_LONGLONG -D__alpha__ " \ "-Dlinux -Dunix -Asystem=linux -D_LONGLONG -D__alpha__ " \
SUB_CPP_PREDEFINES SUB_CPP_PREDEFINES
#undef LIB_SPEC #undef LIB_SPEC
......
...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */
"%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}" "%{!nostdlib:%{!r*:%{!e*:-e __start}}} -dc -dp %{assert*}"
/* run-time target specifications */ /* run-time target specifications */
#define CPP_PREDEFINES "-D__unix__ -D__ANSI_COMPAT -Asystem(unix) \ #define CPP_PREDEFINES "-D__unix__ -D__ANSI_COMPAT -Asystem=unix \
-D__OpenBSD__ -D__alpha__ -D__alpha" -D__OpenBSD__ -D__alpha__ -D__alpha"
/* Layout of source language data types. */ /* Layout of source language data types. */
......
...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES "\ #define CPP_PREDEFINES "\
-Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD \ -Dunix -D__osf__ -D_LONGLONG -DSYSTYPE_BSD \
-D_SYSTYPE_BSD -Asystem(unix) -Asystem(xpg4)" -D_SYSTYPE_BSD -Asystem=unix -Asystem=xpg4"
/* Accept DEC C flags for multithreaded programs. We use _PTHREAD_USE_D4 /* Accept DEC C flags for multithreaded programs. We use _PTHREAD_USE_D4
instead of PTHREAD_USE_D4 since both have the same effect and the former instead of PTHREAD_USE_D4 since both have the same effect and the former
......
...@@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-D__ALPHA -Dvms -DVMS -D__vms__ -D__VMS__ -Asystem(vms)" "-D__ALPHA -Dvms -DVMS -D__vms__ -D__VMS__ -Asystem=vms"
#undef CPP_SUBTARGET_SPEC #undef CPP_SUBTARGET_SPEC
#define CPP_SUBTARGET_SPEC "\ #define CPP_SUBTARGET_SPEC "\
......
...@@ -28,8 +28,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,8 +28,8 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "\ #define CPP_PREDEFINES "\
-D__vxworks -D__alpha_vxworks -Asystem(vxworks) \ -D__vxworks -D__alpha_vxworks -Asystem=vxworks \
-Asystem(embedded) -D_LONGLONG" -Asystem=embedded -D_LONGLONG"
/* VxWorks does all the library stuff itself. */ /* VxWorks does all the library stuff itself. */
......
...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DWIN32 -D_WIN32 -DWINNT -D__STDC__=0 -DALMOST_STDC \ #define CPP_PREDEFINES "-DWIN32 -D_WIN32 -DWINNT -D__STDC__=0 -DALMOST_STDC \
-D_M_ALPHA -D_ALPHA_ -D_LONGLONG -D__unaligned= -D__stdcall= -Asystem(winnt)" -D_M_ALPHA -D_ALPHA_ -D_LONGLONG -D__unaligned= -D__stdcall= -Asystem=winnt"
#undef ASM_SPEC #undef ASM_SPEC
#undef ASM_FINAL_SPEC #undef ASM_FINAL_SPEC
......
...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
#define TARGET_VERSION fprintf (stderr, " (arc)") #define TARGET_VERSION fprintf (stderr, " (arc)")
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Acpu(arc) -Amachine(arc) -D__arc__" #define CPP_PREDEFINES "-Acpu=arc -Amachine=arc -D__arc__"
/* Additional flags for the preprocessor. */ /* Additional flags for the preprocessor. */
#define CPP_SPEC "\ #define CPP_SPEC "\
......
...@@ -122,7 +122,7 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -122,7 +122,7 @@ Unrecognized value in TARGET_CPU_DEFAULT.
#endif #endif
#ifndef CPP_PREDEFINES #ifndef CPP_PREDEFINES
#define CPP_PREDEFINES "-Acpu(arm) -Amachine(arm)" #define CPP_PREDEFINES "-Acpu=arm -Amachine=arm"
#endif #endif
#define CPP_SPEC "\ #define CPP_SPEC "\
......
...@@ -172,7 +172,7 @@ func_ptr __DTOR_END__[1] = { (func_ptr) 0 }; ...@@ -172,7 +172,7 @@ func_ptr __DTOR_END__[1] = { (func_ptr) 0 };
#endif #endif
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-D__arm__ -D__CONIX__ -Acpu(arm) -Amachine(arm) -D__ELF__" "-D__arm__ -D__CONIX__ -Acpu=arm -Amachine=arm -D__ELF__"
/* Now get the routine arm-elf definitions. */ /* Now get the routine arm-elf definitions. */
#include "arm/elf.h" #include "arm/elf.h"
...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dunix -D__arm__ -Dlinux \ "-Dunix -D__arm__ -Dlinux \
-Asystem(unix) -Asystem(posix) -Acpu(arm) -Amachine(arm)" -Asystem=unix -Asystem=posix -Acpu=arm -Amachine=arm"
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC \ #define LIB_SPEC \
......
...@@ -106,7 +106,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -106,7 +106,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dunix -Dlinux -D__ELF__ \ "-Dunix -Dlinux -D__ELF__ \
-Asystem(unix) -Asystem(posix) -Acpu(arm) -Amachine(arm)" -Asystem=unix -Asystem=posix -Acpu=arm -Amachine=arm"
/* Allow #sccs in preprocessor. */ /* Allow #sccs in preprocessor. */
#define SCCS_DIRECTIVE #define SCCS_DIRECTIVE
......
...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "\ #define CPP_PREDEFINES "\
-Dunix -Driscbsd -Darm32 -D__arm32__ -D__arm__ -D__NetBSD__ \ -Dunix -Driscbsd -Darm32 -D__arm32__ -D__arm__ -D__NetBSD__ \
-Asystem(unix) -Asystem(NetBSD) -Acpu(arm) -Amachine(arm)" -Asystem=unix -Asystem=NetBSD -Acpu=arm -Amachine=arm"
/* Define _POSIX_SOURCE if necessary. */ /* Define _POSIX_SOURCE if necessary. */
#undef CPP_SPEC #undef CPP_SPEC
......
...@@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -49,7 +49,7 @@ Boston, MA 02111-1307, USA. */
#ifndef CPP_PREDEFINES #ifndef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Darm -Driscix -Dunix -Asystem(unix) -Acpu(arm) -Amachine(arm)" "-Darm -Driscix -Dunix -Asystem=unix -Acpu=arm -Amachine=arm"
#endif #endif
......
...@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA. */
"%{pg:/usr/lib/gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}" "%{pg:/usr/lib/gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}"
#ifndef CPP_PREDEFINES #ifndef CPP_PREDEFINES
#define CPP_PREDEFINES "-Darm -Driscix -Dunix -Asystem(unix) -Acpu(arm) -Amachine(arm)" #define CPP_PREDEFINES "-Darm -Driscix -Dunix -Asystem=unix -Acpu=arm -Amachine=arm"
#endif #endif
/* Riscix 1.1 doesn't have X/OPEN support, so only accept -mbsd (but ignore /* Riscix 1.1 doesn't have X/OPEN support, so only accept -mbsd (but ignore
......
...@@ -21,7 +21,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330, ...@@ -21,7 +21,7 @@ the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Darm -Dsemi -Acpu(arm) -Amachine(arm)" "-Darm -Dsemi -Acpu=arm -Amachine=arm"
#define ASM_SPEC "%{g -g} -arch 4 \ #define ASM_SPEC "%{g -g} -arch 4 \
-apcs 3%{mapcs-32:/32bit}%{mapcs-26:/26bit}%{!mapcs-26:%{!macps-32:/32bit}}" -apcs 3%{mapcs-32:/32bit}%{mapcs-26:/26bit}%{!mapcs-26:%{!macps-32:/32bit}}"
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
#define TARGET_VERSION fputs (" (ARM/ELF non-Linux old abi)", stderr); #define TARGET_VERSION fputs (" (ARM/ELF non-Linux old abi)", stderr);
#endif #endif
#define CPP_PREDEFINES "-Darm_oabi -Darm -Darm_elf -Acpu(arm) -Amachine(arm) -D__ELF__" #define CPP_PREDEFINES "-Darm_oabi -Darm -Darm_elf -Acpu=arm -Amachine=arm -D__ELF__"
#ifndef ASM_SPEC #ifndef ASM_SPEC
#define ASM_SPEC "-moabi %{mbig-endian:-EB} %{mcpu=*:-m%*} %{march=*:-m%*} \ #define ASM_SPEC "-moabi %{mbig-endian:-EB} %{mcpu=*:-m%*} %{march=*:-m%*} \
......
...@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
" "
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__vxworks -Acpu(arm) -Amachine(arm)" #define CPP_PREDEFINES "-D__vxworks -Acpu=arm -Amachine=arm"
/* VxWorks does all the library stuff itself. */ /* VxWorks does all the library stuff itself. */
#undef LIB_SPEC #undef LIB_SPEC
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__rtems__ -Asystem(rtems)" #define CPP_PREDEFINES "-D__rtems__ -Asystem=rtems"
/* Generate calls to memcpy, memcmp and memset. */ /* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS #ifndef TARGET_MEM_FUNCTIONS
......
...@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Dclipper -Dunix -Asystem(unix) -Asystem(svr3) -Acpu(clipper) -Amachine(clipper)" #define CPP_PREDEFINES "-Dclipper -Dunix -Asystem=unix -Asystem=svr3 -Acpu=clipper -Amachine=clipper"
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#define STARTFILE_SPEC \ #define STARTFILE_SPEC \
......
...@@ -98,7 +98,7 @@ extern int target_flags; ...@@ -98,7 +98,7 @@ extern int target_flags;
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Dconvex -Dunix -Asystem(unix) -Acpu(convex) -Amachine(convex)" #define CPP_PREDEFINES "-Dconvex -Dunix -Asystem=unix -Acpu=convex -Amachine=convex"
/* Print subsidiary information on the compiler version in use. */ /* Print subsidiary information on the compiler version in use. */
......
...@@ -375,7 +375,7 @@ ...@@ -375,7 +375,7 @@
The result is to define the macros `__mc68000__', `__sun__' and `__unix__' The result is to define the macros `__mc68000__', `__sun__' and `__unix__'
unconditionally, and the macros `mc68000', `sun' and `unix' provided `-ansi' unconditionally, and the macros `mc68000', `sun' and `unix' provided `-ansi'
is not specified. */ is not specified. */
#define CPP_PREDEFINES "-D__D30V__ -Amachine(d30v)" #define CPP_PREDEFINES "-D__D30V__ -Amachine=d30v"
/* This declaration should be present. */ /* This declaration should be present. */
extern int target_flags; extern int target_flags;
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Delxsi -Dunix -Asystem(unix) -Acpu(elxsi) -Amachine(elxsi)" #define CPP_PREDEFINES "-Delxsi -Dunix -Asystem=unix -Acpu=elxsi -Amachine=elxsi"
/* Print subsidiary information on the compiler version in use. */ /* Print subsidiary information on the compiler version in use. */
......
...@@ -68,7 +68,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -68,7 +68,7 @@ Boston, MA 02111-1307, USA. */
predefined macros that identify this machine and system. These macros will predefined macros that identify this machine and system. These macros will
be predefined unless the `-ansi' option is specified. */ be predefined unless the `-ansi' option is specified. */
#define CPP_PREDEFINES "-Dfr30 -D__fr30__ -Amachine(fr30)" #define CPP_PREDEFINES "-Dfr30 -D__fr30__ -Amachine=fr30"
/* Use LDI:20 instead of LDI:32 to load addresses. */ /* Use LDI:20 instead of LDI:32 to load addresses. */
#define TARGET_SMALL_MODEL_MASK (1 << 0) #define TARGET_SMALL_MODEL_MASK (1 << 0)
......
...@@ -47,9 +47,9 @@ extern const char * const *h8_reg_names; ...@@ -47,9 +47,9 @@ extern const char * const *h8_reg_names;
%{!mh:%{!ms:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int}} \ %{!mh:%{!ms:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int}} \
%{mh:-D__SIZE_TYPE__=unsigned\\ long -D__PTRDIFF_TYPE__=long} \ %{mh:-D__SIZE_TYPE__=unsigned\\ long -D__PTRDIFF_TYPE__=long} \
%{ms:-D__SIZE_TYPE__=unsigned\\ long -D__PTRDIFF_TYPE__=long} \ %{ms:-D__SIZE_TYPE__=unsigned\\ long -D__PTRDIFF_TYPE__=long} \
%{!mh:%{!ms:-Acpu(h8300) -Amachine(h8300)}} \ %{!mh:%{!ms:-Acpu=h8300 -Amachine=h8300}} \
%{mh:-Acpu(h8300h) -Amachine(h8300h)} \ %{mh:-Acpu=h8300h -Amachine=h8300h} \
%{ms:-Acpu(h8300s) -Amachine(h8300s)} \ %{ms:-Acpu=h8300s -Amachine=h8300s} \
%{!mint32:-D__INT_MAX__=32767} %{mint32:-D__INT_MAX__=2147483647}" %{!mint32:-D__INT_MAX__=32767} %{mint32:-D__INT_MAX__=2147483647}"
#define LINK_SPEC "%{mh:-m h8300h} %{ms:-m h8300s}" #define LINK_SPEC "%{mh:-m h8300h} %{ms:-m h8300s}"
......
...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DGCC -Dgcc -D__ELF__ -Dunix -Dlinux -Asystem(posix) -Acpu(i370) -Amachine(i370)" #define CPP_PREDEFINES "-DGCC -Dgcc -D__ELF__ -Dunix -Dlinux -Asystem=posix -Acpu=i370 -Amachine=i370"
/* Options for this target machine. */ /* Options for this target machine. */
...@@ -97,7 +97,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -97,7 +97,7 @@ Boston, MA 02111-1307, USA. */
#ifndef CPP_OS_LINUX_SPEC #ifndef CPP_OS_LINUX_SPEC
#define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \ #define CPP_OS_LINUX_SPEC "-D__unix__ -D__linux__ \
%{!ansi: -Dunix -Dlinux } \ %{!ansi: -Dunix -Dlinux } \
-Asystem(unix) -Asystem(linux)" -Asystem=unix -Asystem=linux"
#endif #endif
#ifndef CPP_OS_LINUX_SPEC #ifndef CPP_OS_LINUX_SPEC
......
...@@ -35,9 +35,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -35,9 +35,9 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#if defined(LE370) #if defined(LE370)
#define CPP_PREDEFINES "-DGCC -Dgcc -DMVS -Dmvs -DLE370 -Asystem(mvs) -Acpu(i370) -Amachine(i370)" #define CPP_PREDEFINES "-DGCC -Dgcc -DMVS -Dmvs -DLE370 -Asystem=mvs -Acpu=i370 -Amachine=i370"
#else #else
#define CPP_PREDEFINES "-DGCC -Dgcc -DMVS -Dmvs -Asystem(mvs) -Acpu(i370) -Amachine(i370)" #define CPP_PREDEFINES "-DGCC -Dgcc -DMVS -Dmvs -Asystem=mvs -Acpu=i370 -Amachine=i370"
#endif #endif
/* Include system common definitions */ /* Include system common definitions */
......
...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-DGCC -Dgcc -DUNIX -Dunix -Dopenedition -D__i370__ -Asystem(openedition) -Asystem(unix) -Acpu(i370) -Amachine(i370)" #define CPP_PREDEFINES "-DGCC -Dgcc -DUNIX -Dunix -Dopenedition -D__i370__ -Asystem=openedition -Asystem=unix -Acpu=i370 -Amachine=i370"
/* Include system common definitions */ /* Include system common definitions */
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include "i386/perform.h" #include "i386/perform.h"
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -D____386BSD____ -D__386BSD__ -DBSD_NET2 -Asystem(unix) -Asystem(bsd)" #define CPP_PREDEFINES "-Dunix -D____386BSD____ -D__386BSD__ -DBSD_NET2 -Asystem=unix -Asystem=bsd"
/* Like the default, except no -lg. */ /* Like the default, except no -lg. */
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}" #define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
......
...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#define CPP_PREDEFINES "-Dps2 -Dunix -Asystem(aix)" #define CPP_PREDEFINES "-Dps2 -Dunix -Asystem=aix"
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC "%(cpp_cpu) \
%{posix:-D_POSIX_SOURCE}%{!posix:-DAIX} -D_I386 -D_AIX -D_MBCS" %{posix:-D_POSIX_SOURCE}%{!posix:-DAIX} -D_I386 -D_AIX -D_MBCS"
......
...@@ -90,7 +90,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -90,7 +90,7 @@ Boston, MA 02111-1307, USA. */
-D__stdcall=__attribute__((__stdcall__)) \ -D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \ -D__cdecl=__attribute__((__cdecl__)) \
-D__declspec(x)=__attribute__((x)) \ -D__declspec(x)=__attribute__((x)) \
-Asystem(beos)" -Asystem=beos"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %{!no-fPIC:%{!no-fpic:-D__PIC__ -D__pic__}}" #define CPP_SPEC "%(cpp_cpu) %{!no-fPIC:%{!no-fpic:-D__PIC__ -D__pic__}}"
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Dbsdi -D____386BSD____ -D__386BSD__\ #define CPP_PREDEFINES "-Dunix -Dbsdi -D____386BSD____ -D__386BSD__\
-DBSD_NET2 -Asystem(unix) -Asystem(bsd)" -DBSD_NET2 -Asystem=unix -Asystem=bsd"
#undef WCHAR_TYPE #undef WCHAR_TYPE
#define WCHAR_TYPE "int" #define WCHAR_TYPE "int"
......
...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D_WIN32 -DWIN32 \ #define CPP_PREDEFINES "-D_WIN32 -DWIN32 \
-D__MINGW32__=0.2 -DWINNT -D_X86_=1 \ -D__MINGW32__=0.2 -DWINNT -D_X86_=1 \
-Asystem(winnt)" -Asystem=winnt"
#undef LIBGCC_SPEC #undef LIBGCC_SPEC
#define LIBGCC_SPEC \ #define LIBGCC_SPEC \
......
...@@ -71,7 +71,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -71,7 +71,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D_WIN32 \ #define CPP_PREDEFINES "-D_WIN32 \
-DWINNT -D_X86_=1 \ -DWINNT -D_X86_=1 \
-Asystem(winnt)" -Asystem=winnt"
/* Normally, -lgcc is not needed since everything in it is in the DLL, but we /* Normally, -lgcc is not needed since everything in it is in the DLL, but we
want to allow things to be added to it when installing new versions of want to allow things to be added to it when installing new versions of
......
...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,7 @@ Boston, MA 02111-1307, USA. */
#include "i386/sysv4.h" #include "i386/sysv4.h"
#ifndef VERSION_INFO2 #ifndef VERSION_INFO2
#define VERSION_INFO2 "$Revision: 1.11 $" #define VERSION_INFO2 "$Revision: 1.12 $"
#endif #endif
#ifndef VERSION_STRING #ifndef VERSION_STRING
...@@ -151,7 +151,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -151,7 +151,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__ix86 -Dunix -DDGUX -D__CLASSIFY_TYPE__=2\ #define CPP_PREDEFINES "-D__ix86 -Dunix -DDGUX -D__CLASSIFY_TYPE__=2\
-Asystem(unix) -Asystem(svr4)" -Asystem=unix -Asystem=svr4"
/* /*
If not -ansi, -traditional, or restricting include files to one If not -ansi, -traditional, or restricting include files to one
......
...@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -29,7 +29,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#endif #endif
#define CPP_PREDEFINES "-Dunix -DGO32 -DDJGPP=2 -DMSDOS \ #define CPP_PREDEFINES "-Dunix -DGO32 -DDJGPP=2 -DMSDOS \
-Asystem(unix) -Asystem(msdos) -Asystem(rtems)" -Asystem=unix -Asystem=msdos -Asystem=rtems"
/* Generate calls to memcpy, memcmp and memset. */ /* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS #ifndef TARGET_MEM_FUNCTIONS
......
...@@ -88,7 +88,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -88,7 +88,7 @@ Boston, MA 02111-1307, USA. */
(((NAME)[0] >= 'A') && ((NAME)[0] <= 'z') && ((NAME)[1] == ':'))) (((NAME)[0] >= 'A') && ((NAME)[0] <= 'z') && ((NAME)[1] == ':')))
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DGO32 -DDJGPP=2 -D__MSDOS__ -Asystem(msdos)" #define CPP_PREDEFINES "-DGO32 -DDJGPP=2 -D__MSDOS__ -Asystem=msdos"
/* Include <sys/version.h> so __DJGPP__ and __DJGPP_MINOR__ are defined. */ /* Include <sys/version.h> so __DJGPP__ and __DJGPP_MINOR__ are defined. */
#undef CPP_SPEC #undef CPP_SPEC
......
...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,7 +36,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -D__FreeBSD__\ #define CPP_PREDEFINES "-Dunix -D__FreeBSD__\
-Asystem(unix) -Asystem(bsd) -Asystem(FreeBSD)" -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
/* Like the default, except no -lg. */ /* Like the default, except no -lg. */
#define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}" #define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}"
......
...@@ -79,7 +79,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -79,7 +79,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__\ #define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__\
-Asystem(unix) -Asystem(bsd) -Asystem(FreeBSD)" -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
/* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add /* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add
the magical crtbegin.o file (see crtstuff.c) which provides part the magical crtbegin.o file (see crtstuff.c) which provides part
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
#define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__ELF__ -DMACH -Asystem(mach) \ #define CPP_PREDEFINES "-D__ELF__ -DMACH -Asystem=mach \
-Dunix -Asystem(unix) -Asystem(posix) -D__GNU__ -Asystem(gnu)" -Dunix -Asystem=unix -Asystem=posix -D__GNU__ -Asystem=gnu"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC "%(cpp_cpu) \
......
...@@ -65,7 +65,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -65,7 +65,7 @@ Boston, MA 02111-1307, USA. */
-D_M_IX86=300 -D_X86_=1 \ -D_M_IX86=300 -D_X86_=1 \
-D__stdcall=__attribute__((__stdcall__)) \ -D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \ -D__cdecl=__attribute__((__cdecl__)) \
-Asystem(unix) -Asystem(interix)" -Asystem=unix -Asystem=interix"
#undef CPP_SPEC #undef CPP_SPEC
/* Write out the correct language type definition for the header files. /* Write out the correct language type definition for the header files.
......
...@@ -400,7 +400,7 @@ extern int ix86_arch; ...@@ -400,7 +400,7 @@ extern int ix86_arch;
#ifndef CPP_CPU_SPEC #ifndef CPP_CPU_SPEC
#define CPP_CPU_SPEC "\ #define CPP_CPU_SPEC "\
-Acpu(i386) -Amachine(i386) \ -Acpu=i386 -Amachine=i386 \
%{!ansi:-Di386} -D__i386 -D__i386__ \ %{!ansi:-Di386} -D__i386 -D__i386__ \
%{march=i386:%{!mcpu*:-D__tune_i386__ }}\ %{march=i386:%{!mcpu*:-D__tune_i386__ }}\
%{march=i486:-D__i486 -D__i486__ %{!mcpu*:-D__tune_i486__ }}\ %{march=i486:-D__i486 -D__i486__ %{!mcpu*:-D__tune_i486__ }}\
......
...@@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -31,7 +31,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Dlinux -Asystem(posix)" #define CPP_PREDEFINES "-Dunix -Dlinux -Asystem=posix"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}" #define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
......
...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Dlinux -Asystem(posix)" #define CPP_PREDEFINES "-Dunix -Dlinux -Asystem=posix"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}" #define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
......
...@@ -93,7 +93,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -93,7 +93,7 @@ Boston, MA 02111-1307, USA. */
#define WCHAR_TYPE_SIZE BITS_PER_WORD #define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__ELF__ -Dunix -Dlinux -Asystem(posix)" #define CPP_PREDEFINES "-D__ELF__ -Dunix -Dlinux -Asystem=posix"
#undef CPP_SPEC #undef CPP_SPEC
#ifdef USE_GNULIBC_1 #ifdef USE_GNULIBC_1
......
...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -DI386 -DLynx -DIBITS32 \ #define CPP_PREDEFINES "-Dunix -DI386 -DLynx -DIBITS32 \
-Asystem(unix) -Asystem(lynx)" -Asystem=unix -Asystem=lynx"
/* Provide required defaults for linker switches. */ /* Provide required defaults for linker switches. */
......
...@@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA. */
#include <lynx.h> #include <lynx.h>
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DI386 -DLynx -DIBITS32 -Asystem(unix) -Asystem(lynx)" #define CPP_PREDEFINES "-DI386 -DLynx -DIBITS32 -Asystem=unix -Asystem=lynx"
/* The prefix to add to user-visible assembler symbols. */ /* The prefix to add to user-visible assembler symbols. */
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
#include "i386/perform.h" #include "i386/perform.h"
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -DMACH -Asystem(unix) -Asystem(mach)" #define CPP_PREDEFINES "-Dunix -DMACH -Asystem=unix -Asystem=mach"
/* Specify extra dir to search for include files. */ /* Specify extra dir to search for include files. */
#define SYSTEM_INCLUDE_DIR "/usr/mach/include" #define SYSTEM_INCLUDE_DIR "/usr/mach/include"
......
...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D_WIN32 -DWIN32 \ #define CPP_PREDEFINES "-D_WIN32 -DWIN32 \
-D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 \ -D__MINGW32__=0.2 -D__MSVCRT__ -DWINNT -D_X86_=1 \
-Asystem(winnt)" -Asystem=winnt"
/* Specific a different directory for the standard include files. */ /* Specific a different directory for the standard include files. */
#undef STANDARD_INCLUDE_DIR #undef STANDARD_INCLUDE_DIR
......
...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,7 +23,7 @@ Boston, MA 02111-1307, USA. */
#include "i386/linux.h" #include "i386/linux.h"
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-D__ELF__ -Dmoss -Asystem(posix)" #define CPP_PREDEFINES "-D__ELF__ -Dmoss -Asystem=posix"
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
#define STARTFILE_SPEC "crt0.o%s" #define STARTFILE_SPEC "crt0.o%s"
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -D__NetBSD__ \ #define CPP_PREDEFINES "-Dunix -D__NetBSD__ \
-Asystem(unix) -Asystem(bsd) -Asystem(NetBSD)" -Asystem=unix -Asystem=bsd -Asystem=NetBSD"
#undef SIZE_TYPE #undef SIZE_TYPE
#define SIZE_TYPE "unsigned int" #define SIZE_TYPE "unsigned int"
......
...@@ -29,7 +29,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -29,7 +29,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* These surely require augmentation */ /* These surely require augmentation */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-DAPX386 -D__i386__ -D__netware__ -Asystem(netware) -Acpu(i386) -Amachine(i386)" "-DAPX386 -D__i386__ -D__netware__ -Asystem=netware -Acpu=i386 -Amachine=i386"
#undef WCHAR_TYPE #undef WCHAR_TYPE
#define WCHAR_TYPE "short unsigned int" #define WCHAR_TYPE "short unsigned int"
......
...@@ -134,7 +134,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -134,7 +134,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DNeXT -Dunix -D__MACH__ -D__LITTLE_ENDIAN__ \ #define CPP_PREDEFINES "-DNeXT -Dunix -D__MACH__ -D__LITTLE_ENDIAN__ \
-D__ARCHITECTURE__=\"i386\" -Asystem(unix) -Asystem(mach)" -D__ARCHITECTURE__=\"i386\" -Asystem=unix -Asystem=mach"
/* This accounts for the return pc and saved fp on the i386. */ /* This accounts for the return pc and saved fp on the i386. */
......
...@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */
/* Run-time target specifications */ /* Run-time target specifications */
#define CPP_PREDEFINES "-D__unix__ -D__OpenBSD__ \ #define CPP_PREDEFINES "-D__unix__ -D__OpenBSD__ \
-Asystem(unix) -Asystem(bsd) -Asystem(OpenBSD)" -Asystem=unix -Asystem=bsd -Asystem=OpenBSD"
/* Layout of source language data types. */ /* Layout of source language data types. */
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-D__NO_UNDERSCORES__ -D__ELF__ -DOSF -DOSF1 -Dunix \ "-D__NO_UNDERSCORES__ -D__ELF__ -DOSF -DOSF1 -Dunix \
-Asystem(unix) -Asystem(xpg4) -Asystem(osf1)" -Asystem=unix -Asystem=xpg4 -Asystem=osf1"
/* current OSF/1 doesn't provide separate crti.o and gcrti.o (and also, crtn.o /* current OSF/1 doesn't provide separate crti.o and gcrti.o (and also, crtn.o
and gcrtn.o) for profile. */ and gcrtn.o) for profile. */
......
...@@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "config/i386/osfrose.h" #include "config/i386/osfrose.h"
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DOSF -DOSF1 -Dunix -Asystem(xpg4)" #define CPP_PREDEFINES "-DOSF -DOSF1 -Dunix -Asystem=xpg4"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC "%(cpp_cpu) \
......
...@@ -96,7 +96,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -96,7 +96,7 @@ Boston, MA 02111-1307, USA. */
/* Change default predefines. */ /* Change default predefines. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DOSF -DOSF1 -Dunix -Asystem(xpg4)" #define CPP_PREDEFINES "-DOSF -DOSF1 -Dunix -Asystem=xpg4"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC "%(cpp_cpu) \
......
...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */
/* This used to define X86, but james@bigtex.cactus.org says that /* This used to define X86, but james@bigtex.cactus.org says that
is supposed to be defined optionally by user programs--not by default. */ is supposed to be defined optionally by user programs--not by default. */
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dunix -D_SEQUENT_ -Asystem(unix) -Asystem(ptx4)" "-Dunix -D_SEQUENT_ -Asystem=unix -Asystem=ptx4"
/* This is how to output assembly code to define a `float' constant. /* This is how to output assembly code to define a `float' constant.
We always have to use a .long pseudo-op to do this because the native We always have to use a .long pseudo-op to do this because the native
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Drtems -D__rtems__ -Asystem(rtems)" #define CPP_PREDEFINES "-Drtems -D__rtems__ -Asystem=rtems"
/* Generate calls to memcpy, memcmp and memset. */ /* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS #ifndef TARGET_MEM_FUNCTIONS
......
...@@ -84,7 +84,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -84,7 +84,7 @@ Boston, MA 02111-1307, USA. */
#define WCHAR_TYPE_SIZE BITS_PER_WORD #define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Drtems -D__rtems__ -Asystem(rtems)" #define CPP_PREDEFINES "-Drtems -D__rtems__ -Asystem=rtems"
/* Get perform_* macros to build libgcc.a. */ /* Get perform_* macros to build libgcc.a. */
#include "i386/perform.h" #include "i386/perform.h"
......
...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP -Asystem(svr3)" #define CPP_PREDEFINES "-DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP -Asystem=svr3"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %{scointl:-DM_INTERNAT}" #define CPP_SPEC "%(cpp_cpu) %{scointl:-DM_INTERNAT}"
......
...@@ -63,7 +63,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -63,7 +63,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Asystem(svr3)" "-Asystem=svr3"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC "%(cpp_cpu) \
......
...@@ -61,7 +61,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -61,7 +61,7 @@ Boston, MA 02111-1307, USA. */
Specify predefined symbols in preprocessor. */ Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Asystem(svr3)" #define CPP_PREDEFINES "-Dunix -Asystem=svr3"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC "%(cpp_cpu) \
......
...@@ -819,7 +819,7 @@ dtors_section () \ ...@@ -819,7 +819,7 @@ dtors_section () \
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Asystem(svr3)" "-Asystem=svr3"
/* You are in a maze of GCC specs ... all alike */ /* You are in a maze of GCC specs ... all alike */
......
...@@ -50,7 +50,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -50,7 +50,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP -Asystem(svr3)" #define CPP_PREDEFINES "-Dunix -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP -Asystem=svr3"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) %{scointl:-DM_INTERNAT}" #define CPP_SPEC "%(cpp_cpu) %{scointl:-DM_INTERNAT}"
......
...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#define CPP_PREDEFINES "-Dunix -Dsequent -Asystem(unix)" #define CPP_PREDEFINES "-Dunix -Dsequent -Asystem=unix"
/* Pass -Z and -ZO options to the linker. */ /* Pass -Z and -ZO options to the linker. */
......
...@@ -64,7 +64,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -64,7 +64,7 @@ Boston, MA 02111-1307, USA. */
/* Add "sun" to the list of symbols defined for SVR4. */ /* Add "sun" to the list of symbols defined for SVR4. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dunix -D__svr4__ -D__SVR4 -Dsun -Asystem(svr4)" "-Dunix -D__svr4__ -D__SVR4 -Dsun -Asystem=svr4"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "%(cpp_cpu) \ #define CPP_SPEC "%(cpp_cpu) \
......
...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -44,7 +44,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#define CPP_PREDEFINES "-Dunix -Dsun386 -Dsun -Asystem(unix) -Asystem(bsd)" #define CPP_PREDEFINES "-Dunix -Dsun386 -Dsun -Asystem=unix -Asystem=bsd"
/* Allow #sccs in preprocessor. */ /* Allow #sccs in preprocessor. */
......
...@@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */ /* Specify predefined symbols in preprocessor. */
#define CPP_PREDEFINES "-Dunix -Asystem(svr3)" #define CPP_PREDEFINES "-Dunix -Asystem=svr3"
#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE}" #define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE}"
......
...@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */
/* This used to define X86, but james@bigtex.cactus.org says that /* This used to define X86, but james@bigtex.cactus.org says that
is supposed to be defined optionally by user programs--not by default. */ is supposed to be defined optionally by user programs--not by default. */
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dunix -D__svr4__ -Asystem(unix) -Asystem(svr4)" "-Dunix -D__svr4__ -Asystem=unix -Asystem=svr4"
/* This is how to output assembly code to define a `float' constant. /* This is how to output assembly code to define a `float' constant.
We always have to use a .long pseudo-op to do this because the native We always have to use a .long pseudo-op to do this because the native
......
...@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -40,7 +40,7 @@ Boston, MA 02111-1307, USA. */
_D_stdcall=__attribute__((__stdcall__)) \ _D_stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \ -D__cdecl=__attribute__((__cdecl__)) \
-D__declspec(x)=__attribute__((x)) \ -D__declspec(x)=__attribute__((x)) \
-Asystem(winnt)" -Asystem=winnt"
#undef CPP_SPEC #undef CPP_SPEC
#define CPP_SPEC "-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} \ #define CPP_SPEC "-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
......
...@@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -26,7 +26,7 @@ Boston, MA 02111-1307, USA. */
#ifdef CPP_PREDEFINES #ifdef CPP_PREDEFINES
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#endif #endif
#define CPP_PREDEFINES "-Dunix -DVSTA -Asystem(unix) -Asystem(vsta)" #define CPP_PREDEFINES "-Dunix -DVSTA -Asystem=unix -Asystem=vsta"
#undef EXTRA_SECTIONS #undef EXTRA_SECTIONS
#define EXTRA_SECTIONS in_ctor, in_dtor #define EXTRA_SECTIONS in_ctor, in_dtor
......
...@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -20,7 +20,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_CPU_SPEC #undef CPP_CPU_SPEC
#define CPP_CPU_SPEC "\ #define CPP_CPU_SPEC "\
-Asystem(unix) -Acpu(i386) -Amachine(i386) \ -Asystem=unix -Acpu=i386 -Amachine=i386 \
%{!ansi:-Di386} -D__i386 -D__i386__ \ %{!ansi:-Di386} -D__i386 -D__i386__ \
%{march=i386:-DCPU=I80386} \ %{march=i386:-DCPU=I80386} \
%{march=i486:-DCPU=I80486 %(cpp_486)} \ %{march=i486:-DCPU=I80486 %(cpp_486)} \
......
...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */
-D__stdcall=__attribute__((__stdcall__)) \ -D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \ -D__cdecl=__attribute__((__cdecl__)) \
-D_cdecl=__attribute__((__cdecl__)) \ -D_cdecl=__attribute__((__cdecl__)) \
-Asystem(unix) -Asystem(winnt)" -Asystem=unix -Asystem=winnt"
#define SIZE_TYPE "unsigned int" #define SIZE_TYPE "unsigned int"
#define PTRDIFF_TYPE "int" #define PTRDIFF_TYPE "int"
......
...@@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -66,7 +66,7 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES "-D_WIN32 -DWINNT -D_X86_=1 \ #define CPP_PREDEFINES "-D_WIN32 -DWINNT -D_X86_=1 \
-D__stdcall=__attribute__((__stdcall__)) \ -D__stdcall=__attribute__((__stdcall__)) \
-D__cdecl=__attribute__((__cdecl__)) \ -D__cdecl=__attribute__((__cdecl__)) \
-Asystem(winnt)" -Asystem=winnt"
#undef STARTFILE_SPEC #undef STARTFILE_SPEC
......
...@@ -264,7 +264,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -264,7 +264,7 @@ Boston, MA 02111-1307, USA. */
the i860 running Concentrix 2.x. */ the i860 running Concentrix 2.x. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Di860 -Dunix -DBSD4_3 -Dalliant -Asystem(unix) -Asystem(bsd) -Acpu(i860) -Amachine(i860)" #define CPP_PREDEFINES "-Di860 -Dunix -DBSD4_3 -Dalliant -Asystem=unix -Asystem=bsd -Acpu=i860 -Amachine=i860"
#undef I860_REG_PREFIX #undef I860_REG_PREFIX
#undef ASM_COMMENT_START #undef ASM_COMMENT_START
......
...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Di860 -Dunix -Asystem(unix) -Asystem(svr4) -Acpu(i860) -Amachine(i860)" #define CPP_PREDEFINES "-Di860 -Dunix -Asystem=unix -Asystem=svr4 -Acpu=i860 -Amachine=i860"
/* Print subsidiary information on the compiler version in use. */ /* Print subsidiary information on the compiler version in use. */
#define TARGET_VERSION fprintf (stderr, " (i860)"); #define TARGET_VERSION fprintf (stderr, " (i860)");
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#define TARGET_VERSION fprintf (stderr, " (i860 Mach3.x)"); #define TARGET_VERSION fprintf (stderr, " (i860 Mach3.x)");
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Di860 -DMACH -Asystem(unix) -Asystem(mach) -Acpu(i860) -Amachine(i860)" #define CPP_PREDEFINES "-Dunix -Di860 -DMACH -Asystem=unix -Asystem=mach -Acpu=i860 -Amachine=i860"
/* Specify extra dir to search for include files. */ /* Specify extra dir to search for include files. */
#define SYSTEM_INCLUDE_DIR "/usr/mach/include" #define SYSTEM_INCLUDE_DIR "/usr/mach/include"
......
...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -24,7 +24,7 @@ Boston, MA 02111-1307, USA. */
/* Provide a set of pre-definitions and pre-assertions appropriate for /* Provide a set of pre-definitions and pre-assertions appropriate for
the i860 running svr3. */ the i860 running svr3. */
#define CPP_PREDEFINES "-Di860 -Dunix -D__svr3__ -Asystem(unix) -Asystem(svr3) -Acpu(i860) -Amachine(i860)" #define CPP_PREDEFINES "-Di860 -Dunix -D__svr3__ -Asystem=unix -Asystem=svr3 -Acpu=i860 -Amachine=i860"
/* Use crt1.o as a startup file and crtn.o as a closing file. */ /* Use crt1.o as a startup file and crtn.o as a closing file. */
......
...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -32,7 +32,7 @@ Boston, MA 02111-1307, USA. */
__svr4__ is our extension. */ __svr4__ is our extension. */
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Di860 -Dunix -DSVR4 -D__svr4__ -Asystem(unix) -Asystem(svr4) -Acpu(i860) -Amachine(i860)" "-Di860 -Dunix -DSVR4 -D__svr4__ -Asystem=unix -Asystem=svr4 -Acpu=i860 -Amachine=i860"
/* For the benefit of i860_va_arg, flag it this way too. */ /* For the benefit of i860_va_arg, flag it this way too. */
......
...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -28,7 +28,7 @@ Boston, MA 02111-1307, USA. */
#define MULTILIB_DEFAULTS { "mnumerics" } #define MULTILIB_DEFAULTS { "mnumerics" }
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Acpu(i960) -Amachine(i960)" #define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Acpu=i960 -Amachine=i960"
/* Name to predefine in the preprocessor for processor variations. */ /* Name to predefine in the preprocessor for processor variations. */
#define CPP_SPEC "%{mic*:-D__i960\ #define CPP_SPEC "%{mic*:-D__i960\
......
...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -25,7 +25,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Drtems -D__rtems__ \ #define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Drtems -D__rtems__ \
-Asystem(rtems) -Acpu(i960) -Amachine(i960)" -Asystem=rtems -Acpu=i960 -Amachine=i960"
/* Generate calls to memcpy, memcmp and memset. */ /* Generate calls to memcpy, memcmp and memset. */
#ifndef TARGET_MEM_FUNCTIONS #ifndef TARGET_MEM_FUNCTIONS
......
...@@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -34,7 +34,7 @@ Boston, MA 02111-1307, USA. */
/* Predefine vxworks. */ /* Predefine vxworks. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Dvxworks -Acpu(i960) -Amachine(i960)" #define CPP_PREDEFINES "-Di960 -Di80960 -DI960 -DI80960 -Dvxworks -Acpu=i960 -Amachine=i960"
/* The VxWorks header files expect the compiler to define CPU to a /* The VxWorks header files expect the compiler to define CPU to a
magic number. Note that we define CPU here even if the user magic number. Note that we define CPU here even if the user
......
...@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -35,7 +35,7 @@ Boston, MA 02111-1307, USA. */
predefined macros that identify this machine and system. These macros will predefined macros that identify this machine and system. These macros will
be predefined unless the `-ansi' option is specified. */ be predefined unless the `-ansi' option is specified. */
/* ??? This is undefed in svr4.h. */ /* ??? This is undefed in svr4.h. */
#define CPP_PREDEFINES "-Dia64 -Amachine(ia64)" #define CPP_PREDEFINES "-Dia64 -Amachine=ia64"
/* This declaration should be present. */ /* This declaration should be present. */
extern int target_flags; extern int target_flags;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
/* ??? Maybe this should be in sysv4.h? */ /* ??? Maybe this should be in sysv4.h? */
#define CPP_PREDEFINES "\ #define CPP_PREDEFINES "\
-D__ia64 -D__ia64__ -D__linux -D__linux__ -D_LONGLONG -Dlinux -Dunix \ -D__ia64 -D__ia64__ -D__linux -D__linux__ -D_LONGLONG -Dlinux -Dunix \
-D__LP64__ -D__ELF__ -Asystem(linux) -Acpu(ia64) -Amachine(ia64)" -D__LP64__ -D__ELF__ -Asystem=linux -Acpu=ia64 -Amachine=ia64"
/* ??? ia64 gas doesn't accept standard svr4 assembler options? */ /* ??? ia64 gas doesn't accept standard svr4 assembler options? */
#undef ASM_SPEC #undef ASM_SPEC
......
...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -55,7 +55,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
/* __M32R__ is defined by the existing compiler so we use that. */ /* __M32R__ is defined by the existing compiler so we use that. */
#define CPP_PREDEFINES "-Acpu(m32r) -Amachine(m32r) -D__M32R__" #define CPP_PREDEFINES "-Acpu=m32r -Amachine=m32r -D__M32R__"
/* This macro defines names of additional specifications to put in the specs /* This macro defines names of additional specifications to put in the specs
that can be used in various specifications like CC1_SPEC. Its definition that can be used in various specifications like CC1_SPEC. Its definition
......
...@@ -78,7 +78,7 @@ output_file_directive ((FILE), main_input_filename) ...@@ -78,7 +78,7 @@ output_file_directive ((FILE), main_input_filename)
/* ihnp4!lmayk!lgm@eddie.mit.edu says mc68000 and m68k should not be here. */ /* ihnp4!lmayk!lgm@eddie.mit.edu says mc68000 and m68k should not be here. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc -D__motorola__ -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" #define CPP_PREDEFINES "-Dmc68k -Dunix -Dunixpc -D__motorola__ -Asystem=unix -Asystem=svr3 -Acpu=m68k -Amachine=m68k"
#undef REGISTER_NAMES #undef REGISTER_NAMES
#define REGISTER_NAMES \ #define REGISTER_NAMES \
......
...@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */
"%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!m68020:-mc68010}}" "%{m68020:-mc68020}%{mc68020:-mc68020}%{!mc68020:%{!m68020:-mc68010}}"
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Dmc68000 -Dmc68k -Dunix -Dunixpc -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" #define CPP_PREDEFINES "-Dmc68000 -Dmc68k -Dunix -Dunixpc -Asystem=unix -Asystem=svr3 -Acpu=m68k -Amachine=m68k"
/* This is (not really) BSD, so (but) it wants DBX format. */ /* This is (not really) BSD, so (but) it wants DBX format. */
#define DBX_DEBUGGING_INFO #define DBX_DEBUGGING_INFO
......
...@@ -27,14 +27,14 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,14 +27,14 @@ Boston, MA 02111-1307, USA. */
#define TARGET_DEFAULT (MASK_BITFIELD|MASK_68881|MASK_68020) /* 68020, 68881 */ #define TARGET_DEFAULT (MASK_BITFIELD|MASK_68881|MASK_68020) /* 68020, 68881 */
#define CPP_PREDEFINES "-Dunix -Dm68k -DAUX -DmacII \ #define CPP_PREDEFINES "-Dunix -Dm68k -DAUX -DmacII \
-Asystem(unix) -Asystem(AUX) -Acpu(m68k) -Amachine(m68k) -Amachine(macII)" -Asystem=unix -Asystem=AUX -Acpu=m68k -Amachine=m68k -Amachine=macII"
#define CPP_SPEC \ #define CPP_SPEC \
"%{!msoft-float:%{!ansi:-Dmc68881 }-D__HAVE_68881__ }\ "%{!msoft-float:%{!ansi:-Dmc68881 }-D__HAVE_68881__ }\
-Acpu(mc68000) -D__mc68000__ %{!ansi:-Dmc68000 }\ -Acpu=mc68000 -D__mc68000__ %{!ansi:-Dmc68000 }\
%{!mc68000:%{!m68000:-Acpu(mc68020) -D__mc68020__ %{!ansi:-Dmc68020 }}}\ %{!mc68000:%{!m68000:-Acpu=mc68020 -D__mc68020__ %{!ansi:-Dmc68020 }}}\
%{m68030:-Acpu(mc68030) -D__mc68030__ %{!ansi:-Dmc68030 }}\ %{m68030:-Acpu=mc68030 -D__mc68030__ %{!ansi:-Dmc68030 }}\
%{m68040:-Acpu(mc68040) -D__mc68040__ %{!ansi:-Dmc68040 }}\ %{m68040:-Acpu=mc68040 -D__mc68040__ %{!ansi:-Dmc68040 }}\
%{!ansi:%{!traditional:-D__STDC__=2 }}\ %{!ansi:%{!traditional:-D__STDC__=2 }}\
%{sbsd:-D_BSD_SOURCE -DBSD }%{ZB:-D_BSD_SOURCE -DBSD }\ %{sbsd:-D_BSD_SOURCE -DBSD }%{ZB:-D_BSD_SOURCE -DBSD }\
%{ssysv:-D_SYSV_SOURCE -DSYSV -DUSG }%{ZS:-D_SYSV_SOURCE -DSYSV -DUSG }\ %{ssysv:-D_SYSV_SOURCE -DSYSV -DUSG }%{ZS:-D_SYSV_SOURCE -DSYSV -DUSG }\
......
...@@ -61,7 +61,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -61,7 +61,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Dmc68000 -DPORTAR -Dmc68k32 -Uvax -Dm68k -Dunix -Asystem(unix) -Acpu(m68k) -Amachine(m68k)" #define CPP_PREDEFINES "-Dmc68000 -DPORTAR -Dmc68k32 -Uvax -Dm68k -Dunix -Asystem=unix -Acpu=m68k -Amachine=m68k"
/* Every structure or union's size must be a multiple of 2 bytes. */ /* Every structure or union's size must be a multiple of 2 bytes. */
......
...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -41,7 +41,7 @@ Boston, MA 02111-1307, USA. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES \ #define CPP_PREDEFINES \
"-Dm68k -Dunix -DAMIX -D__svr4__ -D__motorola__ \ "-Dm68k -Dunix -DAMIX -D__svr4__ -D__motorola__ \
-Amachine(m68k) -Acpu(m68k) -Asystem(unix) -Alint(off)" -Amachine=m68k -Acpu=m68k -Asystem=unix -Alint=off"
/* At end of a switch table, define LDnnn iff the symbol LInnn was defined. /* At end of a switch table, define LDnnn iff the symbol LInnn was defined.
Some SGS assemblers have a bug such that "Lnnn-LInnn-2.b(pc,d0.l*2)" Some SGS assemblers have a bug such that "Lnnn-LInnn-2.b(pc,d0.l*2)"
......
...@@ -76,7 +76,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -76,7 +76,7 @@ Boston, MA 02111-1307, USA. */
/* These are the ones defined by Apollo, plus mc68000 for uniformity with /* These are the ones defined by Apollo, plus mc68000 for uniformity with
GCC on other 68000 systems. */ GCC on other 68000 systems. */
#define CPP_PREDEFINES "-Dapollo -Daegis -Dunix -Asystem(unix) -Acpu(m68k) -Amachine(m68k)" #define CPP_PREDEFINES "-Dapollo -Daegis -Dunix -Asystem=unix -Acpu=m68k -Amachine=m68k"
/* cpp has to support a #sccs directive for the /usr/include files */ /* cpp has to support a #sccs directive for the /usr/include files */
......
...@@ -102,7 +102,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -102,7 +102,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dmc68k -DM68000 -Dmc68000 -Dunos -Dunix -D__motorola__ -Asystem(unix) -Acpu(m68k) -Amachine(m68k)" #define CPP_PREDEFINES "-Dmc68k -DM68000 -Dmc68000 -Dunos -Dunix -D__motorola__ -Asystem=unix -Acpu=m68k -Amachine=m68k"
/* Register in which address to store a structure value /* Register in which address to store a structure value
is passed to a function. */ is passed to a function. */
......
...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -33,7 +33,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#undef CPP_PREDEFINES #undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dmc68000 -Dmc68k -Dunix -Dctix -Asystem(unix) -Acpu(m68k) -Amachine(m68k)" #define CPP_PREDEFINES "-Dmc68000 -Dmc68k -Dunix -Dctix -Asystem=unix -Acpu=m68k -Amachine=m68k"
/* Where to look for robotussinized startfiles. */ /* Where to look for robotussinized startfiles. */
#undef STANDARD_STARTFILE_PREFIX #undef STANDARD_STARTFILE_PREFIX
......
...@@ -48,12 +48,12 @@ Boston, MA 02111-1307, USA. */ ...@@ -48,12 +48,12 @@ Boston, MA 02111-1307, USA. */
* define all the things the compiler should * define all the things the compiler should
*/ */
#ifdef ncl_mr #ifdef ncl_mr
# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_mr=1 -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" # define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_mr=1 -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -Asystem=unix -Asystem=svr3 -Acpu=m68k -Amachine=m68k"
#else #else
# ifdef ncl_el # ifdef ncl_el
# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_el -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" # define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -Dncl_el -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -Asystem=unix -Asystem=svr3 -Acpu=m68k -Amachine=m68k"
# else # else
# define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -Asystem(unix) -Asystem(svr3) -Acpu(m68k) -Amachine(m68k)" # define CPP_PREDEFINES "-Dunix -Dbull -DDPX2 -DSVR3 -Dmc68000 -Dmc68020 -D_BULL_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE -Asystem=unix -Asystem=svr3 -Acpu=m68k -Amachine=m68k"
# endif # endif
#endif #endif
......
...@@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -42,7 +42,7 @@ Boston, MA 02111-1307, USA. */
/* Names to predefine in the preprocessor for this target machine. */ /* Names to predefine in the preprocessor for this target machine. */
#define CPP_PREDEFINES "-Dmc68000 -Dmc68010 -Dhp200 -Dunix -Asystem(unix) -Asystem(bsd) -Acpu(m68k) -Amachine(m68k)" #define CPP_PREDEFINES "-Dmc68000 -Dmc68010 -Dhp200 -Dunix -Asystem=unix -Asystem=bsd -Acpu=m68k -Amachine=m68k"
/* Link with libg.a when debugging, for dbx's sake. */ /* Link with libg.a when debugging, for dbx's sake. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment