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
This commit is contained in:
Eric Christopher 2001-10-04 08:38:41 +00:00
parent 3bdeffacad
commit 3054eeed1d
4 changed files with 25 additions and 12 deletions

View File

@ -1,3 +1,11 @@
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,
@ -101,7 +109,7 @@ Tue Oct 2 12:46:01 CEST 2001 Bo Thorsen <bo@suse.co.uk>,
Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.c (legitimize_pic_address): Add missing bits of 64bit support.
(ix86_expand_int_movcc): Optimize DImode conditional moves with
(ix86_expand_int_movcc): Optimize DImode conditional moves with
constants on x86_64.
(ix86_attr_length_immediate_default): Support MODE_DI.
* i386.md (fixdi splitter): Add missing "&& 1" in splitter
@ -264,7 +272,7 @@ Mon Oct 1 06:43:41 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
(MEM_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
(MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
(set_mem_alias_set): Delete decl from here.
* alias.c (set_mem_alias_set): Delete from here.
* emit-rtl.c (mem_attrs_htab): New variable.
(rtx_htab_mark, rtx_htab_mark_1): Deleted.
@ -455,7 +463,7 @@ Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
sfence_insn, prefetch): Make these available if TARGET_SSE or
TARGET_3DNOW_A.
Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg,
@ -471,7 +479,7 @@ Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
* cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
Use size_t everywhere, make definitions consistent with
prototypes.
prototypes.
Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>

View File

@ -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"

View File

@ -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"
@ -98,7 +96,7 @@ do { \
given time. */
#undef EXTRA_SECTIONS
#define EXTRA_SECTIONS in_sdata, in_sbss, in_rdata
#undef EXTRA_SECTION_FUNCTIONS
#define EXTRA_SECTION_FUNCTIONS \
SECTION_FUNCTION_TEMPLATE(sdata_section, in_sdata, SDATA_SECTION_ASM_OP) \

View File

@ -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
@ -6650,7 +6651,7 @@ mips_emit_frame_related_store (mem, reg, offset)
}
else
dwarf_expr = mips_frame_set (GET_MODE (reg), REGNO (reg), offset);
mips_annotate_frame_insn (emit_move_insn (mem, reg), dwarf_expr);
}