Commit 09e1d007 by Richard Earnshaw

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
parent e378e7e9
...@@ -32,6 +32,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -32,6 +32,9 @@ Boston, MA 02111-1307, USA. */
%{msoft-float:-D__SOFTFP__} \ %{msoft-float:-D__SOFTFP__} \
%{mhard-float:-U__SOFTFP__} \ %{mhard-float:-U__SOFTFP__} \
%{!mhard-float: %{!msoft-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 \ #define ASM_SPEC "%{g -g} -arch 4 \
......
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