summaryrefslogtreecommitdiffstats
path: root/gcc/config.gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* 2002-02-28 David O'Brien <obrien@FreeBSD.org>obrien2002-02-281-0/+1
| | | | | | | | | | | | | * config.gcc (sparc64-*-freebsd): Explicitly accept a cpu specification of "ultrasparc". * config/sparc/freebsd.h: Do not use MASK_FASTER_STRUCTS. It appears to be broken. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20020228100723.A30279@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50165 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-19 matthew green <mrg@eterna.com.au>thorpej2002-02-191-1/+7
| | | | | | | | | | * config.gcc (sparc-*-netbsdelf*): Enable target. (sparc64-*-netbsd*): New target. * config/sparc/netbsd-elf.h: New file. * config/sparc/t-netbsd64: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49870 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-21 Roland McGrath <roland@frob.com>dje2002-02-171-0/+21
| | | | | | | | | | | | | | | | | * config.gcc (powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, powerpc64-*-gnu*): New configurations. * config/rs6000/gnu.h: New file. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Grok "gnu" in rs6000_abi_name. (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_ENDIAN_SPEC, CPP_SPEC, STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Grok -mcall-gnu analogous to -mcall-linux et al. (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): New macros. (SUBTARGET_EXTRA_SPECS): Add *_os_gnu specs using them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49826 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (c4x-*-rtems*): Fix typo in tm_file setting.hp2002-02-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49764 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-13 Joel Sherrill <joel@OARcorp.com>joel2002-02-131-23/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc (a29k-*-rtems), config/a29k/rtems.h: General cleanup across all RTEMS targets including removal of #includes from config/*/rtems*.h file and adding them to tm_file setting. Added xm_defines=POSIX to many targets. * config.gcc (c4x-*-rtems), config/c4x/rtems.h: Ditto. * config.gcc (h8300-*-rtems), config/h8300/rtems.h: Ditto. * config.gcc (hppa1.1-*-rtems), config/pa/rtems.h: Ditto. * config.gcc (i960-*-rtems), config/i960/rtems.h: Ditto. * config.gcc (m68k-*-rtems*), config/m68k/rtems.h, config/m68k/rtemself.h: Ditto. * config.gcc (mips*-*-rtems*), config/mips/rtems.h, config/mips/rtems64.h: Ditto. * config.gcc (powerpc-*-rtems*), config/rs6000/rtems.h: Ditto. * config.gcc (sh-*-rtems*), config/sh/rtems.h, config/sh/rtemself.h: Ditto. * config.gcc (sparc-*-rtems*), config/sparc/rtems.h, config/sparc/rtemself.h: Ditto. * config.gcc (v850-*-rtems*), config/v850/rtems.h: Ditto. * config.gcc (arm-rtems), config/arm/rtems-elf.h: Ditto plus moved arm-rtems stanza closer to other arm-elf targets and made arm-rtems more like arm-elf. * config.gcc (i[34567]86-*-rtems*), config/i386/djgpp-rtems.h, config/i386/rtems.h, config/i386/rtemself.h: Ditto plus i386-rtemself target made more similar to i386-elf. * config/i386/t-rtems-i386: Added soft float support and multilibs. * config/m68k/t-m68kbare: Add 68040 and 68060 as multilib alternatives to be similar to config/m68k/t-m68kelf. * gthr-rtems.h: Encapsulate with extern "C" for C++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49749 138bc75d-0d04-0410-961f-82ee72b054a4
* Contribute sh64-elf.aoliva2002-02-091-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-09 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (TARGET_CANNOT_MODIFY_JUMPS_P): Define to... (sh_cannot_modify_jumps_p): New function. 2002-02-05 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (TARGET_MS_BITFIELD_LAYOUT_P): Define to... (sh_ms_bitfield_layout_p): New function. 2002-02-04 Alexandre Oliva <aoliva@redhat.com> Zack Weinberg <zack@codesourcery.com> * config/sh/sh.h (TRAMPOLINE_ADJUST_ADDRESS): Use expand_simple_binop instead of expand_binop. 2002-02-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (OVERRIDE_OPTIONS) [! TARGET_SH5]: Disable use of .quad and .uaquad. * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP, TARGET_ASM_ALIGNED_DI_OP): Add comment pointing to the above. 2002-01-24 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (movdi_const, movdi_const_32bit, movdi_const_16bit): Make sure all CONSTs have modes. (sym2PIC): Ditto, but by adjusting all callers. * config/sh/sh.c (calc_live_regs) [TARGET_SHCOMPACT]: Set pr_live if the prologue calls the SHmedia argument decoder or register saver. 2002-01-24 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (TARGET_ASM_UNALIGNED_DI_OP): Define. (TARGET_ASM_ALIGNED_DI_OP): Likewise. (sh_expand_epilogue): Don't emit USE of return target register. (prepare_move_operands): Legitimize DImode PIC addresses. (sh_media_register_for_return): Skip tr0, used to initialize the PIC register. (sh_expand_prologue): Remove explicit USE of return register. (nonpic_symbol_mentioned_p): PC is non-PIC. Don't recurse in CONST_DOUBLEs. UNSPEC_GOTPLT is PIC. * config/sh/sh.h (ASM_OUTPUT_DOUBLE_INT): Removed, obsolete. (OVERRIDE_OPTIONS): Don't disable PIC on SH5. (EXTRA_CONSTRAINT_S): Use MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. (GOT_ENTRY_P, GOTPLT_ENTRY_P, GOTOFF_P, PIC_ADDR_P): New. (MOVI_SHORI_BASE_OPERAND_P): New. (NON_PIC_REFERENCE_P, PIC_REFERENCE_P): New. (EXTRA_CONSTRAINT_T): Define in terms of them. (OUTPUT_ADDR_CONST_EXTRA): Handle UNSPEC_GOTPLT. * config/sh/sh.md (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu): Add SIBCALL_REGS class to alternatives supporting TARGET_REGS. (UNSPEC_GOTPLT): New constant. (movdi split): Move incrementing of LABEL_NUSES... (movdi_const, movdi_const_32bit): Here. Use MOVI_SHORI_BASE_OPERAND_P instead of EXTRA_CONSTRAINT_T. (movdi_const_16bit): New. (call, call_value) [flag_pic]: Use GOTPLT. (call_pop, call_value_pop): New expands. (call_pop_compact, call_pop_rettramp): New insns. (call_value_pop_compact, call_value_pop_rettramp): New insns. (sibcall) [flag_pic]: Use GOT. (builtint_setjmp_receiver): Remove bogus, unused expand. (GOTaddr2picreg): Implement for SHcompact and SHmedia. (*pt, *ptb, ptrel): New insns. (sym2GOT): Handle DImode GOT. (sym2GOTPLT, symGOTPLT2reg): New expands. (sym2PIC): New expand. (shcompact_return_tramp): Use GOTPLT to return trampoline. (shcompact_return_tramp_i): Use return register explicitly. * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SHMEDIA]: Don't disable flag_reorder_blocks. 2002-01-19 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (sibcall_compact): Reorder return, uses and clobbers, for clarity. (sibcall_epilogue) [TARGET_SHCOMPACT]: Mark saving and restoring of r0 in macl as MAYBE_DEAD. 2002-01-18 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (LONG_DOUBLE_TYPE_SIZE): Define. * config/sh/sh.md (movv4sf_i, movv16sf_i): Fix uses of alter_subreg all over. (jump) [TARGET_SHMEDIA]: FAIL to create new jumps after reload, instead of emitting instructions that would require reloading. (casesi_load_media): Add missing modes. 2001-11-09 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (sh_expand_prologue): Mark the PIC register as used if the argument decoder is called. 2001-08-28 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (udivsi3, divsi3): Load libcall symbol name in Pmode, then extend it to DImode if necessary. 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> * config/sh/sh.h (LEGITIMATE_CONSTANT_P): Don't accept DFmode constants in FPU-enabled SHmedia, let them be loaded from memory. 2001-08-28 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (cmpeqdi_media, cmpgtdi_media, cmpgtudi_media): Adjust whitespace in assembly output templates. 2001-08-28 Stephen Clarke <Stephen.Clarke@st.com> * config/sh/sh.md (movdicc_false, movdicc_true, movdicc): Adjust mode of if_then_else. 2001-08-04 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): Override definition in sh.h. 2001-07-26 Andrew Haley <aph@cambridge.redhat.com> Joern Rennecke <amylaar@redhat.com> * config/sh/sh64.h (CPP_DEFAULT_CPU_SPEC): New. (SUBTARGET_CPP_PTR_SPEC): New. (SUBTARGET_CPP_SPEC): Remove. 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): Fix typo in previous checkin. 2001-07-11 Chandrakala Chavva <cchavva@redhat.com> * config/sh/sh.h (MODES_TIEABLE_P): Fix redact indentations. 2001-07-10 Chandrakala Chavva <cchavva@cygnus.com> Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (MODES_TIEABLE_P): Don't tie modes wider than what single FP register can hold for SHmedia target. 2001-07-06 Chandrakala Chavva <cchavva@redhat.com> Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (movsf_media_nofpu+1, movdf_media_nofpu+1): Do not split into SUBREG. 2001-06-14 Alexandre Oliva <aoliva@redhat.com> * config/sh/ushmedia.h, config/sh/sshmedia.h: Updated signatures and added new functions as specified in SH5 ABI r9. 2001-06-04 Alexandre Oliva <aoliva@redhat.com> * config/sh/lib1funcs.asm (GCC_nested_trampoline): Align to an 8-byte boundary. 2001-06-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (dump_table): Add const0_rtx in calls of gen_consttable_4 and gen_consttable_8. Emit multiple labels and consttable_window_ends. 2001-06-03 Graham Stott <grahams@redhat,com> * config/sh/sh.md (movdi split): Remove unused variable last_insn. 2001-05-16 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (print_operand): Handle floating-point pair, vector and matrix registers. * config/sh/sh.h (REGISTER_MOVE_COST): Take floating-pointer vector modes into account. * config/sh/sh.md (movv2sf): Split move between registers into movdf. (movv4sf, movv16sf): Introduce insns that get split only after reload. * config/sh/shmedia.h: Fix Copyright dates. * config/sh/ushmedia.h: Likewise. Move loop counter declarations into conditionals that uses them. (sh_media_FVADD_S, sh_media_FVSUB_S): Fix off-by-one error in loop boundary. * config/sh/sshmedia.h: Fix Copyright dates. (sh_media_PUTCFG): Fix constraints. 2001-05-12 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (TARGET_PTRMEMFUNC_VBIT_LOCATION): Define to ptrmemfunc_vbit_in_delta for SH5. 2001-05-08 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (TARGET_SWITCHES): Document -m5-*. * invoke.texi: Likewise. 2001-04-14 Alexandre Oliva <aoliva@redhat.com> * config/sh/lib1funcs.asm (GCC_push_shmedia_regs, GCC_push_shmedia_regs_nofpu, GCC_pop_shmedia_regs, GCC_pop_shmedia_regs_nofpu): New global symbols. * config/sh/t-sh64 (LIB1ASMFUNCS): Add them. * config/sh/sh.h (SHMEDIA_REGS_STACK_ADJUST): New macro. * config/sh/sh.c (calc_live_regs): Account for PR's saving in compact function with nonlocal labels. (sh_expand_prologue) [SHcompact]: Push SHmedia regs if needed. (sh_expand_epilogue) [SHcompact]: Pop them when appropriate. (initial_elimination_offset): Account for their stack space. * config/sh/sh.md (shmedia_save_restore_regs_compact): New insn. * config/sh/sh.md (movsi_media, movsi_media_nofpu, movqi_media, movhi_media, movdi_media, movdi_media_nofpu, movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): Require at least one of the operands to be a register. (movv2sf): Likewise. Renamed to movv2sf_i. (movdi, movdf, movv2sf, movv4sf, movv16sf, movsf): prepare_move_operands() before emitting SHmedia insns. 2001-04-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/crti.asm (init, fini) [__SH5__ && ! __SHMEDIA__]: Don't save nor initialize r12. Don't mis-align the stack. Pad the code with a nop. * config/sh/crti.asm: Don't restore r12. Don't mis-align the stack. 2001-03-13 Alexandre Oliva <aoliva@redhat.com> * gcc/longlong.h (__umulsidi3, count_leading_zeros) [__SHMEDIA__]: Implement. 2001-03-11 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md: Set latency of `pt' closer to reality. (movsi_media, movsi_media_nofpu, movdi_media, movdi_media_nofpu, movdf_media, movdf_media_nofpu, movsf_media, movsf_media_nofpu): Set move, load and store type attributes. * config/sh/sh.c (sh_loop_align) [TARGET_SH5]: Set to 3. * config/sh/sh.h (OVERRIDE_OPTIONS) [TARGET_SH5]: Disable profiling. * config/sh/sh.h (PROMOTE_MODE): Sign-extend SImode to DImode. * config/sh/sh-protos.h (sh_media_register_for_return): Declare. * config/sh/sh.c (sh_media_register_for_return): New function. (sh_expand_prologue) [TARGET_SHMEDIA]: Copy r18 to an available branch-target register. (sh_expand_epilogue) [TARGET_SHMEDIA]: Explicitly USE it. * config/sh/sh.md (return_media_i): Use any call-clobbered branch-target register. (return_media): If r18 wasn't copied in the prologue, copy it here. * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE) [TARGET_SHMEDIA]: Clear class FP0_REGS. * config/sh/sh64.h (LINK_SPEC): Removed incorrect default copied from elf.h. 2001-03-08 DJ Delorie <dj@redhat.com> * config/sh/sh.h (OVERRIDE_OPTIONS): Disable relaxing for SHMEDIA. 2001-02-09 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (sibcall_compact): Set fp_mode to single. 2001-02-07 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (INT_ASM_OP) [SHMEDIA64]: Use `.quad'. 2001-02-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (INIT_CUMULATIVE_ARGS): Compute size of BLKmode return value correctly for call_cookie. 2001-02-01 Alexandre Oliva <aoliva@redhat.com> * config/sh/crt1.asm (start): Modified so as to call ___setup_argv_and_call_main. 2001-01-26 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't count stack_regs in SHmedia mode. 2001-01-20 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (STRIP_DATALABEL_ENCODING): New macro. (STRIP_NAME_ENCODING): Use it. (ASM_OUTPUT_LABELREF): Likewise. Don't call assemble_name(). 2001-01-19 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (sgeu) [! SHMEDIA]: Fix invocation of prepare_scc_operands(). * config/sh/sh.h (SH_DATALABEL_ENCODING): Change to "#"... (DATALABEL_SYMNAME_P): ... so that we don't need memcmp here. 2001-01-17 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (STRIP_NAME_ENCODING): Strip leading `*'. 2001-01-13 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (shcompact_incoming_args): Use R0_REG. * config/sh/sh.md (R7_REG, R8_REG, R9_REG): Define as constants, used in shcompact_incoming_args. * config/sh/sh.c (sh_expand_epilogue): Fix thinko in previous change. * config/sh/crt1.asm (start) [SH5]: Switch to single-precision mode. * config/sh/lib1funcs.asm (sdivsi3_i4, udivsi3_i4, set_fpscr): Adjust accordingly. * config/sh/sh.c (sh_expand_prologue, sh_expand_epilogue): Simplify. Adjust. Add sanity check. * config/sh/sh.h (TARGET_SWITCHES) [5-compact]: Set FPU_SINGLE_BIT. * config/sh/sh.md (udivsi3_i4_single, divsi3_i4_single): Match TARGET_SHCOMPACT. (udivsi3, divsi3): Use them. (force_mode_for_call): New insn. (call, call_value, sibcall_value): Emit it before SHcompact calls. 2001-01-11 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (call, call_value, sibcall): Make sure the call cookie is non-NULL before taking its value. 2001-01-10 Alexandre Oliva <aoliva@redhat.com> * config.gcc (sh64): Set target_requires_64bit_host_wide_int. 2001-01-09 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (shcompact_incoming_args): Set argument memory block. * config/sh/sh.h (STATIC_CHAIN_REGNUM) [SH5]: Use r1. * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r0 as temporary for stack adjusts. Use MACL and MACH to pass arguments to shcompact_incoming_args. * config/sh/sh.md (shcompact_incoming_args): Adjust. Don't clobber r1. * config/sh/lib1funcs.asm (shcompact_incoming_args): Likewise. (nested_trampoline): Load static chain address into r1. * config/sh/sh.md (movdi_media splits): Fix sign-extension. 2001-01-07 Alexandre Oliva <aoliva@redhat.com * config/sh/sh.c (fpul_operand) [SHMEDIA]: Just call fp_arith_reg_operand(). 2001-01-06 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (casesi): Sign-extend the first two operands, and use signed compares for them. * config/sh/sh.c (dump_table): Don't emit 8-byte constants after 4-byte ones. Instead, inter-leave them, maintaining the 8-byte ones properly aligned. (find_barrier): Account for extra alignment needed for 8-byte wide constants. (machine_dependent_reorg): Require a label for the second 4-byte constant after an 8-byte one. * config/sh/lib1funcs.asm (sdivsi3): Fix typo in yesterday's change. 2001-01-05 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (machine_dependent_reorg) [SHCOMPACT]: Reset last_float when switching float modes. * config/sh/sh.md (movdf) [SH5]: Don't use stack-pointer auto-increment for general-purpose registers. * config/sh/lib1funcs.asm (sdivsi3) [SHMEDIA]: Sign-extend the result. * config/sh/sh.c (sh_expand_prologue) [SH5]: Use r1 as temporary for stack adjust. * config/sh/sh.c (sh_builtin_saveregs): Support using all registers for varargs. 2001-01-01 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Simplify. * config/sh/sh.h (CALL_COOKIE_STACKSEQ, CALL_COOKIE_STACKSEQ_SHIFT, CALL_COOKIE_STACKSEQ_GET): New macros. (CALL_COOKIE_INT_REG_SHIFT): Adjust. (FUNCTION_ARG_ADVANCE): Use SHCOMPACT_FORCE_ON_STACK. Adjust call_cookie accordingly. (FUNCTION_ARG): Test SHCOMPACT_FORCE_ON_STACK. (SHCOMPACT_BYREF): Likewise. (SHCOMPACT_FORCE_ON_STACK): New macro. * config/sh/sh.c (sh_expand_prologue): Use new call_cookie format. (sh_builtin_saveregs): Likewise. * config/sh/lib1funcs.asm (shcompact_call_trampoline, shcompact_incoming_args): Use new shift values. Support sequences of consecutive and non-consecutive pushes/pops. * config/sh/sh.md (return): Don't explicitly use PR_REG. 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> * config/sh/sh.h (TEXT_SECTION): Define. * config/sh/elf.h (ASM_FILE_START): Output TEXT_SECTION_ASM_OP. 2001-01-05 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (INIT_CUMULATIVE_LIBCALL_ARGS): New macro. * config/sh/sh.h (BASE_RETURN_VALUE_REG): Use FP regs for return values on FPU-enabled SHmedia. (FUNCTION_VALUE_REGNO_P): Mark FIRST_FP_RET_REG as used on FPU-enabled SHmedia. (INIT_CUMULATIVE_ARGS): Set up return trampoline only if value is returned in a non-FP reg and is not returned by reference. * config/sh/sh.md (shcompact_return_tramp_i): Change type to jump_ind. 2000-01-04 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (SH_MIN_ALIGN_FOR_CALLEE_COPY): New. (FUNCTION_ARG_CALLEE_COPIES): Require argument to be quad-aligned to be passed by callee-copy reference. 2001-01-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/elf.h (MAX_WCHAR_TYPE_SIZE): Define. * config/sh/sh64.h (MAX_WCHAR_TYPE_SIZE): Undefine. 2001-01-02 Alexandre Oliva <aoliva@redhat.com> * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix error in copying low-numbered FP regs to r7 and r8. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Don't request copying of FP regs to general-purpose regs only if the copy was passed on the stack. * config/sh/lib1funcs.asm (shcompact_call_trampoline): Fix typo in copying FP reg to r9. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Use trampoline to copy FP regs to general-purpose regs only in outgoing calls. * config/sh/sh.md (movdf_media, movsf_media): Revert incorrect change from 2000-10-30. Adjust for 64-bit (or 32-bit) HOST_WIDE_INT. * config/sh/sh.h (struct sh_args): Document all fields. (FUNCTION_OK_FOR_SIBCALL): Functions that receive arguments passed partially on the stack should not consider making sibcalls. * config/sh/sh.h (FUNCTION_ARG_ADVANCE): Add byref regs to stack_regs only for incoming calls. When passing FP args, make sure there are FP regs available before modifying call_cookie. (SHCOMPACT_BYREF): Pass double args in general-purpose registers by reference. 2000-12-30 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (FUNCTION_OK_FOR_SIBCALL) [SHCOMPACT]: Don't attempt to generate sibcalls if the caller got any arguments by reference. * config/sh/lib1funcs.asm (set_fpscr) [SH5]: Default to double. * config/sh/sh.c (dump_table) [SHCOMPACT]: Align DImode and DFmode to 8-byte boundaries. * config/sh/sh.md (shcompact_preserve_incoming_args): New insn. * config/sh/sh.h (CALL_COOKIE_INT_REG_GET): New macro. * config/sh/sh.c (sh_expand_prologue): Preserve args that will be stored in the stack. * config/sh/lib1funcs.asm (ct_main_table, ia_main_table): Arrange for the offsets to have the ISA bit set. (shcompact_call_trampoline): Document. Swap r0 and r1, to match invocation. Use beq instead of bgt to mark end of sequence of loads. (shcompact_incoming_args): Fix store of r2. Use beq instead of bgt to mark end of sequence of stores. * config/sh/sh.c (arith_operand): Don't check whether CONST_OK_FOR_J for now. * config/sh/sh.md (movdf_media, movsf_media): Use HOST_WIDE_INT instead of long for conversion. 2000-12-29 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (print_operand_address): Convert INTVAL to int before passing it to fprintf. 2000-12-28 Alexandre Oliva <aoliva@redhat.com> * config/sh/crt1.asm (start): Reset SR.FD, to enable the FP unit. Call set_fpscr before reading/writing SR. * config/sh/crt1.asm (start): Set SR.SZ and SR.PR, but not SR.FR. Call set_fpscr. * config/sh/lib1funcs.asm: Add `.align 2' directives before SHmedia code. (FMOVD_WORKS): Define on SH5 with FPU. (set_fpscr): Define on SH5. Remove separate _fpscr_values setting. * config/sh/t-sh64 (LIB1ASMFUNCS): Add _set_fpscr instead of _fpscr_values. 2000-12-28 Hans-Peter Nilsson <hpn@cygnus.com> * config/sh/lib1funcs.asm (ct_main_table): Align contents to even address. (ia_main_table): Ditto. 2000-12-27 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (MAX_WCHAR_TYPE_SIZE): Don't define. * config/sh/sh64.h (WCHAR_TYPE, WCHAR_TYPE_SIZE): Reinstate the definitions from sh.h. * config/sh/sh.h (PTRDIFF_TYPE): Define as conditional on TARGET_SH5. (SUBTARGET_CPP_SPEC): Arrange for __PTRDIFF_TYPE__ to be defined. * config/sh/elf.h (PTRDIFF_TYPE): Likewise. * config/sh/sh64.h (SUBTARGET_CPP_SPEC): Likewise. 2000-12-26 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (movdi_media split): Don't add REG_LABEL notes. Increment LABEL_NUSES. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49630 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (x86_64-*-linux): Add t-linux64 makefile fragment.aj2002-02-081-1/+1
| | | | | | | * config/i386/t-linux64: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49610 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (s390x-*-linux*): Add t-linux64 makefile fragment.uweigand2002-02-061-1/+1
| | | | | | | | * config/s390/t-linux64: New file. * config/s390/libgcc-glibc.ver: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49553 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/s390/linux64.h: Delete file.uweigand2002-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | * config/s390/s390x.h: New file. * config.gcc (s390x-*-linux*): Use s390x.h instead of linux64.h as target header file. * config/s390/linux.h (TARGET_VERSION): Define depending on DEFAULT_TARGET_64BIT. (CPP_SPEC, ASM_SPEC, LINK_SPEC): Likewise. (SIZE_TYPE, PTRDIFF_TYPE): Likewise. (NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define. (CPP_ARCH31_SPEC, CPP_ARCH64_SPEC): New defines. (LINK_ARCH31_SPEC, LINK_ARCH64_SPEC): New defines. (EXTRA_SPEC): New define. * config/s390/s390.h (TARGET_VERSION): Define depending on DEFAULT_TARGET_64BIT. (MASK_RETURN_ADDR): Add run-time check for TARGET_64BIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49552 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (arm*-*-netbsdelf*): Placeholder to prevent matchthorpej2002-02-031-0/+12
| | | | | | | | | | by existing arm*-*-netbsd* (a.out) target. (ns32k-*-netbsdelf*): Likewise. (sparc-*-netbsdelf*): Likewise. (vax-*-netbsdelf*): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49467 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Set cpu_type to m68k for 68010, as well.thorpej2002-02-031-1/+13
| | | | | | | | | (m68010-*-netbsdelf*): New... (m68k*-*-netbsdelf*): ...targets. * config/m68k/netbsd-elf.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49464 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-30 David O'Brien <obrien@FreeBSD.org>obrien2002-01-301-2/+2
| | | | | | | | | | | | * config.gcc: Include sparc/biarch64.h rather than sparc/sparc_bi.h. * config/sparc/sparc_bi.h: Remove file. * config/sparc/biarch64.h: New file (rename of sparc_bi.h). Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20020130102608.B9040@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49346 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Revert previous change.rearnsha2002-01-281-8/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49290 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (*-*-netbsdelf*): Set up generic parameters.rearnsha2002-01-281-6/+8
| | | | | | | | | | | | (*-*-netbsd*): Always use collect2. Remove collect2 settings from other non-elf netbsd config frags. * config/netbsd-aout.h (STARTFILE_SPEC): Don't pull in c++rt0 since collect2 will does that. * config/netbsd.h (LIBGCC_SPEC): Add white space before -lgcc, so that shared-lib frobbing will work. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49285 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CRTSTUFF_CFLAGS): New.rth2002-01-271-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it. * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain crtstuff.c instead of alpha assembly version. * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the entire dummy function sequence. Use FORCE_CODE_SECTION_ALIGN not FORCE_{INIT,FINI}_SECTION_ALIGN. (__do_global_dtors_aux): Mark used. (frame_dummy, __do_global_ctors_aux): Mark used. (fini_dummy, init_dummy): Remove. * config/alpha/crtbegin.asm: Remove file. * config/alpha/crtend.asm: Remove file. * config/alpha/t-crtbe: Remove file. * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New. (LINK_EH_SPEC): New. * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old FORCE_INIT_SECTION_ALIGN hack. Register __fini_start before calling constructors. * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef. * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New. * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old CRT_END_INIT_DUMMY hack. * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace FORCE_{INIT,FINI}_SECTION_ALIGN. * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace FORCE_{INIT,FINI}_SECTION_ALIGN. * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new invocation sequence. * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise. * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update. (FORCE_CODE_SECTION_ALIGN): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49261 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-25 David O'Brien <obrien@FreeBSD.org>obrien2002-01-261-3/+13
| | | | | | | | | | | | | | * config.gcc (x86_64-*-freebsd*): New target. (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its value. (i[34567]86-*-freebsd*): Don't include svr4.h. * config/i386/freebsd64.h: New file. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20020125160119.B17943@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49233 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (install-headers-cp): New target.kenner2002-01-251-0/+2
| | | | | | | | * config.gcc (alpha-dec-*vms*): Install headers with install-headers-cp git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49229 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/xtensa/elf.h: New file.bwilson2002-01-231-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | * config/xtensa/lib1funcs.asm: New file. * config/xtensa/lib2funcs.S: New file. * config/xtensa/linux.h: New file. * config/xtensa/t-xtensa: New file. * config/xtensa/xtensa-config.h: New file. * config/xtensa/xtensa-protos.h: New file. * config/xtensa/xtensa.c: New file. * config/xtensa/xtensa.h: New file. * config/xtensa/xtensa.md: New file. * config.gcc (xtensa-*-elf*): New target. (xtensa-*-linux*): New target. * cse.c (canon_hash): Compare rtx pointers instead of register numbers. This is required for the Xtensa port. * integrate.c (copy_insn_list): Handle case where the static chain is in memory and the memory address has to be copied to a register. * doc/invoke.texi (Option Summary): Add Xtensa options. (Xtensa Options): New node. * doc/md.texi (Machine Constraints): Add Xtensa machine constraints. * gcc.c-torture/compile/20001226-1.x: xfail for Xtensa. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49155 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (x86_64-*-netbsd*): New target.thorpej2002-01-221-0/+4
| | | | | | | * config/i386/netbsd64.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49087 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/netbsd.h (TARGET_HAS_F_SETLKW): define.thorpej2002-01-221-17/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Split a.out-specific bits into... * config/netbsd-aout.h: ...this. * config/netbsd-elf.h: New file. * config/alpha/netbsd-elf.h: Remove. * config/alpha/netbsd.h: Rewrite for a NetBSD/alpha ELF target. * config/i386/netbsd-elf.h (LIB_SPEC): Remove. (STARTFILE_SPEC): Remove redundant definition. (ENDFILE_SPEC): Likewise. (LINK_SPEC): Likewise. (CPP_SPEC): Likewise. (ASM_SPEC): Likewise. (LIB_SPEC): Likewise. (SWITCH_TAKES_ARG): Likewise. (TARGET_MEM_FUNCTIONS): Likewise. (CPP_PREDEFINES): Redefine. (ASM_FINAL_SPEC): Remove redefinition. (ASM_COMMENT_START): Redefine. (FUNCTION_PROFILER): Define. (TARGET_VERSION): Redefine. Comment and formatting cleanup. * config/i386/netbsd.h: Include <netbsd-aout.h>. * config/m68k/netbsd.h: Include <netbsd-aout.h>. * config/mips/netbsd.h: Rewrite for NetBSD/mips ELF target, big- or little-endian. * config/ns32k/netbsd.h: Include <netbsd-aout.h>. * config.gcc (*-*-netbsd*): Add definitions common to all NetBSD configs. (alpha*-*-netbsd*): Remove redundant xm_defines, gas, and gnu_ld definitions. Add netbsd-elf.h to and remove alpha/netbsd-elf.h from tm_file. Remove alpha/t-crtfm from tmake_file, and don't lose previous tmake_file contents. (arm*-*-netbsd*): Add netbsd-aout.h to tm_file. (i[34567]86-*-netbsdelf*): Remove redundant xm_defines, gas, and gnu_ld definitions. Add netbsd-elf.h to tm_file. (mips-dec-netbsd*): Remove as alias for mipsel-*-netbsd*. (mipsel-*-netbsd*): Rename this to... (mips*-*-netbsd*): ...this. Add elfos.h to tm_file. Add mips/little.h to tm_file for mips*el-*. (powerpc-*-netbsd*): Remove redundant xm_defines definition. (sparc-*-netbsd*): Add netbsd-aout.h to tm_file. (vax-*-netbsd*): Add netbsd-aout.h to tm_file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49064 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-21 Daniel Jacobowitz <drow@mvista.com>dje2002-01-211-5/+5
| | | | | | | | * config.gcc: Add entries to supported PowerPC --with-cpu types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49047 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (hppa*64*-*-hpux11*): Fix tmake_file.danglin2002-01-191-2/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49013 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-17 Aldy Hernandez <aldyh@redhat.com>aldyh2002-01-171-2/+2
| | | | | | | | | | | * config.gcc (cpu_type): Include altivec.h in powerpc extra_headers. Same for darwin. * config/rs6000/altivec.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48963 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-16 H.J. Lu <hjl@gnu.org>hjl2002-01-171-1/+1
| | | | | | | | | | | | * config/mips/t-linux: New. * config.gcc: Add mips/t-linux to tmake_file for mips*-*-linux*. * config/mips/linux.h: Don't include "gofast.h". (INIT_SUBTARGET_OPTABS): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48936 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-15 Aldy Hernandez <aldyh@redhat.com>aldyh2002-01-151-1/+1
| | | | | | | | | | | * config.gcc: Change altivec.h to altivec-defs.h. * config/rs6000/altivec.h: Delete. * config/rs6000/altivec-defs.h: Add. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48886 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (x86_64-*-*): Install mmintrin.h and xmmintrin.h.aj2002-01-151-0/+1
| | | | | | | | | | | | for testsuite: * gcc.dg/i386-mmx-1.c: Also run on x86-64. * gcc.dg/i386-mmx-2.c: Likewise. * gcc.dg/i386-sse-1.c: Likewise. * gcc.dg/i386-sse-2.c: Likewise. * gcc.dg/i386-sse-3.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48864 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/mmintrin.h: New file.rth2002-01-121-0/+1
| | | | | | | | | | | | | | | | | | | | * config/i386/xmmintrin.h: New file. * config.gcc (i?86-*-*): Add extra_headers. * simplify-rtx.c (simplify_unary_operation): Handle saturating truncation codes. (simplify_binary_operation): Handle saturating arithmetic codes. * config/i386/i386.c (ix86_expand_sse_comi): Return the full result, not the lowpart subreg. (ix86_expand_builtin): Return a TImode dummy register instead of 0 on error. * config/i386/i386.md (mmx_clrdi): Override memory attribute. * gcc.dg/i386-mmx-1.c, gcc.dg/i386-mmx-2.c: New. * gcc.dg/i386-sse-1.c, gcc.dg/i386-sse-2.c, gcc.dg/i386-sse-1.c: New. CVs: ---------------------------------------------------------------------- git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48793 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Set stage1_cflags for powerpc-*-darwin*.zack2002-01-101-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerate. * config/interix.h: Set DO_GLOBAL_CTORS_BODY and DO_GLOBAL_DTORS_BODY here, not in xm-interix.h. * config/alpha/vms.h: Set INCLUDE_DEFAULTS here, not in alpha/xm-vms.h. * config/m68k/t-next: Set OTHER_FIXINCLUDES_DIRS and LIMITS_H_TEST here, not in m68k/x-next. * config/rs6000/beos.h: Set STANDARD_INCLUDE_DIR and SYSTEM_INCLUDE_DIR here, not in rs6000/xm-beos.h. * config/x-interix: Don't set RANLIB, RANLIB_TEST, SHELL, LIBGCC2_INCLUDES, or SYSTEM_HEADER_DIR. * config/alpha/x-vms: Don't set USE_COLLECT2. Add comments. * config/i386/x-djgpp: Renamed i386/t-djgpp. * config/m88k/x-dolph: Renamed m88k/t-dolph. * config/m88k/x-texXD88: Renamed m88k/t-texXD88. * config/pa/x-pa-mpeix: Renamed pa/t-mpeix. Update for replacement of quadlib.asm with quadlib.c. * config/x-interix3, config/xm-interix.h, config/i386/x-beos, config/i386/xm-osf1elf.h, config/rs6000/x-darwin, config/rs6000/xm-beos.h: Delete file. * config.gcc: Update to match above changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48757 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-06 Aldy Hernandez <aldyh@redhat.com>aldyh2002-01-071-0/+4
| | | | | | | * config.gcc: Add support for --enable-altivec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48591 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (ia64-*-*): Set extra_headers.jsm282002-01-021-3/+7
| | | | | | | | | (alpha*-dec-osf*): Likewise. Don't use alpha/t-osf. * config/alpha/t-osf: Remove. * config/ia64/t-ia64 (EXTRA_HEADERS): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48483 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (USER_H): Remove proto.h.jsm282001-12-231-0/+1
| | | | | | | * config.gcc (c*-convex-*): Set extra_headers=proto.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48291 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (extra_headers): Move settings to math-68881.h andjsm282001-12-221-65/+14
| | | | | | | | | ppc-asm.h to common code for CPU types. Use math-68881.h on all m68k targets. (header_files): Remove unused setting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48277 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/pa/t-hpux-shlib: New file.law2001-12-191-4/+4
| | | | | | | | * config.gcc (hpux10, hpux11): Include t-hpux-shlib in tmake_file for 32bit hpux10 & hpux11 configurations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48180 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-16 David O'Brien <obrien@FreeBSD.org>obrien2001-12-171-0/+8
| | | | | | | | | | | | | | * config.gcc (sparc64-*-freebsd*): Add target. * config/sparc/freebsd.h: New file. * config/sparc/sparc.h (LIB_SPEC, LINK_SPEC): Don't define. * config/sparc/sunos4.h (LIB_SPEC, LINK_SPEC): Define. * config/sparc/sysv4.h (CPP_PREDEFINES): Undefine before defining. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20011215175143.A8758@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48093 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Add powerpc-*-eabisimaltivec*.aldyh2001-12-171-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48084 138bc75d-0d04-0410-961f-82ee72b054a4
* * nextstep-protos.h: New file.ghazi2001-12-161-0/+3
| | | | | | | | | | | | | * nextstep.c: Include "rtl.h", "output.h" & "tm_p.h". * nextstep.h (INCLUDE_DEFAULTS): Delete LOCAL_INCLUDE_DIR and STANDARD_INCLUDE_DIR from the CROSS_COMPILE clause. (nextstep_asm_out_constructor, nextstep_asm_out_destructor, handle_pragma): Move prototypes to nextstep-protos.h. * config.gcc (i[34567]86-next-*, m68k-next-nextstep2*, m68k-next-nextstep[34]*): Append nextstep-protos.h to tm_p_file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48067 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for ld.jakub2001-12-151-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (HAVE_LD_EH_FRAME_HDR): Define if ld supports --eh-frame-hdr option. * configure, config.in: Rebuilt. * config.gcc: Add crtbeginT.o to extra_parts where needed. * config/t-linux (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde-glibc frame unwinding on Linux. * config/t-linux-gnulibc1 (LIB2ADDEH, LIB2ADDEHDEP): Use unwind-dw2-fde frame unwinding. * config/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static. (LINK_EH_SPEC): Define. * config/i386/gnu.h (STARTFILE_SPEC): Use crtbeginT.o for -static. * config/ia64/linux.h (STARTFILE_SPEC, LINK_EH_SPEC): Define. * config/ia64/fde-glibc.c (_Unwind_IteratePhdrCallback): Don't iterate further if pc falls into current library, but fde was not found. * config/sparc/linux.h (STARTFILE_SPEC): Use crtbeginT.o for -static if using glibc. (LINK_EH_SPEC): Define. * config/sparc/linux64.h (STARTFILE_SPEC32, STARTFILE_SPEC64): Use crtbeginT.o for -static. (LINK_EH_SPEC): Define. * config/sparc/t-linux64 (EXTRA_MULTILIB_PARTS): Add crtbeginT.o. * Makefile.in (crtbeginT.o): Add rule. * gcc.c (init_gcc_specs): For -static-libgcc, use -lgcc -lgcc_eh. If neither -static-libgcc nor -shared-libgcc is passed and -shared, use -lgcc if LINK_EH_SPEC is defined and -lgcc_s -lgcc if not. If none of the above switches are passed, use -lgcc -lgcc_eh. (init_spec): If LINK_EH_SPEC is defined, prepend it to link_spec. * mklibgcc.in: Don't include LIB2ADDEH objects into libgcc.a if creating libgcc_s.so, put them into separate libgcc_eh.a instead. * unwind-dw2-fde.c: Don't include any headers if this file is included from other .c file. * unwind-dw2-fde-glibc.c: New file. * crtstuff.c (USE_PT_GNU_EH_FRAME, USE_EH_FRAME_REGISTRY): Define. Use it instead of EH_FRAME_SECTION_NAME where appropriate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48039 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Revamp target_cpu_default2 to strings;hubicka2001-12-141-6/+33
| | | | | | | support new x86 variants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48007 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (alpha64-dec-*vms*): New case.kenner2001-12-141-0/+17
| | | | | | | | | * config/alpha/t-vms64, config/alpha/vms-crt0-64.c: New files. * config/alpha/vms-psxcrt0-64.c, config/alpha/vms64.h: Likewise. * config/alpha/xm-vms64.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48001 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/rs6000.c (rs6000_override_options): Addaldyh2001-12-131-0/+15
| | | | | | | | | | | | | | SUBSUBTARGET_OVERRIDE_OPTIONS. * config/rs6000/eabialtivec.h: New file. * config/rs6000/linuxaltivec.h: New file. * config.gcc: Add powerpc-*-eabialtivec and powerpc-*-linux-gnualtivec. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47981 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-12 David O'Brien <obrien@FreeBSD.org>obrien2001-12-131-0/+4
| | | | | | | | | | | | | | | | | | | | | * config.gcc (arm-*-freebsd*): Add target. * config/arm/freebsd.h: New file. * config/arm/arm.h (CPP_PREDEFINES): Do not define. (CPP_SPEC): #undef before defining. (CPP_CPU_ARCH_SPEC): Add -Acpu=arm -Amachine=arm. * config/arm/conix-elf.h (CPP_PREDEFINES): Remove -Acpu=arm -Amachine=arm. * config/arm/linux-elf.h: Likewise. * config/arm/netbsd.h: Likewise. * config/arm/riscix.h: Likewise. * config/arm/riscix1-1.h: Likewise. * config/arm/semiaof.h: Likewise. Approved by: Richard Earnshaw <rearnsha@arm.com> (in private email) Message-Id: <200112121046.KAA09097@cam-mail2.cambridge.arm.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47957 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-11 David O'Brien <obrien@FreeBSD.org>obrien2001-12-111-1/+1
| | | | | | | | | | | | | | | | | * config.gcc (m68020-*-elf*): Expand tm_file to include all needed cpu configuration headers. * config/h8300/elf.h: Include dbxelf.h. * config/m68k/linux.h: Likewise. * config/m68k/m68020-elf.h: Likewise. * config/m68k/m68kv4.h: Likewise. * config/sh/elf.h: Likewise. * config/m68k/m68kemb.h: Add comment about the its purpose. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20011210155120.A23862@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47885 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (alpha*-dec-vms*): Change to alpha*-dec-*vms*kenner2001-12-101-1/+11
| | | | | | | | | | | | (exeext, target_alias, prefix, local_prefix): Define. * config/alpha/x-vms (USE_COLLECT2): Make empty. * config/alpha/xm-vms.h (INCLUDE_DEFAULTS): Use Unix style file specifications. Remove ".". (GCC_INCLUDE_DIR): Remove redefinition (redundant). * fixinc/mkfixinc.sh (alpha*-dec-vms*): Change to alpha*-dec-*vms* git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47840 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-06 David O'Brien <obrien@FreeBSD.org>obrien2001-12-061-100/+100
| | | | | | | | | | | * config.gcc: Include dbxelf.h before elfos.h. * elfos.h: Don't include dbxelf.h, let config.gcc handle it. Approved by: Richard Henderson <rth@redhat.com> Message-ID: <20011205224713.D9059@redhat.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47723 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-05 David O'Brien <obrien@FreeBSD.org>obrien2001-12-061-1/+1
| | | | | | | | | | * config.gcc (powerpc-*-freebsd*): Use the proper tmake_file files, as set by the generic FreeBSD configure framework. Approved by: obvious rule git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47705 138bc75d-0d04-0410-961f-82ee72b054a4
* Include arm/xscale-coff.h before arm/arm.h.nickc2001-12-051-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47693 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (i[34567]86-*-interix3*): New case.kenner2001-11-281-0/+14
| | | | | | | | * config/x-interix3, config/interix3.h, config/i386/i386interix3.h: New files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47428 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/alpha/vms-ld.c, config/alpha/vms-cc.c: New files.kenner2001-11-251-0/+1
| | | | | | | | * config/alpha/x-vms: New file, to compile the above. * config.gcc (alpha*-dec-vms*): Add x-vms. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47312 138bc75d-0d04-0410-961f-82ee72b054a4
* Add necessary header files to tm_file for xscale-ecoffnickc2001-11-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47261 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Delete powerpcle-*-solaris2* stanza.zack2001-11-211-6/+0
| | | | | | | | | | | | | | | | | | * config/rs6000/eabi.asm, config/rs6000/rs6000.c, config/rs6000/rs6000.h, config/rs6000/rs6000.md, config/rs6000/sol-ci.asm, config/rs6000/sol-cn.asm, config/rs6000/sysv4.h, config/rs6000/t-ppccomm, config/rs6000/t-ppcos: Expunge all references to Solaris. * config/rs6000/sol-c0.c, config/rs6000/sol2.h: Delete. * config/rs6000/rs6000.md: Replace '%$' with '$' in all output templates. * config/rs6000/rs6000.h: Define DEFAULT_PCC_STRUCT_RETURN to 0, and change RETURN_IN_MEMORY to just check AGGREGATE_TYPE_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47232 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud