From 77c63c16ea7aa51bb9374ec785001221b797ddaf Mon Sep 17 00:00:00 2001 From: erich Date: Mon, 12 Feb 1996 16:53:26 +0000 Subject: [PATCH] * arm/semiaof.h (CPP_SPEC): Define __ARMEB__, __ARMEL__, and __ARMWEL__ depending on the endian flags passed to the compiler. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11214 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/arm/semiaof.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/config/arm/semiaof.h b/gcc/config/arm/semiaof.h index cb13a33381c..0ce5913312b 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 \ -- 2.11.4.GIT