summaryrefslogtreecommitdiff
path: root/gcc/configure
Commit message (Collapse)AuthorAgeFilesLines
* configure.in (ld_vers): Portability [sed].Loren J. Rittle2003-06-261-335/+352
| | | | | | | * configure.in (ld_vers): Portability [sed]. * configure: Regenerate with autoconf213. From-SVN: r68515
* configure.in (in_tree_gas): Find out here whether GAS is ELF, set ↵Hans-Peter Nilsson2003-06-231-56/+56
| | | | | | | | | | | | | | | | | | | in_tree_gas_is_elf accordingly. * configure.in (in_tree_gas): Find out here whether GAS is ELF, set in_tree_gas_is_elf accordingly. (in_tree_ld): Find out whether LD emulation is ELF, set in_tree_ld_is_elf accordingly. (gcc_cv_as_subsections, gcc_cv_as_hidden, gcc_cv_as_leb128) (gcc_cv_as_eh_frame, gcc_cv_as_shf_merge) (gcc_cv_as_dwarf2_debug_line, gcc_cv_as_gdwarf2_flag) (gcc_cv_as_gstabs_flag): Use $in_tree_gas_is_elf instead of grepping gas/Makefile. (gcc_cv_ld_ro_rw_mix, gcc_cv_ld_eh_frame_hdr, gcc_cv_ld_pie): Use $in_tree_ld_is_elf instead of grepping ld/Makefile. * configure: Regenerate. From-SVN: r68356
* safe-ctype.h (HC_UNKNOWN, [...]): New #defines.Zack Weinberg2003-06-211-320/+268
| | | | | | | | | | | | | | | | | | include: * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): New #defines. libiberty: * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET for charset determination. gcc: * aclocal.m4 (gcc_AC_C_CHARSET): Delete. * configure.in: Don't use gcc_AC_C_CHARSET. * configure, config.in: Regenerate. * config/i370/i370.c, config/i370/i370.h: Use (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII) instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad. From-SVN: r68317
* re PR driver/9362 (solaris 'as' dies when fed .s and "-gstabs")Rainer Orth2003-06-201-6/+13
| | | | | | | | * configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns. * configure: Regenerate. Fixes PR driver/9362. From-SVN: r68266
* Makefile.tpl: Remove BUILD_CC stuff.Nathanael Nerode2003-06-171-33/+32
| | | | | | | | | | | | | | (toplev) * Makefile.tpl: Remove BUILD_CC stuff. * Makefile.in: Regenerate. (gcc) * configure.in: Replace BUILD_CC references with CC_FOR_BUILD. * configure: Regenerate. * Makefile.in: Replace BUILD_CC references with CC_FOR_BUILD. (gcc/f) * Make-lang.in: Replace BUILD_CC references with CC_FOR_BUILD. From-SVN: r68115
* alloc-pool.c: Don't check HAVE_LONG_DOUBLE.Kaveh R. Ghazi2003-06-171-367/+294
| | | | | | | | | | | | | | | | | | | gcc: * alloc-pool.c: Don't check HAVE_LONG_DOUBLE. * fixinc/gnu-regex.c: Don't define `volatile'. * ggc-page.c: Don't check HAVE_LONG_DOUBLE. * ggc-simple.c: Likewise. * system.h: Don't define `volatile'. * aclocal.m4 (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Delete. * configure.in (gcc_AC_C_VOLATILE, gcc_AC_C_LONG_DOUBLE): Don't call these macros. * config.in, configure: Regenerated. include: * ansidecl.h: Delete HAVE_LONG_DOUBLE GCC bootstrap support. From-SVN: r68085
* builtin-attrs.def, [...]: Don't use macros from "symcat.h", instead rely on ↵Kaveh R. Ghazi2003-06-161-225/+185
| | | | | | | | | | | | | | ISO C. * builtin-attrs.def, builtin-attrs.def, builtins.c, cpplex.c, cpplib.c, gencheck.c, gengenrtl.c, machmode.def, protoize.c: Don't use macros from "symcat.h", instead rely on ISO C. * system.h: Don't include "symcat.h". * configure.in (AC_C_STRINGIZE): Delete. * config.in, configure: Regenerate. From-SVN: r68035
* Makefile.in: Update to use common.opt and lang_opt_files.Neil Booth2003-06-141-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Update to use common.opt and lang_opt_files. (c-options.c, c-options.h): Remove. (options.c, options.h): Add. * c-opts.c: Include options.h not c-options.h. * common.opt: New file. * configure, configure.in: Add lang_opt_files. * opts.c: Include flags.h and diagnostic.h. (common_handle_option): New. (handle_option): Update to recognize common options and all language-dependent options. * opts.h (CL_F77, CL_JAVA, CL_ADA, CL_COMMON, CL_TREELANG): New. (struct cl_option): Make flags of type int. * opts.h: Flag option with front ends to which it applies. Handle duplicate options. * toplev.c (filename): Remove. (independent_decode_option): Don't handle filenames and -quiet. (process_options, do_compile): Update. ada: * Make-lang.in: Update to use options.c and options.h. * misc.c: Include options.h not aoptions.h. (gnat_handle_option): Abort on unrecognized switch. (gnat_init_options): Request Ada switches. cp: * Make-lang.in: Remove c-options.o. f: * Make-lang.in: Update to use options.c and options.h. * top.c: Include options.h not f-options.h. (gnat_handle_option): Abort on unrecognized switch. (ffe_init_options): From com.c. Request F77 options. (ffe_handle_options): Abort on unrecognized switch. * com.c (ffe_init_options): Move to top.c. * top.h (fee_init_options): New. java: * Make-lang.in: Update to use options.c and options.h. * lang.c: Include options.h not j-options.h. (java_handle_option): Abort on unrecognized option. (java_init_options): Request Java switches. treelang: * Make-lang.in: Update to use options.c and options.h. * tree1.c: Include options.h not t-options.h. (treelang_init_options): New. (treelang_handle_option): Abort on unrecognized switch. * treetree.c (LANG_HOOKS_INIT_OPTIONS): Override. * treetree.h (treelang_init_options): New. From-SVN: r67941
* configure.in (assembler dwarf2 debug_line support): Define insn for cris-*-* ↵Hans-Peter Nilsson2003-06-121-10/+14
| | | | | | | | | | and mmix-*-*. * configure.in (assembler dwarf2 debug_line support): Define insn for cris-*-* and mmix-*-*. * configure: Regenerate. From-SVN: r67825
* configure.in: Fix typo.Nathanael Nerode2003-06-101-1/+1
| | | | | | | * configure.in: Fix typo. * configure: Regenerate. From-SVN: r67737
* configure.in: Remove references to host_truncate_target.Nathanael Nerode2003-06-101-119/+108
| | | | | | | | | * configure.in: Remove references to host_truncate_target. * configure: Regenerate. * config.gcc: Remove references to truncate_target, host_truncate_target. From-SVN: r67694
* Makefile.in, [...]: Replace "build_canonical" with build, "host_canonical" ↵Nathanael Nerode2003-06-101-346/+361
| | | | | | | | | | | | | | | with host. * Makefile.in, configure.in, config/m68hc11/t-m68hc11-gas: Replace "build_canonical" with build, "host_canonical" with host. * configure.in: Use GCC_TOPLEV_SUBDIRS. * aclocal.m4: Include ../config/acx.m4. * configure: Regenerate. (ada) * Makefile.in: Replace "host_canonical" with "host" for autoconf substitution. From-SVN: r67691
* configure.in: Assume gas 2.14 and above can handle MIPS relocation operators.Richard Sandiford2003-06-091-3/+14
| | | | | | | | * configure.in: Assume gas 2.14 and above can handle MIPS relocation operators. * configure: Regenerated. From-SVN: r67657
* re PR pch/9830 (PCH not working on Solaris)Eric Botcazou2003-06-081-1/+1
| | | | | | | | | | | | | | | | PR pch/9830 * ggc-common.c (HAVE_MMAP_FILE): Include sys/types.h if HAVE_MINCORE is defined. (MAP_FAILED): Define if not defined. (gt_pch_save): Test against MAP_FAILED. (gt_pch_restore): If HAVE_MINCORE, use MAP_FIXED to force the mapping address to the preferred base after checking it is possible to do so. Test against MAP_FAILED. * configure.in: Test for the presence of mincore in libc. * config.in: Regenerate. * configure: Regenerate. From-SVN: r67614
* configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in section names.Kelley Cook2003-06-071-3/+3
| | | | | | | | * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Remove quotes in section names. * configure: Regenerate. From-SVN: r67580
* configure.in: Make $(target_subdir) correspond with top level usage.Nathanael Nerode2003-06-071-341/+338
| | | | | | | | * configure.in: Make $(target_subdir) correspond with top level usage. * Makefile.in: Likewise. * configure: Regenerate. From-SVN: r67575
* install.tex: Document profiledbootstrap.Jan Hubicka2003-06-051-2/+2
| | | | | | | | | | | | | | | | | | | | | * install.tex: Document profiledbootstrap. * Makefile.tpl (profiledbootstrap): New target. * Makefile.in (profiledbootstrap): New target. * Makefile.in (clean, distclean): Kill new stages (POSTSTAGE1_FLAGS_TO_PASS): Break from ... (STAGE2_FLAGS_TO_PASS): ... this one. (STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS): New. (stage[2-4]_build): Add POSTSTAGE1_FLAGS_TO_PASS. (stageprofile_build, stageprofile_copy, stagefeedback_build, stagefeedback_copy): New. (restageprofile, restagefeedback, stageprofile-start, stageprofile, stagefeedback-start): Likewise. * Make-lang.in: Add support for stageprofile and stagefeedback From-SVN: r67498
* re PR target/10663 ([Solaris] New configure check aborts with Sun tools.)Eric Botcazou2003-06-051-2/+2
| | | | | | | | | | | | PR target/10663 * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Redirect assembler and linker output to /dev/null. Use a 'sed' construct instead of 'grep -A1'. * configure: Regenerate. Co-Authored-By: Paolo Bonzini <bonzini@gnu.org> From-SVN: r67479
* re PR bootstrap/3163 ([3.3 Only] gcc/aclocal.m4 mmap test fails on UnixWare ↵Zack Weinberg2003-06-041-632/+290
| | | | | | | | | | | | | | | 7.1.1) PR bootstrap/3163 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE, AC_FUNC_MMAP_FILE): Delete. (gcc_AC_FUNC_MMAP_BLACKLIST): New. * configure.in: Check for sys/mman.h and mmap in AC_CHECK_HEADERS and AC_CHECK_FUNCS lists, respectively. Use gcc_AC_FUNC_MMAP_BLACKLIST, not AC_FUNC_MMAP_ANYWHERE nor AC_FUNC_MMAP_FILE. * configure, config.in: Regenerate. From-SVN: r67467
* config.gcc: Reorganize --with-cpu logic.Daniel Jacobowitz2003-06-041-108/+112
| | | | | | | | | | | | | | | | | | | | | | | | * config.gcc: Reorganize --with-cpu logic. Set configure_default_options according to the default CPU, --with-cpu, --with-arch, --with-tune, --with-schedule, --with-abi, and --with-float. Check for legal values of various options. * configure.in: Define configure_default_options in configargs.h. * configure: Regenerated. * config/mips/mips.h (TARGET_DEFAULT_ARCH_P) (TARGET_DEFAULT_FLOAT_P): New macros. * gcc.c (do_option_spec): New function. (struct default_spec, option_default_specs): New. (main): Call do_option_spec. * config/alpha/alpha.h, config/arm/arm.h, config/i386/i386.h, config/mips/mips.h, config/pa/pa.h, config/rs6000/rs6000.h, config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Define. * doc/install.texi: Update --with-cpu documentation. Mention --with-arch, --with-schedule, --with-tune, --with-abi, and --with-float. * doc/tm.texi (Driver): Document OPTION_DEFAULT_SPECS. From-SVN: r67457
* linux.h (NO_PROFILE_COUNTERS): Define to 1.Jakub Jelinek2003-06-041-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/i386/linux.h (NO_PROFILE_COUNTERS): Define to 1. * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Likewise. * config/i386/netbsd-elf.h (NO_PROFILE_COUNTERS): Likewise. * config/xtensa/xtensa.h (NO_PROFILE_COUTNERS): Likewise. * config/darwin.h (NO_PROFILE_COUNTERS): Likewise. * final.c (NO_PROFILE_COUNTERS): Define to 0 if not defined. (profile_function): Allow NO_PROFILE_COUNTERS to be non-constant. * config/rs6000/rs6000.c (output_profile_hook): Likewise. * configure.in (powerpc*-*, s390*-*): Set tls_as_opt. Pass it to $gcc_cv_as. * configure: Rebuilt. * config/rs6000/rs6000.c (rs6000_abi_name): Remove initializer. (print_operand): Allow TARGET_AIX to be non-constant. (rs6000_aix_emit_builtin_unwind_init, rs6000_emit_eh_toc_restore): Define unconditionally. (rs6000_elf_declare_function_name): New function. * config/rs6000/rs6000.md (eh_return): Allow TARGET_AIX to be non-constant. * config/rs6000/linux64.h [!RS6000_BI_ARCH] (TARGET_64BIT): Define to 1. (DEFAULT_ARCH64_P, RS6000_BI_ARCH_P): Define. [IN_LIBGCC2] (TARGET_64BIT): Define based on whether __powerpc64__ is defined. (TARGET_AIX): Define to 1 if TARGET_64BIT. (PROCESSOR_DEFAULT): Remove. (TARGET_RELOCATABLE, RS6000_ABI_NAME, INVALID_64BIT, INVALID_32BIT, SUBSUBTARGET_OVERRIDE_OPTIONS): Define. [RS6000_BI_ARCH] (OVERRIDE_OPTIONS, ASM_FILE_START): Define. (ASM_DEFAULT_SPEC, ASM_SPEC, LINK_OS_LINUX_SPEC): Define for both -m32 and -m64. (MULTILIB_DEFAULTS): Define. (SUBSUBTARGET_EXTRA_SPECS): Define. (ASM_SPEC32, ASM_SPEC64, ASM_SPEC_COMMON): Define. (TARGET_TOC): Define only if !RS6000_BI_ARCH. (TARGET_NO_TOC): Remove. [!RS6000_BI_ARCH] (TARGET_RELOCATABLE, TARGET_EABI, TARGET_PROTOTYPE): Define to 0. (NO_PROFILE_COUNTERS): Define to TARGET_64BIT. (PROFILE_HOOK): Only call output_profile_hook if TARGET_64BIT. (ADJUST_FIELD_ALIGN, ROUND_TYPE_ALIGN): Adjust to work properly if !TARGET_64BIT. (USER_LABEL_PREFIX): Remove. (JUMP_TABLES_IN_TEXT_SECTION): Define to TARGET_64BIT. (SETUP_FRAME_ADDRESSES): Only call rs6000_aix_emit_builtin_unwind_init if TARGET_64BIT. (TARGET_OS_CPP_BUILTINS): Handle both -m32 and -m64. (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Define. (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Remove. (TOC_SECTION_ASM_OP): Define depending on TARGET_64BIT. (MINIMAL_TOC_SECTION_ASM_OP): Likewise. (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE): Define depending on TARGET_64BIT. (RS6000_CALL_GLUE): Likewise. (SAVE_FP_PREFIX, SAVE_FP_SUFFIX, RESTORE_FP_PREFIX, RESTORE_FP_SUFFIX): Likewise. (ASM_DECLARE_FUNCTION_NAME): Remove. (ASM_DECLARE_FUNCTION_SIZE, ASM_OUTPUT_SOURCE_LINE, DBX_OUTPUT_BRAC, DBX_OUTPUT_NFUN): Only output dot before function name if TARGET_64BIT. (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Handle both TARGET_64BIT and !TARGET_64BIT. (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Remove undefs. (ASM_PREFERRED_EH_DATA_FORMAT): Take TARGET_64BIT into account. (DRAFT_V4_STRUCT_RET): Define. (SIGNAL_FRAMESIZE): New enum value. (MD_FALLBACK_FRAME_STATE_FOR): Define. * config/rs6000/default64.h: New file. * config/rs6000/sysv4.h (SUBTARGET_SWITCHES): Add -m32 and -m64 options. (SUBTARGET_OVERRIDE_OPTIONS): If rs6000_abi_name is NULL, set it to RS6000_ABI_NAME. Only disallow mixing of -fPIC with -mcall-aixdesc if !TARGET_64BIT. [!RS6000_BI_ARCH] (SUBSUBTARGET_OVERRIDE_OPTIONS): Define. (ASM_DECLARE_FUNCTION_NAME): Use rs6000_elf_declare_function_name function. (TARGET_OS_SYSV_CPP_BUILTINS): Define. (TARGET_OS_CPP_BUILTINS): Use it. (CPP_SYSV_SPEC): Remove. (CPP_SPEC): Remove cpp_sysv. (SUBTARGET_EXTRA_SPECS): Remove cpp_sysv. Add SUBSUBTARGET_EXTRA_SPECS. (SUBSUBTARGET_EXTRA_SPECS): Define. * config/rs6000/biarch64.h: New file. * config/rs6000/rs6000-protos.h (rs6000_elf_declare_function_name): New prototype. * config/rs6000/x-linux64: New file. * config/rs6000/t-linux64: Build -m64, -m32 and -m32 -msoft-float multilibs. * config/rs6000/eabi-ci.asm: Protect with #ifndef __powerpc64__. * config/rs6000/eabi-cn.asm: Likewise. * config/rs6000/tramp.asm: Likewise. * config/rs6000/sol-ci.asm: Likewise. * config/rs6000/sol-cn.asm: Likewise. * config/rs6000/linux.h (TARGET_64BIT): Define to 0. (TARGET_OS_CPP_BUILTINS): Use TARGET_OS_SYSV_CPP_BUILTINS. * config/rs6000/ppc-asm.h: Move __powerpc64__ section before _CALL_AIXDESC section. * config.gcc (powerpc64-*-linux*): Configure a bi-arch compiler, defaulting to -m64 unless --with-cpu= is one of the 32-bit CPUs or default32. Co-Authored-By: Alan Modra <amodra@bigpond.net.au> From-SVN: r67442
* config.gcc (default_use_cxa_atexit): New variable, defaults to no.Jason Thorpe2003-06-031-271/+273
| | | | | | | | | | | | * config.gcc (default_use_cxa_atexit): New variable, defaults to no. (*-*-netbsd[2-9]* | *-*-netbsdelf[2-9]*): Set default_use_cxa_atexit to yes. * configure.in: Allow default_use_cxa_atexit to determine the value of DEFAULT_USE_CXA_ATEXIT if not explicitly enabled or disabled. * configure: Regenerate. From-SVN: r67401
* configure.in (inhibit_libc): Don't define when configuring with ↵J"orn Rennecke2003-06-031-34/+36
| | | | | | | | | | | | --with-newlib --with-headers. * configure.in (inhibit_libc): Don't define when configuring with --with-newlib --with-headers. * configure: Regenerate. * t-sh: Remove LIB2FUNCS_EXTRA and embed-bb.c rules. From-SVN: r67396
* configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 ↵Rainer Orth2003-06-031-10/+10
| | | | | | | | | | without GNU ld. * configure.in (gcc_cv_as_hidden): Disable .hidden completely on IRIX 6 without GNU ld. * configure: Regenerate. From-SVN: r67390
* configure.in (HAVE_LD_PIE): Check for ld -pie.Jakub Jelinek2003-06-031-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in (HAVE_LD_PIE): Check for ld -pie. * config.in: Rebuilt. * configure: Rebuilt. * toplev.c (flag_pie, flag_shlib): New variables. (f_options): Add -fpie and -fPIE. (parse_options_and_default_flags): Set flag_pic if -fpie/-fPIE. Set flag_shlib if flag_pic and not -fpie/-fPIE. * flags.h (flag_pic, flag_shlib): Add. * varasm.c (default_binds_local_p): Use flag_shlib instead of flag_pic. * gcc.c (LINK_PIE_SPEC): Define. (LINK_COMMAND_SPEC): Use LINK_PIE_SPEC. (option_map): Add --pie -> -pie mapping. * config/sol2.h (ASM_SPEC): Handle -fpie the same way as -fpic and -fPIE the same way as -fPIC. * config/openbsd.h (ASM_SPEC): Likewise. * config/frv/frv.h (ASM_SPEC): Likewise. * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Likewise. * config/arm/semi.h (ASM_SPEC): Likewise. * config/arm/netbsd-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Likewise. * config/freebsd-spec.h (FBSD_CPP_SPEC): Likewise. * config/i386/beos-elf.h (CC1_SPEC): Likewise. * config/i386/freebsd-aout.h (ASM_SPEC): Likewise. * config/m68k/linux.h (CPP_SPEC): Likewise. * config/m68k/netbsd.h (ASM_SPEC): Likewise. * config/m68k/openbsd.h (ASM_SPEC): Likewise. * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise. * config/mips/linux.h (SUBTARGET_CPP_SPEC): Likewise. * config/mips/openbsd.h (SUBTARGET_ASM_SPEC): Likewise. * config/pa/pa-linux.h (CPP_SPEC): Likewise. * config/netbsd-aout.h (ASM_SPEC): Likewise. * config/rs6000/sysv4.h (ASM_SPEC, CPP_SYSV_SPEC): Likewise. * config/rs6000/vxworks.h (CPP_SPEC): Likewise. * config/sparc/linux.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. * config/sparc/linux64.h (CPP_SUBTARGET_SPEC, ASM_SPEC): Likewise. * config/sparc/sparc.h (ASM_SPEC): Likewise. * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. * config/sparc/sysv4.h (ASM_SPEC): Likewise. * config/sparc/netbsd-elf.h (ASM_SPEC): Likewise. * config/sparc/openbsd64.h (ASM_SPEC): Likewise. * config/cris/linux.h (CRIS_ASM_SUBTARGET_SPEC): Likewise. * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Handle -pie. Simplify. * config/alpha/elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/i386/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/ia64/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/rs6000/sysv4.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/rs6000/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/sparc/linux.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * config/sparc/linux64.h (STARTFILE_SPEC, ENDFILE_SPEC): Likewise. * doc/invoke.texi: Document -pie, -fpie and -fPIE options. From-SVN: r67359
* configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.Janis Johnson2003-05-121-17/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-05-12 Janis Johnson <janis187@us.ibm.com> Alan Modra <amodra@bigpond.net.au> Jakub Jelinek <jakub@redhat.com> * configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests. * configure: Rebuild. * config/rs6000/rs6000-protos.h: Update. * config/rs6000/rs6000.c (rs6000_tls_size): New. (rs6000_tls_size_string): New. (rs6000_parse_tls_size_option): New. (rs6000_legitimize_tls_address): New. (rs6000_tls_get_addr): New. (rs6000_got_sym): New. (rs6000_tls_symbol_ref): New. (rs6000_tls_symbol_ref_1): New. (rs6000_get_some_local_dynamic_name): New. (rs6000_get_some_local_dynamic_name_1): New. (TARGET_HAVE_TLS): New. (TARGET_CANNOT_FORCE_CONST_MEM): New. (rs6000_override_options): Handle -mtls-size option. (constant_pool_expr_1): Handle TLS symbols. (rs6000_legitimize_address): Handle TLS symbols. (rs6000_tls_referenced_p): New. (rs6000_legitimate_address): Handle TLS symbols. (rs6000_emit_move): Handle TLS symbols. (print_operand): Handle TLS symbols. (uses_TOC): Handle TLS symbols. (rs6000_emit_prologue): Use symbol for unspec constant. * config/rs6000/rs6000.h (HAVE_AS_TLS): New. (some_ld_name): New. (LEGITIMATE_CONSTANT_P): Handle TLS symbols. (PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols. (PREDICATE_CODES): Add rs6000_tls_symbol_ref. * config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b): Support TLS. (tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32, tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32, tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32, tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32, tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32, tls_tls_64): New. * config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size. Co-Authored-By: Alan Modra <amodra@bigpond.net.au> Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r66742
* re PR other/10745 (Bug in gcc-3.3/gcc/configure)Mark Mitchell2003-05-121-363/+352
| | | | | | | | PR other/10745 * configure.in: Correct detection of GNU ld version number. * configure: Regenerated. From-SVN: r66730
* Add xstormy16 to list of targets that has a nop instruction and hence which ↵Nick Clifton2003-05-021-351/+362
| | | | | | | | | can... Add xstormy16 to list of targets that has a nop instruction and hence which can be tested to see if the assembler supports the --gdwarf2 switch. From-SVN: r66374
* Regenerated with autoconf 2.13.Richard Sandiford2003-05-011-9350/+4020
| | | | From-SVN: r66323
* Merge from rewrite branch.Eric Christopher2003-05-011-4018/+9366
| | | | From-SVN: r66318
* configure.in: More general test for cmp --ignore-initial.Phil Edwards2003-04-291-308/+266
| | | | | | | | | 2003-04-29 Phil Edwards <pme@gcc.gnu.org> * configure.in: More general test for cmp --ignore-initial. * configure: Regenerate. From-SVN: r66265
* configure.in (make_compare_target): Test for GNU cmp and set this variable ↵Phil Edwards2003-04-251-250/+314
| | | | | | | | | | | | | | | appropriately. 2003-04-25 Phil Edwards <pme@gcc.gnu.org> * configure.in (make_compare_target): Test for GNU cmp and set this variable appropriately. * Makefile.in (compare, compare3, compare4, compare-lean, compare3-lean, compare4-lean): Rename actual targets to slowcompare*. New compare* targets depend on names based on make_compare_target. * configure: Regenerated. From-SVN: r66075
* configure.in: Check whether mbstowcs works.Krister Walfridsson2003-04-241-180/+222
| | | | | | | | | | 2003-04-24 Krister Walfridsson <cato@df.lth.se> * configure.in: Check whether mbstowcs works. * configure, config.in: Regenerate. * intl.c: Use HAVE_WORKING_MBSTOWCS. From-SVN: r66045
* gthr-gnat.h, [...]: new sources for implementation of --enable-threads=gnat.Vincent Celier2003-04-221-2/+2
| | | | | | | | | | | * gthr-gnat.h, gthr-gnat.c: new sources for implementation of --enable-threads=gnat. * Makefile.in: Add gthr-gnat.c to LIB2ADDEH. * configure.in: Add gnat to the list of thread packages * configure: Rebuild. * config/t-linux: Add gthr-gnat.c to LIB2ADDEH and LIB2ADDEHDEP From-SVN: r65961
* configure.in: Unify the code which creates symlinks to a just-built as...Zack Weinberg2003-04-161-50/+64
| | | | | | | | | * configure.in: Unify the code which creates symlinks to a just-built as, ld, objdump, and nm with the code that detects their presence for purposes of feature tests. * configure: Regenerate. From-SVN: r65677
* configure.in: Check for wchar.h, mbstowcs, and wcswidth.Zack Weinberg2003-04-121-3/+3
| | | | | | | | | | | | * configure.in: Check for wchar.h, mbstowcs, and wcswidth. * configure, config.in: Regenerate. * intl.c (gcc_gettext_width): New function. * intl.h: Prototype it. cp: * call.c (print_z_candidates): Use gcc_gettext_width, not strlen, to determine how much padding to use. From-SVN: r65517
* re PR c++/9393 (Anonymous namespaces and compiling the same file twice)Geoffrey Keating2003-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | PR c++/9393 * doc/invoke.texi (Debugging Options): Document -frandom-seed. * configure.in: Check for gettimeofday. * tree.c (flag_random_seed): Define. (default_flag_random_seed): New. (append_random_chars): Use flag_random_seed rather than trying to acquire randomness here. * tree.h (default_flag_random_seed): Declare. * toplev.c (display_help): Add -frandom-seed and -fstack-limit-* descriptions. (decode_f_option): Handle -frandom-seed. (print_switch_values): Call default_flag_random_seed. * flags.h (flag_random_seed): Declare. * configure: Regenerate. * config.in: Regenerate. * config/alpha/t-crtfm: Use -frandom-seed. From-SVN: r65500
* Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to mkfixinc.sh.Alexandre Oliva2003-04-111-31/+36
| | | | | | | | | | | | | * Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY to mkfixinc.sh. * fixinc/mkfixinc.sh (defs): Add LIBERTY. * configure.in (STMP_FIXINC, STMP_FIXPROTO): Don't disable on build != host sysrooted builds. * configure.in (SYSTEM_HEADER_DIR): Make sure it contains TARGET_SYSTEM_ROOT even on sysrooted natives. * configure: Rebuilt. From-SVN: r65462
* configure.in: Clarify comments.Nathanael Nerode2003-03-281-30/+42
| | | | | | | | | 2003-03-28 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in: Clarify comments. * configure: Regenerate. From-SVN: r64990
* configure.in: Check whether it is necessary to link against libm to use ldexp.Zack Weinberg2003-03-231-188/+259
| | | | | | | | | | * configure.in: Check whether it is necessary to link against libm to use ldexp. * configure: Regenerate. * Makefile.in: Add LDEXP_LIB substitution variable. * java/Make-lang.in: Link jcf-dump against $(LDEXP_LIB). From-SVN: r64749
* aclocal.m4 (gcc_AC_EXAMINE_OBJECT, [...]): Delete.Zack Weinberg2003-03-211-316/+196
| | | | | | | | | * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete. * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT. * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN in comment. From-SVN: r64672
* configure.in: Improve check for memcheck.h.Andreas Jaeger2003-03-161-2/+2
| | | | | | | * configure.in: Improve check for memcheck.h. * configure: Regenerated. From-SVN: r64430
* aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION.Nathanael Nerode2003-03-121-118/+225
| | | | | | | | | * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE, _gcc_COMPUTE_GAS_VERSION. * configure.in: Use them. * configure: Regenerate. From-SVN: r64263
* Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up.Nathanael Nerode2003-03-121-585/+601
| | | | | | | | | | | | | | | | | (toplev) * Makefile.tpl: Move .NOEXPORT, MAKEOVERRIDES up. Delete unused Make macro. * Makefile.in: Regenerate. * configure.in: Clean up gxx_include_dir logic. * configure: Regenerate. (gcc) * Makefile.in: Eliminate all.indirect. Update and clean up comments. Rearrange. Reorganize. * configure.in: Rearrange. * configure: Regenerate. From-SVN: r64260
* configure.in (rlim_t): Define to long if no valid definition found in ↵Hans-Peter Nilsson2003-03-121-131/+158
| | | | | | | | | | sys/resource.h. * configure.in (rlim_t): Define to long if no valid definition found in sys/resource.h. * config.in, configure: Regenerate. From-SVN: r64241
* sourcebuild.texi (Front End Directory): Document tags.Tom Tromey2003-03-041-1/+1
| | | | | | | | | | | * doc/sourcebuild.texi (Front End Directory): Document tags. * configure: Rebuilt. * configure.in (target_list): Added tags. * Makefile.in (TAGS): Depend on lang.clean. Include subdirectory TAGS files by reference. * objc/Make-lang.in (objc.tags): New target. From-SVN: r63808
* configure.in: Don't always define TARGET_SYSTEM_ROOT.Daniel Jacobowitz2003-03-041-1/+1
| | | | | | | | * configure.in: Don't always define TARGET_SYSTEM_ROOT. * configure: Regenerated. * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined. From-SVN: r63793
* configure.in: Check for <memcheck.h>.Andreas Jaeger2003-03-041-258/+289
| | | | | | | | | | | | | | * configure.in: Check for <memcheck.h>. * configure: Regenerated. * config.in: Define HAVE_MEMCHECK_H. * ggc-common.c: Use <memcheck.h> if available instead of <valgrind.h>. * ggc-page.c: Likewise. * cppfiles.c: Likewise. From-SVN: r63788
* configure.in: Delete three unused variables.Nathanael Nerode2003-03-041-751/+786
| | | | | | | | | * configure.in: Delete three unused variables. Move a variable definition closer to its use. Simplify use_collect2 logic. Start to organize. Simplify tests for in-tree gas and ld. * configure: Regenerate. From-SVN: r63778
* configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.Richard Henderson2003-03-021-7/+49
| | | | | | | | | | | | * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test. * config.in, configure: Rebuild. * config/ia64/ia64.c (ia64_ld_address_bypass_p): Accept lo_sum. * config/ia64/ia64.md (load_symptr): Use high/lo_sum for the paired ldtoffx and ldxmov annotations. (load_symptr_internal1): Remove. (load_symptr_high, load_symptr_low): New. From-SVN: r63696