mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-03 12:00:51 +08:00
(CPP_SPEC): Delete.
(CPP_APCS_PC_DEFAULT_SPEC): Define. From-SVN: r14053
This commit is contained in:
parent
fef37aaf99
commit
97d65fbc22
@ -1,6 +1,6 @@
|
||||
/* Definitions of target machine for GNU compiler. ARM on semi-hosted platform
|
||||
AOF Syntax assembler.
|
||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||
Contributed by Richard Earnshaw (richard.earnshaw@armltd.co.uk)
|
||||
|
||||
This file is part of GNU CC.
|
||||
@ -23,20 +23,6 @@ Boston, MA 02111-1307, USA. */
|
||||
#define CPP_PREDEFINES \
|
||||
"-Darm -Dsemi -Acpu(arm) -Amachine(arm)"
|
||||
|
||||
#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__}} \
|
||||
%{mbig-endian:-D__ARMEB__ %{mwords-little-endian:-D__ARMWEL__}} \
|
||||
%{mbe:-D__ARMEB__ %{mwords-little-endian:-D__ARMWEL__}} \
|
||||
%{!mbe: %{!mbig-endian:-D__ARMEL__}} \
|
||||
"
|
||||
|
||||
#define ASM_SPEC "%{g -g} -arch 4 \
|
||||
-apcs 3%{mapcs-32:/32bit}%{mapcs-26:/26bit}%{!mapcs-26:%{!macps-32:/32bit}}"
|
||||
|
||||
@ -50,3 +36,8 @@ Boston, MA 02111-1307, USA. */
|
||||
#define SIZE_TYPE "unsigned int"
|
||||
|
||||
#include "arm/aof.h"
|
||||
|
||||
#undef CPP_APCS_PC_DEFAULT_SPEC
|
||||
#define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user