summaryrefslogtreecommitdiff
path: root/gcc/config/mips/elf64.h
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-11-05 15:41:42 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-11-05 15:41:42 +0000
commite42f9849c0ec473f40be5eef89ec42831248111d (patch)
treed68725f543c06d1e55c688ae84f76ec361cf3f10 /gcc/config/mips/elf64.h
parent4fafcf8f968040f954cd60c0c1cb81fa574908bd (diff)
downloadgcc-e42f9849c0ec473f40be5eef89ec42831248111d.tar.gz
(CPP_SPEC): Add -EB and -EL support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@10550 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/elf64.h')
-rw-r--r--gcc/config/mips/elf64.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h
index a686657842d..77343e84b58 100644
--- a/gcc/config/mips/elf64.h
+++ b/gcc/config/mips/elf64.h
@@ -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__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
%{!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. */
#define TARGET_MEM_FUNCTIONS