Commit 6ed6b84a by Andreas Jaeger Committed by Andreas Jaeger

configure.in (mips*-*-linux*): Use mips*el to check for little endian MIPS, add tmake_file.

	* configure.in (mips*-*-linux*): Use mips*el to check for little
	endian MIPS, add tmake_file.

	* config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
	(SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
	Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.

From-SVN: r35328
parent c5c854e3
2000-07-29 Andreas Jaeger <aj@suse.de>
* configure.in (mips*-*-linux*): Use mips*el to check for little
endian MIPS, add tmake_file.
* config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
(SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-07-28 Richard Henderson <rth@cygnus.com> 2000-07-28 Richard Henderson <rth@cygnus.com>
* config/ia64/ia64.c (ia64_print_operand): Fix typos. * config/ia64/ia64.c (ia64_print_operand): Fix typos.
......
...@@ -20,9 +20,9 @@ Boston, MA 02111-1307, USA. */ ...@@ -20,9 +20,9 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_VERSION #undef TARGET_VERSION
#if TARGET_ENDIAN_DEFAULT == 0 #if TARGET_ENDIAN_DEFAULT == 0
#define TARGET_VERSION fprintf (stderr, " (MIPSel GNU/ELF)"); #define TARGET_VERSION fprintf (stderr, " (MIPSel GNU/Linux with ELF)");
#else #else
#define TARGET_VERSION fprintf (stderr, " (MIPS GNU/ELF)"); #define TARGET_VERSION fprintf (stderr, " (MIPS GNU/Linux with ELF)");
#endif #endif
#undef MD_EXEC_PREFIX #undef MD_EXEC_PREFIX
...@@ -95,7 +95,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -95,7 +95,7 @@ Boston, MA 02111-1307, USA. */
%{mips2: -D_MIPS_ISA=_MIPS_ISA_MIPS2} \ %{mips2: -D_MIPS_ISA=_MIPS_ISA_MIPS2} \
%{mips3: -D_MIPS_ISA=_MIPS_ISA_MIPS3} \ %{mips3: -D_MIPS_ISA=_MIPS_ISA_MIPS3} \
%{mips4: -D_MIPS_ISA=_MIPS_ISA_MIPS4} \ %{mips4: -D_MIPS_ISA=_MIPS_ISA_MIPS4} \
%{!mips*: -D_MIPS_ISA=_MIPS_ISA_MIPS3} \ %{!mips*: -D_MIPS_ISA=_MIPS_ISA_MIPS1} \
%{mabi=32: -D_MIPS_SIM=_MIPS_SIM_ABI32} \ %{mabi=32: -D_MIPS_SIM=_MIPS_SIM_ABI32} \
%{mabi=n32: -D_ABIN32=2 -D_MIPS_SIM=_ABIN32} \ %{mabi=n32: -D_ABIN32=2 -D_MIPS_SIM=_ABIN32} \
%{mabi=64: -D_ABI64=3 -D_MIPS_SIM=_ABI64} \ %{mabi=64: -D_ABI64=3 -D_MIPS_SIM=_ABI64} \
...@@ -168,4 +168,3 @@ Boston, MA 02111-1307, USA. */ ...@@ -168,4 +168,3 @@ Boston, MA 02111-1307, USA. */
%{mabi=64: -64} \ %{mabi=64: -64} \
%{!fno-PIC:%{!fno-pic:-KPIC}} \ %{!fno-PIC:%{!fno-pic:-KPIC}} \
%{fno-PIC:-non_shared} %{fno-pic:-non_shared}" %{fno-PIC:-non_shared} %{fno-pic:-non_shared}"
...@@ -2744,9 +2744,10 @@ changequote([,])dnl ...@@ -2744,9 +2744,10 @@ changequote([,])dnl
mips*-*-linux*) # Linux MIPS, either endian. mips*-*-linux*) # Linux MIPS, either endian.
xmake_file=x-linux xmake_file=x-linux
case $machine in case $machine in
mipsel-*) tm_file="mips/elfl.h mips/linux.h" ;; mips*el-*) tm_file="mips/elfl.h mips/linux.h" ;;
*) tm_file="mips/elf.h mips/linux.h" ;; *) tm_file="mips/elf.h mips/linux.h" ;;
esac esac
tmake_file=t-linux
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
gnu_ld=yes gnu_ld=yes
gas=yes gas=yes
......
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