aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc-4.4.3/gcc/config/mips/linux.h1
-rw-r--r--gcc-4.6/gcc/config/mips/linux.h1
-rw-r--r--gcc-4.7/gcc/config/mips/gnu-user.h1
3 files changed, 3 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/config/mips/linux.h b/gcc-4.4.3/gcc/config/mips/linux.h
index 136356b..5d3a857 100644
--- a/gcc-4.4.3/gcc/config/mips/linux.h
+++ b/gcc-4.4.3/gcc/config/mips/linux.h
@@ -71,6 +71,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINUX_SUBTARGET_LINK_SPEC
#define LINUX_SUBTARGET_LINK_SPEC \
"%(endian_spec) \
+ %{!EB:%{!meb:-m elf32ltsmip}} %{EB|meb:-m elf32btsmip} \
%{shared:-shared} \
%{!shared: \
%{!ibcs: \
diff --git a/gcc-4.6/gcc/config/mips/linux.h b/gcc-4.6/gcc/config/mips/linux.h
index 6104463..ec60a9b 100644
--- a/gcc-4.6/gcc/config/mips/linux.h
+++ b/gcc-4.6/gcc/config/mips/linux.h
@@ -68,6 +68,7 @@ along with GCC; see the file COPYING3. If not see
#undef LINUX_SUBTARGET_LINK_SPEC
#define LINUX_SUBTARGET_LINK_SPEC \
"%(endian_spec) \
+ %{!EB:%{!meb:-m elf32ltsmip}} %{EB|meb:-m elf32btsmip} \
%{shared:-shared} \
%{!shared: \
%{!static: \
diff --git a/gcc-4.7/gcc/config/mips/gnu-user.h b/gcc-4.7/gcc/config/mips/gnu-user.h
index 33e7b51..533a740 100644
--- a/gcc-4.7/gcc/config/mips/gnu-user.h
+++ b/gcc-4.7/gcc/config/mips/gnu-user.h
@@ -60,6 +60,7 @@ along with GCC; see the file COPYING3. If not see
#define LINUX_SUBTARGET_LINK_SPEC \
"%(endian_spec) \
%{shared:-shared} \
+ %{!EB:%{!meb:-m elf32ltsmip}} %{EB|meb:-m elf32btsmip} \
%{!shared: \
%{!static: \
%{rdynamic:-export-dynamic} \