diff options
author | Richard Earnshaw <erich@gnu.org> | 1995-12-06 11:53:39 +0000 |
---|---|---|
committer | Richard Earnshaw <erich@gnu.org> | 1995-12-06 11:53:39 +0000 |
commit | 1c94383bfa25c3248f7fc91b7d309a8b3fd69b86 (patch) | |
tree | f2011c598331c90222db1ad4f62be2add486566f /gcc | |
parent | 4cdb3ed4772222dac4bf282474ef5191f1954040 (diff) | |
download | gcc-1c94383bfa25c3248f7fc91b7d309a8b3fd69b86.zip gcc-1c94383bfa25c3248f7fc91b7d309a8b3fd69b86.tar.gz gcc-1c94383bfa25c3248f7fc91b7d309a8b3fd69b86.tar.bz2 |
Include arm/aout.h, not arm/arm.h.
From-SVN: r10683
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/arm/riscix.h | 2 | ||||
-rw-r--r-- | gcc/config/arm/riscix1-1.h | 2 | ||||
-rw-r--r-- | gcc/config/arm/semi.h | 20 |
3 files changed, 16 insertions, 8 deletions
diff --git a/gcc/config/arm/riscix.h b/gcc/config/arm/riscix.h index a3b9c3d..9c1af46 100644 --- a/gcc/config/arm/riscix.h +++ b/gcc/config/arm/riscix.h @@ -123,7 +123,7 @@ Boston, MA 02111-1307, USA. */ /* Maths operation domain error number, EDOM */ #define TARGET_EDOM 33 -#include "arm/arm.h" +#include "arm/aout.h" /* The native RISCiX assembler does not support stabs of any kind; because the native assembler is not used by the compiler, Acorn didn't feel it was diff --git a/gcc/config/arm/riscix1-1.h b/gcc/config/arm/riscix1-1.h index 8be8539..7486381 100644 --- a/gcc/config/arm/riscix1-1.h +++ b/gcc/config/arm/riscix1-1.h @@ -81,7 +81,7 @@ Boston, MA 02111-1307, USA. */ #define SYMBOL__MAIN __gccmain #endif -#include "arm/arm.h" +#include "arm/aout.h" /* The native RISCiX assembler does not support stabs of any kind; because the native assembler is not used by the compiler, Acorn didn't feel it was diff --git a/gcc/config/arm/semi.h b/gcc/config/arm/semi.h index d282ac3..c2e7031 100644 --- a/gcc/config/arm/semi.h +++ b/gcc/config/arm/semi.h @@ -1,5 +1,5 @@ /* Definitions of target machine for GNU compiler. ARM on semi-hosted platform - Copyright (C) 1994 Free Software Foundation, Inc. + Copyright (C) 1994, 1995 Free Software Foundation, Inc. Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk) This file is part of GNU CC. @@ -28,11 +28,19 @@ Boston, MA 02111-1307, USA. */ #define CPP_PREDEFINES \ "-Darm -Dsemi -Acpu(arm) -Amachine(arm)" -#define TARGET_VERSION fputs (" (ARM/semi-hosted)", stderr); +#define CPP_SPEC "%{m6:-D__arm6__} \ +%{mcpu-*:-D__%*} \ +%{mcpu=*:-D__%*} \ +%{mapcs-32:-D__APCS_32__ -U__APCS_26__} \ +%{mapcs-26:-D__APCS_26__ -U__APCS_32__} \ +%{!mapcs-32: %{!mapcs-26:-D__APCS_32__}} \ +%{msoft-float:-D__SOFTFP__} \ +%{mhard-float:-U__SOFTFP__} \ +%{!mhard-float: %{!msoft-float:-U__SOFTFP__}} \ +" -#define TARGET_DEFAULT 8 /* APCS-32 (ARM 6) */ +#define TARGET_VERSION fputs (" (ARM/semi-hosted)", stderr); -/* Currently we have no support for atexit. */ -#define EXIT_BODY {} +#define TARGET_DEFAULT ARM_FLAG_APCS_32 -#include "arm/arm.h" +#include "arm/aout.h" |