Commit Graph

43195 Commits

Author SHA1 Message Date
Bryce McKinlay 5549d65dfb * libjava.compile/T20020529.java: New file.
From-SVN: r54039
2002-05-30 03:53:13 +01:00
Jason Thorpe 50efa73711 mips.h (READONLY_DATA_SECTION_ASM_OP): Define only if not already defined.
* config/mips/mips.h (READONLY_DATA_SECTION_ASM_OP): Define
only if not already defined.

From-SVN: r54038
2002-05-30 01:49:57 +00:00
Kazu Hirata 2e760b15f0 h8300-protos.h: Remove prototypes for ok_for_bclr and small_power_of_two.
* config/h8300/h8300-protos.h: Remove prototypes for
	ok_for_bclr and small_power_of_two.
	* config/h8300/h8300.c (small_power_of_two): Remove.
	(ok_for_blcr): Likewise.
	(fix_bit_operand): Make WHAT deal with an integer instead of a
	constraint character.
	* config/h8300/h8300.h (CONST_OK_FOR_O): Remove.
	(CONST_OK_FOR_P): Likewise.
	(CONST_OK_FOR_LETTER_P): Do not call CONST_OK_FOR_O or
	CONST_OK_FOR_P any more.
	* config/h8300/h8300.md (andqi3): Adjust to the new prototype
	of fix_bit_operand.
	(iorqi3): Likewise.
	(xorqi3): Likewise.

From-SVN: r54037
2002-05-30 01:35:12 +00:00
Jason Thorpe e1c293ae20 netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
* config/mips/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(CPP_SPEC): Place -D__mips=1 at the beginning of the spec,
since it is no longer in CPP_PREDEFINES.  Don't -U__MIPSEL__
or -U__MIPSEB__ before defining one or the other.  Instead,
use %(subtarget_endian_default) if neither -EB nor -EL are
specified.
(SUBTARGET_EXTRA_SPECS): Define.
(SUBTARGET_CPP_SPEC): Remove __LONG64 handling.  Use
%(netbsd_cpp_spec).

From-SVN: r54036
2002-05-30 01:29:29 +00:00
Hans-Peter Nilsson fde6d81fc0 md.texi (Patterns): Note pattern condition pitfall for unnamed insn.
* doc/md.texi (Patterns): Note pattern condition pitfall
	for unnamed insn.

From-SVN: r54035
2002-05-30 01:05:05 +00:00
Aldy Hernandez 92898235fc rs6000.c: (altivec_expand_builtin): Only expand altivec builtins when TARGET_ALTIVEC.
2002-05-29  Aldy Hernandez  <aldyh@redhat.com>

        * rs6000.c: (altivec_expand_builtin): Only expand altivec builtins
        when TARGET_ALTIVEC.  Move handling of generic unary, binary, and
        ternary operations from here...
        (rs6000_expand_builtin): ...to here.
        New argument expandedp.
        Change all instances of altivec_expand_binop_builtin to
        rs6000_expand_binop_builtin.
        (altivec_expand_unop_builtin): Rename to
        rs6000_expand_unop_builtin.
        (altivec_expand_binop_builtin): Rename to
        rs6000_expand_binop_builtin.
        (altivec_expand_ternop_builtin): Rename to
        rs6000_expand_ternop_builtin.

