Commit 47737445 by Richard Kenner

(CPP_SPEC): Add -EB and -EL support.

From-SVN: r10550
parent a5827481
...@@ -68,7 +68,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -68,7 +68,9 @@ Boston, MA 02111-1307, USA. */
%{!mips1:%{!mips2: -D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int}} \ %{!mips1:%{!mips2: -D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int}} \
%{mips3:-U__mips -D__mips=3 -D__mips64} \ %{mips3:-U__mips -D__mips=3 -D__mips64} \
%{!mips1:%{!mips2:-U__mips -D__mips=4 -D__mips64}} \ %{!mips1:%{!mips2:-U__mips -D__mips=4 -D__mips64}} \
%{mgp32:-U__mips64} %{mgp64:-D__mips64}" %{mgp32:-U__mips64} %{mgp64:-D__mips64} \
%{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \
%{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}"
#undef EMPTY_FIELD_BOUNDARY #undef EMPTY_FIELD_BOUNDARY
#define EMPTY_FIELD_BOUNDARY 32 #define EMPTY_FIELD_BOUNDARY 32
......
...@@ -49,7 +49,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -49,7 +49,9 @@ Boston, MA 02111-1307, USA. */
%{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \ %{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \
%{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \ %{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
%{!mips1:%{!mips2:-U__mips -D__mips=3 -D__mips64}} \ %{!mips1:%{!mips2:-U__mips -D__mips=3 -D__mips64}} \
%{mgp32:-U__mips64} %{mgp64:-D__mips64}" %{mgp32:-U__mips64} %{mgp64:-D__mips64} \
%{EB:-UMIPSEL -U_MIPSEL -U__MIPSEL -U__MIPSEL__ -D_MIPSEB -D__MIPSEB -D__MIPSEB__ %{!ansi:-DMIPSEB}} \
%{EL:-UMIPSEB -U_MIPSEB -U__MIPSEB -U__MIPSEB__ -D_MIPSEL -D__MIPSEL -D__MIPSEL__ %{!ansi:-DMIPSEL}}"
/* Use memcpy, et. al., rather than bcopy. */ /* Use memcpy, et. al., rather than bcopy. */
#define TARGET_MEM_FUNCTIONS #define TARGET_MEM_FUNCTIONS
......
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