aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
AgeCommit message (Collapse)AuthorFilesLines
2003-05-01Missed commit file.Eric Christopher1-2/+2
From-SVN: r66319
2003-04-29config.gcc: Install obsolete target list for GCC 3.3.Zack Weinberg1-7/+55
* config.gcc: Install obsolete target list for GCC 3.3. * doc/install.texi: Mention in specific-target instructions that certain configurations are deprecated. From-SVN: r66238
2003-04-22t-spe: Merge in t-fprules into file.Aldy Hernandez1-1/+1
2003-04-22 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/t-spe: Merge in t-fprules into file. * config.gcc: Add t-spe to powerpc-eabispe. From-SVN: r65938
2003-04-19Part 2 of the SCO port update. This is everything I have approval for.Kean Johnston1-5/+3
There are two outstanding patches I await approval to check in. From-SVN: r65832
2003-04-13config-ml.in: Remove support for --disable-aix removing call-aix multilibs.Nick Clifton1-4/+0
config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Delete support for -mcall-aix switch. config/rs6000/eabiaix.h: Delete. config/rs6000/rs6000.h (rs6000_abi): Remove ABI_AIX_NODESC. (RS6000_REG_SAVE, RS6000_SAVE_AREA, FP_ARGS_MAX_REG, RETURN_ADDRESS_OFFSET): Remove use of ABI_AIX_NODESC. config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Likewise. config/rs6000/rs6000.c (print_operand, rs6000_stack_info, debug_stack_info, output_function_profiler, rs6000_trampoline_size, rs6000_initialise_trampoline): Likewise. config/rs6000/rs6000.md (call, call_value, call_nonlocal_sysv, call_indirect_nonlocal_sysv, call_value_indirect_nonlocal_sysv, call_value_nonlocal_sysv, sibcall_value_nonlocal_sysv, sibcall_nonlocal_sysv, sibcall_value_local64): Likewise. config/rs6000/t-ppcgas (MULTILIB_OPTIONS): Remove mcall-aix multilibs. (MULTILIB_DIRNAMES): Remove mcall-aix directories. (MULTILIB_EXCEPTIONS): Delete. (MULTILIB_MATCHES): Remove mcall-aix matches. doc/fragments.texi: Replace -mcall-aix example with an ARM one. doc/install.texi: Delete powerpc-*-eabiaix target. doc/invoke.texi: Remove documentation of mcall-aix switch. doc/tm.texi: Remove mcall-aix from example CPP_SPEC. config.gcc: Delete powerpc-*-eabiaix target. From-SVN: r65546
2003-03-22* config.gcc: Remove 'float_format'.Nathanael Nerode1-3/+0
From-SVN: r64698
2003-03-22fixproto: Define NULL and size_t in generated stdlib.h and unistd.h.Nathanael Nerode1-105/+6
* fixproto: Define NULL and size_t in generated stdlib.h and unistd.h. Kill unused required_stdlib_h, required_unistd_h. Rearrange file generation loop for readability. Generate time.h, string.h if missing. * tsystem.h: Include <string.h>, <time.h> unconditionally. * config.gcc: Blow away POSIX defines. From-SVN: r64690
2003-03-21config.gcc (i[34567]86-*-cygwin*): Use new common makefile stub t-cygming.Christopher Faylor1-6/+10
2003-03-21 Christopher Faylor <cgf@redhat.com> * config.gcc (i[34567]86-*-cygwin*): Use new common makefile stub t-cygming. Use common target header cygming.h. Add extra c_target_obj and cxx_target_obj file. Default cygwin to posix threading. Enforce i386 as float format. (i[34567]86-*-mingw*): Use new common makefile stub t-cygming. Remove cygwin.h as target header. Use common target header cygming.h Enforce i386 as float format. Correct typo. * config/i386/cygming.h: New file, containing definitions common to mingw32 and cygwin. * config/i386/cygwin.h: Remove definitions common to cygwin and mingw. Simplify special spec logic. Define "wrappers" around certain include path defines to accommodate -mno-cygwin. Remove some #if 0'ed code. (STANDARD_INCLUDE_DIR) Always define when not cross-compiling. (LINK_SPEC): Don't use cyg search prefix when -mno-cygwin. (GCC_DRIVER_HOST_INITIALIZATION): Define as call to mingw_scan. * config/i386/mingw32.h: Remove definitions common to cygwin and mingw. (EXTRA_OS_CPP_BUILTINS): Adjust. (TARGET_VERSION): Define. * config/i386/crtdll.h (EXTRA_OS_CPP_BUILTINS): Override mingw32.h definitions. (LIBGCC_SPEC): Add libmingwex.a as in mingw32.h. * config/i386/t-cygwin (EXTRA_GCC_OBJS): Define as cygwin1.o. Add compilation rules for cygwin1.o cygwin2.o. * config/i386/cygwin1.c: New file. * config/i386/cygwin2.c: New file. * config/i386/t-cygming: New makefile stub. From-SVN: r64643
2003-02-28* config.gcc (xtensa-*-linux*): Add t-slibgcc-elf-ver to tmake_file.Bob Wilson1-1/+1
From-SVN: r63568
2003-02-27config.gcc (*-*-netbsd[2-9]*, [...]): Enable POSIX thread support by default.Jason Thorpe1-0/+11
* config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Enable POSIX thread support by default. From-SVN: r63509
2003-02-27cygwin.h: Don't include any other files directly.Roger Sayle1-3/+3
* config/i386/cygwin.h: Don't include any other files directly. * config/i386/mingw32.h: Don't include cygwin.h directly. * config.gcc (cygwin, mingw32, uwin): Instead make these files explicit in the tm_files variable. From-SVN: r63508
2003-02-26* config.gcc: Add power4 to PowerPC with_cpu list.David Edelsohn1-1/+2
From-SVN: r63481
2003-02-22config.gcc: Delete references to m68k/t-linux and m68k/t-linux-aout.Andreas Schwab1-3/+3
* config.gcc: Delete references to m68k/t-linux and m68k/t-linux-aout. * config/m68k/t-linux, config/m68k/t-linux-aout: Removed. From-SVN: r63305
2003-02-10Add support for Cirrus EP9312, an ARM variant.Nick Clifton1-1/+10
From-SVN: r62625
2003-02-06config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in target_cpu_default.John David Anglin1-1/+1
* config.gcc (hppa*-*-linux*): Set MASK_NO_SPACE_REGS in target_cpu_default. * pa.c (attr_length_call): Add 8 to call length (long indirect PA 1.X) if not MASK_NO_SPACE_REGS. (output_call): Adjust return pointer, don't load new space register into %sr0, and use %sr4 for call if TARGET_NO_SPACE_REGS is true. (pa_asm_output_mi_thunk): Don't load new space register into %sr0 if TARGET_NO_SPACE_REGS is true. * pa.md (return_external_pic): Add TARGET_NO_SPACE_REGS to insn conditions. (epilogue): Always use return_internal if TARGET_NO_SPACE_REGS is true. (interspace_jump): Add new pattern for when TARGET_NO_SPACE_REGS is true. Use bve when TARGET_64BIT is true. From-SVN: r62497
2003-02-06Makefile.in (host_hook_obj): New.Geoffrey Keating1-0/+9
* Makefile.in (host_hook_obj): New. (OBJS): Add $(host_hook_obj). (host_default.o): New rule. * config.gcc (host_hook_obj): New, default to host-default.o. (powerpc-*-darwin*): Use host-darwin.o. (out_host_hook_obj): New. * configure: Regenerate. * configure.in: Print information about out_host_hook_obj, substitute into output files. * host-default.c: New file. * hosthooks.h: New file. * toplev.c (general_init): Call host_hooks.extra_signals. * config/rs6000/host-darwin.c: New file. * config/rs6000/x-darwin: New file. * doc/hostconfig.texi: Add documentation for new host hook. Rearrange existing documentation. From-SVN: r62470
2003-01-30re PR target/9316 (powerpc-rtems/extending multilibs)Ralf Corsepius1-1/+1
2003-01-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de> PR target/9316 * config/rs6000/rtems.h: Add CPP_OS_DEFAULT_SPEC. * config/rs6000/sysv4.h: Add CPP_OS_RTEMS_SPEC. * config/rs6000/t-rtems: New file. multilib variants to match OS. * config.gcc (powerpc-*-rtems*): Use rs6000/t-rtems instead of rs6000/t-ppcgas so we get the desired multilibs. From-SVN: r62139
2003-01-29re PR bootstrap/9292 (hppa1.1-rtems configurery problems)Joel Sherrill1-1/+4
2003-01-29 Joel Sherrill <joel@OARcorp.com> * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable RTEMS threads. * config/pa/rtems.h (LIB_SPEC): Use -N when linking. This issue was tracked as PR9292. From-SVN: r62078
2003-01-28config.gcc (ia64*-*-aix*): Remove.Richard Henderson1-6/+0
* config.gcc (ia64*-*-aix*): Remove. * config/ia64/aix.h, config/ia64/t-aix: Remove file. * config/ia64/unwind-aix.c: Remove file. From-SVN: r62043
2003-01-24config.gcc (xtensa-*-elf*): Removed assignments to with_newlib, extra_parts, ↵Bob Wilson1-5/+2
and fixincludes. * config.gcc (xtensa-*-elf*): Removed assignments to with_newlib, extra_parts, and fixincludes. Add xtensa/t-elf tmake_file. (xtensa-*-linux*): Add xtensa/t-linux tmake_file. * config/xtensa/crti.asm: New file. * config/xtensa/crtn.asm: New file. * config/xtensa/t-elf: New file. * config/xtensa/t-linux: New file. * config/xtensa/t-xtensa: Add rules for crti.o and crtn.o. Move various CFLAGS settings to new t-elf file. From-SVN: r61735
2003-01-24Add sh2e support:Alexandre Oliva1-1/+5
2002-08-12 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (output_branch) [TARGET_SH2E]: Handle med_cbranches. Fix logic in short_cbranches. 2002-04-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.md (delay for cbranch): Don't annul delay slots on SH2e. * config/sh/sh.c (sh_insn_length_adjustment): Add 2 for cbranch with unfilled delay slot on SH2e. (output_branch): Fill with a nop the delay slot of a branch that required a delay slot but didn't get one. 2002-04-02 Alexandre Oliva <aoliva@redhat.com> * doc/invoke.texi (SH options): Document -m2e. * config/sh/crt1.asm: Add __SH2E__ Next to __SH3E__. * config/sh/lib1funcs.asm: Likewise. * config/sh/sh.c: Replace all uses of TARGET_SH3E with SH2E. * config/sh/sh.h (CPP_SPEC): Define __SH2E__ for -m2e, and not __sh1__. (CONDITIONAL_REGISTER_USAGE): Don't disable FP regs from SH2E up. (SH3E_BIT): Renamed to... (SH_E_BIT): ... this. Replace all uses. (TARGET_SH2E): Define from SH_E_BIT and TARGET_SH2. Replace all uses of TARGET_SH3E with TARGET_SH2E. (TARGET_SWITCHES): Added 2e. (OVERRIDE_OPTIONS): Set sh_cpu for SH2E. (processor_type): Added PROCESSOR_SH2E. * config/sh/sh.md: Replace all uses of TARGET_SH3E with TARGET_SH2E, except in sqrtsf2_i. (attribute cpu): Added sh2e. * config/sh/t-sh (MULTILIB_OPTIONS): Replace m3e with m2e. (MULTILIB_MATCHES): Use m2e multilib for m3e. * config.gcc: Add sh2e target support. From-SVN: r61697
2003-01-19config.gcc (mips64*-*-linux*): Added.Alexandre Oliva1-1/+20
* config.gcc (mips64*-*-linux*): Added. * config/mips/linux64.h, config/mips/t-linux64: New file. * config/mips/iris6.h (MIPS_TFMODE_FORMAT): Define. * config/mips/mips.c (override_options): Use it. * config/mips/mips.h (TARGET_SWITCHES): Added... (SUBTARGET_TARGET_SWITCHES): New, empty by default. * Makefile.in (SPECS): New. (STAGESTUFF, specs, mostlyclean, install-common): Use it. * gcc.c (process_command): Move self-spec processing past spec file loading. * doc/tm.texi (DRIVER_SELF_SPECS): Document the change. * doc/fragments.texi (MULTILIB_EXTRA_OPTS): Document need for CRTSTUFF_T_CFLAGS. (SPECS): Document. * doc/invoke.texi (-mabi-fake-default): Document. From-SVN: r61481
2003-01-08config.gcc (mipsisa32r2-*-elf*, [...]): New targets, to support MIPS32 ↵Chris Demetriou1-1/+6
Release 2 (MIPS32R2) configurations. 2003-01-08 Chris Demetriou <cgd@broadcom.com> * config.gcc (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*): New targets, to support MIPS32 Release 2 (MIPS32R2) configurations. * config/mips/mips.h (enum processor_type): Rename PROCESSOR_R4KC to PROCESSOR_4KC, PROCESSOR_R5KC to PROCESSOR_5KC, and PROCESSOR_R20KC to PROCESSOR_20KC. Add PROCESSOR_M4K. (TARGET_MIPS4KC, TARGET_MIPS5KC): Update for the renaming. (ISA_MIPS32R2): New define. (GENERATE_MULT3_SI, ISA_HAS_CONDMOVE, ISA_HAS_8CC) (ISA_HAS_MADD_MSUB, ISA_HAS_CLZ_CLO) (ISA_HAS_PREFETCH): Add support for MIPS32R2. (MIPS_ISA_DEFAULT): Likewise. Also, fix indentation. (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64. (ISA_HAS_ROTR_SI): Add support for MIPS32R2, and avoid if compiling MIPS16 code. (ISA_HAS_ROTR_DI): Do not use if compiling MIPS16 code, and fix comment. (ISA_HAS_SEB_SEH): New define. (ASM_SPEC, LINK_SPEC): Pass -mips32r2 to assembler and linker. * config/mips/mips.c (mips_cpu_info_table): Adjust for enum processor_type value renaming. Add support for MIPS32R2. Clean up comments, and move "sb1" entry with other MIPS64 CPU entries. (override_options): Reimplement -mipsN option handling so that it will work correctly for -mips32r2. Avoid branch-likely instructions on MIPS32R2. * config/mips/mips.md (mulsi3_mult3): Add support for MIPS32R2. (extendhisi2): Use extendhisi2_hw if ISA_HAS_SEB_SEH. (extendqisi2): Use extendqisi2_hw if ISA_HAS_SEB_SEH. (extendhisi2_hw, extendqisi2_hw): New. * config/mips/netbsd.h (TARGET_CPU_CPP_BUILTINS): Add support for MIPS32R2. Add new predefine __mips_isa_rev for MIPS32, MIPS32R2, and MIPS64. (LINK_SPEC): Pass -mips32r2 to linker. * config/mips/t-isa3264: Built -mips32r2 multilibs. * doc/invoke.texi (MIPS Options): Add -mips32r2, add support for mips32r2 in the -march description. Alphabetically sort CPU names in the -march description. Add long-missed -mips32 and -mips64 to MIPS option summary. * config.gcc: Update copyright years to include 2003. * config/mips/mips.c: Likewise. * config/mips/mips.h: Likewise. * config/mips/mips.md: Likewise. * config/mips/netbsd.h: Likewise. From-SVN: r61053
2003-01-07config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld, should come ↵Andreas Schwab1-2/+0
from the generic *-*-linux* entry. * config.gcc (m68k-*-linux*): Don't set extra_parts and gnu_ld, should come from the generic *-*-linux* entry. From-SVN: r61024
2003-01-06config.gcc (mipsisa32-*-elf*, [...]): Default ABI to EABI.Chris Demetriou1-1/+1
2003-01-06 Chris Demetriou <cgd@broadcom.com> * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*): Default ABI to EABI. From-SVN: r60957
2003-01-04config.gcc (hppa*64*-*-hpux11*): Define extra_parts.John David Anglin1-2/+1
* config.gcc (hppa*64*-*-hpux11*): Define extra_parts. Don't use collect2. * pa-hpux11.h (LDD_SUFFIX, PARSE_LDD_OUTPUT): Undefine. (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Define. * pa64-hpux.h (HP_INIT_ARRAY_SECTION_ASM_OP, GNU_INIT_ARRAY_SECTION_ASM_OP, HP_FINI_ARRAY_SECTION_ASM_OP, GNU_FINI_ARRAY_SECTION_ASM_OP): Define. (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Define when not using elfos.h. (EH_FRAME_IN_DATA_SECTION): Delete define. (HAS_INIT_SECTION, LD_INIT_SWITCH, LD_FINI_SWITCH): Undefine. (STARTFILE_SPEC): Use crtbegin.o. (ENDFILE_SPEC): Use crtend.o. (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION, SUPPORTS_INIT_PRIORITY, PA_CXA_FINALIZE_STUB, PA_INIT_FINI_HACK, PA_INIT_FRAME_DUMMY_ASM_OP, PA_JV_REGISTERCLASSES_STUB, DTOR_LIST_BEGIN): Define. * pa.c (TARGET_ASM_CONSTRUCTOR): Define. (pa_asm_out_constructor, pa_asm_out_destructor): New functions. * som.h (SUPPORTS_INIT_PRIORITY): Delete define. From-SVN: r60892
2002-12-26* config.gcc (powerpc*-*-*, rs6000-*-*): Fix assignment syntax.Andreas Schwab1-1/+1
From-SVN: r60519
2002-12-19config.gcc: Set extra_objs in the generic Darwin rule, not in the ↵Geoffrey Keating1-1/+1
machine-specific rules. * config.gcc: Set extra_objs in the generic Darwin rule, not in the machine-specific rules. From-SVN: r60282
2002-12-18t-rs6000: Move contents to t-fprules...Geoffrey Keating1-57/+45
* config/rs6000/t-rs6000: Move contents to t-fprules, add rules for dependencies of rs6000.o and to build rs6000-c.o * config/rs6000/t-fprules: New file from t-rs6000. * config/rs6000/t-beos: Remove soft-fp rules. * config/rs6000/t-ppccomm: Likewise. * config/rs6000/t-newas: Likewise. * config/rs6000/t-rs6000-c-rule: Delete. * config.gcc: Use t-fprules for rs6000/ ports when appropriate. Use t-rs6000 for all rs6000/ ports instead of t-rs6000-c-rule. Create generic Darwin rules. From-SVN: r60265
2002-12-16Merge basic-improvements-branch to trunkZack Weinberg1-99/+60
From-SVN: r60174
2002-12-09config.sub: Import from master repositorySvein E. Seldal1-2/+5
* config.sub: Import from master repository * config.guess: Ditto * MAINTAINERS: Added Svein Seldal under write after approval * gcc/config.gcc: Added tic4x-* target as an alias to c4x-* From-SVN: r59955
2002-11-29t-crtstuff: New target makefile fragment.Ulrich Weigand1-2/+2
* config/s390/t-crtstuff: New target makefile fragment. * config.gcc [s390-*-linux, s390x-*-linux]: Use it. From-SVN: r59641
2002-11-28config.gcc (x86_64-*-linux*): Remove i386/t-crtstuff.Jakub Jelinek1-1/+1
* config.gcc (x86_64-*-linux*) [tmake_file]: Remove i386/t-crtstuff. * config/t-linux (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS). * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Define. From-SVN: r59607
2002-11-28config.gcc (*-*-netbsd[2-9]*, [...]): Test for correct version.Krister Walfridsson1-1/+1
2002-11-27 Krister Walfridsson <cato@df.lth.se> * config.gcc (*-*-netbsd[2-9]*, *-*-netbsdelf[2-9]*): Test for correct version. From-SVN: r59592
2002-11-26config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with "netbsd.h ↵Jason Thorpe1-2/+2
netbsd-elf.h" in tm_file. * config.gcc (powerpc-*-netbsd*): Replace "svr4.h" with "netbsd.h netbsd-elf.h" in tm_file. Set tmake_file to "${tmake_file} rs6000/t-netbsd". * config/rs6000/netbsd.h: Rewrite. * config/rs6000/t-netbsd: New file. From-SVN: r59479
2002-11-24config.gcc (*-*-netbsd*1.[7-9]*, [...]): Set extra_parts to "crtbegin.o ↵Jason Thorpe1-0/+15
crtend.o crtbeginS.o crtendS.o crtbeginT.o". * config.gcc (*-*-netbsd*1.[7-9]*, *-*-netbsd*[2-9]*): Set extra_parts to "crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o". (arm*-*-netbsd*, i[34567]86-*-netbsd*, m68k*-*-netbsd*) (ns32k-*-netbsd*, sparc-*-netbsd*, vax-*-netbsd*): Set extra_parts to "" for a.out configurations. * config/t-netbsd (CRTSTUFF_T_CFLAGS): Set to "-fPIC". From-SVN: r59444
2002-11-21config.gcc (arm*-*-netbsdelf*): Enable configuration.Jason Thorpe1-1/+2
* config.gcc (arm*-*-netbsdelf*): Enable configuration. * config/arm/netbsd-elf.h: New file. From-SVN: r59359
2002-11-10pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16.John David Anglin1-3/+12
* pa.h (STARTING_FRAME_OFFSET): Change offset for TARGET_64BIT to 16. * config.gcc (hppa*64*-*-linux*): Shorten lines in tm_file define. (hppa*64*-*-hpux11*): Likewise. Use elfos.h with gas. * pa.c (output_millicode_call): Use symbol difference rather than $PIC_pcrel$0 when using HP assembler. * pa64-hpux.h (TARGET_GAS): Define to 1 or 0 depending on whether or not elfos.h (i.e., gas) is being used. (ASM_FILE_START, STRING_ASM_OP, TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON, ASM_OUTPUT_ALIGNED_LOCAL, GLOBAL_ASM_OP, ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL, ASM_OUTPUT_INTERNAL_LABEL, ASM_GENERATE_INTERNAL_LABEL): Define when using elfos.h. (TARGET_ASM_GLOBALIZE_LABEL): Undefine when using elfos.h. (DWARF2_ASM_LINE_DEBUG_INFO): Delete. (ASM_FILE_START): Add standard .SPACE and .SUBSPA defines when not using elfos.h. (TEXT_SECTION_ASM_OP, READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): New HP style defines when not using elfos.h. (TARGET_ASM_NAMED_SECTION, MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Don't define when not using elfos.h. (ASM_DECLARE_RESULT): Don't define. * doc/install.texi (hppa*-hp-hpux*): Remove statement that HP assembler doesn't work on hppa64-hp-hpux11. (hppa*-hp-hpux11): Update. From-SVN: r58967
2002-11-07Index: ChangeLogGeoffrey Keating1-4/+4
2002-11-05 Geoffrey Keating <geoffk@apple.com> * config.gcc: Don't create crtbegin, crtend on Darwin; do create crt2.o. Rearrange t-darwin makefiles. * crtstuff.c [OBJECT_FORMAT_MACHO]: Delete. * unwind-dw2-fde-darwin.c: New. * unwind-dw2-fde-glibc.c: Correct comment. * unwind-dw2-fde.c (__register_frame_info_bases) [DWARF2_OBJECT_END_PTR_EXTENSION]: Clear fde_end. (classify_object_over_fdes): Use last_fde. (add_fdes): Likewise. (linear_search_fdes): Likewise. * unwind-dw2-fde.h (struct object) [DWARF2_OBJECT_END_PTR_EXTENSION]: Add fde_end field. (last_fde): New. * config/darwin.h (STARTFILE_SPEC): Include crt2.o not crtbegin.o. (ENDFILE_SPEC): No crtend.o. * config/t-darwin: New. * config/i386/t-darwin: Delete. * config/darwin-crt2.c: New. * config/rs6000/t-darwin: Delete contents duplicated in t-rs6000 or config/t-darwin. Index: testsuite/ChangeLog 2002-11-05 Geoffrey Keating <geoffk@apple.com> * g++.old-deja/g++.eh/badalloc1.C: XFAIL excess errors test on Darwin. From-SVN: r58877
2002-10-28config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to tm_defines if ↵Jason Thorpe1-0/+1
pthreads are enabled. * config.gcc (*-*-netbsd*): Add NETBSD_ENABLE_PTHREADS to tm_defines if pthreads are enabled. * config/netbsd.h (LIB_SPEC): Only support the -pthread option if NETBSD_ENABLE_PTHREADS is defined. From-SVN: r58599
2002-10-24config.gcc (mips64vr-*-elf*, [...]): Add MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to ↵Richard Sandiford1-1/+1
$tm_defines. * config.gcc (mips64vr-*-elf*, mips64vrel-*-elf*): Add MIPS_MARCH_CONTROLS_SOFT_FLOAT=1 to $tm_defines. * config/mips/mips.c (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Default to 0. (override_options): Base default setting of MASK_SOFT_FLOAT on -march if MIPS_MARCH_CONTROLS_SOFT_FLOAT. From-SVN: r58488
2002-10-22config.gcc [...]: Remove s390/t-linux from tmake_file.Ulrich Weigand1-2/+2
* config.gcc [s390-*-linux]: Remove s390/t-linux from tmake_file. [s390x-*-linux*]: Likewise. * config/s390/t-linux: Remove. * config/s390/s390.h: Include fixdfdi.h when building libgcc2. From-SVN: r58416
2002-10-17config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines if using ↵Richard Sandiford1-0/+5
mips/elf.h or mips/elf64.h. * config.gcc (mips*-*-*): Add OBJECT_FORMAT_ELF to $tm_defines if using mips/elf.h or mips/elf64.h. * config/mips/elf.h (OBJECT_FORMAT_ELF): Remove. * config/mips/elf64.h (OBJECT_FORMAT_ELF): Remove. From-SVN: r58237
2002-10-10aix52.h: New file.David Edelsohn1-1/+9
* config/rs6000/aix52.h: New file. * config/rs6000/t-aix52: New File. * config.gcc (rs6000-ibm-aix5.1.*): New entry. (rs6000-ibm-aix[56789].*): Default to AIX 5.2. From-SVN: r58021
2002-10-03config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.Steve Ellcey1-0/+4
* config.gcc (hppa*64*-*-hpux11*): Check gnu_ld. * config/pa/pa.h (MASK_GNU_LD): New. (TARGET_GNU_LD): New. (TARGET_SWITCHES): New gnu-ld & no-gnu-ld flags. * config/pa/pa64-hpux.h (LINK_SPEC): Set based on gnu-ld and MASK_GNU_LD. From-SVN: r57792
2002-10-01[multiple changes]Jason Thorpe1-1/+2
2002-10-01 Matt Thomas <matt@3am-software.com> Jason Thorpe <thorpej@wasabisystems.com> * config.gcc (vax-*-netbsdelf*): Enable configuration. * config/elfos.h (PCC_BITFIELD_TYPE_MATTERS): Define only if not already defined. * config/vax/elf.h: New file. * config/vax/netbsd-elf.h: New file. * config/vax/vax.c: Include "debug.h". (vax_output_function_prologue): Add dwarf2 support. Use MAIN_NAME_P when checking for VMS_TARGET stack adjust. * config/vax/vax.h (CONST_OK_FOR_LETTER_P): Add cases for 'J' [0..63], 'K' [-128..127], 'L' [-32768..32767], 'M' [0..255], 'N' [0..65535], and, 'O' [-63..-1]. (VAX_ISTREAM_SYNC): Remove. (INITIALIZE_TRAMPOLINE): Use gen_sync_istream. (JUMP_TABLES_IN_TEXT_SECTION): Define. (ASM_OUTPUT_REG_POP): Use reg_names for the stack pointer. (ASM_OUTPUT_ADDR_VEC_ELT): Use ASM_GENERATE_INTERNAL_LABEL and assemble_name. (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. (PRINT_OPERAND_PUNCT_VALID_P): Accept '|'. (PRINT_OPERAND): Output REGISTER_PREFIX for '|'. (INCOMING_RETURN_ADDR_RTX): Define. * config/vax/vax.md (VUNSPEC_BLOCKAGE) (VUNSPEC_SYNC_ISTREAM): Define. (blockage): Use VUNSPEC_BLOCKAGE. (sync_istream): New insn. 2002-10-01 Richard Henderson <rth@redhat.com> * config/vax/vax.md (call_pop, *call_pop, call_value_pop) (*call_value_pop, call, call_value): Add dwarf2 EH support. (*call): New insn. From-SVN: r57702
2002-09-26Add x prefix to v850e case for handling --with-cpu=v850e.Nick Clifton1-1/+1
From-SVN: r57538
2002-09-16config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.Jeff Garzik1-1/+1
* config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx. * config/i386/i386.c (processor_alias_table): Add winchip-c6, winchip2 and c3. * doc/invoke.texi: Mention new aliases. From-SVN: r57227
2002-09-15ChangeLog: Follow spelling conventions.Kazu Hirata1-4/+4
* ChangeLog: Follow spelling conventions. * ChangeLog.0: Likewise. * ChangeLog.1: Likewise. * ChangeLog.2: Likewise. * ChangeLog.4: Likewise. * ChangeLog.6: Likewise. * config.gcc: Likewise. * dwarfout.c: Likewise. * reload1.c: Likewise. * simplify-rtx.c: Likewise. * unwind-sjlj.c: Likewise. * config/avr/avr.h: Likewise. * config/d30v/d30v.h: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.h: Likewise. * config/ip2k/ip2k.h: Likewise. * config/m88k/m88k-move.sh: Likewise. * config/stormy16/stormy16.c: Likewise. * config/stormy16/stormy16.h: Likewise. * doc/extend.texi: Likewise. * doc/interface.texi: Likewise. * doc/invoke.texi: Likewise. * doc/md.texi: Likewise. * doc/rtl.texi: Likewise. * doc/tm.texi: Likewise. * doc/trouble.texi: Likewise. * ginclude/float.h: Likewise. * treelang/treelang.texi: Likewise. From-SVN: r57179
2002-09-15config.gcc (*-*-netbsd*): Set thread_file to 'posix' for ↵Jason Thorpe1-0/+5
--enable-threads=yes and --enable-threads=posix. * config.gcc (*-*-netbsd*): Set thread_file to 'posix' for --enable-threads=yes and --enable-threads=posix. From-SVN: r57163