Commit 3054eeed by Eric Christopher

mips.c (init_cumulative_args): Remember to set cum->prototype.

2001-10-04  Eric Christopher  <echristo@redhat.com>

	* config/mips/mips.c (init_cumulative_args): Remember to set
	cum->prototype.
	* config.gcc: Redo linux configuration. Add target_cpu_default
	of soft-float to all mipsisa32 combinations and tx39.
	* config/mips/linux.h: Remove include of mips.h.

From-SVN: r46008
parent 3bdeffac
2001-10-04 Eric Christopher <echristo@redhat.com>
* config/mips/mips.c (init_cumulative_args): Remember to set
cum->prototype.
* config.gcc: Redo linux configuration. Add target_cpu_default
of soft-float to all mipsisa32 combinations and tx39.
* config/mips/linux.h: Remove include of mips.h.
2001-10-03 Loren J. Rittle <ljrittle@acm.org>
* Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS,
......
......@@ -2228,13 +2228,17 @@ mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
;;
mips*-*-linux*) # Linux MIPS, either endian.
xmake_file=x-linux
tm_file="linux.h mips/linux.h"
case $machine in
mipsisa32el-*)
tm_file="mips/little.h $tm_file mips/isa32-linux.h";;
tm_file="elfos.h mips/elfl.h mips/linux.h mips/isa32-linux.h"
target_cpu_default="MASK_SOFT_FLOAT"
;;
mipsisa32-*)
tm_file="$tm_file mips/isa32-linux.h";;
mips*el-*) tm_file="mips/little.h $tm_file" ;;
tm_file="elfos.h mips/elf.h mips/linux.h mips/isa32-linux.h"
target_cpu_default="MASK_SOFT_FLOAT"
;;
mips*el-*) tm_file="elfos.h mips/elfl.h mips/linux.h" ;;
*) tm_file="elfos.h mips/elf.h mips/linux.h"
esac
tmake_file="t-slibgcc-elf-ver t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
......@@ -2456,6 +2460,7 @@ mips-*-ecoff*)
mipsisa32-*-elf*)
tm_file="mips/isa3264.h mips/abi64.h"
tmake_file=mips/t-isa3264
target_cpu_default="MASK_SOFT_FLOAT"
;;
mipsel-*-elf*)
tm_file="mips/elfl.h"
......@@ -2498,6 +2503,7 @@ mips*-*-rtems*)
mipstx39el-*-elf*)
tm_file="mips/r3900.h mips/elfl.h mips/abi64.h"
tmake_file=mips/t-r3900
target_cpu_default="MASK_SOFT_FLOAT"
;;
mipstx39-*-elf*)
tm_file="mips/r3900.h mips/elf.h mips/abi64.h"
......
......@@ -23,8 +23,6 @@ Boston, MA 02111-1307, USA. */
/* US Software GOFAST library support. */
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS
#include "mips/mips.h"
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"
......
......@@ -3854,6 +3854,7 @@ init_cumulative_args (cum, fntype, libname)
}
*cum = zero_cum;
cum->prototype = (fntype && TYPE_ARG_TYPES (fntype));
/* Determine if this function has variable arguments. This is
indicated by the last argument being 'void_type_mode' if there
......
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