* config.gcc: Make the name of the extra-modes file adjustable
by target stanzas.
(s390x, strongarm, xscale stanzas): Use this facility.
* configure.in: Update to match.
* configure: Regenerate.
From-SVN: r54540
+2002-06-11 Zack Weinberg <zack@codesourcery.com>
+
+ * config.gcc: Make the name of the extra-modes file adjustable
+ by target stanzas.
+ (s390x, strongarm, xscale stanzas): Use this facility.
+ * configure.in: Update to match.
+ * configure: Regenerate.
+
2002-06-11 Aldy Hernandez <aldyh@redhat.com>
2002-06-11 Aldy Hernandez <aldyh@redhat.com>
- * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned
- max/mins as unsigned GE compares.
+ * config/rs6000/rs6000.c (rs6000_emit_minmax): Treat unsigned
+ max/mins as unsigned GE compares.
2002-06-11 Jason Thorpe <thorpej@wasabisystems.com>
2002-06-11 Jason Thorpe <thorpej@wasabisystems.com>
- * config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
+ * config.gcc (vax-*-bsd*): Add vax/bsd.h to ${tm_file}.
* config/vax/bsd.h: New file.
* config/vax/netbsd.h: Add missing notice.
* config/vax/bsd.h: New file.
* config/vax/netbsd.h: Add missing notice.
- (CPP_PREDEFINES): Remove.
- (TARGET_OS_CPP_BUILTINS): Define.
- (CPP_SPEC): Use NETBSD_CPP_SPEC.
+ (CPP_PREDEFINES): Remove.
+ (TARGET_OS_CPP_BUILTINS): Define.
+ (CPP_SPEC): Use NETBSD_CPP_SPEC.
* config/vax/openbsd.h: Update copyright years.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
* config/vax/openbsd.h: Update copyright years.
(CPP_PREDEFINES): Remove.
(TARGET_OS_CPP_BUILTINS): Define.
match semantics.
* diagnostic.c: Adjust calls to diagnostic_count_error through out.
(diagnostic_count_diagnostic): Make aware of other kinds of
match semantics.
* diagnostic.c: Adjust calls to diagnostic_count_error through out.
(diagnostic_count_diagnostic): Make aware of other kinds of
(diagnostic_initialize): Initialize warnings_are_errors_message field.
2002-06-11 Tom Tromey <tromey@redhat.com>
(diagnostic_initialize): Initialize warnings_are_errors_message field.
2002-06-11 Tom Tromey <tromey@redhat.com>
2002-06-11 Richard Henderson <rth@redhat.com>
2002-06-11 Richard Henderson <rth@redhat.com>
- * defaults.h (EH_FRAME_SECTION_NAME): Don't define if
+ * defaults.h (EH_FRAME_SECTION_NAME): Don't define if
DWARF2_UNWIND_INFO is false.
2002-06-11 Bob Wilson <bob.wilson@acm.org>
DWARF2_UNWIND_INFO is false.
2002-06-11 Bob Wilson <bob.wilson@acm.org>
2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.md (reload_base, ltorg): Remove.
2002-06-11 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.md (reload_base, ltorg): Remove.
- * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
+ * s390.c (s390_stop_dump_lit_p, s390_dump_literal_pool,
s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
s390_asm_output_pool_prologue, s390_pool_start_insn): Remove.
- * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
+ * s390-protos.h (s390_stop_dump_lit_p, s390_dump_literal_pool,
s390_asm_output_pool_prologue): Likewise.
* s390.h (s390_pool_start_insn): Likewise.
s390_asm_output_pool_prologue): Likewise.
* s390.h (s390_pool_start_insn): Likewise.
- * s390.c (s390_output_symbolic_const): Remove support for
+ * s390.c (s390_output_symbolic_const): Remove support for
old-style pool chunks.
(s390_function_epilogue): Likewise.
old-style pool chunks.
(s390_function_epilogue): Likewise.
- (s390_output_constant_pool): Likewise. Also, fix incorrect
+ (s390_output_constant_pool): Likewise. Also, fix incorrect
alignment for 64-bit literal pools.
(print_operand_address): Remove 'y' and 'Y' format flags.
alignment for 64-bit literal pools.
(print_operand_address): Remove 'y' and 'Y' format flags.
- * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
+ * s390.h (ASM_OUTPUT_POOL_PROLOGUE): Remove support for
old-style pool chunks.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
(ASM_OUTPUT_POOL_EPILOGUE): Remove.
old-style pool chunks.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
(ASM_OUTPUT_POOL_EPILOGUE): Remove.
* s390.c (consttable_operand): New function.
* s390-protos.h (consttable_operand): Declare it.
* s390.h (PREDICATE_CODES): Add consttable_operand.
* s390.c (consttable_operand): New function.
* s390-protos.h (consttable_operand): Declare it.
* s390.h (PREDICATE_CODES): Add consttable_operand.
- * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
- consttable_sf, consttable_df, pool_start_31, pool_end_31,
+ * s390.md (consttable_qi, consttable_hi, consttable_si, consttable_di,
+ consttable_sf, consttable_df, pool_start_31, pool_end_31,
pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
* s390.c (struct constant, struct constant_pool): New data types.
(constant_modes, gen_consttable): New variables.
pool_start_64, pool_end_64, reload_base, reload_base2): New insns.
* s390.c (struct constant, struct constant_pool): New data types.
(constant_modes, gen_consttable): New variables.
- (s390_start_pool, s390_end_pool, s390_add_pool,
+ (s390_start_pool, s390_end_pool, s390_add_pool,
s390_dump_pool, s390_free_pool): New functions.
s390_dump_pool, s390_free_pool): New functions.
- (s390_chunkify_pool): Completely reimplement literal pool
+ (s390_chunkify_pool): Completely reimplement literal pool
overflow handling.
* s390.c (s390_pool_overflow): New variable.
* s390.h (s390_pool_overflow): Declare it.
overflow handling.
* s390.c (s390_pool_overflow): New variable.
* s390.h (s390_pool_overflow): Declare it.
- * s390.md (cjump, icjump): Use it to adapt length for out-of-range
+ * s390.md (cjump, icjump): Use it to adapt length for out-of-range
jumps in literal pool overflow situations.
* s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
jumps in literal pool overflow situations.
* s390.c (s390_decompose_address): Accept new-style pool chunk offsets.
- (s390_frame_info): Account for possible use of RETURN_REGNUM
+ (s390_frame_info): Account for possible use of RETURN_REGNUM
by new literal pool overflow code.
(s390_emit_prologue): Likewise.
by new literal pool overflow code.
(s390_emit_prologue): Likewise.
* combine.c (try_combine): Expect insn lists from split generator.
* reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by
hand.
* combine.c (try_combine): Expect insn lists from split generator.
* reorg.c (relax_delay_slots): Emit SEQUENCE into insn list by
hand.
2002-06-11 Roger Sayle <roger@eyesopen.com>
Andreas Jaeger <aj@suse.de>
2002-06-11 Roger Sayle <roger@eyesopen.com>
Andreas Jaeger <aj@suse.de>
2002-06-11 Andreas Schwab <schwab@suse.de>
2002-06-11 Andreas Schwab <schwab@suse.de>
- * config/m68k/m68k.h (PREDICATE_CODES): Define.
+ * config/m68k/m68k.h (PREDICATE_CODES): Define.
2002-06-11 Eric Christopher <echristo@redhat.com>
2002-06-11 Eric Christopher <echristo@redhat.com>
2002-06-10 Tim Josling <tej@melbpc.org.au>
2002-06-10 Tim Josling <tej@melbpc.org.au>
- First steps to making treelang documentation compliant, based on
+ First steps to making treelang documentation compliant, based on
instructions in sourcebuild.texi. Also add to gcc.c list of
default languages.
instructions in sourcebuild.texi. Also add to gcc.c list of
default languages.
# makefile-fragments, if different from
# "$cpu_type/t-$cpu_type".
#
# makefile-fragments, if different from
# "$cpu_type/t-$cpu_type".
#
+# extra_modes The name of the file containing a list of extra
+# machine modes, if necessary and different from
+# "$cpu_type/$cpu_type-modes.def".
+#
# float_format Set to the symbolic name for the floating-point
# formats used for this machine, if different from
# "i64". Used to derive a header file name to
# float_format Set to the symbolic name for the floating-point
# formats used for this machine, if different from
# "i64". Used to derive a header file name to
then
tm_p_file=${cpu_type}/${cpu_type}-protos.h
fi
then
tm_p_file=${cpu_type}/${cpu_type}-protos.h
fi
+extra_modes=
+if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-modes.def
+then
+ extra_modes=${cpu_type}/${cpu_type}-modes.def
+fi
case $machine in
x86_64-*-*)
case $machine in
x86_64-*-*)
tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
tm_p_file=s390/s390-protos.h
md_file=s390/s390.md
tm_file="s390/s390x.h s390/s390.h dbxelf.h elfos.h svr4.h linux.h s390/linux.h"
tm_p_file=s390/s390-protos.h
md_file=s390/s390.md
+ extra_modes=s390/s390-modes.def
out_file=s390/s390.c
tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux s390/t-linux64"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
out_file=s390/s390.c
tmake_file="t-slibgcc-elf-ver t-linux s390/t-linux s390/t-linux64"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
tmake_file=arm/t-strongarm-elf
out_file=arm/arm.c
md_file=arm/arm.md
tmake_file=arm/t-strongarm-elf
out_file=arm/arm.c
md_file=arm/arm.md
+ extra_modes=arm/arm-modes.def
;;
strongarm-*-coff*)
tm_file="arm/semi.h arm/aout.h arm/coff.h arm/strongarm-coff.h arm/arm.h"
tmake_file=arm/t-strongarm-coff
out_file=arm/arm.c
md_file=arm/arm.md
;;
strongarm-*-coff*)
tm_file="arm/semi.h arm/aout.h arm/coff.h arm/strongarm-coff.h arm/arm.h"
tmake_file=arm/t-strongarm-coff
out_file=arm/arm.c
md_file=arm/arm.md
+ extra_modes=arm/arm-modes.def
;;
strongarm-*-pe)
tm_file="arm/semi.h arm/aout.h arm/coff.h arm/strongarm-coff.h arm/arm.h arm/pe.h arm/strongarm-pe.h"
tmake_file=arm/t-strongarm-pe
out_file=arm/arm.c
md_file=arm/arm.md
;;
strongarm-*-pe)
tm_file="arm/semi.h arm/aout.h arm/coff.h arm/strongarm-coff.h arm/arm.h arm/pe.h arm/strongarm-pe.h"
tmake_file=arm/t-strongarm-pe
out_file=arm/arm.c
md_file=arm/arm.md
+ extra_modes=arm/arm-modes.def
extra_objs=pe.o
;;
thumb*-*-*)
extra_objs=pe.o
;;
thumb*-*-*)
tmake_file=arm/t-xscale-elf
out_file=arm/arm.c
md_file=arm/arm.md
tmake_file=arm/t-xscale-elf
out_file=arm/arm.c
md_file=arm/arm.md
+ extra_modes=arm/arm-modes.def
;;
xscale-*-coff)
tm_file="arm/semi.h arm/aout.h arm/coff.h arm/xscale-coff.h arm/arm.h"
tmake_file=arm/t-xscale-coff
out_file=arm/arm.c
md_file=arm/arm.md
;;
xscale-*-coff)
tm_file="arm/semi.h arm/aout.h arm/coff.h arm/xscale-coff.h arm/arm.h"
tmake_file=arm/t-xscale-coff
out_file=arm/arm.c
md_file=arm/arm.md
+ extra_modes=arm/arm-modes.def
;;
xstormy16-*-elf)
# For historical reasons, the target files omit the 'x'.
;;
xstormy16-*-elf)
# For historical reasons, the target files omit the 'x'.
fi
# Look for a file containing extra machine modes.
fi
# Look for a file containing extra machine modes.
-if test -f $srcdir/config/${cpu_type}/${cpu_type}-modes.def; then
- extra_modes_file='$(srcdir)/config/'${cpu_type}/${cpu_type}-modes.def
+if test -n "$extra_modes" && test -f $srcdir/config/$extra_modes; then
+ extra_modes_file='$(srcdir)'/config/${extra_modes}
-#define EXTRA_MODES_FILE "${cpu_type}/${cpu_type}-modes.def"
+#define EXTRA_MODES_FILE "$extra_modes"
EOF
cat >> confdefs.h <<\EOF
EOF
cat >> confdefs.h <<\EOF
fi
# Look for a file containing extra machine modes.
fi
# Look for a file containing extra machine modes.
-if test -f $srcdir/config/${cpu_type}/${cpu_type}-modes.def; then
- extra_modes_file='$(srcdir)/config/'${cpu_type}/${cpu_type}-modes.def
+if test -n "$extra_modes" && test -f $srcdir/config/$extra_modes; then
+ extra_modes_file='$(srcdir)'/config/${extra_modes}
AC_SUBST(extra_modes_file)
AC_SUBST(extra_modes_file)
- AC_DEFINE_UNQUOTED(EXTRA_MODES_FILE,
- "${cpu_type}/${cpu_type}-modes.def",
+ AC_DEFINE_UNQUOTED(EXTRA_MODES_FILE, "$extra_modes",
[Define to the name of a file containing a list of extra machine modes
for this architecture.])
AC_DEFINE(EXTRA_CC_MODES, 1,
[Define to the name of a file containing a list of extra machine modes
for this architecture.])
AC_DEFINE(EXTRA_CC_MODES, 1,