summaryrefslogtreecommitdiffstats
path: root/gcc/config.gcc
Commit message (Collapse)AuthorAgeFilesLines
...
* * config.gcc (hppa*64*-*-hpux11*): Use pa/pa-hpux1111.h forjsm282005-03-051-1/+1
| | | | | | | *-*-hpux11.[1-9]*, not just for *-*-hpux11.11. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95918 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/sh/linux.h (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX):kkojima2005-03-011-1/+1
| | | | | | | | | | | | | | Don't undefine here. (HANDLE_PRAGMA_PACK_PUSH_POP): Delete. (NO_IMPLICIT_EXTERN_C, CPLUSPLUS_CPP_SPEC): Likewise. (TARGET_OS_CPP_BUILTINS): Use LINUX_TARGET_OS_CPP_BUILTINS. (LIB_SPEC, LINK_EH_SPEC, STARTFILE_SPEC, ENDFILE_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED, TARGET_C99_FUNCTIONS): Delete. * config.gcc (sh*-*-linux*): Use config/linux.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95726 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (powerpc-*-darwin*): Use fragment for Darwin 8 or later.shebs2005-02-161-0/+5
| | | | | | | * config/rs6000/t-darwin8: New, for 64-bit multilib. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95118 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (*-*-darwin*): Separate darwin7 and darwin8 configs.geoffk2005-02-061-1/+3
| | | | | | | | * config/darwin8.h: New. * config/darwin7.h: Update comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94669 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-01 Segher Boessenkool <segher@kernel.crashing.org>segher2005-02-011-1/+2
| | | | | | | | * config.gcc (powerpc64-*-linux*): Default to -m64 also for specific 64-bit CPUs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94545 138bc75d-0d04-0410-961f-82ee72b054a4
* Thx to Eric Botcazou, Andrew Pinski and Mark Kettenis for this one.espie2005-01-311-2/+1
| | | | | | | | | | | | | | | | | | | | | | Turns out OpenBSD was mistakenly including an embedded system fragment, and thus outputting stabs debug by default. Once the only needed definition is saved from that file, we happily compile with default dwarf2. The rest of the toolchain is happy, and any recent gdb works very well with that... This obviously improves the stability of the compiler, since dwarf2 output is so much more well-tested than stabs on elf platforms... 2005-01-31 Marc Espie <espie@openbsd.org> * config.gcc: Don't include embedded systems fragment, switches default debugging format to ELF. * config/i386/openbsdelf.h: Add DBX_REGISTER_NUMBER since we no longer pick it up there. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94488 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (Obsolete configurations): Remove 'dummy', addebotcazou2005-01-271-1/+5
| | | | | | | | sparclite-*-coff*, sparclite-*-elf*, sparc86x-*-elf* and sparc-*-openbsd*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94313 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/19364ebotcazou2005-01-241-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc (sparc-*-elf*): Remove sol2.h, sparc/sol2.h and sparc/elf.h, add sparc/sp-elf.h. (sparc-*-rtems*): Likewise. (sparclite-*-elf*): Remove sol2.h, sparc/sol2.h, sparc/elf.h and tm-dwarf2.h, add sparc/sp-elf.h. (sparc86x-*-elf): Likewise. (sparc64-*-elf*): Remove sol2.h, sparc/sol2.h and tm-dwarf2.h. * config/sparc/liteelf.h (TARGET_SUB_OS_CPP_BUILTINS): Rename into TARGET_OS_CPP_BUILTINS. * config/sparc/sp86x-elf (TARGET_SUB_OS_CPP_BUILTINS): Likewise. * config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise. Undefine it. * config/sparc/openbsd64.h (NO_IMPLICIT_EXTERN_C): Undefine. * config/sparc/sp64-elf.h (NO_IMPLICIT_EXTERN_C): New macro. (SWITCH_TAKES_ARG): Likewise. (LOCAL_LABEL_PREFIX): Likewise. (ASM_GENERATE_INTERNAL_LABEL): Likewise. (TARGET_N_FORMAT_TYPES): Delete. (TARGET_FORMAT_TYPES): Likewise. (ASM_DECLARE_FUNCTION_SIZE): Likewise. * config/sparc/elf.h: Delete. * config/sparc/sp-elf.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94185 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (sparc-*-netbsdelf*): Include dbxelf.hebotcazou2005-01-211-5/+5
| | | | | | | | | | | | | | | | | | | | (sparc64-*-openbsd*): Likewise. (sparclite-*-elf*): Include tm-dwarf2.h. (sparc86x-*-elf*): Likewise. (sparc64-*-elf*): Likewise. * config/sparc/linux64.h (DWARF2_DEBUGGING_INFO): Delete. (DBX_DEBUGGING_INFO): Likewise. * config/sparc/liteelf.h (DWARF2_DEBUGGING_INFO): Likewise. (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/netbsd-elf.h (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/sp64-elf.h (DBX_DEBUGGING_INFO): Likewise. (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/sp86x-elf.h (DWARF2_DEBUGGING_INFO 1): Likewise. (PREFERRED_DEBUGGING_TYPE): Likewise. * config/sparc/sparc.h (DBX_DEBUGGING_INFO): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94011 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-01-19 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu2005-01-191-2/+2
| | | | | | | | | PR target/19529 * config/sh/t-rtems: New. * config.gcc (sh-*-rtems*): Reflect having added config/sh/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93921 138bc75d-0d04-0410-961f-82ee72b054a4
* * basic-block.h, c-common.c, c-cppbuiltin.c, c-lang.c,kazu2005-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | c-tree.h, cfgbuild.c, cgraph.c, cgraph.h, collect2.c, combine.c, config.gcc, coverage.h, cse.c, cselib.c, defaults.h, df.c, dwarf2asm.c, dwarf2out.c, explow.c, expr.c, flow.c, fold-const.c, gcse.c, ggc-page.c, gimple-low.c, gimplify.c, ifcvt.c, langhooks-def.h, lcm.c, optabs.h, output.h, postreload-gcse.c, postreload.c, recog.c, resource.c, rtl.def, rtlanal.c, sched-deps.c, sched-rgn.c, targhooks.h, toplev.c, tree-data-ref.c, tree-eh.c, tree-flow.h, tree-loop-linear.c, tree-mudflap.h, tree-nrv.c, tree-optimize.c, tree-outof-ssa.c, tree-pass.h, tree-scalar-evolution.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dse.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c, tree-ssa-pre.c, tree-ssa.c, tree-vectorizer.c, tree.def, unwind-dw2-fde-darwin.c, var-tracking.c: Update copyright. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93827 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips64*-*-linux*): Set the default abi to n32. Removersandifo2005-01-171-9/+1
| | | | | | | | | | | | | | redundant target_cpu_default and extra_parts lines. Use the default "from-abi" ISA. * config/mips/linux64.h (DRIVER_DEFAULT_ABI_SELF_SPEC): Delete. (SUBTARGET_EXTRA_SPECS): Delete. (DRIVER_SELF_SPECS): Remove architecture lines. Set the ABI directly. (SUBTARGET_ASM_SPEC): Remove -mabi=n32 and -mabi=64 mappings. * config/mips/t-linux64 (MULTILIB_DIRNAMES): Use "32" for -mabi=32 and "n32" for -mabi=n32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93777 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-01-11 Marc Espie <espie@openbsd.org>espie2005-01-151-1/+12
| | | | | | | | | | | | | | * config.gcc (*-*-openbsd*): Set HAS_LIBC_R for OpenBSD <= 3.2. (i[34567]86-*-openbsd*): Switch to ELF for OpenBSD >= 3.4. * config/openbsd.h: Fix C++ includes for native configurations. Add proper OS_CPP_BUILTINS. Fix libspec for recent OpenBSD. Add trampoline support. * config/i386/openbsdelf.h: New. okay Richard Earnshaw, Zack Weinberg, further changes in a separate patch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93694 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/jbeulich2004-12-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-22 Jan Beulich <jbeulich@novell.com> * config.gcc: Add dbxelf.h to NetWare's tm_file. * config/i386/netware-crt0.c: Prototype __init_environment and __deinit_environment prior to their definition. (__init_environment): Correct invokation of constructor function. * config/i386/netware.h (TARGET_OS_CPP_BUILTINS): Use builtin_define_std rather than builtin_define on IAPX386. * config/i386/nwld.h: Disable stabs debugging info with the linker this file supports. * config/i386/t-nwld (SHLIB_LINK): Do not use a temporary file for the output. Add -posix to the options as that is the more compatible mode. * gthr-nks.h: Formatting. (__gthread_mutex_init_function): Kill the dubious use of NX_MUTEX_RECURSIVE as it is now clear that the traditional mutexes were not meant to be recursive. (__gthread_recursive_mutex_t, __GTHREAD_RECURSIVE_MUTEX_INIT_FUNCTION, __gthread_recursive_mutex_init_function, __gthread_recursive_mutex_lock, __gthread_recursive_mutex_trylock, __gthread_recursive_mutex_unlock): New. gcc/testsuite/ 2004-12-22 Jan Beulich <jbeulich@novell.com> * gcc.dg/20040813-1.c: Skip for *-*-netware*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92488 138bc75d-0d04-0410-961f-82ee72b054a4
* Changes for k*bsd-gnu support.gerald2004-11-261-1/+5
| | | | | | | | | | | * config/i386/linux.h: Define REG_NAME to allow overriding of register names in sc structure. * config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead of sc->reg. * config.gcc: Detect x86_64-k*bsd-gnu systems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91350 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-25 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu2004-11-251-1/+1
| | | | | | | * config.gcc (avr-*-rtems*): Fix typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91274 138bc75d-0d04-0410-961f-82ee72b054a4
* Oops - forgot to commit the change to config.gcc when checking in this patch:nickc2004-11-241-2/+2
| | | | | | | | | | | | | 2004-11-22 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> * config.gcc: Use t-slibgcc-elf to build libgcc_s.so on m32r*linux. * config/m32r/t-linux (SHLIB_MAPFILES): Override to use m32r/libgcc-glibc.ver. * config/m32r/libgcc-glibc.ver: Add New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91143 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu2004-11-231-1/+1
| | | | | | | | * config/c4x/t-rtems: New. * config.gcc: Reflect having added c4x/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91082 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu2004-11-231-1/+1
| | | | | | | * config.gcc (h8300-*-rtems*): Use h8300/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91079 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu2004-11-231-1/+1
| | | | | | | | * config/arm/t-rtems: New. * config.gcc: Reflect having added arm/t-rtems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91076 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu2004-11-231-0/+4
| | | | | | | | | * config.gcc: Add avr-*-rtems*. * config/avr/t-rtems: New. * config/avr/rtems.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91071 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/18444ebotcazou2004-11-221-6/+38
| | | | | | | | | | | | | | | * configure.ac (threading): Accept 'posix95'. * configure: Regenerate. * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6, include sol26.h and default to posix95 threads if have_pthread_h. (sparc-*-solaris2*): Likewise. * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined. * gthr-posix95.h: New file. * config/sol26.h: New file. * doc/install.texi (--enable-threads): Document 'posix95'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91041 138bc75d-0d04-0410-961f-82ee72b054a4
* libcpp:jsm282004-11-181-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * configure.ac (i[34567]86-*-solaris2.1[0-9]*): Set need_64bit_hwint=yes. * configure: Regenerate. gcc: 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * config/i386/sol2-10.h, config/i386/t-sol2-10: New files. * config/i386/i386.c (i386_solaris_elf_named_section): New function. * config.gcc (i[34567]86-*-solaris2*): Handle Solaris 2.10. * config/i386/sol2.h (ASM_PREFERRED_EH_DATA_FORMAT): Handle 64-bit. (ASM_QUAD): Don't undefine for biarch targets. * config/i386/t-sol2: Introduce multilib support. gcc/testsuite: 2004-11-18 Daniel Jacobowitz <dan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> * testsuite/gcc.dg/pragma-init-fini-2.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90839 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Add support for --enable-e500_double.aldyh2004-10-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/rs6000/e500-double.h: New file. * config/rs6000/rs6000.h: Define TARGET_E500_SINGLE and TARGET_E500_DOUBLE. * config/rs6000/eabi.h: Define TARGET_E500_SINGLE and TARGET_E500_DOUBLE. * config/rs6000/linuxspe.h: Same. * doc/invoke.texi (Option Summary): Document new options for mfloat-gprs. (RS/6000 and PowerPC Options): Same. * config/rs6000/rs6000.c (rs6000_parse_float_gprs_option): New function. (rs6000_override_options): Use it. Use SUB3TARGET_OVERRIDE_OPTIONS. Add 8548 to processor_target_table. (rs6000_legitimate_address): Handle e500 doubles. (rs6000_legitimize_address): Same. (rs6000_legitimize_reload_address): Same. (rs6000_hard_regno_nregs): Same. (spe_func_has_64bit_regs_p): Same. (emit_frame_save): Same. (gen_frame_mem_offset): Same. (rs6000_dwarf_register_span): Same. (rs6000_generate_compare): Same. (easy_fp_constant): Same. (legitimate_offset_address_p): Same. * config/rs6000/spe.md: (cmdfeq_gpr): New. (tstdfeq_gpr): New. (cmpdfgt_gpr): New. (tstdfgt_gpr): New. (tstdfgt_gpr): New. (cmpdflt_gpr): New. (tstdflt_gpr): New. Add new constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89416 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Add armv6{k,z,zk}pbrook2004-10-121-1/+2
| | | | | | | | | | | | | * config/arm/arm-cores.def: Add arm1176 and mpcore. * config/arm/tune.md: Regenerate. * config/arm/arm.c (FL_FOR_ARCH6K, FL_FOR_ARCH6Z, FL_FOR_ARCH6ZK): Define. (all_architectures): Add armv6k, armv6z, armv6zk. * config/arm/lib1funcs.asm: Recognise new arm arcitectures. * doc/invoke.texi: Document new arch and cpu values. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88937 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/17443ebotcazou2004-10-031-9/+6
| | | | | | | | | | * config.gcc (i?86-*-solaris2*): Restore correct logic for --enable-threads option. (sparc64-*-solaris2*): Likewise. (sparc-*-solaris2*): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88442 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (sparc64-*-solaris2*): Include sparc/sol2-gas.hebotcazou2004-09-241-1/+4
| | | | | | | | | | | | | | if the GNU assembler is used. (sparc-*-solaris2*): Likewise. * dbxout.c (NO_DBX_BNSYM_ENSYM): Default to zero. (dbxout_function_end): Protect N_ENSYM with it. (dbxout_begin_prologue): Protect N_BNSYM with it. * doc/tm.texi (NO_DBX_BNSYM_ENSYM): Document it. * config/sparc/sol2.h (NO_DBX_BNSYM_ENSYM): Define to 1. * config/sparc/sol2-gas.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88013 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-23 P.J. Darcy <darcypj@us.ibm.com>uweigand2004-09-231-0/+1
| | | | | | | | | | | | | | | | | gcc/ChangeLog: * gthr-tpf.h: New file. * config.gcc (s390x-ibm-tpf*): Add thread_file='tpf'. * gthr.h: Use gthr-tpf.h on TPF OS. libstdc++-v3/ChangeLog: * include/Makefile.am (thread_host_headers): Add gthr-tpf.h. Add rule to build ${host_builddir}/gthr-tpf.h. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87982 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Do not build a shared libgcc for arm-none-eabi.mmitchel2004-09-141-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87504 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-07 David Daney <ddaney@avtrex.com>daney2004-09-071-2/+11
| | | | | | | | | | | | | | | | | | * config.gcc: Added support for --with-divide=[breaks|traps] for mips targets. * config/mips/mips.h (MASK_DIVIDE_BREAKS): New target_flags bit. (TARGET_DIVIDE_TRAPS): New macro. (TARGET_SWITCHES): Added -mdivide-traps and -mdivide-breaks. (OPTION_DEFAULT_SPECS): Added --with-divide= support. * config/mips/mips.c (mips_idiv_insns): Generate proper count on GENERATE_DIVIDE_TRAPS. (mips_output_division): Emit conditional trap if GENERATE_DIVIDE_TRAPS is set. * doc/install.texi: Document --with-divide. * doc/invoke.texi: Document -mdivide-traps and -mdivide-breaks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87153 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-03 H.J. Lu <hongjiu.lu@intel.com>hjl2004-09-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR target/14925: Makefile.in (LIB2ADDEHSTATIC): New. (LIB2ADDEHSHARED): New. (LIBUNWIND): New. (LIBUNWINDDEP): New. (SHLIBUNWIND_LINK): New. (SHLIBUNWIND_INSTALL): New. (libgcc.mk): Pass LIB2ADDEHSTATIC, LIB2ADDEHSHARED, LIBUNWIND, LIBUNWINDDEP, SHLIBUNWIND_LINK and SHLIBUNWIND_INSTALL. (clean): Remove libunwind* (stage1-start): Remove and copy stage1/libunwind*. (stage2-start): Remove and copy stage2/libunwind*. (stage3-start): Remove and copy stage3/libunwind*. (stage4-start): Remove and copy stage4/libunwind*. (stageprofile-start): Remove and copy stageprofile/libunwind*. (stagefeedback-start): Remove and copy stagefeedback/libunwind*. * config.gcc (ia64*-*-linux*): Always add t-libunwind to tmake_file. Add t-libunwind-elf and ia64/t-glibc-libunwind to tmake_file if --with-system-libunwind isn't used. * config/ia64/t-glibc-libunwind: New file. * config/t-libunwind-elf: Likewise. * unwind-compat.c: Likewise. * unwind-compat.h: Likewise. * unwind-dw2-fde-compat.c: Likewise. * config/ia64/t-glibc (LIB2ADDEH): Updated. * config/ia64/t-hpux (T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS. * config/ia64/unwind-ia64.c: Include "unwind-compat.h". Define aliases if needed. * unwind-dw2-fde-glibc.c: Likewise. * unwind-dw2.c: Likewise. * config/t-libunwind (LIB2ADDEH): Updated. (LIB2ADDEHSTATIC): New. (T_CFLAGS): Add -DUSE_LIBUNWIND_EXCEPTIONS. (TARGET_LIBGCC2_CFLAGS): Set to -DUSE_GAS_SYMVER. * configure.ac: Change --enable-libunwind-exceptions to --with-system-libunwind. Don't define USE_LIBUNWIND_EXCEPTIONS. * configure: Regenerated. * config.in: Updated. * doc/install.texi (ia64-*-linux): Require libunwind 0.98 or above and mention --with-system-libunwind. (ia64-*-hpux*): Mention --enable-libunwind-exceptions is removed in gcc 3.4.3 and later. * gcc.c (init_spec): Add -lunwind to -lgcc_s if USE_LIBUNWIND_EXCEPTIONS is defined. * mklibgcc.in: Support libunwind. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87066 138bc75d-0d04-0410-961f-82ee72b054a4
* /rth2004-09-031-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware, but add target-libmudflap. Consolidate *-*-netware targets (of which really only i?86 exists) into a single entry. * configure: Likewise. gcc/ * config.gcc: Resurrect NetWare as a target. Handle special case of Novell linker to be used (specified through --with-ld=) and threading model of either Posix (default) or NKS. * config/i386/i386.c (ix86_return_pops_args): Conditionalize popping of incoming hidden argument on KEEP_AGGREGATE_RETURN_POINTER. * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): New. * config/i386/netware.c, config/i386/netware.h: New. * config/i386/nwld.c, config/i386/nwld.h: New. * config/i386/netware-crt0.c: New. * config/i386/netware-libgcc.c: New. * config/i386/netware-libgcc.def: New. * config/i386/netware-libgcc.exp: New. * config/i386/t-netware, config/i386/t-nwld: New. * gthr-nks.h: New. * doc/install.texi: Document NKS threading model. gcc/cp/ * g++spec.c (MATH_LIBRARY_PROFILE): Default to MATH_LIBRARY rather than "-lm". gcc/testsuite/ * g++.dg/abi/bitfield5.C: Use -mno-ms-bitfields. * g++.old-deja/g++.jason/thunk2.C: xfail for NetWare. * g++.old-deja/g++.law/profile1.C: xfail for NetWare. * g++.old-deja/g++.other/store-expr1.C: xfail for NetWare. * gcc.c-torture/compile/20001109-1.c: xfail for NetWare. * gcc.c-torture/compile/20001109-2.c: xfail for NetWare. * gcc.c-torture/execute/multi-ix.c: Use __builtin_bzero rather than the non-portable bzero. * gcc.dg/20010912-1.c: xfail for NetWare. * gcc.dg/20020426-2.c: xfail for NetWare. * gcc.dg/20021014-1.c: xfail for NetWare. * gcc.dg/20021018-1.c: xfail for NetWare. * gcc.dg/20030213-1.c: xfail for NetWare. * gcc.dg/20030225-1.c: xfail for NetWare. * gcc.dg/20030708-1.c: xfail for NetWare. * gcc.dg/builtins-config.h: Also exclude NetWare. * gcc.dg/format/format.h: Define restrict only if not already defined. * gcc.dg/nest.c: xfail for NetWare. * gcc.dg/special/gcsec-1.c: Don't pass -static for NetWare. * lib/target-supports.exp (check_visibility_available): Exclude NetWare. fixincludes/ * inclhack.def: Suppress exception_structure and math_exception for NetWare headers. * fixincl.x: Regenerate. libstdc++-v3/ * crossconfig.m4: Add NetWare as a target. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87040 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (arm*-*-eabi* | arm*-*-symbianelf*): Setpbrook2004-09-021-0/+1
| | | | | | | default_use_cxa_atexit=yes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86964 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (--with-cpu on ARM): Preserve the canonical cpu namerearnsha2004-09-011-11/+7
| | | | | | | | for use in configargs.h. Put the cname in a separate variable. Use that to set target_cpu_default2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86903 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm/arm-cores.def (ARM_CORE): Add new field for the real name of therearnsha2004-09-011-1/+7
| | | | | | | | | | | | | | CPU. (arm7tdmi-s): New CPU name. * arm/arm.c (ARM_CORE): Update for new format. * arm/arm.h (ARM_CORE): Likewise. * arm/gentune.sh: Update for extra field. * config.gcc: Likewise. * arm/arm-tune.md: Regenerate. * doc/invoke.texi: Document the real processor names for ARM cpus. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86884 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (arm*-*-symbianelf*): Do not include t-bpabi.mmitchel2004-09-011-1/+6
| | | | | | | | | | | * config/arm/lib1funcs.asm: Do not include supplemental .S files when compiling for Symbian. * config/arm/symbian.h (RENAME_LIBRARY): New macro. (TARGET_OS_CPP_BUILTINS): Likewise. * config/arm/t-symbian (LIB1ASMFUNCS): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86875 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/17005 (fix for HP-UX 11.11)danglin2004-08-251-47/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.gcc (hppa*-*-*): Move MASK_BIG_SWITCH to target_cpu_default2. (hppa*-*-hpux*): Consolidate hppa1.0-*-* code. Rework handling of tm_file including pa-hpux1010.h or pa-hpux1111.h when appropriate. * config/pa/pa-hpux1010.h, config/pa/pa-hpux1111.h: New files. * config/pa/pa-hpux.h (TARGET_HPUX): Define. (LINK_SPEC): Handle march=1.0 option. * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Predefine _XOPEN_UNIX and _XOPEN_SOURCE_EXTENDED for UNIX 95. (SUBTARGET_OPTIONS): New define. (LINK_SPEC): Handle march=1.0 option. (STARTFILE_SPEC): New define. * config/pa/pa-hpux11.h (TARGET_OS_CPP_BUILTINS): Predefine _XOPEN_UNIX and _XOPEN_SOURCE_EXTENDED for UNIX 95. Additionally, predefine _INCLUDE__STDC_A1_SOURCE and _INCLUDE_XOPEN_SOURCE_500 for UNIX 98. (SUBTARGET_OPTIONS): New define. (LINK_SPEC): Handle march=1.0 option. (STARTFILE_SPEC): New define. * config/pa/pa.c (override_options): Add code to process -munix= option. * config/pa/pa.h (pa_unix_string, flag_pa_unix): Declare. (TARGET_HPUX, TARGET_HPUX_10_10, TARGET_HPUX_11_11): Provide default defines. (TARGET_OPTIONS): Add SUBTARGET_OPTIONS to option list. (SUBTARGET_OPTIONS): Provide default define. * config/pa/pa64-hpux.h (STANDARD_STARTFILE_PREFIX_1, STANDARD_STARTFILE_PREFIX_2): New defines. (STARTFILE_SPEC): Provide unix95.o or unix98.o startfiles as necessary. (ENDFILE_SPEC): Use %O. * doc/install.texi (hppa*-*-hpux*): Reword paragraph on -g and gas. Mention issue caused by changing namespace and runtime to UNIX 95/98. * doc/invoke.texi (HPPA options): Move misplaced text to FRV options. Document -munix=std option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86561 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips-*-*): Remove definitions of MASK_GAS andrsandifo2004-08-231-34/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OBJECT_FORMAT_ELF. Set MASK_SPLIT_ADDR by default if using GNU ld. * config/mips/mips.h (MASK_GAS): Delete. Shuffle later masks down. (TARGET_GAS, TARGET_MIPS_AS): Delete. (TARGET_GPWORD): Define to true for n32 on IRIX. (TARGET_SWITCHES): Remove -mmips-as. Turn -mgas into a no-op. (MIPS_AS_ASM_SPEC, SUBTARGET_MIPS_AS_ASM_SPEC): Delete. (GAS_ASM_SPEC): Delete, folding into ASM_SPEC. (ASM_ABI_DEFAULT_SPEC, TARGET_ASM_SPEC): Delete. (MDEBUG_ASM_SPEC): Delete, folding into... (SUBTARGET_ASM_DEBUGGING_SPEC): ...here. (ASM_SPEC): Inline old GAS_ASM_SPEC. Use GNU names for ABI switches. (EXTRA_SPECS): Remove mips_as_asm_spec, gas_asm_spec, target_asm_spec, subtarget_mips_as_asm_spec, mdebug_asm_spec. Use MULTILIB_ABI_DEFAULT to define asm_abi_default_spec. (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP): Delete. (TARGET_ASM_SELECT_SECTION): Delete. * config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): Define to 0x7ff0 for non-mips16 code, removing previous workaround for SGI assemblers. (TARGET_ASM_INTEGER, mips_assemble_integer): Delete. (TARGET_ASM_ALIGNED_DI_OP): Define this instead. (override_options): Remove !TARGET_GAS and !have_named_sections code. (print_operand): Fold TARGET_GAS conditionals into asm strings. (mips_output_filename): Remove !TARGET_GAS code. Replace use of ASM_STABS_OP and ASM_STABN_OP. (mips_file_start): Remove TARGET_MIPS_AS/TARGET_GAS checks. (mips_output_aligned_decl_common): Remove mention of SGI o32 assembler. (mips_output_function_prologue): Remove !TARGET_GAS code. (mips_select_rtx_section): Remove !have_named_sections code. (mips_select_section): Delete. * config/mips/mips.md (trap): Remove !TARGET_GAS check. * config/mips/linux.h (TARGET_DEFAULT): Remove use of MASK_GAS. * config/mips/sdb.h (PUT_SDB_DEF, PUT_SDB_PLAIN_DEF): Delete. (PUT_SDB_BLOCK_START, PUT_SDB_BLOCK_END): Fold TARGET_GAS conditional. * config/mips/vxworks.h (ASM_SPEC): As for mips.h. * config/mips/windiss.h (ASM_SPEC): Likewise. testsuite/ * gcc.dg/special/mips-abi.exp: Expect gcc to pass the GNU ABI flags to the assembler. Simplify test accordingly. (asm_abi_flags): Use GNU names. (check_mips_abi, default_abi): Use string matches against "-mabi=*" to check for ABI flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86405 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (arm*-*-symbianelf*): Add t-symbian Makefilemmitchel2004-08-201-1/+2
| | | | | | | | | | | | | | fragment. * config/arm/bpabi.h (RENAME_LIBRARY_SET): Fix typo. (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=3 to the assembler. * config/arm/symbian.h (SUBTARGET_CPU_DEFAULT): Assume ARMV5 architecture. (SUBTARGET_ASM_FLOAT_SPEC): Default to -mfpu=vfp for hard-float configurations. * config/arm/t-symbian: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86338 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac (mips*-*-*): Print an error if not using GAS.rsandifo2004-08-201-58/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerated. * doc/install.texi: Remove irix5 bullet from --with-gnu-as. Remove comments about buggy MIPSpro assemblers. * config.gcc (mips-sgi-irix[56]*): Combine stanzas. Include elfos.h before mips.h and iris.h after it. Use t-iris and t-slibgcc-irix. Use iris5.h only for IRIX 5 configs. Use iris6.h and t-iris6 for IRIX 6 configs. Define IRIX_USING_GNU_LD if using GNU ld. * config/mips/iris5.h (TARGET_IRIX, SWITCHES_NEED_SPACES) (DEFAULT_SIGNED_CHAR, WORD_SWITCH_TAKES_ARG, SUBTARGET_CC1_SPEC) (NO_IMPLICIT_EXTERN_C, MIPS_DEFAULT_GVALUE) (TARGET_ASM_EXTERNAL_LIBCALL): Move to iris.h. (WCHAR_TYPE, WCHAR_TYPE_SIZE, TARGET_OS_CPP_BUILTINS): Delete in favor of more general IRIX 6 definitions. (OBJECT_FORMAT_ELF, ASM_OUTPUT_ASCII, ASM_WEAKEN_LABEL) (HANDLE_SYSV_PRAGMA): Delete in favor of elfos.h definitions. (TARGET_IRIX5, ABICALLS_ASM_OP, BSS_SECTION_ASM_OP, HAS_INIT_SECTION) (LD_INIT_SWITCH, LD_FINI_SWITCH, SUBTARGET_ASM_OPTIMIZING_SPEC) (ASM_FINAL_SPEC, DBX_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) (PREFERRED_DEBUGGING_TYPE, DWARF2_UNWIND_INFO, SET_FILE_NUMBER) (LABEL_AFTER_LOC, DOLLARS_IN_IDENTIFIERS, NO_DOLLAR_IN_LABEL) (TARGET_ASM_NAMED_SECTION, EXTRA_SECTION_FUNCTIONS) (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_WEAK_ALIAS) (SUBTARGET_EXTRA_SPECS): Delete definitions or undefs. (LINK_SPEC): Move most of definition to iris.h. (SUBTARGET_LINK_SPEC): New macro. (IRIX_STARTFILE_SPEC): Fold into... (STARTFILE_SPEC): ...here. (IRIX_ENDFILE_SPEC): Fold into... (ENDFILE_SPEC): ...here. * config/mips/iris6.h (TARGET_IRIX5): Remove override. (WCHAR_TYPE, WCHAR_TYPE_SIZE, WINT_TYPE, WINT_TYPE_SIZE) (DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE, SET_ASM_OP) (LINK_ELIMINATE_DUPLICATE_LDIRECTORIES, ASM_DECLARE_OBJECT_NAME) (ASM_FINISH_DECLARE_OBJECT, LOCAL_LABEL_PREFIX): Move to iris.h. (TARGET_OS_CPP_BUILTINS): Likewise. Guard IRIX6-specific bits. (DWARF2_UNWIND_INFO, DWARF2_GENERATE_TEXT_SECTION_LABEL) (SUBTARGET_CPP_SPEC, DWARF2_DEBUGGING_INFO, MIPS_DEBUGGING_INFO) (PREFERRED_DEBUGGING_TYPE, DWARF2_FRAME_INFO, MD_EXEC_PREFIX) (ASM_DECLARE_FUNCTION_NAME, ASM_DECLARE_FUNCTION_SIZE) (FUNCTION_NAME_ALREADY_DECLARED, SUPPORTS_INIT_PRIORITY) (POPSECTION_ASM_OP, SUBTARGET_ASM_SPEC, SUBTARGET_MIPS_AS_ASM_SPEC) (SUBTARGET_ASM_DEBUGGING_SPEC, SUBTARGET_ASM_OPTIMIZING_SPEC) (BSS_SECTION_ASM_OP*, READONLY_DATA_SECTION_ASM_OP*) (EH_FRAME_SECTION_NAME, MUST_USE_SJLJ_EXCEPTIONS, CTORS_SECTION_ASM_OP) (DTORS_SECTION_ASM_OP, TARGET_ASM_NAMED_SECTION, EH_FRAME_SECTION_NAME) (ASM_OUTPUT_ALIGN, ASM_OUTPUT_FILENAME, ASM_OUTPUT_ALIGNED_LOCAL) (ASM_OUTPUT_ALIGNED_BSS): Remove definitions or undefs. (TARGET_IRIX6): Define to 1. (DRIVER_SELF_SPECS): Define. (DWARF2_FRAME_INFO): Define to 1 rather than !TARGET_SGI_O32_AS. (SUBTARGET_CC1_SPEC): Remove in favor of DRIVER_SELF_SPECS. (SUBTARGET_LINK_SPEC): New macro. (IRIX_STARTFILE_SPEC): Fold into... (STARTFILE_SPEC): ...here. Remove !mabi=* case. (SUBTARGET_{,DONT_}WARN_UNUSED_SPEC): New macros. (LIB_SPEC, LIBGCC_SPEC): Use them. (LIB_SPEC): Remove !mabi=* case. (IRIX_ENDFILE_SPEC): Fold into... (ENDFILE_SPEC): ...here. Remove !mabi=* case. * config/mips/mips-protos.h (irix_output_external_libcall): Delete. * config/mips/mips.h (TARGET_IRIX5, TARGET_SGI_O32_AS): Delete. (TARGET_IRIX6): New macro. (ASM_ABI_DEFAULT_SPEC): Remove !ELF definition. (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX, SET_FILE_NUMBER) (LABEL_AFTER_LOC): Delete. * config/mips/mips.c (TARGET_ASM_FILE_START, TARGET_ASM_FILE_END) (TARGET_SECTION_TYPE_FLAGS): Remove TARGET_IRIX versions. (mips_build_builtin_va_list): Check TARGET_IRIX6. (override_options): Remove TARGET_SGI_O32_AS-related code. (irix_output_external_libcall): Make static. (mips_output_filename): Avoid use of SET_FILE_NUMBER and LABEL_AFTER_LOC. (mips_file_start): Tidy guard for ABI sections. Remove use of ABICALLS_ASM_OP; use .abicalls instead. (mips_output_aligned_decl_common, mips_declare_object_name) (mips_finish_declare_object): Remove use of TARGET_SGI_O32_AS. (mips_output_function_prologue): Set TREE_ASM_WRITTEN if emitting .globl foo .text directives. (irix_asm_named_section_1, irix_asm_named_section) (irix_section_align_entry, irix_section_align_htab) (irix_orig_asm_out_file, irix_section_align_entry_eq) (irix_section_align_entry_hash, irix_asm_output_align) (irix_file_start, irix_section_align_1, copy_file_data) (irix_file_end, irix_section_type_flags): Delete. * config/mips/irix-crti.asm (__gcc_init): Move to .gcc_init section. Use standard section syntax. Remove protective "jr $31". (__gcc_fini): Likewise .gcc_fini. * config/mips/irix-crtn.asm: Adjust sections accordingly. * config/mips/sdb.h (PUT_SDB_SIZE, PUT_SDB_TYPE): Moved from iris5gas.h. * config/mips/t-iris (irix-crti.o, irix-crtn.o): New rules, moved from t-irix-gld. (EXTRA_MULTILIB_PARTS): Define. * config/mips/t-iris6: Remove bogus comment. (EXTRA_MULTILIB_PARTS, CRTSTUFF_T_CFLAGS): Delete. * config/mips/iris5gas.h, config/mips/iris5gld.h, config/mips/iris6gas.h, config/mips/iris6gld.h, config/mips/t-iris5-as, config/mips/t-iris5-gas config/mips/t-irix-gld: Delete. * config/mips/iris.h: New file. * config/mips/t-slibgcc-irix: Renamed from t-iris5-6. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86309 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (arm*-*-eabi*): New target.mmitchel2004-08-111-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerate. * configure.ac (arm*-*-eabi*): New target. (arm*-*-symbianelf*): Likewise. * configure: Regenerated. * config.gcc (arm*-*-eabi*): New target. * defaults.h (TARGET_LIBGCC_FUNCS): New macro. (TARGET_LIB_INT_CMP_BIASED): Likewise. * expmed.c (expand_divmod): Try a two-valued divmod function as a last resort. * gthr.h: Remove bogus tokens at end of #pragma. * optabs.c (expand_twoval_binop_libfunc): New function. (prepare_cmp_insn): Handle the !TARGET_LIB_INT_CMP_BIASED case. (prepare_float_lib_cmp): Try reversing the condition. (debug_optab_libfuncs): New function. * optabs.h (expand_twoval_binop_libfunc): Declare. * config/arm/arm.c (arm_init_libfuncs): New function. (arm_compute_initial_eliminatino_offset): Return HOST_WIDE_INT. (TARGET_INIT_LIBFUNCS): Define it. * config/arm/arm.h (TARGET_BPABI): New macro. * config/arm/arm-protos.h (arm_compute_initial_elimination_offset): Return HOST_WIDE_INT. * config/arm/bpabi.S: New file. * config/arm/bpabi.c: Likewise. * config/arm/bpabi.h: Likewise. * config/arm/ieee754-df.S (__aeabi_dneg): New function or alias. (__aeabi_drsub): Likewise. (__aeabi_dsub): Likewise. (__aeabi_dadd): Likewise. (__aeabi_ui2d): Likewise. (__aeabi_i2d): Likewise. (__aeabi_f2d): Likewise. (__aeabi_dmul): Likewise. (__aeabi_ddiv): Likewise. (__aeabi_cdrcmple): Likewise. (__aeabi_cdcmpeq): Likewise. (__aeabi_cdcmple): Likewise. (__aeabi_dcmpeq): Likewise. (__aeabi_dcmplt): Likewise. (__aeabi_dcmple): Likewise. (__aeabi_dcmpge): Likewise. (__aeabi_dcmpgt): Likewise. (__aeabi_dcmpun): Likewise. (__aeabi_d2iz): Likewise. (__aeabi_d2uiz): Likewise. (__aeabi_d2f): Likewise. * config/arm/ieee754-sf.S (__aeabi_fneg): New function or alias. (__aeabi_frsub): Likewise. (__aeabi_fsub): Likewise. (__aeabi_fadd): Likewise. (__aeabi_ui2f): Likewise. (__aeabi_i2f): Likewise. (__aeabi_fmul): Likewise. (__aeabi_fdiv): Likewise. (__aeabi_cfrcmple): Likewise. (__aeabi_cfcmpeq): Likewise. (__aeabi_cfcmple): Likewise. (__aeabi_fcmpeq): Likewise. (__aeabi_fcmplt): Likewise. (__aeabi_fcmple): Likewise. (__aeabi_fcmpge): Likewise. (__aeabi_fcmpgt): Likewise. (__aeabi_fcmpun): Likewise. (__aeabi_f2iz): Likewise. (__aeabi_f2uiz): Likewise. * config/arm/lib1funcs.asm (ARM_CALL): New macro. (__aeabi_uidivmod): New function or alias. (__aeabi_idivmod): Likewise. (__aeabi_idiv0): Likewise. (__aeabi_ldiv0): Likewise. (__aeabi_llsr): Likewise. (__aeabi_lasr): Likewise. (__aeabi_llsl): Likewise. (bpabi.S): Include it. * config/arm/libgcc-bpabi.ver: New file. * config/arm/symbian.h (ARM_DEFAULT_ABI): Remove. (LINK_SPEC): Remove. * config/arm/t-arm-elf (LIB1ASMFUNCS): Add __aeabi_lcmp and __aeabi_ulcmp. * config/arm/t-bpabi: New file. * doc/tm.texi (TARGET_LIBGCC_FUNCS): New entry. (TARGET_LIB_INT_CMP_BIASED): Likewise. * gcc.dg/testsuite/gcc.dg/arm-eabi1.c: New test. * gcc.dg/dll-2.c: Fix dg-require syntax. * gcc.misc-tests/arm-isr.c (abort): Declare. (exit): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85788 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (case i[34567]86-*-lynxos*): Update to LynxOS 4.0.nemet2004-08-051-13/+16
| | | | | | | | | | | | | | | | | | | (case rs6000-*-lynxos*): Rename it to powerpc-*-lynxos*. Update to LynxOS 4.0. * gthr-lynx.h: New file. * config/lynx-ng.h: Remove file. * config/lynx.h: Update to LynxOS 4.0. * config/t-lynx: New file. * config/i386/lynx-ng.h: Remove file. * config/i386/lynx.h: Update to LynxOS 4.0. * config/rs6000/lynxbase.h: Remove file. * config/rs6000/lynx.h: Update to LynxOS 4.0. * config/rs6000/t-lynx: New file. * doc/install.texi (Options specification): Remove reference to LynxOS from systems where --with-gnu-as makes a difference. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85591 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/hjl2004-08-031-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> PR target/16570 * config.gcc (i[34567]86-*-* | x86_64-*-*): Add i386/t-gmm_malloc to tmake_file. (i[34567]86-*-linux*aout* | i[34567]86-*-linux*libc1): Likewise. (i[34567]86-*-linux* | x86_64-*-linux*): Add i386/t-pmm_malloc to tmake_file. * config/i386/t-gmm_malloc: New file. * config/i386/t-pmm_malloc: Likewise. * config/i386/xmmintrin.h: Include <mm_malloc.h>. 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> Tanguy Fautr� <tfautre@pandora.be> * config/i386/pmm_malloc.h: New file. 2004-08-03 Danny Smith <dannysmith@users.sourceforge.net> * config/i386/gmm_malloc.h: New file. gcc/testsuite/ 2004-08-03 H.J. Lu <hongjiu.lu@intel.com> PR target/16570 * gcc.dg/i386-sse-9.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85496 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (arm*-*-symbianelf*): New target.mmitchel2004-08-031-0/+4
| | | | | | | * config/arm/symbian.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85490 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (strongarm-*, xscale-*): Add t-arm to tmake_files.rearnsha2004-08-031-8/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85487 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm/gentune.sh: New file.rearnsha2004-08-031-14/+14
| | | | | | | | | | * arm/t-arm: New file. * arm/arm-tune.md: New file (autogenerated). * config.gcc (arm*-*-*): Add t-arm to tmake_file for all variants. * arm.md (attribute tune): Delete. Include arm-tune.md. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85472 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (mips*-*-elf*, mips*-*-rtems*): Add elfos.h to tm_file.rsandifo2004-08-021-12/+12
| | | | | | | | | | | | | | Replace uses of mips/elf64.h with mips/elf.h * config/mips/elf.h (MAX_OFILE_ALIGNMENT, TARGET_ASM_NAMED_SECTION) (TYPE_OPERAND_FMT, TYPE_ASM_OP, SIZE_ASM_OP, BSS_SECTION_ASM_OP) (ASM_OUTPUT_ALIGNED_BSS, ASM_WEAKEN_LABEL, ASM_OUTPUT_WEAK_ALIAS) (MAKE_DECL_ONE_ONLY, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP) (HANDLE_SYSV_PRAGMA): Delete. (ASM_OUTPUT_DEF): Fix formatting. * config/mips/elf64.h: Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85430 138bc75d-0d04-0410-961f-82ee72b054a4
* Introduce sh2a support.aoliva2004-07-291-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-29 Alexandre Oliva <aoliva@redhat.com> * config.gcc: Build multilibs for sh2a and sh2a-single by default. * config/sh/sh.h (SUPPORT_SH2A, SUPPORT_SH2A_SINGLE): Define by default. Split their tests out of the corresponding SH4 multilibs. * config/sh/t-sh (MULTILIB_MATCHES): Don't ever use SH4 or SH4a multilibs for SH2a. 2004-07-28 Alexandre Oliva <aoliva@redhat.com> * config.gcc: Handle sh2a multilibs and cpu selection. * config/sh/sh.h: Likewise. Handle sh2a command line flags. * config/sh/t-mlib-sh2a: New. * config/sh/t-mlib-sh2a-nofpu: New. * config/sh/t-mlib-sh2a-single: New. * config/sh/t-mlib-sh2a-single-only: New. 2004-07-09 Nick Clifton <nickc@redhat.com> Issue 43400 * config/sh/sh.h (DRIVER_SELF_SPECS): Issue an error message if -ml and -m2a are used together. 2004-03-23 DJ Delorie <dj@redhat.com> * config/sh/sh.c (sh_builtin_saveregs): Use the double code only when we have a double-sized FPU. 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/sh/lib1funcs.asm (set_fpscr): Don't build if __SH2A_NOFPU__ is set. * config/sh/elf.h (SUBTARGET_ASM_ISA_SPEC): Add cases for -msh2a-nofpu, -msh2a-single and -msh2a-single-only 2004-02-24 Corinna Vinschen <vinschen@redhat.com> * config/sh/crt1.asm: Don't generate FPU instructions if __SH2A_NOFPU__ is set. 2004-02-20 DJ Delorie <dj@delorie.com> * config/sh/sh.md (movsf_i, movsf_ie, movsf, ble, bge): Disable for sh2a-nofpu. 2004-02-20 Fred Fish <fnf@redhat.com>, Corinna Vinschen <vinschen@redhat.com> * config/sh/t-sh (MULTILIB_OPTIONS): Add 2a-nofpu. (MULTILIB_EXCEPTIONS): Don't build littel-endian on sh2a. 2004-02-18 DJ Delorie <dj@redhat.com> * config/sh/sh.c (broken_move): Add support for movi20. * config/sh/sh.h: Likewise. (SHIFT_COUNT_TRUNCATED): Set for sh2a. * config/sh/sh.md (udivsi3_sh2a): New. (udivsi3): Call it. (divsi3_sh2a): New. (divsi3): Call it. (mul_r): New. (ashlsi3_sh2a): New. (ashrsi3_sh2a): New. (lshrsi3_sh2a): New. (movsi_i): Disable for sh2a. (movsi_ie): Add movi20. (movsf_i, movsf_ie, movsf, ble, untyped_call): Explicitly enable sh2a, for -m2a-nofpu mode. 2004-02-13 DJ Delorie <dj@redhat.com> * config/sh/lib1funcs.asm: Handle double vs single better. * config/sh/sh.h: Likewise. 2004-02-09 DJ Delorie <dj@redhat.com> * config/sh/crt1.asm: Add support for sh2a. * config/sh/elf.h: Likewise. * config/sh/lib1funcs.asm: Likewise. * config/sh/sh.c: Likewise. * config/sh/sh.md: Likewise. * config/sh/sh.h: Likewise. * config/sh/t-sh: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85286 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ChangeLog:aoliva2004-07-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce sh4a support. * config.gcc: Handle sh4a multilibs and cpu selection. * config/sh/sh.h: Likewise. Handle sh4a command line flags. * config/sh/t-mlib-sh4a: New. * config/sh/t-mlib-sh4al: New. * config/sh/t-mlib-sh4a-nofpu: New. * config/sh/t-mlib-sh4a-single: New. * config/sh/t-mlib-sh4a-single-only: New. 2004-02-20 DJ Delorie <dj@redhat.com> * config/sh/sh.md ("movua"): Change constraint from "m" to "Sua". * config/sh/sh.h (EXTRA_CONSTRAINT_S): Add "Sua" support. 2003-08-22 Eric Christopher <echristo@redhat.com> * config/sh/sh4a.md: Update for chip errata. 2003-08-07 Eric Christopher <echristo@redhat.com> * config/sh/sh4a.md: New file. sh4a processor description. 2003-07-08 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (TARGET_SWITCHES): Added 4al. Adjust description of -m4a-nofpu. (SH_ASM_SPEC): Pass -dsp for -m4al, not -m4a-nofpu. * config/sh/t-sh (MULTILIB_MATCHES): Map -m4al to -m4a-nofpu. * doc/invoke.texi (SH Options): Document -m4al. 2003-07-03 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (expand_block_move): Remove commented-out code checked in by mistake. (sh_cannot_change_mode_class): Enable SUBREGs to be used to select single elements from SFmode vectors. * config/sh/sh.md (fsca): Use VEC_CONCAT to initialize the output register. (sinsf2, cossf2, sindf2, cosdf2): Don't emit CLOBBER. 2003-07-01 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.h (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Remove variable declarations. * config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): New functions. (sh_fsca_sf2int_rtx, sh_fsca_df2int_rtx, sh_fsca_int2sf_rtx): New static variables. * config/sh/sh-protos.h (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Declare. * config/sh/sh.md: Adjust. * doc/invoke.texi (SH Options): Document new options. * config/sh/lib1funcs.asm (ic_invalidate): Remove SH4a forward compatibility from SH4 code. 2003-06-27 Alexandre Oliva <aoliva@redhat.com> * config/sh/sh.c (expand_block_move): Don't emit POST_INC too early. (memory_movsrc_operand): Renamed to... (unaligned_load_operand): ... this. Simplified. * config/sh/sh.h (PREDICATE_CODES): Adjust. * config/sh/sh.md (movua, extv, extzv): Likewise. Change movua's input operand to SImode, and adjust the others. Introduce post-increment by peephole. * config/sh/sh.c (expand_block_move): Give the target address the same mode as the temp reg. * config/sh/sh.c (expand_block_move): Use a temp reg for unaligned copying. 2003-06-26 Alexandre Oliva <aoliva@redhat.com> Introduce support for SH4a. * config/sh/lib1funcs.asm (ic_invalidate): Use icbi if __SH4A__. Emit 4 4kb blocks and touch all of them otherwise. * config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): New. (sh_init_builtins): Initialize them. (print_operand): Support `d'. (expand_block_move): Use movua if src is misaligned. (memory_movsrc_operand): New. * config/sh/sh.h (TARGET_CPU_CPP_BUILTINS): Define __SH4A__ and one of the SH4 macros. (SH4A_BIT, TARGET_SH4A_ARCH, TARGET_SH4A_FP, SELECT_SH4A_NOFPU, SELECT_SH4A_SINGLE_ONLY, SELECT_SH4A, SELECT_SH4A_SINGLE): New. (TARGET_NONE): Add SH4A_BIT. (TARGET_SWITCHES): Add 4a-single-only, 4a-single, 4a-nofpu and 4a. (SH_ASM_SPEC): Pass -dsp if -m4a-nofpu. (sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Declare. (OVERRIDE_OPTIONS): Set cpu to CPU_SH4A when appropriate. (enum processor_type): Added PROCESSOR_SH4A. (PREDICATE_CODES): Add memory_movsrc_operand. * config/sh/sh.md: Removed unused variables. (attr cpu): Add sh4a. (attr type): Add movua, fsrra and fsca. (prefetch): New, for SH4. (ic_invalidate_line, ic_invalidate_line_sh4a): Use icbi. (toggle_sz): Set type to fp. (toggle_pr, rsqrtsf2, fsca, sinsf2, cossf2, sindf2, cosdf2): New. (movua, extv, extzv): New. * config/sh/t-sh: Add multilibs for 4a, 4a-nofpu, 4a-single and 4a-single-only. gcc/testsuite/ChangeLog: 2003-07-06 Alexandre Oliva <aoliva@redhat.com> * gcc.dg/sh4a-memmovua.c: Tweak regular expression. 2003-07-01 Alexandre Oliva <aoliva@redhat.com> * gcc.dg/sh4a-bitmovua.c: New. * gcc.dg/sh4a-cos.c: New. * gcc.dg/sh4a-cosf.c: New. * gcc.dg/sh4a-fprun.c: New. * gcc.dg/sh4a-fsrra.c: New. * gcc.dg/sh4a-memmovua.c: New. * gcc.dg/sh4a-sin.c: New. * gcc.dg/sh4a-sincos.c: New. * gcc.dg/sh4a-sincosf.c: New. * gcc.dg/sh4a-sinf.c: New. libstdc++-v3/ChangeLog: 2003-10-01 Eric Christopher <echristo@redhat.com> * config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm' constraint. 2003-07-09 Alexandre Oliva <aoliva@redhat.com> * config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85257 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (i[34567]86-*-solaris2*, sparc64-*-solaris2*)drow2004-07-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (sparc-*-solaris2*): Include sol2.o and sol2-protos.h. * config/sol2-c.c: Include "tm.h", "tm_p.h", "toplev.h", "cpplib.h", "c-pragma.h", "c-common.h". (solaris_pragma_align, solaris_pragma_init, solaris_pragma_fini) (solaris_register_pragmas): New functions. * config/sol2-protos.h: New file. * config/sol2.c: New file. * config/sol2.h (SOLARIS_ATTRIBUTE_TABLE, ASM_DECLARE_FUNCTION_SIZE) (REGISTER_TARGET_PRAGMAS): New macros. (solaris_pending_aligns, solaris_pending_inits) (solaris_pending_finis): New variables. * config/t-sol2 (sol2-c.o): Update dependencies. (sol2.o): New rule. * config/i386/i386.c (TARGET_INSERT_ATTRIBUTES): Define in terms of SUBTARGET_INSERT_ATTRIBUTES. (ix86_attribute_table): Include SUBTARGET_ATTRIBUTE_TABLE. * config/i386/sol2.h (SUBTARGET_INSERT_ATTRIBUTES) (SUBTARGET_ATTRIBUTE_TABLE, ASM_OUTPUT_CALL): Define. * config/sparc/elf.h (ASM_DECLARE_FUNCTION_SIZE): Redefine. * config/sparc/sp64-elf.h (ASM_DECLARE_FUNCTION_SIZE): Redefine. * config/sparc/sol2.h (SUBTARGET_INSERT_ATTRIBUTES) (SUBTARGET_ATTRIBUTE_TABLE, ASM_OUTPUT_CALL): Define. * config/sparc/sparc.c (sparc_attribute_table): New. (TARGET_INSERT_ATTRIBUTES): Define in terms of SUBTARGET_INSERT_ATTRIBUTES. (TARGET_ATTRIBUTE_TABLE): Define if SUBTARGET_ATTRIBUTE_TABLE is defined. * doc/extend.texi (Solaris Pragmas): New section. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85155 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud