summaryrefslogtreecommitdiffstats
path: root/gcc/configure
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in: Check for system-provided 'uchar' type.zack2003-01-211-114/+151
| | | | | | | | * 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-124/+183
| | | | | | | | | | 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-21/+25
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61323 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (gcc_AC_PROG_GNAT): Don't try to prependaoliva2003-01-131-304/+301
| | | | | | | | | ${ac_tool_prefix} to ADAC or CC. Protect them from word splitting. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61254 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
* * aclocal.m4 (gcc_AC_INITFINI_ARRAY): Fix spelling of cacheschwab2003-01-081-5/+5
| | | | | | | | variable. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61047 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Restore CFLAGS before gcc_AC_INITFINI_ARRAY.rth2003-01-071-139/+147
| | | | | | | | | | | 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: 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-426/+562
| | | | 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-314/+314
| | | | | | | | 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-184/+139
| | | | | | | | 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
* * aclocal.m4 (ac_cv_func_mmap_dev_zero): Darwin does notgeoffk2002-11-231-148/+153
| | | | | | | | | | | allow mmap from /dev/zero. Don't make decisions for the host based on presence or absence of /dev/zero on the build machine. (ac_cv_func_mmap_anon): Darwin does have working MMAP_ANON. (AC_FUNC_MMAP_FILE): Darwin does have mmap of a file. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59394 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Set insn=nop for DWARF-2 tests on ARM.drow2002-11-221-7/+8
| | | | | | | * 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-675/+808
| | | | | | | | | | | | | | | | | | | | | | (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-309/+352
| | | | | | | | | | | | | | | [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-120/+123
| | | | | | | | | | | | * 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-22/+20
| | | | | | | | 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
* * Makefile.in (USER_H): Add ginclude/float.h.rth2002-09-031-114/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (FLOAT_H): Remove. (stmp-int-hdrs, install-mkheaders): Don't handle FLOAT_H. (mostlyclean): Don't remove float.h intermediate files. (distclean): Don't remove float.h. * config.gcc: Remove all float_format references. * configure.in (float_format, float_h_file): Remove. * c-common.c: Include tree-inline.h. (builtin_define_with_int_value): New. (builtin_define_type_precision): Use it. (builtin_define_float_constants): New. (cb_register_builtins): Use it. Define __FLT_RADIX__ and __FLT_EVAL_METHOD__. * defaults.h (TARGET_FLT_EVAL_METHOD): New. * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): New. * config/m68k/m68k.h (TARGET_FLT_EVAL_METHOD): New. * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Mention moto 96-bit format. (TARGET_FLT_EVAL_METHOD): New. * config/float-c4x.h, config/float-i128.h, config/float-i32.h, config/float-i386.h, config/float-i64.h, config/float-m68k.h, config/float-sh.h, config/float-sparc.h, config/float-vax.h: Remove. * ginclude/float.h: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56769 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (LOOSE_WARN): Remove -fno-common.rth2002-08-151-307/+311
| | | | | | | | | | (NOCOMMON_FLAG): New substitution point. (GCC_WARN_CFLAGS): Include it. * configure.in (ac_checking): Set nocommon_flag. (nocommon_flag): New substitution point. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56362 138bc75d-0d04-0410-961f-82ee72b054a4
* * profile.c (da_file_name): New static var.nathan2002-08-091-1/+1
| | | | | | | | | | | | (init_branch_prob): Initialize it. (end_branch_prob): Remove da file. * Makefile.in (stage1_build): Pass empty COVERAGE_FLAGS. * configure.in (coverage_flags) default to nothing. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56164 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (enable_coverage): New enable switch.nathan2002-08-081-310/+339
| | | | | | | | | | | | | | | | | | | | * configure: Rebuilt. * Makefile.in (COVERAGE_FLAGS, coverageexts): New variables. (INTERNAL_CFLAGS): Append COVERAGE_FLAGS. (ALL_FLAGS): Reorder so INTERNAL_CFLAGS comes after CFLAGS. (mostlyclean): Remove coverage files. * doc/install.texi: Document enable_coverage. * cp/Make-lang.in (c++.mostlyclean): Remove coverage files. * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. * f/Make-lang.in (f.mostlyclean): Remove coverage files. * java/Make-lang.in (java.mostlyclean): Remove coverage files. * objc/Make-lang.in (objc.mostlyclean): Remove coverage files. * treelang/Make-lang.in (treelang.mostlyclean): Remove coverage files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56126 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (PREFIX_INCLUDE_DIR): Don't define if prefix anddanglin2002-08-071-1/+1
| | | | | | | | local_prefix are the same. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56108 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (FORBUILD): Use $build_alias.drow2002-08-021-2/+2
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55987 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-29 Chris Demetriou <cgd@broadcom.com>cgd2002-07-291-1/+34
| | | | | | | | | | | | | | | | * configure.in (mips*-*-*): Add a test to see if MIPS libgloss linker scripts use STARTUP directives consistently. * configure: Regenerate. * config.in: Regenerate. * config/mips/elf.h (STARTFILE_SPEC): Define conditionally, based on whether HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is defined. * config/mips/elf64.h (STARTFILE_SPEC): Likewise. * config/mips/isa3264.h (STARTFILE_SPEC): Do not redefine if HAVE_MIPS_LIBGLOSS_STARTUP_DIRECTIVES is set; the result will be the same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55851 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Rename config_gtfiles to target_gtfiles.shebs2002-07-271-2/+2
| | | | | | | | | | * configure: Regenerate. * doc/gty.texi: Update reference. * config.gcc (powerpc-*-darwin*): Set target_gtfiles instead of appending to it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55801 138bc75d-0d04-0410-961f-82ee72b054a4
* Make gengtype.c language independent.timjosling2002-07-141-1/+32
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55436 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (mips*-*-irix6*o32): Enable stabs.ro2002-07-111-324/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc: * config.gcc (mips-sgi-irix6*o32): New configuration. * configure.in (libgcc_visibility): Disable for mips-sgi-irix6*o32 configurations. * configure: Regenerate. * config/mips/iris6-o32-as.h: New file. * config/mips/iris6-o32.h: New file. * config/mips/iris5gas.h (TARGET_ASM_NAMED_SECTION): Define. (NM_FLAGS): Define. (HAVE_AS_SHF_MERGE): Undefine. * config/mips/t-iris5-as: New file. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix5*): Use it. * config/mips/t-iris6 (SHLIB_EXT, SHLIB_SOLINK, SHLIB_SONAME, SHLIB_NAME, SHLIB_MAP, SHLIB_OBJS, SHLIB_SLIBDIR_QUAL, SHLIB_LINK, SHLIB_INSTALL, SHLIB_MKMAP, SHLIB_MAPFILES, FPBIT, DPBIT, dp-bit.c, fp-bit.c): Move ... * config/mips/t-iris5-6: ... here. New file, shared by IRIX 5 and IRIX 6. * config.gcc (mips-sgi-irix6*o32, mips-sgi-irix6*, mips-sgi-irix5*): Use it. * config/mips/iris6.h: Remove duplicate comment. * config/mips/mips.c (TARGET_ASM_UNALIGNED_DI_OP) [TARGET_IRIX5 && !TARGET_IRIX6]: Define. (mips_asm_file_start): Don't emit mdebug.<ABI> sections on IRIX 5/6. * config/mips/mips.h (ASM_DECLARE_FUNCTION_NAME): Fix comment. gcc/testsuite: * gcc.misc-tests/linkage.exp: Handle mips-sgi-irix6*o32 configuration and IRIX 6 O32 ABI. libstdc++-v3: * configure.target (target_os switch): Allow for irix6*o32 configurations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55401 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Correct typos: gcc_cv_as_gdwarf2_debug_flag toaoliva2002-07-041-2/+2
| | | | | | | | | gcc_cv_as_gdwarf2_flag and gcc_cv_as_gstabs_debug_flag to gcc_cv_as_gstabs_flag. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55249 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-28 Phil Edwards <pme@gcc.gnu.org>pme2002-06-291-315/+326
| | | | | | | | | * configure.in (gcc_gxx_include_dir): Change to match versioned C++ headers if --enable-version-specific-runtime-libs is used. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55088 138bc75d-0d04-0410-961f-82ee72b054a4
* Clean up configure.in checks for bad languages; fix typos in treelang.timjosling2002-06-191-11/+34
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54800 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (tm_defines): New configuration variable.danglin2002-06-151-1/+3
| | | | | | | | | | | | | | | | | | (cs-config.h, cs-hconfig.h, cs-tconfig.h): Rename DEFINES to XM_DEFINES. Pass tm_defines in TM_DEFINES. (cs-tm_p.h): Rename DEFINES to XM_DEFINES. Pass TM_DEFINES. * config.gcc (tm_defines): New configuration variable. (hppa*-*-* | parisc*-*-*): Use tm_defines instead of pa-700.h and pa-7100.h headers. Change hppa1* scheduling default to 7100LC. * configure.in: Substitute tm_defines. * configure: Rebuilt. * mkconfig.sh: Rename DEFINES to XM_DEFINES. Output TM_DEFINES. * doc/install.texi: Update. * pa/pa-700.h: Delete file. * pa/pa-7100.h: Delete file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54648 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (USE_UNWIND_EXCEPTIONS): Add support to setrth2002-06-151-309/+327
| | | | | | | | | | | USE_UNWIND_EXCEPTIONS if --enable-libunwind-exceptions is set. * configure, config.in: Regenerate. * g++spec.c (LIBUNWIND): New. (lang_specific_driver): Add it if USE_UNWIND_EXCEPTIONS is set. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54636 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc: Make the name of the extra-modes file adjustablezack2002-06-121-3/+3
| | | | | | | | | | by target stanzas. (s390x, strongarm, xscale stanzas): Use this facility. * configure.in: Update to match. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54540 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (MACHMODE_H): Add @extra_modes_file@.zack2002-06-101-104/+119
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: If $srcdir/config/${cpu_type}/${cpu_type}-modes.def exists, substitute its pathname as @extra_modes_file@, define EXTRA_MODES_FILE to be an appropriate string to #include it with, and define EXTRA_CC_MODES to 1. * machmode.def: Update comments. Include EXTRA_MODES_FILE if it's defined. Get rid of redundancy in calling sequence for CC; don't use it to define CCmode, to avoid a warning. * libgcc2.c: Include symcat.h for the sake of machmode.def. * arc-modes.def, arm-modes.def, c4x-modes.def, i386-modes.def, i960-modes.def, ia64-modes.def, m88k-modes.def, mmix-modes.def, pa-modes.def, pdp11-modes.def, rs6000-modes.def, sparc-modes.def: New files. * arc.h, arm.h, c4x.h, i386.h, i960.h, ia64.h, m88k.h, mmix.h, pa.h, pdp11.h, rs6000.h, sparc.h: Don't define EXTRA_CC_MODES. * doc/sourcebuild.texi, doc/tm.texi: Document new scheme for defining extra CC modes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54478 138bc75d-0d04-0410-961f-82ee72b054a4
* Make configure.in check that languages specified were found.timjosling2002-06-091-3/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54418 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-07 H.J. Lu (hjl@gnu.org)hjl2002-06-071-308/+324
| | | | | | | | | | | | | | | | * configure.in: Add --enable-__cxa_atexit. * configure: Regenerated. * config.in: Likewise. * defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if not defined. 2002-06-07 H.J. Lu (hjl@gnu.org) * decl2.c (flag_use_cxa_atexit): Set to DEFAULT_USE_CXA_ATEXIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54345 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.gcc (powerpc-*-darwin*): Set config_gtfiles.geoffk2002-06-041-104/+105
| | | | | | | | | * configure.in (config_gtfiles): New variable. (all_gtfiles): Initialise from config_gtfiles. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54265 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from pch-branch up to tag pch-commit-20020603.geoffk2002-06-041-29/+39
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (INSTALL_CPP, UNINSTALL_CPP): Remove.zack2002-06-011-327/+309
| | | | | | | | | | | (install): Refer to install-cpp directly. (uninstall-cpp): Folded into uninstall rule. * configure.in: Delete all code relating to --disable-cpp. * configure: Regenerate. * config/t-install-cpp: Delete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54131 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_TLS): Add alpha tests.rth2002-06-011-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Rebuild. * config/alpha/alpha.c (TARGET_AS_TLS): New. (alpha_tls_size, alpha_tls_size_string): New. (overide_options): Set it. Always install machine_status hooks. (input_operand): Accept got tls predicates. (local_symbol_p): Merge into ... (local_symbolic_operand): ... here. Reject tls symbols. (global_symbolic_operand): Likewise. (tls_symbolic_operand_1, dtp16_symbolic_operand): New. (dtp32_symbolic_operand, gotdtp_symbolic_operand): New. (tp16_symbolic_operand, tp32_symbolic_operand): New. (gottp_symbolic_operand, tls_symbolic_operand_type): New. (alpha_encode_section_info): Handle TLS symbols. (alpha_strip_name_encoding): Likewise. (alpha_legitimate_address_p): Likewise. (alpha_legitimize_address): Likewise. (alpha_expand_mov): Early exit to avoid nop moves. (struct machine_function): Move from unicosmk.h. Add some_ld_name. (alpha_init_machine_status, alpha_mark_machine_status, alpha_free_machine_status): Always define. (get_some_local_dynamic_name, get_some_local_dynamic_name_1): New. (print_operand, print_operand_address): Add TLS relocs. * config/alpha/alpha.h (HAVE_AS_TLS): Default 0. (MASK_TLS_KERNEL, TARGET_TLS_KERNEL): New. (TARGET_SWITCHES): Add -mtls-kernel. (alpha_tls_size, alpha_tls_size_string): New. (TARGET_OPTIONS): Add -mtls-size=. (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS, REG_CLASS_FROM_LETTER): Add R0_REG. (ASM_OUTPUT_LABELREF): Skip %. (PRINT_OPERAND_PUNCT_VALID_P): Add &. (PREDICATE_CODES): Update. * config/alpha/alpha.md (UNSPEC_TLSGD_CALL, UNSPEC_TLSLDM_CALL, UNSPEC_TLSGD, UNSPEC_TLSLDM, UNSPEC_DTPREL, UNSPEC_TPREL, UNSPEC_TP, UNSPECV_SET_TP): New. (adddi_er_lo16_dtp, adddi_er_hi32_dtp, adddi_er_lo32_dtp, adddi_er_lo16_tp, adddi_er_hi32_tp, adddi_er_lo32_tp, load_tp, set_tp, movdi_er_tlsgd, movdi_er_tlsldm, movdi_er_gotdtp, movdi_er_gottp, call_value_osf_tlsgd, call_value_osf_tlsldm): New. (call_value_osf_2_er): Accept anything as op4. * config/alpha/alpha-protos.h: Update. * config/alpha/unicosmk.h (struct machine_function): Move to alpha.c. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54125 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/Makefile.in: Replace HOST_PREFIX, HOST_PREFIX_1 withdj2002-05-311-6/+6
| | | | | | | | | | | BUILD_PREFIX, BUILD_PREFIX_1, to correct nomenclature. * gcc/mklibgcc.in: Likewise. * gcc/config/arc/t-arc: Likewise. * gcc/configure.in: Likewise. * gcc/configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54118 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-26 Geoffrey Keating <geoffk@redhat.com>geoffk2002-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (INSTALL_HEADERS): Add 'install-mkheaders'. (mkheaders): New rule. (install-mkheaders): New rule. * configure.in (all_outputs): Add mkheaders. * configure: Regenerate. * mkheaders.in: New file. Index: gcc/Makefile.in =================================================================== RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v retrieving revision 1.880 diff -p -u -p -r1.880 Makefile.in --- gcc/Makefile.in 25 May 2002 22:01:40 -0000 1.880 +++ gcc/Makefile.in 27 May 2002 04:14:19 -0000 @@ -434,7 +434,7 @@ FLOAT_H=@float_h_file@ LIBCONVERT = # Control whether header files are installed. -INSTALL_HEADERS=install-headers +INSTALL_HEADERS=install-headers install-mkheaders # Control whether Info documentation is built and installed. BUILD_INFO = @BUILD_INFO@ @@ -878,6 +878,9 @@ gccbug: $(srcdir)/gccbug.in mklibgcc: $(srcdir)/mklibgcc.in CONFIG_FILES=mklibgcc CONFIG_HEADERS= ./config.status +mkheaders: $(srcdir)/mkheaders.in + CONFIG_FILES=mkheaders CONFIG_HEADERS= ./config.status + # cstamp-h.in controls rebuilding of config.in. # It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't # delete it. A stamp file is needed as autoheader won't update the file if @@ -2839,6 +2842,47 @@ install-headers-cpio: stmp-int-hdrs $(ST # Install the include directory using cp. install-headers-cp: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir cp -p -r include $(libsubdir) + +itoolsdir = $(libsubdir)/install-tools +# Don't install the headers. Instead, install appropriate scripts +# and supporting files for fixincludes to be run later. +install-mkheaders: stmp-int-hdrs $(STMP_FIXPROTO) install-include-dir \ + mkheaders xlimits.h + -rm -rf $(itoolsdir) + $(SHELL) $(srcdir)/mkinstalldirs $(itoolsdir)/include + for file in $(USER_H); do \ + realfile=`echo $$file | sed -e 's|.*/\([^/]*\)$$|\1|'`; \ + $(INSTALL_DATA) $$file \ + $(itoolsdir)/include/$$realfile ; \ + done + if [ x$(FLOAT_H) != xMakefile.in ]; then \ + $(INSTALL_DATA) $(srcdir)/config/$(FLOAT_H) \ + $(itoolsdir)/include/float.h ; \ + else :; fi + $(INSTALL_DATA) xlimits.h $(itoolsdir)/include/limits.h + if [ x$(STMP_FIXINC) != x ] ; then \ + $(INSTALL_DATA) $(srcdir)/README-fixinc \ + $(itoolsdir)/include/README ; \ + $(INSTALL_PROGRAM) fixinc.sh $(itoolsdir)/fixinc.sh ; \ + $(INSTALL_PROGRAM) fixinc/fixincl $(itoolsdir)/fixincl ; \ + $(INSTALL_DATA) $(srcdir)/gsyslimits.h $(itoolsdir)/gsyslimits.h ; \ + else :; fi + if [ x$(STMP_FIXPROTO) != x ] ; then \ + $(INSTALL_PROGRAM) $(srcdir)/mkinstalldirs \ + $(itoolsdir)/mkinstalldirs ; \ + $(INSTALL_PROGRAM) $(srcdir)/fixproto $(itoolsdir)/fixproto ; \ + $(INSTALL_PROGRAM) fix-header$(build_exeext) \ + $(itoolsdir)/fix-header$(build_exeext) ; \ + else :; fi + $(INSTALL_PROGRAM) mkheaders $(itoolsdir)/mkheaders + echo 'SYSTEM_HEADER_DIR="$(SYSTEM_HEADER_DIR)"' \ + > $(itoolsdir)/mkheaders.conf + echo 'OTHER_FIXINCLUDES_DIRS="$(OTHER_FIXINCLUDES_DIRS)"' \ + >> $(itoolsdir)/mkheaders.conf + echo 'FIXPROTO_DEFINES="$(FIXPROTO_DEFINES)"' \ + >> $(itoolsdir)/mkheaders.conf + echo 'STMP_FIXPROTO="$(STMP_FIXPROTO)"' >> $(itoolsdir)/mkheaders.conf + echo 'STMP_FIXINC="$(STMP_FIXINC)"' >> $(itoolsdir)/mkheaders.conf # Use this target to install the program `collect2' under the name `collect2'. install-collect2: collect2 installdirs Index: gcc/configure =================================================================== RCS file: /cvs/gcc/gcc/gcc/configure,v retrieving revision 1.606 diff -p -u -p -r1.606 configure --- gcc/configure 25 May 2002 19:51:40 -0000 1.606 +++ gcc/configure 27 May 2002 04:14:21 -0000 @@ -8065,7 +8065,7 @@ all_languages= all_boot_languages= all_compilers= all_stagestuff= -all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc' +all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders' # List of language makefile fragments. all_lang_makefiles= Index: gcc/configure.in =================================================================== RCS file: /cvs/gcc/gcc/gcc/configure.in,v retrieving revision 1.593 diff -p -u -p -r1.593 configure.in --- gcc/configure.in 25 May 2002 19:51:41 -0000 1.593 +++ gcc/configure.in 27 May 2002 04:14:21 -0000 @@ -2312,7 +2312,7 @@ all_languages= all_boot_languages= all_compilers= all_stagestuff= -all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc' +all_outputs='Makefile intl/Makefile fixinc/Makefile gccbug mklibgcc mkheaders' # List of language makefile fragments. all_lang_makefiles= Index: gcc/mkheaders.in =================================================================== RCS file: gcc/mkheaders.in diff -N gcc/mkheaders.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ gcc/mkheaders.in 27 May 2002 04:14:21 -0000 @@ -0,0 +1,101 @@ +#!/bin/sh + +# Copyright (C) 2002 Free Software Foundation, Inc. + +#This file is part of GCC. + +#GCC is free software; you can redistribute it and/or modify it under +#the terms of the GNU General Public License as published by the Free +#Software Foundation; either version 2, or (at your option) any later +#version. + +#GCC is distributed in the hope that it will be useful, but WITHOUT +#ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +#FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +#for more details. + +#You should have received a copy of the GNU General Public License +#along with GCC; see the file COPYING. If not, write to the Free +#Software Foundation, 59 Temple Place - Suite 330, Boston, MA +#02111-1307, USA. + +# Basic information +target=@target@ +target_alias=@target_alias@ +version=@gcc_version@ + +VERBOSE=0 +while [ x$1 = x-v ] ; do + shift + VERBOSE=`expr $VERBOSE + 1` +done +export VERBOSE + +if [ x$1 = x--help ] ; then + echo "Usage: mkheaders [options] [prefix]" + echo "Options:" + echo " -v Print more output (may be repeated for even more output)" + echo " --help This help" + echo " --version Print version information" + exit 0 +fi + +if [ x$1 = x--version ] ; then + echo "mkheaders (GCC) version $version" + echo "Copyright 2002 Free Software Foundation, Inc." + echo "This program is free software; you may redistribute it under the" + echo "terms of the GNU General Public License. This program has" + echo "absolutely no warranty." + exit 0 +fi + +# Common prefix for installation directories. +if [ x$1 != x ] ; then + prefix=$1 +else + prefix=@prefix@ +fi +# Directory in which to put localized header files. On the systems with +# gcc as the native cc, `local_prefix' may not be `prefix' which is +# `/usr'. +# NOTE: local_prefix *should not* default from prefix. +local_prefix=@local_prefix@ +# Directory in which to put host dependent programs and libraries +exec_prefix=@exec_prefix@ +# Directory in which to put the directories used by the compiler. +libdir=@libdir@ +# Directory in which the compiler finds executables, libraries, etc. +libsubdir=${libdir}/gcc-lib/${target_alias}/${version} +# Since gcc_tooldir does not exist at build-time, use -B${build_tooldir}/bin/ +build_tooldir=${exec_prefix}/${target_alias} +# Directory to search for site-specific includes. +local_includedir=${local_prefix}/include +includedir=${prefix}/include + +itoolsdir=${libsubdir}/install-tools +incdir=${libsubdir}/include + +. ${itoolsdir}/mkheaders.conf + +cd ${itoolsdir} +rm -rf ${incdir}/* + +if [ x${STMP_FIXINC} != x ] ; then + TARGET_MACHINE="${target}" target_canonical="${target}" \ + ${SHELL} ./fixinc.sh ${incdir} \ + ${SYSTEM_HEADER_DIR} ${OTHER_FIXINCLUDES_DIRS} + rm -f ${incdir}/syslimits.h + if [ -f ${incdir}/limits.h ]; then + mv ${incdir}/limits.h ${incdir}/syslimits.h + else + cp gsyslimits.h ${incdir}/syslimits.h + fi +fi + +cp include/* ${incdir} + +if [ x${STMP_FIXPROTO} != x ] ; then + mkinstalldirs="${SHELL} ${itoolsdir}/mkinstalldirs" + export FIXPROTO_DEFINES mkinstalldirs + ${SHELL} fixproto ${incdir} ${incdir} ${SYSTEM_HEADER_DIR} || exit 1 +fi git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53907 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_TLS): Add ia64 test.rth2002-05-251-13/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Rebuild. * config/ia64/ia64.c (ia64_tls_size_string, ia64_tls_size): New. (override_options): Set it. (TARGET_HAVE_TLS): New. (sdata_symbolic_operand): Look for 's'. (tls_symbolic_operand): New. (ia64_expand_load_address): Abort for tls symbols. (gen_tls_get_addr): New. (gen_thread_pointer): New. (ia64_expand_move): Split out from movdi. Handle tls symbols. (rtx_needs_barrier): Add new unspecs. (ia64_encode_section_info): Handle tls symbols. (ia64_strip_name_encoding): Strip two encoding chars. * config/ia64/ia64.h (ia64_tls_size, ia64_tls_size_string): New. (TARGET_TLS14, TARGET_TLS22, TARGET_TLS64): New. (TARGET_OPTIONS): Add tls-size. (ENCODE_SECTION_INFO_CHAR): Rename from SDATA_NAME_FLAG_CHAR. * config/ia64/ia64.md (UNSPEC_LTOFF_DTPMOD, UNSPEC_LTOFF_DTPREL, UNSPEC_DTPREL, UNSPEC_LTOFF_TPREL, UNSPEC_TPREL, UNSPEC_LD_BASE): New. (movqi, movhi, movsi, movdi, movti): Use ia64_expand_move. (movsf, movdf): Likewise. (movdi_symbolic): Use match_scratch. Don't split if we won't have a scratch availiable. (load_ltoff_dtpmod, load_dtprel, load_dtprel64, load_dtprel22, add_dtprel, add_dtprel14, add_dtprel22, load_ltoff_tprel, load_tprel, load_tprel64, load_tprel22, add_tprel, add_tprel14, add_tprel22): New. * config/ia64/ia64-protos.h: Update. * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Use sdata_symbolic_operand. (ASM_OUTPUT_LABELREF): Strip two characters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53874 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_TLS): New test.rth2002-05-231-16/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.in, configure: Rebuild. * config/i386/i386.c (TARGET_HAVE_TLS): Set if HAVE_AS_TLS. (ix86_tls_dialect_string, ix86_tls_dialect): New. (override_options): Set it. (tls_model_chars, tls_symbolic_operand): New. (tls_symbolic_operand_1, global_dynamic_symbolic_operand): New. (local_dynamic_symbolic_operand, initial_exec_symbolic_operand): New. (local_exec_symbolic_operand): New. (get_pic_label_name): Merge into output_set_got. (ix86_asm_file_end): Emit pic_label_name if defined. (legitimate_constant_p, constant_address_p): New. (legitimate_pic_operand_p): New. (legitimate_pic_address_disp_p): Handle GOTTPOFF, NTPOFF, DTPOFF. (legitimate_address_p): Likewise. (ix86_encode_section_info): Rename from i386_; handle tls decls. (ix86_strip_name_encoding): New. (get_thread_pointer): New. (legitimize_address): Handle tls symbols. (output_pic_addr_const): Handle GOTTPOFF, TPOFF, NTPOFF, DTPOFF. Remove UNSPEC_PLT. (struct machine_function): Add some_ld_name. (get_some_local_dynamic_name, get_some_local_dynamic_name_1): Set it. (print_operand) [&]: Use it. Handle UNSPEC_TP. (output_addr_const_extra): New. (maybe_get_pool_constant): New. (ix86_split_to_parts): Use it. (ix86_expand_move): Handle tls symbols. (ix86_tls_get_addr): New. * config/i386/i386.h (TARGET_GNU_TLS, TARGET_SUN_TLS): New. (TARGET_OPTIONS): Add tls-dialect. (CONSTANT_ADDRESS_P): Use new out-of-line function. (LEGITIMATE_CONSTANT_P): Likewise. (LEGITIMATE_PIC_OPERAND_P): Likewise. (TARGET_STRIP_NAME_ENCODING): New. (ASM_OUTPUT_LABELREF): New. (PRINT_OPERAND_PUNCT_VALID_P): Add '&'. (OUTPUT_ADDR_CONST_EXTRA): New. (PREDICATE_CODES): Update. (ix86_tls_dialect, ix86_tls_dialect_string): New. * config/i386/i386.md: Regroup and renumber unspec constants. (tls_global_dynamic_gnu, tls_global_dynamic_sun): New. (tls_local_dynamic_base_gnu, tls_local_dynamic_base_sun): New. (tls_global_dynamic, tls_local_dynamic_base): New. (tls_local_dynamic_once): New. * config/i386/i386-protos.h: Update. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53812 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Fix as version test for binutils 2.12.1 releasesjakub2002-05-231-2/+22
| | | | | | | | (without dates). * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53775 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (CROSS): Define NATIVE_CROSS.amodra2002-05-221-24/+29
| | | | | | | | | | | | | | | | | | * configure: Regenerate. * gcc.c (STARTFILE_PREFIX_SPEC): Define. (startfile_prefix_spec): New var. (static_specs): Add startfile_prefix_spec. (do_spec_2): Split out from.. (do_spec): ..here. (main): Process startfile_prefix_spec. * config/rs6000/linux64.h (LINK_OS_LINUX_SPEC) Change name of dynamic linker. (STARTFILE_PREFIX_SPEC): Define. (STARTFILE_LINUX_SPEC, ENDFILE_LINUX_SPEC): Rewrite without absolute paths. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53752 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_FUNCS): Add checks for scandir andmmitchel2002-05-191-167/+168
| | | | | | | | | alphasort. * config.in: Regenerated. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53633 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud