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> 2001-10-03 Loren J. Rittle <ljrittle@acm.org>
* Makefile.in (STAGE2_FLAGS_TO_PASS): Propagate HOST_CFLAGS, * 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>, ...@@ -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> Tue Oct 2 12:46:01 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.c (legitimize_pic_address): Add missing bits of 64bit support. * 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. constants on x86_64.
(ix86_attr_length_immediate_default): Support MODE_DI. (ix86_attr_length_immediate_default): Support MODE_DI.
* i386.md (fixdi splitter): Add missing "&& 1" in splitter * 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> ...@@ -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_DECL, MEM_OFFSET, MEM_SIZE, MEM_ALIGN): New macros.
(MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS. (MEM_COPY_ATTRIBUTES): Copy MEM_ATTRS.
(set_mem_alias_set): Delete decl from here. (set_mem_alias_set): Delete decl from here.
* alias.c (set_mem_alias_set): Delete from here. * alias.c (set_mem_alias_set): Delete from here.
* emit-rtl.c (mem_attrs_htab): New variable. * emit-rtl.c (mem_attrs_htab): New variable.
(rtx_htab_mark, rtx_htab_mark_1): Deleted. (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> ...@@ -455,7 +463,7 @@ Sat Sep 29 15:08:16 CEST 2001 Jan Hubicka <jh@suse.cz>
mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence, mmx_pshufw, umaxv8qi3, smaxv4hi3, uminv8qi3, sminv4hi3, sfence,
sfence_insn, prefetch): Make these available if TARGET_SSE or sfence_insn, prefetch): Make these available if TARGET_SSE or
TARGET_3DNOW_A. TARGET_3DNOW_A.
Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz> Fri Sep 28 19:18:40 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386-protos.h (ix86_setup_incoming_varargs, ix86_va_arg, * 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> ...@@ -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): * cpplex.c (new_buff, _cpp_get_buff, _cpp_extend_buff):
Use size_t everywhere, make definitions consistent with Use size_t everywhere, make definitions consistent with
prototypes. prototypes.
Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz> Fri Sep 28 14:59:34 CEST 2001 Jan Hubicka <jh@suse.cz>
......
...@@ -2228,13 +2228,17 @@ mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD ...@@ -2228,13 +2228,17 @@ mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
;; ;;
mips*-*-linux*) # Linux MIPS, either endian. mips*-*-linux*) # Linux MIPS, either endian.
xmake_file=x-linux xmake_file=x-linux
tm_file="linux.h mips/linux.h"
case $machine in case $machine in
mipsisa32el-*) 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-*) mipsisa32-*)
tm_file="$tm_file mips/isa32-linux.h";; tm_file="elfos.h mips/elf.h mips/linux.h mips/isa32-linux.h"
mips*el-*) tm_file="mips/little.h $tm_file" ;; 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 esac
tmake_file="t-slibgcc-elf-ver t-linux" tmake_file="t-slibgcc-elf-ver t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
...@@ -2456,6 +2460,7 @@ mips-*-ecoff*) ...@@ -2456,6 +2460,7 @@ mips-*-ecoff*)
mipsisa32-*-elf*) mipsisa32-*-elf*)
tm_file="mips/isa3264.h mips/abi64.h" tm_file="mips/isa3264.h mips/abi64.h"
tmake_file=mips/t-isa3264 tmake_file=mips/t-isa3264
target_cpu_default="MASK_SOFT_FLOAT"
;; ;;
mipsel-*-elf*) mipsel-*-elf*)
tm_file="mips/elfl.h" tm_file="mips/elfl.h"
...@@ -2498,6 +2503,7 @@ mips*-*-rtems*) ...@@ -2498,6 +2503,7 @@ mips*-*-rtems*)
mipstx39el-*-elf*) mipstx39el-*-elf*)
tm_file="mips/r3900.h mips/elfl.h mips/abi64.h" tm_file="mips/r3900.h mips/elfl.h mips/abi64.h"
tmake_file=mips/t-r3900 tmake_file=mips/t-r3900
target_cpu_default="MASK_SOFT_FLOAT"
;; ;;
mipstx39-*-elf*) mipstx39-*-elf*)
tm_file="mips/r3900.h mips/elf.h mips/abi64.h" tm_file="mips/r3900.h mips/elf.h mips/abi64.h"
......
...@@ -23,8 +23,6 @@ Boston, MA 02111-1307, USA. */ ...@@ -23,8 +23,6 @@ Boston, MA 02111-1307, USA. */
/* US Software GOFAST library support. */ /* US Software GOFAST library support. */
#define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS #define INIT_SUBTARGET_OPTABS INIT_GOFAST_OPTABS
#include "mips/mips.h"
#undef WCHAR_TYPE #undef WCHAR_TYPE
#define WCHAR_TYPE "int" #define WCHAR_TYPE "int"
...@@ -98,7 +96,7 @@ do { \ ...@@ -98,7 +96,7 @@ do { \
given time. */ given time. */
#undef EXTRA_SECTIONS #undef EXTRA_SECTIONS
#define EXTRA_SECTIONS in_sdata, in_sbss, in_rdata #define EXTRA_SECTIONS in_sdata, in_sbss, in_rdata
#undef EXTRA_SECTION_FUNCTIONS #undef EXTRA_SECTION_FUNCTIONS
#define EXTRA_SECTION_FUNCTIONS \ #define EXTRA_SECTION_FUNCTIONS \
SECTION_FUNCTION_TEMPLATE(sdata_section, in_sdata, SDATA_SECTION_ASM_OP) \ SECTION_FUNCTION_TEMPLATE(sdata_section, in_sdata, SDATA_SECTION_ASM_OP) \
......
...@@ -3854,6 +3854,7 @@ init_cumulative_args (cum, fntype, libname) ...@@ -3854,6 +3854,7 @@ init_cumulative_args (cum, fntype, libname)
} }
*cum = zero_cum; *cum = zero_cum;
cum->prototype = (fntype && TYPE_ARG_TYPES (fntype));
/* Determine if this function has variable arguments. This is /* Determine if this function has variable arguments. This is
indicated by the last argument being 'void_type_mode' if there indicated by the last argument being 'void_type_mode' if there
...@@ -6650,7 +6651,7 @@ mips_emit_frame_related_store (mem, reg, offset) ...@@ -6650,7 +6651,7 @@ mips_emit_frame_related_store (mem, reg, offset)
} }
else else
dwarf_expr = mips_frame_set (GET_MODE (reg), REGNO (reg), offset); dwarf_expr = mips_frame_set (GET_MODE (reg), REGNO (reg), offset);
mips_annotate_frame_insn (emit_move_insn (mem, reg), dwarf_expr); mips_annotate_frame_insn (emit_move_insn (mem, reg), dwarf_expr);
} }
......
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