aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/semiaof.h
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1996-02-12 16:53:26 +0000
committerRichard Earnshaw <erich@gnu.org>1996-02-12 16:53:26 +0000
commit09e1d007f18efcb3aeb11e96de8927a4ec50d2f1 (patch)
tree9af30a3aedc74b83d10e5ef9fa32c0e2531f8955 /gcc/config/arm/semiaof.h
parente378e7e94e3e2112163a8bc5137f0dc8e00a2e11 (diff)
downloadgcc-09e1d007f18efcb3aeb11e96de8927a4ec50d2f1.zip
gcc-09e1d007f18efcb3aeb11e96de8927a4ec50d2f1.tar.gz
gcc-09e1d007f18efcb3aeb11e96de8927a4ec50d2f1.tar.bz2
semiaof.h (CPP_SPEC): Define __ARMEB__...
* arm/semiaof.h (CPP_SPEC): Define __ARMEB__, __ARMEL__, and __ARMWEL__ depending on the endian flags passed to the compiler. From-SVN: r11214
Diffstat (limited to 'gcc/config/arm/semiaof.h')
-rw-r--r--gcc/config/arm/semiaof.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/arm/semiaof.h b/gcc/config/arm/semiaof.h
index cb13a33..0ce5913 100644
--- a/gcc/config/arm/semiaof.h
+++ b/gcc/config/arm/semiaof.h
@@ -32,6 +32,9 @@ Boston, MA 02111-1307, USA. */
%{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 \