aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/dec-bsd.h
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>1994-11-16 21:35:44 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>1994-11-16 21:35:44 +0000
commit5a5f5a9cfd40f156ee4129c577c80c112688398f (patch)
tree0ad58e4e3da2b39d6818ff9e9008dbd9c18828eb /gcc/config/mips/dec-bsd.h
parent51356f864933f664f7dfbf6e25ddcd97b587441a (diff)
add support for -EL and -EB
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8471 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/mips/dec-bsd.h')
-rw-r--r--gcc/config/mips/dec-bsd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/mips/dec-bsd.h b/gcc/config/mips/dec-bsd.h
index 0c7c046d31e..8fb46ddfc45 100644
--- a/gcc/config/mips/dec-bsd.h
+++ b/gcc/config/mips/dec-bsd.h
@@ -50,7 +50,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{!.S:%{!.s: -D__LANGUAGE_C -D_LANGUAGE_C %{!ansi:-DLANGUAGE_C}}} \
%{mlong64:-D__SIZE_TYPE__=long\\ unsigned\\ int -D__PTRDIFF_TYPE__=long\\ int} \
%{!mlong64:-D__SIZE_TYPE__=unsigned\\ int -D__PTRDIFF_TYPE__=int} \
-%{mips3:-U__mips -D__mips=3}"
+%{mips3:-U__mips -D__mips=3} \
+%{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}}"
#endif
/* Always uses GNU ld. */