summaryrefslogtreecommitdiff
path: root/gcc/configure.in
Commit message (Collapse)AuthorAgeFilesLines
* 2003-05-12 Janis Johnson <janis187@us.ibm.com>janis2003-05-121-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66742 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/10745mmitchel2003-05-121-2/+2
| | | | | | | | * configure.in: Correct detection of GNU ld version number. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66730 138bc75d-0d04-0410-961f-82ee72b054a4
* Add xstormy16 to list of targets that has a nop instruction and hence whichnickc2003-05-021-1/+1
| | | | | | | can be tested to see if the assembler supports the --gdwarf2 switch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66374 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from rewrite branch.echristo2003-05-011-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66318 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-29 Phil Edwards <pme@gcc.gnu.org>pme2003-04-291-6/+15
| | | | | | | | * configure.in: More general test for cmp --ignore-initial. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66265 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-25 Phil Edwards <pme@gcc.gnu.org>pme2003-04-251-0/+11
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66075 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-04-24 Krister Walfridsson <cato@df.lth.se>kristerw2003-04-241-0/+18
| | | | | | | | | * configure.in: Check whether mbstowcs works. * configure, config.in: Regenerate. * intl.c: Use HAVE_WORKING_MBSTOWCS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66045 138bc75d-0d04-0410-961f-82ee72b054a4
* * gthr-gnat.h, gthr-gnat.c: new sources for implementation ofkenner2003-04-221-1/+1
| | | | | | | | | | | --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 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65961 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Unify the code which creates symlinks to azack2003-04-161-21/+35
| | | | | | | | | just-built as, ld, objdump, and nm with the code that detects their presence for purposes of feature tests. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65677 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for wchar.h, mbstowcs, and wcswidth.zack2003-04-121-2/+2
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65517 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/9393geoffk2003-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65500 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (fixinc.sh): Pass BUILD_LIBERTY as LIBERTY toaoliva2003-04-111-2/+7
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65462 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-28 Nathanael Nerode <neroden@gcc.gnu.org>neroden2003-03-281-2/+14
| | | | | | | | * configure.in: Clarify comments. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64990 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check whether it is necessary to link againstzack2003-03-231-0/+9
| | | | | | | | | | libm to use ldexp. * configure: Regenerate. * Makefile.in: Add LDEXP_LIB substitution variable. * java/Make-lang.in: Link jcf-dump against $(LDEXP_LIB). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64749 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_EXAMINE_OBJECT, gcc_AC_C_FLOAT_FORMAT): Delete.zack2003-03-211-1/+0
| | | | | | | | | * configure.in: Don't call gcc_AC_C_FLOAT_FORMAT. * defaults.h: Remove reference to HOST_FLOAT_WORDS_BIG_ENDIAN in comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64672 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Improve check for memcheck.h.aj2003-03-161-2/+2
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64430 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Introduce gcc_GAS_VERSION_GTE_IFELSE,neroden2003-03-121-95/+71
| | | | | | | | | _gcc_COMPUTE_GAS_VERSION. * configure.in: Use them. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64263 138bc75d-0d04-0410-961f-82ee72b054a4
* (toplev)neroden2003-03-121-68/+84
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64260 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (rlim_t): Define to long if no valid definitionhp2003-03-121-0/+9
| | | | | | | | found in sys/resource.h. * config.in, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64241 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/sourcebuild.texi (Front End Directory): Document tags.tromey2003-03-041-1/+1
| | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63808 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Don't always define TARGET_SYSTEM_ROOT.drow2003-03-041-1/+1
| | | | | | | | * configure: Regenerated. * gcc.c: Check whether TARGET_SYSTEM_ROOT is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63793 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for <memcheck.h>.aj2003-03-041-0/+13
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63788 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Delete three unused variables. Move a variableneroden2003-03-041-164/+202
| | | | | | | | | definition closer to its use. Simplify use_collect2 logic. Start to organize. Simplify tests for in-tree gas and ld. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63778 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_LTOFFX_LDXMOV_RELOCS): New ia64 test.rth2003-03-021-0/+35
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63696 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (TARGET_SYSTEM_ROOT): Set default toaoliva2003-02-201-2/+3
| | | | | | | | | | ${exec_prefix}/${target_alias}/sys-root. Match explicit '${exec_prefix}' (in addition to the expansion thereof) as relocatable. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63189 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Fix typo.ro2003-02-141-1/+1
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62902 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (PREPROCESSOR_DEFINES): Adddrow2003-02-131-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | @TARGET_SYSTEM_ROOT_DEFINE@. * configure.in (PREFIX_INCLUDE_DIR): Don't define if $with_sysroot is specified or if building a cross compiler. (TARGET_SYSTEM_ROOT_DEFINE): Add TARGET_SYSTEM_ROOT_RELOCATABLE if the sysroot is under $exec_prefix. * configure: Regenerated. * cppdefault.h: Use native include paths if TARGET_SYSTEM_ROOT is defined. (struct default_include): Add add_sysroot field. (cpp_SYSROOT): Declare. * cppdefault.c (cpp_include_defaults): Fill in add_sysroot field. (cpp_SYSROOT): New variable. * cppinit.c (cpp_create_reader): Initialize CPP_OPTION (pfile, sysroot). (init_standard_includes): Handle add_sysroot. Do not add unrelocated copies of relocated directories. (COMMAND_LINE_OPTIONS): Add -isysroot. (cpp_handle_option): Handle -isysroot. * cpplib.h (struct cpp_options): Add sysroot member. * gcc.c (The Specs Language): Update description of %I. (target_system_root_changed): New variable. (process_command): Conditionalize make_relative_prefix call on !VMS and TARGET_SYSTEM_ROOT_RELOCATABLE. Set target_system_root_changed. (do_spec_1): Add -isysroot to %I. * doc/invoke.texi (Spec Files): Update description of %I. * doc/install.texi (--with-sysroot): Update comment about relocation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62853 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (host_hook_obj): New.geoffk2003-02-061-0/+2
| | | | | | | | | | | | | | | | | | | | | (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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62470 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_TLS): Add s390-*-* and s390x-*-* cases.uweigand2003-01-241-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Regenerate. * config/s390/s390-protos.h (tls_symbolic_operand): Add prototype. (tls_symbolic_reference_mentioned_p): Add prototype. (s390_tls_get_offset): Add prototype. (emit_pic_move): Remove prototype, replace by ... (emit_symbolic_move): .. this new prototype. * config/s390/s390.c (TARGET_HAVE_TLS): Conditionally define. (tls_model_chars): New global variable. (s390_encode_section_info): Encode TLS model. Use targetm.binds_local_p to check for local symbols. (s390_strip_name_encoding): New function. (TARGET_STRIP_NAME_ENCODING): Define. (get_thread_pointer): New function. (legitimize_tls_address): New function. (legitimize_address): Call it. (emit_pic_move): Remove, replace by ... (emit_symbolic_move): ... this new function. (larl_operand): Handle TLS operands. (legitimate_constant_p): Likewise. (s390_decompose_address): Likewise. (s390_cannot_force_const_mem): New function. (TARGET_CANNOT_FORCE_CONST_MEM): Define. (s390_output_symbolic_const): Handle TLS unspecs. (print_operand): New code 'J'. (machine_function): Add struct member 'some_ld_name'. (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. (enum s390_builtin): New type. (code_for_builtin_64, code_for_builtin_31): New global variables. (s390_init_builtins, s390_expand_builtin): New functions. (TARGET_INIT_BUILTINS, TARGET_EXPAND_BUILTIN): Define. * config/s390/s390.h (TLS_SYMBOLIC_CONST): New macro. (ASM_OUTPUT_LABELREF): Define. (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Handle TLS constants. * config/s390/s390.md: Define TLS UNSPEC constants. ("movdi", "movsi"): Handle TLS operands. ("get_tp_64", "get_tp_31", "set_tp_64", "set_tp_31"): New insns. ("*tls_load_64", "*tls_load_31"): New insns. ("call_value_tls", "call_value_tls_exp"): New expanders. ("brasl_tls", "bras_tls", "basr_tls_64", "basr_tls_31", "bas_tls_64", "bas_tls_31"): New insns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61714 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Revert last change.ghazi2003-01-241-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61693 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog (configure.in): Don't include ansidecl.h in tconfig.h.ghazi2003-01-241-1/+2
| | | | | | | | | | | * gcov-io.h (PARAMS, ATTRIBUTE_UNUSED: Define if IN_LIBGCC2. * unwind-dw2-fde.h (last_fde): Use __attribute__, not ATTRIBUTE_UNUSED. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61692 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ghazi2003-01-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (GCC_WARN_CFLAGS): Add $(WERROR) $($@-warn) (gtype-desc.o-warn, c-decl.o-warn, varasm.o-warn, gcc.o-warn, insn-conditions.o-warn, out_object_file, gengtype-yacc.o-warn, c-parse.o-warn): Add -Wno-error. (STAGE2_FLAGS_TO_PASS): Add WERROR="@WERROR@". * configure.in (--enable-werror): Add new flag. * doc/install.texi (--enable-werror): Document. * configure: Regenerate. * objc/Make-lang.in (objc/objc-parse.o-warn): Add -Wno-error. cp: Make-lang.in (cp/decl.o-warn): Add -Wno-error. f: Make-lang.in (f/sta.o-warn): Add -Wno-error. java: Make-lang.in (jvspec.o-warn): Add -Wno-error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61544 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for system-provided 'uchar' type.zack2003-01-211-0/+13
| | | | | | | | * configure, config.in: Regenerate. * cpphash.h: Only typedef 'uchar' if the system doesn't. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61516 138bc75d-0d04-0410-961f-82ee72b054a4
* * collect2.c (ldgetname): Check HAVE_DECL_LDGETNAME beforeghazi2003-01-201-1/+9
| | | | | | | | | | prototyping. * configure.in: Check for <ldfcn.h> and ldgetname() prototype. * config.in, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61511 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (libgcc_visibility): Force disabled on IRIX 6 too.aoliva2003-01-151-3/+7
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61323 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (linker read-only and read-write section mixing):dj2003-01-101-3/+3
| | | | | | | | Squelch some assembler warnings. * configure: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61163 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.rth2003-01-071-5/+4
| | | | | | | | | | | Move --enable-initfini-array check ... * aclocal.m4 (gcc_AC_INITFINI_ARRAY): ... here. Define HAVE_INITFINI_ARRAY also when --enable-initfini-array is given. Don't AC_SUBST gcc_cv_initfinit_array. Use AC_TRY_RUN. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61018 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Increase makeinfo version requirement to 4.[2-9].jsm282002-12-281-1/+1
| | | | | | | | * configure: Regenerate. * doc/install.texi: Update Texinfo version requirement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60583 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (enable-coverage): Add SELF_COVERAGE.nathan2002-12-241-3/+3
| | | | | | | * profile.c (end_branch_prob): Use SELF_COVERAGE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60476 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: FORBUILD when build!=host changed fromneroden2002-12-191-1/+1
| | | | | | | | | ../$build-alias to ../build-$build_alias to match change made in top directory. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60336 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge basic-improvements-branch to trunkzack2002-12-161-40/+65
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Use "missing" script to generate warning ifdj2002-12-021-2/+2
| | | | | | | | flex or bison programs not found, instead of invoking "false". * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59735 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Move AC_CANONICAL_SYSTEM and AC_ARG_PROGRAM backjakub2002-11-261-6/+6
| | | | | | | | before AC_PROG_CC. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59532 138bc75d-0d04-0410-961f-82ee72b054a4
* * varasm.c (default_exception_section): Move to...jakub2002-11-261-0/+38
| | | | | | | | | | | | | | | | | * except.c (default_exception_section): ... here. Make .gcc_except_table read-only if it is not expected to have any dynamic relocations and linker handles it. * dwarf2out.c (default_eh_frame_section): Make .eh_frame read-only if it is not expected to have any dynamic relocations and linker handles it. * configure.in (HAVE_LD_RO_RW_SECTION_MIXING): Check what ld does when linking read-only and read-write sections together. * configure, config.in: Rebuilt. * crtstuff.c (EH_FRAME_SECTION_CONST): Define. (__EH_FRAME_BEGIN__, __FRAME_END__): Add it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59507 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Set insn=nop for DWARF-2 tests on ARM.drow2002-11-221-1/+2
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59383 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (RUN_GEN, VALGRIND_DRIVER_DEFINES): New variables.hp2002-11-201-76/+96
| | | | | | | | | | | | | | | | | | | | | | (DRIVER_DEFINES): Add $(VALGRIND_DRIVER_DEFINES). (executing gencheck, genconfigs, genconditions, genflags, gencodes, genconstants, genemit, genrecog, genopinit, genextract, genpeep, genattr, genattrtab, genoutput, gengenrtl, genpreds, gengtype, genprotos): Prepend $(RUN_GEN). * configure.in: Move host compiler tests before --enable-checking tests. (--enable-checking=valgrind): New. * config.in, configure: Regenerate. * cppfiles.c [!ENABLE_VALGRIND_CHECKING] (VALGRIND_DISCARD): Define as empty. (read_include_file): When doing the mmap+1 trick, valgrind-annotate the byte after the mmap:ed area as readable. (purge_cache): Remove above annotation. * gcc.c (execute) [ENABLE_VALGRIND_CHECKING]: Arrange to prepend VALGRIND_PATH -q to each command. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59309 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/crtend.asm: Include "auto-host.h".rth2002-11-071-0/+4
| | | | | | | | | | | | | | | [HAVE_INITFINI_ARRAY]: Invoke __do_global_ctors_aux via .init_array. * config/ia64/crtbegin.asm: Similarly. * config/ia64/t-ia64 (crtbegin.o): Include from current directory. (crtend.o, crtbeginS.o, crtendS.o): Likewise. * aclocal.m4 (gcc_AC_INITFINI_ARRAY): New. * configure.in: Use it if --enable-initfini-array not specified. * doc/install.texi (Configuration): Document --enable-initfini-array. * configure, config.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58909 138bc75d-0d04-0410-961f-82ee72b054a4
* * fixinc/inclhack.def (libc1_G_va_list): New fix.hp2002-10-241-1/+1
| | | | | | | | | | | | * fixinc/fixincl.x: Regenerate. * config/i386/linux.h: Move MD_FALLBACK_FRAME_STATE_FOR inside ifndef IN_LIBGCC2. Wrap it together with signal.h and sys/ucontext.h inclusion in ifndef USE_GNULIBC_1. * configure.in (gcc_AC_CHECK_DECLS): Check vasprintf too. * config.in, configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58510 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.c (x86_64_sign_extended_value): Add allow_ripjakub2002-10-211-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | argument. In CM_SMALL_PIC model consider SYMBOL_REFs binding locally or from constant pool or LABEL_REFs as sign extended if allow_rip. Change all +-1GB limits to +-16MB. (x86_64_general_operand, x86_64_szext_general_operand, x86_64_nonmemory_operand, x86_64_movabs_operand, x86_64_szext_nonmemory_operand, x86_64_immediate_operand, legitimate_address_p, ix86_expand_int_movcc): Update callers. (local_symbolic_operand): Don't allow offsets bigger than +-16MB in CM_SMALL_PIC model. (legitimate_pic_address_disp_p): Don't check offsets before calling local_symbolic_operand. (legitimize_pic_address): Force offsets bigger than +-16MB into register. * config/i386/i386.h (EXTRA_CONSTRAINT, CONST_COSTS): Likewise. * config/i386/i386-protos.h (x86_64_sign_extended_value): Update prototype. * configure.in: Test for @GOTNTPOFF and @INDNTPOFF on IA-32 too. Add x86-64 test. Set tls_first_minor to 14 on IA-32 and x86-64. * configure: Rebuilt. * config/i386/i386.c (x86_64_sign_extended_value): Don't allow TLS SYMBOL_REFs unless enclosed in UNSPEC. Handle UNSPEC_DTPOFF, UNSPEC_GOTNTPOFF and UNSPEC_NTPOFF. (legitimate_address_p): Allow foo@dtpoff(base) even on TARGET_64BIT -fpic. (ix86_encode_section_info): Don't ever generate TLSGD or TLSLD for non-pic code if TARGET_64BIT. (legitimize_address): Generate 64-bit TLS sequences. (output_pic_addr_const): Support x86-64 TLS operators. (i386_output_dwarf_dtprel): Output 64-bit DTPOFF as .long f@DTPOFF, 0. (print_operand_address): Use %fs instead of %gs on TARGET_64BIT. Don't append (%rip) in 64-bit TLSGD and TLSLD sequences. (output_addr_const_extra): Support x86-64 TLS operators. (maybe_get_pool_constant): Handle TARGET_64BIT -fpic. (ix86_tls_get_addr): Use __tls_get_addr on TARGET_64BIT unconditionally. * config/i386/i386.md (*tls_global_dynamic_gnu): Renamed to... (*tls_global_dynamic_32_gnu): ..., add !TARGET_64BIT. (*tls_global_dynamic_sun): Renamed to... (*tls_global_dynamic_32_sun): ..., add !TARGET_64BIT. (tls_global_dynamic): Renamed to... (tls_global_dynamic_32): ... this. (tls_global_dynamic_64, *tls_global_dynamic_64): New. (*tls_local_dynamic_base_dynamic_gnu): Renamed to... (*tls_local_dynamic_base_dynamic_32_gnu): ..., add !TARGET_64BIT. (*tls_local_dynamic_base_dynamic_sun): Renamed to... (*tls_local_dynamic_base_dynamic_32_sun): ..., add !TARGET_64BIT. (tls_local_dynamic_base_dynamic): Renamed to... (tls_local_dynamic_base_dynamic_32): ... this. (tls_local_dynamic_base_dynamic_64, *tls_local_dynamic_base_dynamic_64): New. (*tls_local_dynamic_once): Renamed to... (*tls_local_dynamic_32_once): ... this. * gcc.dg/tls/pic-1.c: New test. * gcc.dg/tls/nonpic-1.c: New test. * gcc.dg/20021018-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@58383 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_OFFSETABLE_LO10): Use -xarch=v9jakub2002-09-061-23/+21
| | | | | | | | unconditionally when gcc_cv_as_flags64 checks are gone. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56880 138bc75d-0d04-0410-961f-82ee72b054a4