From-SVN: r54034
2002-05-30 00:54:18 +00:00
Richard Henderson 67adf6a9dc biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
* config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
        (TARGET_BI_ARCH): Likewise.
        * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
        (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
        (TARGET_64BIT_DEFAULT): Default to 0.
        (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.

From-SVN: r54032
2002-05-29 17:38:36 -07:00
Richard Henderson 145aacc2e0 i386.c (USE_HIDDEN_LINKONCE): New.
* config/i386/i386.c (USE_HIDDEN_LINKONCE): New.
        (get_pc_thunk_name): New.
        (output_set_got): Use it.
        (ix86_asm_file_end): If USE_HIDDEN_LINKONCE, emit get_pc thunks
        into linkonce sections.

From-SVN: r54031
2002-05-29 17:28:14 -07:00
Jason Thorpe a5b49bbc91 netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
* config/sparc/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(CPP_SUBTARGET_SPEC64, CPP_SUBTARGET_SPEC32): Remove.
(CPP_SUBTARGET_SPEC): Don't provide different versions for
default-32 and default-64.  Just always use %(netbsd_cpp_spec).
(SUBTARGET_EXTRA_SPECS): Remove cpp_subtarget_spec32 and
cpp_subtarget_spec64.  Add netbsd_cpp_spec.
* config/sparc/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Make sure this is undefined.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).

From-SVN: r54030
2002-05-29 23:50:56 +00:00
Jeff Law b862c2aaaf flow.c (propagate_one_insn): Do not remove a dead insn if it contains a REG_RETVAL note.
* flow.c (propagate_one_insn): Do not remove a dead insn if it
        contains a REG_RETVAL note.

From-SVN: r54028
2002-05-29 17:04:23 -06:00
Jeff Law d10791bab7 haifa-sched (sched_analyze): Remove another useless clearing of SCHED_GROUP_P I missed yesterday.
* haifa-sched (sched_analyze): Remove another useless clearing
        of SCHED_GROUP_P I missed yesterday.

From-SVN: r54027
2002-05-29 16:56:13 -06:00
Jeff Law 54374491da pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
* pa.h (ASM_OUTPUT_MI_THUNK): Move implementation into pa.c.
        * pa.c (pa_asm_output_mi_thunk): New function.
        * pa-protos.h (pa_asm_output_mi_thunk): Declare.

From-SVN: r54026
2002-05-29 16:51:37 -06:00
Neil Booth 92c392e657 avr.c (avr_base_arch_macro, [...]): New.
* config/avr/avr.c (avr_base_arch_macro, avr_extra_arch_macro): New.
	(avr_asm_only_p): Make non-static.
	(enum avr_arch): Remove.
	(avr_arch_types): New.
	(avr_mcu_types): Update.
	(avr_override_options): Use avr_arch_types table instead of switch.
	* avr.h (CPP_PREDEFINES): Die.
	(avr_base_arch_macro, avr_extra_arch_macro): New.
	(TARGET_CPU_CPP_BUILTINS): New.
	(CPP_SPEC, EXTRA_SPECS): Simplify.
	(CPP_AVR1_SPEC, CPP_AVR2_SPEC, CPP_AVR3_SPEC, CPP_AVR4_SPEC,
	CPP_AVR5_SPEC): Die.

Co-Authored-By: Marek Michalkiewicz <marekm@amelek.gda.pl>

From-SVN: r54023
2002-05-29 21:59:08 +00:00
Jason Thorpe 4528173ea3 netbsd.h (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_AOUT.
* config/arm/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
NETBSD_OS_CPP_BUILTINS_AOUT.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).

From-SVN: r54022
2002-05-29 21:31:48 +00:00
Richard Henderson bd09bdeb98 i386.c (ix86_output_function_epilogue): New.
* config/i386/i386.c (ix86_output_function_epilogue): New.
        (TARGET_ASM_FUNCTION_EPILOGUE): New.
        (pic_label_name): Remove.
        (pic_labels_used): New.
        (ix86_asm_file_end): Emit one pc load stub for each register used.
        (output_set_got): Generate deep pc load to any register.
        (ix86_select_alt_pic_regnum): New.
        (ix86_save_reg): Don't save pic register if we can find a valid
        call-clobbered replacement.
        (ix86_expand_prologue): If we found a valid replacement, renumber
        pic_offset_table_rtx.
        * config/i386/i386.h (PIC_OFFSET_TABLE_REGNUM): Look at
        pic_offset_table_rtx after reload.
        (REAL_PIC_OFFSET_TABLE_REGNUM): New.
        * config/i386/i386.md (set_got): Make insn, not expander.
        (set_got_nopic, set_got_deep, set_got_nodeep): Remove.

From-SVN: r54021
2002-05-29 13:54:00 -07:00
Richard Henderson 002ff5bc3e i386.c (ix86_compute_frame_layout): Do add bottom alignment for alloca.
* config/i386/i386.c (ix86_compute_frame_layout): Do add bottom
        alignment for alloca.

	* gcc.c-torture/execute/alloca-1.c: New.

From-SVN: r54018
2002-05-29 13:29:21 -07:00
Richard Henderson edfe859577 i386.c (output_pic_addr_const): Lowercase rip.
* config/i386/i386.c (output_pic_addr_const): Lowercase rip.
        (print_operand_address): Only add rip for symbolic addresses
        for which we do not have another relocation type.

From-SVN: r54017
2002-05-29 13:16:50 -07:00
Jason Thorpe cd7714ee96 netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
* config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(EXTRA_SPECS): Add netbsd_cpp_spec.
(CPP_SPEC): Use %(netbsd_cpp_spec).
(CPP_PREDEFINES): Remove.
* config/m68k/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
(CPP_PREDEFINES): Remove.

From-SVN: r54016
2002-05-29 20:09:29 +00:00
Jeff Law e7206fbc5c Revert this patch:
-       * haifa-sched.c (schedule_block): Do not count USE and CLOBBER
-       insns against the issue rate.
-
-       * sched-deps.c (sched_create_groups_for_libcalls): New function.
-       (sched_analyze): Use it.

From-SVN: r54015
2002-05-29 13:55:34 -06:00
Neil Booth 8dc901ded3 re PR preprocessor/6844 (Seg fault when trying to preprocess a file with lots of #define's)
PR preprocessor/6844
	* cppmacro.c (cpp_macro_definition): Reserve space for terminating
	NUL.

From-SVN: r54014
2002-05-29 19:30:07 +00:00
Ulrich Weigand e793a7140e configure.host [...]: Set can_unwind_signal=yes.
* configure.host [s390*-linux*]: Set can_unwind_signal=yes.
* configure.in [s390*-*-linux*]: Do not define HAVE_BACKTRACE.
Set SIGNAL_HANDLER=include/s390-linux.h.
* configure: Regenerate.
* include/s390-linux.h: New file.

From-SVN: r54012
2002-05-29 18:36:50 +00:00
Eric Christopher 2274b31a3c linux.h (SUBTARGET_CPP_SPEC): Add support for mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.
2002-05-29  Eric Christopher  <echristo@redhat.com>

	* config/mips/linux.h (SUBTARGET_CPP_SPEC): Add support for
	mips5/mips32/mips64 and _MIPS_ISA_MIPSXX.

From-SVN: r54011
2002-05-29 18:18:43 +00:00
Nick Clifton 5c7666c1af fr30.md: Remove previous restriction on splits.
* config/fr30/fr30.md: Remove previous restriction on splits.
  Enforce conformance through gen_lowpart and cont_int_operand.
* config/fr30/fr30.h (BSS_SECTION_ASM_OP): Use ".section .bss"
  as the assembler does not support ".bss".

From-SVN: r54010
2002-05-29 18:05:08 +00:00
Jason Thorpe 45beef47f3 netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
* config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
* config/i386/netbsd.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES): Remove.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Use %(netbsd_cpp_spec).
* config/i386/netbsd64.h (TARGET_OS_CPP_BUILTINS): Define.
(CPP_PREDEFINES, CPP_LP64_SPEC, CPP_SUBTARGET_SPEC): Remove.
(SUBTARGET_EXTRA_SPECS): Remove cpp_lp64 and cpp_subtarget.
Add netbsd_cpp_spec.
(CPP_SPEC): Remove %(cpp_subtarget), add %(netbsd_cpp_spec).

From-SVN: r54009
2002-05-29 17:57:55 +00:00
Neil Booth cd7ab83f2d cppexp.c (cpp_num): Move to cpplib.h.
2002-05-29  Neil Booth  <neil@daikokuya.demon.co.uk>
	    Zack Weinberg <zack@codesourcery.com>

	* cppexp.c (cpp_num): Move to cpplib.h.
	(CPP_ERROR): Remove.
	(interpret_float_suffix, interpret_int_suffix): New.
	(struct suffix, vsuf_1, vsuf_2, vsuf_3): Remove.
	(cpp_classify_number, cpp_interpret_integer): New.
	(interpret_number): Remove.
	(eval_token): Update to use new routines.
	* cpphash.h (cpp_num_part): Move to cpplib.h.
	* cppinit.c (cpp_post_options): Set warn_long_long.
	* cpplib.h (struct cpp_options): Add warn_long_long.
	(cpp_num, cpp_num_part, CPP_N_CATEGORY, CPP_N_INVALID,
	CPP_N_INTEGER, CPP_N_FLOATING, CPP_N_WIDTH, CPP_N_SMALL,
	CPP_N_MEDIUM, CPP_N_LARGE, CPP_N_RADIX, CPP_N_DEC, CPP_N_HEX,
	CPP_N_OCTAL, CPP_N_UNSIGNED, CPP_N_IMAGINARY, cpp_classify_number,
	cpp_interpret_integer): New.
testsuite:
	* gcc.dg/cpp/c++98-pedantic.c, gcc.dg/cpp/c89-pedantic.c,
	gcc.dg/cpp/c94-pedantic.c, gcc.dg/cpp/gnuc89-pedantic.c,
	gcc.dg/cpp/if-1.c: Update for modified diagnostics.

Co-Authored-By: Zack Weinberg <zack@codesourcery.com>

From-SVN: r54007
2002-05-29 17:15:42 +00:00
Joel Sherrill 61a8515c94 rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.
2002-05-29  Joel Sherrill <joel@OARcorp.com>

        * config/rs6000/rs6000.h (ASM_CPU_SPEC): Use -m403 and -m405.

From-SVN: r54006
2002-05-29 13:09:46 -04:00
Jason Thorpe 53a428b524 netbsd.h (TARGET_OS_CPP_BUILTINS): Use NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
* config/alpha/netbsd.h (TARGET_OS_CPP_BUILTINS): Use
NETBSD_OS_CPP_BUILTINS_ELF and NETBSD_OS_CPP_BUILTINS_LP64.
(CPP_SUBTARGET_SPEC): Define.
(SUBTARGET_EXTRA_SPECS): Define.
(CPP_SPEC): Remove.

From-SVN: r54005
2002-05-29 16:59:06 +00:00
Jeff Law 243e550036 haifa-sched.c (schedule_block): Do not count USE and CLOBBER insns against the issue rate.
* haifa-sched.c (schedule_block): Do not count USE and CLOBBER
        insns against the issue rate.

        * sched-deps.c (sched_create_groups_for_libcalls): New function.
        (sched_analyze): Use it.

From-SVN: r54004
2002-05-29 10:53:46 -06:00
Chris Lattner 45b1f7c746 ssa.c (rename_insn_1): Rename uses of undefined registers to prevent confusion if/when...
* ssa.c (rename_insn_1): Rename uses of undefined registers to
        prevent confusion if/when the register is defined.

From-SVN: r54002
2002-05-29 10:23:28 -06:00
Hans-Peter Nilsson 049746c291 re PR target/6838 (cris-elf ICE (gcc 3.1))
PR target/6838
	* config/cris/cris.md: Fix typos and thinkos in comments.
	("*mov_sideqi_biap_mem"): Remove '*' in constraint for operand 4,
	second alternative.
	("*mov_sidehi_biap_mem", "*mov_sidesi_biap_mem"): Ditto.
	("*mov_sideqi_mem"): Similar, but for operand 3.
	("*mov_sidehi_mem", "*mov_sidesi_mem"): Ditto.
	(splitter for mov_sideqi_mem, mov_sidehi_mem, mov_sidesi_mem):
	Remove spurious mode specifier on operand 2.

From-SVN: r53999
2002-05-29 16:13:24 +00:00
Hans-Peter Nilsson 5a3bb17d71 * gcc.c-torture/execute/20020529-1.c: New test.
From-SVN: r53998
2002-05-29 16:09:09 +00:00
Kazu Hirata 4d4d89e283 h8300-protos.h: Remove the prototype for o_operand.
* config/h8300/h8300-protos.h: Remove the prototype for
	o_operand.
	Add prototypes for single_one_operand and single_zero_operand.
	* config/h8300/h8300.c (o_operand): Remove.
	(single_one_operand): New.
	(single_zero_operand): Likewise.
	(print_operand): For 'V' operand, and the operand with 0xff.
	For 'V' and 'W' operands, do not and the bit position with 7.
	* config/h8300/h8300.md (various anonymous patterns): Replace
	use of exact_log2 with single_one_operand/single_zero_operand.

From-SVN: r53994
2002-05-29 14:20:40 +00:00
Ulrich Weigand abd6ddecb5 * config/s390/linux.h (MD_FALLBACK_FRAME_STATE_FOR): New.
From-SVN: r53993
2002-05-29 13:45:45 +00:00
Ulrich Weigand da06d85a2b s390.c (legitimate_pic_operand_p): Do not accept symbolic LARL operands.
* config/s390/s390.c (legitimate_pic_operand_p): Do not
accept symbolic LARL operands.
(s390_emit_epilogue): Do not set FRAME_RELATED_P on
epilogue insns.

From-SVN: r53991
2002-05-29 13:23:52 +00:00
Hartmut Penner f876602007 s390.md (cmpstr_64/31): Mark whole input registers as used.
* config/s390/s390.md (cmpstr_64/31): Mark whole
  input registers as used.

From-SVN: r53990
2002-05-29 11:59:32 +00:00
Nick Clifton 6746a2999d (libstdc++-v3-init): Rebuild the wrapper file every time this proc is called.
From-SVN: r53987
2002-05-29 08:59:45 +00:00
GCC Administrator 9a214a66ab Daily bump.
From-SVN: r53986
2002-05-29 07:19:24 +00:00
Richard Henderson 66edd3b4ca i386.c (ix86_save_reg): Examine regs_ever_live...
* config/i386/i386.c (ix86_save_reg): Examine regs_ever_live,
        not current_function_uses_pic_offset_table and
        current_function_uses_const_pool; examine current_function_profile.
        (ix86_expand_prologue): Likewise.  Add pic_offset_table_rtx as
        input to blockage if needed.
        (ix86_expand_call): Do not set current_function_uses_pic_offset_table.
        (legitimize_pic_address): Likewise.  Set regs_ever_live for
        pic_offset_table_rtx when invoked during reload.
        * config/i386/i386.h (FINALIZE_PIC): Remove.
        * config/i386/i386.md (tablejump): Reformat.  Do not set
        current_function_uses_pic_offset_table.
        (tls_global_dynamic, tls_local_dynamic_base): Likewise.
        (blockage): Accept anything as operand 0.

From-SVN: r53981
2002-05-28 18:37:22 -07:00
Jason Thorpe 52f4fff682 netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define common CPP built-ins for all NetBSD a.out targets.
* config/netbsd-aout.h (NETBSD_OS_CPP_BUILTINS_AOUT): Define
common CPP built-ins for all NetBSD a.out targets.
* config/netbsd-elf.h (NETBSD_OS_CPP_BUILTINS_ELF): Define
common CPP built-ins for all NetBSD ELF targets.
* config/netbsd.h: Add missing notice.
(NETBSD_OS_CPP_BUILTINS_COMMON): Define common CPP built-ins
for all NetBSD targets.
(NETBSD_OS_CPP_BUILTINS_LP64): Define common CPP built-ins
for all NetBSD targets using an LP64 code model.
(NETBSD_CPP_SPEC): Define CPP_SPEC parts common to all
NetBSD targets.

From-SVN: r53980
2002-05-29 01:12:56 +00:00
Richard Henderson e0e577a2d2 flow.c (update_life_info_in_dirty_blocks): Only do a partial update if UPDATE_LIFE_LOCAL.
* flow.c (update_life_info_in_dirty_blocks): Only do a partial
        update if UPDATE_LIFE_LOCAL.

From-SVN: r53978
2002-05-28 17:25:19 -07:00
Phil Edwards 8ea08b7d7b Makefile.am (noinst_LIBRARIES): New target.
2002-05-28  Phil Edwards  <pme@gcc.gnu.org>

	* testsuite/Makefile.am (noinst_LIBRARIES):  New target.  Pull in
	CXX/INCLUDES.
	* testsuite/Makefile.in:  Regenerate.
	* testsuite/testsuite_hooks.h (gnu_copy_tracker):  Move from
	list_modifiers.cc and rename from 'T'.  Move code bodies...
	* testsuite/testsuite_hooks.cc:  ...to here.  New file.
	* testsuite/23_containers/list_modifiers.cc:  Move 'T' class out.
	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
	Add libv3test.a to link options.

From-SVN: r53977
2002-05-28 23:15:18 +00:00
David Edelsohn 64de6c0a5f optabs.c (expand_binop): Fix nwords sign warnings.
* optabs.c (expand_binop): Fix nwords sign warnings.
        generate pseudo for add_optab.

Co-Authored-By: Jeff Law <law@redhat.com>

From-SVN: r53976
2002-05-28 17:03:21 -06:00
Toshiyasu Morita 62526ec32f * config/sh/sh.c: Include real.h for REAL_VALUE_TYPE.
From-SVN: r53975
2002-05-28 23:43:31 +01:00
J"orn Rennecke f1a58d928b config/sh reorganization to factor out endianness and coff:
* config/sh/little.h: New file.
        * config/sh/sh.h (TARGET_ENDIAN_DEFAULT): If not already
        defined, define to 0 to select big-endian.
	(SUBTARGET_ASM_ENDIAN_SPEC): Define according to TARGET_ENDIAN_DEFAULT.
        (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
        * config/sh/sh64.h (TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
        * config/sh/t-be: New file.
        * config/sh/t-le: New file.

	* sh.h (SDB_DEBUGGING_INFO, #include "dbxcoff.h"): Moved to sh/coff.h.
	(SDB_DELIM, MAX_OFILE_ALIGNMENT, IDENT_ASM_OP): Likewise.
	(TARGET_ASM_NAMED_SECTION, ASM_OUTPUT_SKIP): Likewise.
	(USER_LABEL_PREFIX, LOCAL_LABEL_PREFIX): Likewise.
	(ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Likewise.
	(ASM_OUTPUT_COMMON, ASM_OUTPUT_LOCAL): Likewise.
	(ASM_FILE_END, ASM_DECLARE_FUNCTION_NAME): Deleted.
	(CPP_SPEC, SUBTARGET_CPP_ENDIAN_SPEC): Likewise.
	(SUBTARGET_CPP_SPEC, CPP_DEFAULT_CPU_SPEC, CPP_PREDEFINES): Likewise.
	(EXTRA_SPECS): Remove SUBTARGET_CPP_ENDIAN_SPEC and
	CPP_DEFAULT_CPU_SPEC.  Add LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL,
	SUBTARGET_LINK_EMUL_SUFFIX and SUBTARGET_LINK_SPEC.
	(LINK_SPEC): Define to SH_LINK_SPEC.
	(TARGET_CPU_CPP_BUILTINS, SH_LINK_SPEC): Define.
	(LINK_EMUL_PREFIX, LINK_DEFAULT_CPU_EMUL): Likewise.
	(SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
	(CPP_SPEC): Reduce to %(subtarget_cpp_spec).
	(TARGET_ENDIAN_DEFAULT): Define if not already defined.
	* config/sh/coff.h: New file.
	(TARGET_ASM_NAMED_SECTION): Now default_coff_asm_named_section
	(TARGET_OBJFMT_CPP_BUILTINS): Define.
	* config/sh/elf.h (IDENT_ASM_OP): No need to #undef at the start.
	(ASM_FILE_END, ASM_OUTPUT_SOURCE_LINE): Likewise.
	(DBX_OUTPUT_MAIN_SOURCE_FILE_END, TARGET_ASM_NAMED_SECTION): Likewise.
	(ASM_DECLARE_FUNCTION_NAME, MAX_OFILE_ALIGNMENT, SIZE_TYPE): Likewise.
	(PTRDIFF_TYPE): Likewise.
	("dbxelf.h", "elfos.h", "svr4.h"): Don't #include.
	(CPP_PREDEFINES): Don't define.
	(TARGET_OBJFMT_CPP_BUILTINS): Define.
	(LINK_SPEC): Define to SH_LINK_SPEC.
	(LINK_EMUL_PREFIX): Redefine.
	* config/sh/linux.h: (SUBTARGET_CPP_SPEC): Remove -fpic / -fPIC cases.
	(SUBTARGET_CPP_ENDIAN_SPEC, CPP_DEFAULT_CPU_SPEC): Remove redefinition.
	(CPP_PREDEFINES, SUBTARGET_ASM_ENDIAN_SPEC): Likewise.
	(CC1_SPEC, CC1PLUS_SPEC, LINK_SPEC): Likewise.
	(TARGET_OS_CPP_BUILTINS): Define.
	(TARGET_DEFAULT): Redefine.
	(SUBTARGET_LINK_EMUL_SUFFIX, SUBTARGET_LINK_SPEC): Likewise.
	* config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Remove.
	(LINK_SPEC): Don't redefine.
	(LINK_DEFAULT_CPU_EMUL): Redefine.
	(TARGET_DEFAULT): Include TARGET_ENDIAN_DEFAULT.
	* sh.c (sh_asm_named_section): Don't declare / define.
	* t-linux (MULTILIB_OPTIONS): Rely on pre-set endianness option.
	* config.gcc (sh-*-elf* tm_file): Add dbxelf.h elfos.h svr4.h.
	(sh64-*-elf* tm_file): Likewise.
	(sh-*-rtemself* tm_file): Likewise.
	(sh-*-linux* tm_file): Likewise.  Add sh/little.h.
	(sh-*-linux* tmake_file): Add sh/t-le.
	(sh-*-rtems* tm_file): Add sh/coff.h
	(sh-*-* tm_file): Likewise.


	* sh.h (LEGITIMATE_PIC_OPERAND_P): Check for SYMBOL_REF before using
	CONSTANT_POOL_ADDRESS_P.

	* coff.h (HAS_INIT_SECTION, INVOKE__MAIN): Define.

Co-Authored-By: Jason R. Thorpe <thorpej@wasabisystems.com>

From-SVN: r53974
2002-05-28 23:26:43 +01:00
David Edelsohn 33a3dfc4f0 sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
* sched-deps.c (sched_analyze): Do not clear SCHED_GROUP_P.
        * haifa-sched.c (move_insn): Clear SCHED_GROUP_P after it is used.

Co-Authored-By: Jeff Law <law@redhat.com>

From-SVN: r53973
2002-05-28 16:03:06 -06:00
Marc Espie 972957badc openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN): Remove, inherited from gas.h.
* config/i386/openbsd.h (HAVE_GAS_MAX_SKIP_P2ALIGN):  Remove,
	inherited from gas.h.
	(ASM_QUAD):  Undef.  OpenBSD does not support it.

From-SVN: r53971
2002-05-28 21:24:48 +00:00
Danny Smith cc92b8abf4 install.texi (binaries): Change mingw binaries link to www.mingw.org.
* doc/install.texi (binaries): Change mingw binaries
	link to www.mingw.org.

From-SVN: r53968
2002-05-28 21:11:45 +00:00
Zdenek Dvorak f8088d5581 * cfgloop.c (flow_loops_cfg_dump): Use bb->index, not i.
From-SVN: r53967
2002-05-28 20:44:09 +00:00
Richard Henderson 0b7ae56590 i386.c (ix86_compute_frame_layout): Do not add bottom alignment for leaf functions.
* config/i386/i386.c (ix86_compute_frame_layout): Do not add
        bottom alignment for leaf functions.

From-SVN: r53965
2002-05-28 13:27:45 -07:00
Zack Weinberg 16069d69ac milli32.S, [...]: Delete unused files.
* config/pa/milli32.S, config/pa/lib1funcs.asm,
	config/sparc/sol2-g1.asm: Delete unused files.

From-SVN: r53964
2002-05-28 20:19:15 +00:00