From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23944 invoked by alias); 17 Nov 2009 19:59:07 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 23901 invoked by uid 9674); 17 Nov 2009 19:59:06 -0000 Date: Tue, 17 Nov 2009 19:59:00 -0000 Message-ID: <20091117195906.23886.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: Merge remote branch 'gdb/master' X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 2d552d549a3db77bfe291cde268c48d3a942d5d6 X-Git-Newrev: 1249d0cb4c4a02496397fab2a0ac8160b5b11c8a X-SW-Source: 2009-q4/txt/msg00059.txt.bz2 List-Id: The branch, master has been updated via 1249d0cb4c4a02496397fab2a0ac8160b5b11c8a (commit) via 3515548719e69d12398db408f01cde0f83535241 (commit) via 728894f6a3460bbf62110f71bb4a255e98048eb5 (commit) via 1133e46f39f54c0ce9a601c6a424f1c7abb66cde (commit) via f58e4f4171fc52f0e40208dfa1b5913333a2a28c (commit) via 1f45c984248571e91c8bff1345ef50872b52ebc3 (commit) via 70fdafcfc88ea4e6446e61a23dacd965b953e586 (commit) via 8d51c7138515971351cc576411b454fcf038c432 (commit) via 2be94ff0cb68710600ab56cee953a34f2e198c3f (commit) via 13a3832b8aa7e8b31fd52a177617560a4bb13cb3 (commit) via d9a6353ed5ad7bbcff5aff5aac2e1eec3c4fe7fe (commit) via 09ff0e924514932b7aa9a11955ee694ffd82e7df (commit) via 76be8ac3e88d2c6d97f5accfd07c51c08fd3de6a (commit) via 63c9a23294627d9f4552a98efe247298bc589a01 (commit) via cb8f60322419828a0af2145d21ba388dc09a06da (commit) via 2c62125b938ea820aa4dd0d8f35f64734f1605ce (commit) via 4c0947b310601891e5aaf8d01a4986b96dfd88b4 (commit) via cff3ab0efab2920fabf2d2838a90d31b997ca0af (commit) via 2fcae1ede11615f4334c63a1341f9a2e829de67d (commit) via 910d24365e1c03e80b4711a6ccc43acb7d97c12e (commit) from 2d552d549a3db77bfe291cde268c48d3a942d5d6 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 1249d0cb4c4a02496397fab2a0ac8160b5b11c8a Merge: 2d552d549a3db77bfe291cde268c48d3a942d5d6 3515548719e69d12398db408f01cde0f83535241 Author: Jan Kratochvil Date: Tue Nov 17 20:58:55 2009 +0100 Merge remote branch 'gdb/master' commit 3515548719e69d12398db408f01cde0f83535241 Author: H.J. Lu Date: Tue Nov 17 19:21:53 2009 +0000 2009-11-17 H.J. Lu PR ld/10955 * elfxx-ia64.c (elfNN_ia64_link_hash_table): Add max_short_sec, max_short_offset, min_short_sec and min_short_offset. (elfNN_ia64_update_short_info): New. (elfNN_ia64_relax_section): Update max_short_sec, max_short_offset, min_short_sec and min_short_offset. (elfNN_ia64_choose_gp): Use min_short_sec/max_short_sec if they are set. commit 728894f6a3460bbf62110f71bb4a255e98048eb5 Author: mkuvyrkov Date: Tue Nov 17 18:06:45 2009 +0000 2009-11-17 Nathan Sidwell * features/m68k-core.xml: New file. 2009-11-17 Nathan Sidwell * gdb.xml/tdesc-regs.exp: Use for m68k. commit 1133e46f39f54c0ce9a601c6a424f1c7abb66cde Author: mkuvyrkov Date: Tue Nov 17 18:05:05 2009 +0000 * regformats/reg-cf.dat: New file. commit f58e4f4171fc52f0e40208dfa1b5913333a2a28c Author: mkuvyrkov Date: Tue Nov 17 17:59:42 2009 +0000 2009-11-17 Daniel Jacobowitz * m68k-tdep.c (m68k_gdbarch_init): Reuse previous initialization. commit 1f45c984248571e91c8bff1345ef50872b52ebc3 Author: mkuvyrkov Date: Tue Nov 17 17:58:14 2009 +0000 2009-11-17 Nathan Sidwell 2009-11-17 Vladimir Prus * Makefile.in (reg-cf.o, reg-cf.c): New targets. * configure.ac: Check for __mcoldfire__ and set gdb_cv_m68k_is_coldfire. * configure.srv: Use gdb_cv_m68k_is_coldfire to select between reg-cf.o and reg-m68k.o. * configure: Regenerated. 2009-11-17 Nathan Sidwell * regformats/reg-cf.dat: New file. commit 70fdafcfc88ea4e6446e61a23dacd965b953e586 Author: mkuvyrkov Date: Tue Nov 17 17:56:10 2009 +0000 2009-11-17 Daniel Jacobowitz * m68k-tdep.c (m68k_register_name): Check fpregs_present. (m68k_gdbarch_init): Remove a duplicate of set_gdbarch_fp0_regnum. commit 8d51c7138515971351cc576411b454fcf038c432 Author: Nick Clifton Date: Tue Nov 17 17:20:26 2009 +0000 * gas/arm/vfma1.d: Only run on ELF based targets. PR binutils/10924 * gas/arm/arch4t-eabi.d: Update expected disassembly. * gas/arm/arch4t.d: Likewise. * gas/arm/archv6t2.d: Likewise. * gas/arm/arm7t.d: Likewise. * gas/arm/inst.d: Likewise. * gas/arm/xscale.d: Likewise. PR binutils/10924 * arm-dis.c (arm_opcodes): Add patterns to match undefined LDRB instruction variants. Add pattern for MRS variant that was being confused with CMP. (arm_decode_shift): Place error message in a comment. (print_insn_arm): Note that writing back to the PC is unpredictable. Only print 'p' variants of cmp/cmn/teq/tst instructions if decoding for pre-V6 architectures. commit 2be94ff0cb68710600ab56cee953a34f2e198c3f Author: Paul Brook Date: Tue Nov 17 16:31:46 2009 +0000 2009-11-17 Paul Brook Daniel Jacobowitz gas/ * doc/c-arm.texi: Document .arch armv7e-m. * config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New. (insns): Put Thumb versions of v5TExP instructions into arm_ext_v5exp also. Move some Thumb variants from arm_ext_v6_notm to arm_ext_v6_dsp. (arm_archs): Add armv7e-m architecture. (aeabi_set_public_attributes): Handle -march=armv7e-m. gas/testsuite/ * gas/arm/attr-march-armv7em.d: New test. * gas/arm/arch7em-bad.d: New test. * gas/arm/arch7em-bad.l: New test. * gas/arm/arch7em.d: New test. * gas/arm/arch7em.s: New test. include/elf/ * arm.h (TAG_CPU_ARCH_V7E_M): Define. include/opcode/ * arm.h (ARM_EXT_V6_DSP): Define. (ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP. (ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define. binutils/ * readelf.c (arm_attr_tag_CPU_arch): Add v7E-M. bfd/ * elf32-arm.c (using_thumb_only, arch_has_arm_nop, arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M. (tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test. commit 13a3832b8aa7e8b31fd52a177617560a4bb13cb3 Author: Ulrich Weigand Date: Tue Nov 17 13:36:59 2009 +0000 * elf32-spu.c (struct spu_link_hash_table): Remove overlay_fixed, reserved, and extra_stack_space members. (spu_elf_auto_overlay): Use auto_overlay_fixed, auto_overlay_reserved, and extra_stack_space members of htab->params instead. commit d9a6353ed5ad7bbcff5aff5aac2e1eec3c4fe7fe Author: Tristan Gingold Date: Tue Nov 17 10:54:20 2009 +0000 2009-11-17 Tristan Gingold * targets.c: Include alloca-conf.h commit 09ff0e924514932b7aa9a11955ee694ffd82e7df Author: Ramana Radhakrishnan Date: Tue Nov 17 10:43:09 2009 +0000 2009-11-17 Edward Nevill * arm-dis.c (print_insn_thumb32): Handle undefined instruction. commit 76be8ac3e88d2c6d97f5accfd07c51c08fd3de6a Author: Jan Kratochvil Date: Tue Nov 17 09:41:32 2009 +0000 gdb/ Fix wrong debug output with `set debug infrun 1'. * gdb/infrun.c (handle_inferior_event ): New variable old_chain. Temporarily switch INFERIOR_PTID. * target.h (target_stopped_by_watchpoint): Extend the comment. (target_stopped_data_address): New comment. commit 63c9a23294627d9f4552a98efe247298bc589a01 Author: gdbadmin Date: Tue Nov 17 00:00:33 2009 +0000 *** empty log message *** commit cb8f60322419828a0af2145d21ba388dc09a06da Author: Alan Modra Date: Mon Nov 16 23:00:04 2009 +0000 daily update commit 2c62125b938ea820aa4dd0d8f35f64734f1605ce Author: Alexandre Oliva Date: Mon Nov 16 22:57:46 2009 +0000 * Makefile.def: Restore host and target settings for gmp. * Makefile.in: Rebuild. commit 4c0947b310601891e5aaf8d01a4986b96dfd88b4 Author: Alexandre Oliva Date: Mon Nov 16 18:42:35 2009 +0000 * configure.ac: Add libelf to host_libs. Enable in-tree configury of ppl and cloog. Fix in-tree configury of libelf, skip tests. Fix portability of test of C++ as bootstrap language. Add ppl/src/ppl-config.o to the bootstrap compare exclusion list. * configure: Rebuild. * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, and cloog. Fix in-tree ppl configuration. Introduce libelf in-tree building. * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. (POSTSTAGE1_HOST_EXPORTS): Use it. (STAGE[+id+]_CXXFLAGS): New. (BASE_FLAGS_TO_PASS): Pass it down. (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add extra_exports. (all-stage[+id+]-[+prefix+][+module+]): Likewise. (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add extra_exports. * Makefile.in: Rebuild. * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem paths for *-w64-mingw* and x86_64-*mingw*. * configure: Regenerated. * configure.ac: Disable target-winsup & co for x86_64-*-mingw* and *-w64-mingw* targets. * configure: Regenerated. * configure.ac (CLooG test): Use = with test. * configure: Regenerate. * configure.ac: Do not set LIBS for ppl/cloog checks. Disable cloog if the ppl version check failed. Move flags saving before setting in libelf check. * configure: Regenerate. * configure.ac: Adjust the ppl and cloog configure to work as documented. Disable cloog if ppl was disabled. Omit the version checks if they were disabled. * configure: Re-generate. commit cff3ab0efab2920fabf2d2838a90d31b997ca0af Author: Tom Tromey Date: Mon Nov 16 18:40:18 2009 +0000 * xcoffread.c (scan_xcoff_symtab): Update. * symfile.h (add_psymbol_to_list): Update prototype. * symfile.c (add_psymbol_to_bcache): Add copy_name argument. (add_psymbol_to_list): Likewise. * stabsread.c (define_symbol): Update. * mdebugread.c (parse_partial_symbols): Update. (handle_psymbol_enumerators): Update. (new_symbol): Update. * dbxread.c (read_dbx_symtab): Update. * coffread.c (process_coff_symbol): Update. * symtab.h (prim_record_minimal_symbol_full): Declare. (SYMBOL_SET_NAMES): Add copy_name argument. * symtab.c (struct demangled_name_entry): New struct. (hash_demangled_name_entry): New function. (eq_demangled_name_entry): Likewise. (create_demangled_names_hash): Use new functions. (symbol_set_names): Use struct demangled_name_entry. Add copy_name argument. * minsyms.c (prim_record_minimal_symbol_full): New function. (prim_record_minimal_symbol_and_info): Use it. * elfread.c (record_minimal_symbol): Add name_len and copy_name arguments. Call prim_record_minimal_symbol_full. (elf_symtab_read): Add copy_names argument. (elf_symfile_read): Update calls to elf_symtab_read. * dwarf2read.c (add_partial_symbol): Don't copy symbol names. (load_partial_dies): Likewise. (new_symbol): Likewise. * cp-namespace.c (check_one_possible_namespace_symbol): Don't save name on the obstack. Update call to SYMBOL_SET_NAMES. commit 2fcae1ede11615f4334c63a1341f9a2e829de67d Author: Pedro Alves Date: Mon Nov 16 18:15:05 2009 +0000 * linux-low.c (linux_remove_process): Add `detaching' parameter. Pass it to thread_db_free. (linux_kill, linux_detach, linux_wait_1): Adjust to pass the proper `detaching' argument to linux_remove_process. * linux-low.h (thread_db_free): Add `detaching' parameter. * thread-db.c (thread_db_init): Pass false as `detaching' argument to thread_db_free. (thread_db_free): Add `detaching' parameter. Only call td_ta_clear_event if detaching from process. commit 910d24365e1c03e80b4711a6ccc43acb7d97c12e Author: Kai Tietz Date: Mon Nov 16 11:11:11 2009 +0000 2009-11-16 Kai Tietz * targets.c (bfd_get_target_info): New function. (_bfd_find_arch_match): New function. * bfd-in2.h: Regenerated. ----------------------------------------------------------------------- Summary of changes: ChangeLog | 57 + Makefile.def | 30 +- Makefile.in | 2522 ++++++++++++++++++++++++---------- Makefile.tpl | 50 +- bfd/ChangeLog | 35 + bfd/bfd-in2.h | 5 + bfd/elf32-arm.c | 29 +- bfd/elf32-spu.c | 28 +- bfd/elfxx-ia64.c | 102 ++- bfd/targets.c | 116 ++ bfd/version.h | 2 +- configure | 79 +- configure.ac | 83 +- gdb/ChangeLog | 53 + gdb/coffread.c | 2 +- gdb/cp-namespace.c | 5 +- gdb/dbxread.c | 18 +- gdb/dwarf2read.c | 14 +- gdb/elfread.c | 29 +- gdb/features/m68k-core.xml | 24 + gdb/gdbserver/ChangeLog | 26 + gdb/gdbserver/Makefile.in | 3 + gdb/gdbserver/configure | 29 + gdb/gdbserver/configure.ac | 12 + gdb/gdbserver/configure.srv | 12 +- gdb/gdbserver/linux-low.c | 10 +- gdb/gdbserver/linux-low.h | 2 +- gdb/gdbserver/thread-db.c | 26 +- gdb/infrun.c | 5 + gdb/jit.c | 2 +- gdb/m68k-tdep.c | 11 +- gdb/mdebugread.c | 31 +- gdb/minsyms.c | 33 +- gdb/regformats/reg-cf.dat | 33 + gdb/stabsread.c | 4 +- gdb/symfile.c | 10 +- gdb/symfile.h | 2 +- gdb/symtab.c | 114 ++- gdb/symtab.h | 11 +- gdb/target.h | 9 +- gdb/testsuite/ChangeLog | 4 + gdb/testsuite/gdb.xml/tdesc-regs.exp | 3 + gdb/version.in | 2 +- gdb/xcoffread.c | 18 +- include/elf/ChangeLog | 5 + include/elf/arm.h | 3 +- include/opcode/ChangeLog | 7 + include/opcode/arm.h | 11 +- opcodes/ChangeLog | 16 + opcodes/arm-dis.c | 48 +- 50 files changed, 2768 insertions(+), 1017 deletions(-) create mode 100644 gdb/features/m68k-core.xml create mode 100644 gdb/regformats/reg-cf.dat First 500 lines of diff: diff --git a/ChangeLog b/ChangeLog index a6bfb7f..62ff3c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,60 @@ +2009-11-16 Alexandre Oliva + + * Makefile.def: Restore host and target settings for gmp. + * Makefile.in: Rebuild. + +2009-11-16 Alexandre Oliva + + * configure.ac: Add libelf to host_libs. Enable in-tree configury + of ppl and cloog. Fix in-tree configury of libelf, skip tests. + Fix portability of test of C++ as bootstrap language. Add + ppl/src/ppl-config.o to the bootstrap compare exclusion list. + * configure: Rebuild. + * Makefile.def: Drop host and target settings from gmp, mpfr, ppl, + and cloog. Fix in-tree ppl configuration. Introduce libelf + in-tree building. + * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New. + (POSTSTAGE1_HOST_EXPORTS): Use it. + (STAGE[+id+]_CXXFLAGS): New. + (BASE_FLAGS_TO_PASS): Pass it down. + (configure-stage[+id+]-[+prefix+][+module+]): Use it. Add + extra_exports. + (all-stage[+id+]-[+prefix+][+module+]): Likewise. + (configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add + extra_exports. + * Makefile.in: Rebuild. + +2009-11-06 Ozkan Sezer + + * configure.ac (FLAGS_FOR_TARGET): Add -L and -isystem + paths for *-w64-mingw* and x86_64-*mingw*. + * configure: Regenerated. + +2009-10-30 Kai Tietz + + * configure.ac: Disable target-winsup & co for + x86_64-*-mingw* and *-w64-mingw* targets. + * configure: Regenerated. + +2009-10-23 Rainer Orth + + * configure.ac (CLooG test): Use = with test. + * configure: Regenerate. + +2009-10-22 Richard Guenther + + * configure.ac: Do not set LIBS for ppl/cloog checks. Disable + cloog if the ppl version check failed. Move flags saving + before setting in libelf check. + * configure: Regenerate. + +2009-10-21 Richard Guenther + + * configure.ac: Adjust the ppl and cloog configure to work as + documented. Disable cloog if ppl was disabled. Omit the version + checks if they were disabled. + * configure: Re-generate. + 2009-10-13 Ralf Wildenhues * configure.ac: Add 'lto' to enable_languages, not diff --git a/Makefile.def b/Makefile.def index 5541a67..f5c2e11 100644 --- a/Makefile.def +++ b/Makefile.def @@ -62,27 +62,30 @@ host_modules= { module= gawk; }; host_modules= { module= gettext; }; host_modules= { module= gmp; lib_path=.libs; bootstrap=true; extra_configure_flags='--disable-shared'; - no_install= true; + no_install= true; + // none-*-* disables asm optimizations, bootstrap-testing + // the compiler more thoroughly. host="none-${host_vendor}-${host_os}"; - target="none-${host_vendor}-${host_os}"; }; + // gmp's configure will complain if given anything + // different from host for target. + target="none-${host_vendor}-${host_os}"; }; host_modules= { module= mpfr; lib_path=.libs; bootstrap=true; extra_configure_flags='--disable-shared @extra_mpfr_configure_flags@'; - no_install= true; - host="none-${host_vendor}-${host_os}"; - target="none-${host_vendor}-${host_os}"; }; + no_install= true; }; host_modules= { module= mpc; lib_path=.libs; bootstrap=true; extra_configure_flags='--disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@'; no_install= true; }; -host_modules= { module= ppl; lib_path=.libs; bootstrap=true; +host_modules= { module= ppl; lib_path=src/.libs; bootstrap=true; extra_configure_flags='--disable-shared --with-libgmp-prefix=$$r/$(HOST_SUBDIR)/gmp/ --with-libgmpxx-prefix=$$r/$(HOST_SUBDIR)/gmp/'; - no_install= true; - host="none-${host_vendor}-${host_os}"; - target="none-${host_vendor}-${host_os}"; }; + no_install= true; }; host_modules= { module= cloog; lib_path=.libs; bootstrap=true; - extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-ppl=$$r/$(HOST_SUBDIR)/ppl/ --with-bits=gmp'; - no_install= true; - host="none-${host_vendor}-${host_os}"; - target="none-${host_vendor}-${host_os}"; }; + extra_configure_flags='--disable-shared --with-gmp-library=$$r/$(HOST_SUBDIR)/gmp/.libs --with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-bits=gmp --with-ppl'; + extra_exports='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}"; export CPPFLAGS; LDFLAGS="$$LDFLAGS ${HOST_PPLLIBS}"; export LDFLAGS; '; + extra_make_flags='CPPFLAGS="${CPPFLAGS} ${HOST_PPLINC}" LDFLAGS="$$LDFLAGS"'; + no_install= true; }; +host_modules= { module= libelf; lib_path=.libs; bootstrap=true; + extra_configure_flags='--disable-shared'; + no_install= true; }; host_modules= { module= gnuserv; }; host_modules= { module= gold; bootstrap=true; }; host_modules= { module= gprof; }; @@ -326,6 +329,7 @@ dependencies = { module=all-gcc; on=all-mpfr; }; dependencies = { module=all-gcc; on=all-mpc; }; dependencies = { module=all-gcc; on=all-ppl; }; dependencies = { module=all-gcc; on=all-cloog; }; +dependencies = { module=all-gcc; on=all-libelf; }; dependencies = { module=all-gcc; on=all-build-texinfo; }; dependencies = { module=all-gcc; on=all-build-bison; }; dependencies = { module=all-gcc; on=all-build-byacc; }; diff --git a/Makefile.in b/Makefile.in index afff42e..e5fa1d3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -226,6 +226,21 @@ HOST_EXPORTS = \ @endif gcc-bootstrap $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); +POSTSTAGE1_CXX_EXPORT = \ + CXX='$(CXX)'; export CXX; \ + CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD; +@if target-libstdc++-v3-bootstrap +# Override the above if we're bootstrapping C++. +POSTSTAGE1_CXX_EXPORT = \ + CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \ + -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ + -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ + -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ + -I$$s/libstdc++-v3/libsupc++ \ + -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \ + CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; +@endif target-libstdc++-v3-bootstrap + # Similar, for later GCC stages. POSTSTAGE1_HOST_EXPORTS = \ $(HOST_EXPORTS) \ @@ -233,13 +248,7 @@ POSTSTAGE1_HOST_EXPORTS = \ -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \ $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \ - CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/g++$(exeext) \ - -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \ - -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \ - -I$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \ - -I$$s/libstdc++-v3/libsupc++ \ - -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs"; export CXX; \ - CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD; \ + $(POSTSTAGE1_CXX_EXPORT) \ GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \ LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \ HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS; @@ -398,31 +407,61 @@ STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@ # Defaults for stage 1; some are overridden below. STAGE1_CFLAGS = $(STAGE_CFLAGS) +STAGE1_CXXFLAGS = $(CXXFLAGS) +@if target-libstdc++-v3-bootstrap +# Override the above if we're bootstrapping C++. +STAGE1_CXXFLAGS = $(STAGE1_CFLAGS) +@endif target-libstdc++-v3-bootstrap STAGE1_TFLAGS = $(STAGE_TFLAGS) STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) # Defaults for stage 2; some are overridden below. STAGE2_CFLAGS = $(STAGE_CFLAGS) +STAGE2_CXXFLAGS = $(CXXFLAGS) +@if target-libstdc++-v3-bootstrap +# Override the above if we're bootstrapping C++. +STAGE2_CXXFLAGS = $(STAGE2_CFLAGS) +@endif target-libstdc++-v3-bootstrap STAGE2_TFLAGS = $(STAGE_TFLAGS) STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) # Defaults for stage 3; some are overridden below. STAGE3_CFLAGS = $(STAGE_CFLAGS) +STAGE3_CXXFLAGS = $(CXXFLAGS) +@if target-libstdc++-v3-bootstrap +# Override the above if we're bootstrapping C++. +STAGE3_CXXFLAGS = $(STAGE3_CFLAGS) +@endif target-libstdc++-v3-bootstrap STAGE3_TFLAGS = $(STAGE_TFLAGS) STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) # Defaults for stage 4; some are overridden below. STAGE4_CFLAGS = $(STAGE_CFLAGS) +STAGE4_CXXFLAGS = $(CXXFLAGS) +@if target-libstdc++-v3-bootstrap +# Override the above if we're bootstrapping C++. +STAGE4_CXXFLAGS = $(STAGE4_CFLAGS) +@endif target-libstdc++-v3-bootstrap STAGE4_TFLAGS = $(STAGE_TFLAGS) STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) # Defaults for stage profile; some are overridden below. STAGEprofile_CFLAGS = $(STAGE_CFLAGS) +STAGEprofile_CXXFLAGS = $(CXXFLAGS) +@if target-libstdc++-v3-bootstrap +# Override the above if we're bootstrapping C++. +STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS) +@endif target-libstdc++-v3-bootstrap STAGEprofile_TFLAGS = $(STAGE_TFLAGS) STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) # Defaults for stage feedback; some are overridden below. STAGEfeedback_CFLAGS = $(STAGE_CFLAGS) +STAGEfeedback_CXXFLAGS = $(CXXFLAGS) +@if target-libstdc++-v3-bootstrap +# Override the above if we're bootstrapping C++. +STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS) +@endif target-libstdc++-v3-bootstrap STAGEfeedback_TFLAGS = $(STAGE_TFLAGS) STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) @@ -434,8 +473,8 @@ STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS) # overrideable (for a bootstrap build stage1 also builds gcc.info). STAGE1_CFLAGS = @stage1_cflags@ -STAGE1_CHECKING=@stage1_checking@ -STAGE1_LANGUAGES=@stage1_languages@ +STAGE1_CHECKING = @stage1_checking@ +STAGE1_LANGUAGES = @stage1_languages@ # * We force-disable intermodule optimizations, even if # --enable-intermodule was passed, since the installed compiler # probably can't handle them. Luckily, autoconf always respects @@ -538,7 +577,7 @@ TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs: # This is the list of directories that may be needed in RPATH_ENVVAR # so that programs built for the host machine work. -HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog) +HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)$(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_ppl)$(HOST_LIB_PATH_cloog)$(HOST_LIB_PATH_libelf) # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch @if gcc @@ -573,7 +612,7 @@ HOST_LIB_PATH_mpc = \ @if ppl HOST_LIB_PATH_ppl = \ - $$r/$(HOST_SUBDIR)/ppl/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/.libs: + $$r/$(HOST_SUBDIR)/ppl/src/.libs:$$r/$(HOST_SUBDIR)/prev-ppl/src/.libs: @endif ppl @if cloog @@ -581,6 +620,11 @@ HOST_LIB_PATH_cloog = \ $$r/$(HOST_SUBDIR)/cloog/.libs:$$r/$(HOST_SUBDIR)/prev-cloog/.libs: @endif cloog +@if libelf +HOST_LIB_PATH_libelf = \ + $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs: +@endif libelf + # Flags to pass down to all sub-makes. BASE_FLAGS_TO_PASS = \ @@ -670,16 +714,22 @@ BASE_FLAGS_TO_PASS = \ "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \ "LEAN=$(LEAN)" \ "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \ + "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \ "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \ "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \ + "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \ "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \ "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \ + "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \ "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \ "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \ + "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \ "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \ "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \ + "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \ "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \ "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \ + "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \ "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \ "TFLAGS=$(TFLAGS)" \ "CONFIG_SHELL=$(SHELL)" \ @@ -727,8 +777,8 @@ POSTSTAGE1_FLAGS_TO_PASS = \ CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \ CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \ GNATBIND="$${GNATBIND}" \ - LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)" \ - HOST_LIBS="$(POSTSTAGE1_LIBS)" \ + LDFLAGS="$${LDFLAGS}" \ + HOST_LIBS="$${HOST_LIBS}" \ "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" # Flags to pass down to makes which are built with the target environment. @@ -815,6 +865,7 @@ configure-host: \ maybe-configure-mpc \ maybe-configure-ppl \ maybe-configure-cloog \ + maybe-configure-libelf \ maybe-configure-gnuserv \ maybe-configure-gold \ maybe-configure-gprof \ @@ -973,6 +1024,9 @@ all-host: maybe-all-ppl @if cloog-no-bootstrap all-host: maybe-all-cloog @endif cloog-no-bootstrap +@if libelf-no-bootstrap +all-host: maybe-all-libelf +@endif libelf-no-bootstrap all-host: maybe-all-gnuserv @if gold-no-bootstrap all-host: maybe-all-gold @@ -1111,6 +1165,7 @@ info-host: maybe-info-mpfr info-host: maybe-info-mpc info-host: maybe-info-ppl info-host: maybe-info-cloog +info-host: maybe-info-libelf info-host: maybe-info-gnuserv info-host: maybe-info-gold info-host: maybe-info-gprof @@ -1224,6 +1279,7 @@ dvi-host: maybe-dvi-mpfr dvi-host: maybe-dvi-mpc dvi-host: maybe-dvi-ppl dvi-host: maybe-dvi-cloog +dvi-host: maybe-dvi-libelf dvi-host: maybe-dvi-gnuserv dvi-host: maybe-dvi-gold dvi-host: maybe-dvi-gprof @@ -1337,6 +1393,7 @@ pdf-host: maybe-pdf-mpfr pdf-host: maybe-pdf-mpc pdf-host: maybe-pdf-ppl pdf-host: maybe-pdf-cloog +pdf-host: maybe-pdf-libelf pdf-host: maybe-pdf-gnuserv pdf-host: maybe-pdf-gold pdf-host: maybe-pdf-gprof @@ -1450,6 +1507,7 @@ html-host: maybe-html-mpfr html-host: maybe-html-mpc html-host: maybe-html-ppl html-host: maybe-html-cloog +html-host: maybe-html-libelf html-host: maybe-html-gnuserv html-host: maybe-html-gold html-host: maybe-html-gprof @@ -1563,6 +1621,7 @@ TAGS-host: maybe-TAGS-mpfr TAGS-host: maybe-TAGS-mpc TAGS-host: maybe-TAGS-ppl TAGS-host: maybe-TAGS-cloog +TAGS-host: maybe-TAGS-libelf TAGS-host: maybe-TAGS-gnuserv TAGS-host: maybe-TAGS-gold TAGS-host: maybe-TAGS-gprof @@ -1676,6 +1735,7 @@ install-info-host: maybe-install-info-mpfr install-info-host: maybe-install-info-mpc install-info-host: maybe-install-info-ppl install-info-host: maybe-install-info-cloog +install-info-host: maybe-install-info-libelf install-info-host: maybe-install-info-gnuserv install-info-host: maybe-install-info-gold install-info-host: maybe-install-info-gprof @@ -1789,6 +1849,7 @@ install-pdf-host: maybe-install-pdf-mpfr install-pdf-host: maybe-install-pdf-mpc install-pdf-host: maybe-install-pdf-ppl install-pdf-host: maybe-install-pdf-cloog +install-pdf-host: maybe-install-pdf-libelf install-pdf-host: maybe-install-pdf-gnuserv install-pdf-host: maybe-install-pdf-gold install-pdf-host: maybe-install-pdf-gprof @@ -1902,6 +1963,7 @@ install-html-host: maybe-install-html-mpfr install-html-host: maybe-install-html-mpc install-html-host: maybe-install-html-ppl install-html-host: maybe-install-html-cloog +install-html-host: maybe-install-html-libelf install-html-host: maybe-install-html-gnuserv install-html-host: maybe-install-html-gold install-html-host: maybe-install-html-gprof @@ -2015,6 +2077,7 @@ installcheck-host: maybe-installcheck-mpfr installcheck-host: maybe-installcheck-mpc installcheck-host: maybe-installcheck-ppl installcheck-host: maybe-installcheck-cloog +installcheck-host: maybe-installcheck-libelf installcheck-host: maybe-installcheck-gnuserv installcheck-host: maybe-installcheck-gold installcheck-host: maybe-installcheck-gprof @@ -2128,6 +2191,7 @@ mostlyclean-host: maybe-mostlyclean-mpfr mostlyclean-host: maybe-mostlyclean-mpc mostlyclean-host: maybe-mostlyclean-ppl mostlyclean-host: maybe-mostlyclean-cloog +mostlyclean-host: maybe-mostlyclean-libelf mostlyclean-host: maybe-mostlyclean-gnuserv mostlyclean-host: maybe-mostlyclean-gold mostlyclean-host: maybe-mostlyclean-gprof @@ -2241,6 +2305,7 @@ clean-host: maybe-clean-mpfr clean-host: maybe-clean-mpc clean-host: maybe-clean-ppl clean-host: maybe-clean-cloog +clean-host: maybe-clean-libelf clean-host: maybe-clean-gnuserv clean-host: maybe-clean-gold clean-host: maybe-clean-gprof @@ -2354,6 +2419,7 @@ distclean-host: maybe-distclean-mpfr distclean-host: maybe-distclean-mpc distclean-host: maybe-distclean-ppl distclean-host: maybe-distclean-cloog +distclean-host: maybe-distclean-libelf distclean-host: maybe-distclean-gnuserv distclean-host: maybe-distclean-gold distclean-host: maybe-distclean-gprof @@ -2467,6 +2533,7 @@ maintainer-clean-host: maybe-maintainer-clean-mpfr maintainer-clean-host: maybe-maintainer-clean-mpc maintainer-clean-host: maybe-maintainer-clean-ppl maintainer-clean-host: maybe-maintainer-clean-cloog +maintainer-clean-host: maybe-maintainer-clean-libelf maintainer-clean-host: maybe-maintainer-clean-gnuserv maintainer-clean-host: maybe-maintainer-clean-gold maintainer-clean-host: maybe-maintainer-clean-gprof @@ -2634,6 +2701,7 @@ check-host: \ maybe-check-mpc \ maybe-check-ppl \ maybe-check-cloog \ + maybe-check-libelf \ maybe-check-gnuserv \ maybe-check-gold \ maybe-check-gprof \ @@ -2773,6 +2841,7 @@ install-host-nogcc: \ maybe-install-mpc \ maybe-install-ppl \ maybe-install-cloog \ + maybe-install-libelf \ maybe-install-gnuserv \ maybe-install-gold \ maybe-install-gprof \ @@ -2853,6 +2922,7 @@ install-host: \ maybe-install-mpc \ maybe-install-ppl \ maybe-install-cloog \ + maybe-install-libelf \ maybe-install-gnuserv \ maybe-install-gold \ maybe-install-gprof \ @@ -3002,7 +3072,7 @@ configure-build-libiberty: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \ - $(BUILD_EXPORTS) \ + $(BUILD_EXPORTS) \ echo Configuring in $(BUILD_SUBDIR)/libiberty; \ cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \ case $(srcdir) in \ @@ -3035,7 +3105,7 @@ all-build-libiberty: configure-build-libiberty @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ + $(BUILD_EXPORTS) \ (cd $(BUILD_SUBDIR)/libiberty && \ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ $(TARGET-build-libiberty)) @@ -3058,7 +3128,7 @@ configure-build-bison: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \ - $(BUILD_EXPORTS) \ + $(BUILD_EXPORTS) \ echo Configuring in $(BUILD_SUBDIR)/bison; \ cd "$(BUILD_SUBDIR)/bison" || exit 1; \ case $(srcdir) in \ @@ -3091,7 +3161,7 @@ all-build-bison: configure-build-bison @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ + $(BUILD_EXPORTS) \ (cd $(BUILD_SUBDIR)/bison && \ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ $(TARGET-build-bison)) @@ -3114,7 +3184,7 @@ configure-build-byacc: s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \ $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \ - $(BUILD_EXPORTS) \ + $(BUILD_EXPORTS) \ echo Configuring in $(BUILD_SUBDIR)/byacc; \ cd "$(BUILD_SUBDIR)/byacc" || exit 1; \ case $(srcdir) in \ @@ -3147,7 +3217,7 @@ all-build-byacc: configure-build-byacc @: $(MAKE); $(unstage) @r=`${PWD_COMMAND}`; export r; \ s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(BUILD_EXPORTS) \ + $(BUILD_EXPORTS) \ (cd $(BUILD_SUBDIR)/byacc && \ $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \ $(TARGET-build-byacc)) @@ -3170,7 +3240,7 @@ configure-build-flex: hooks/post-receive -- Repository for Project Archer.