aboutsummaryrefslogtreecommitdiff
path: root/libphobos/ChangeLog
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2019-02-14 17:47:49 +0000
committerRainer Orth <ro@gcc.gnu.org>2019-02-14 17:47:49 +0000
commit0b6e3127e8a003ad01b9cfb6896dee14c637701b (patch)
tree2ab850aa2d7c3b37ace2470ebaae57ae9a799012 /libphobos/ChangeLog
parent323694e9a2c535d56a81bcfc84fb0fd5b6155b34 (diff)
downloadgcc-0b6e3127e8a003ad01b9cfb6896dee14c637701b.zip
gcc-0b6e3127e8a003ad01b9cfb6896dee14c637701b.tar.gz
gcc-0b6e3127e8a003ad01b9cfb6896dee14c637701b.tar.bz2
Provide __start_minfo/__stop_minfo for linkers that don't (PR d/87864)
libphobos: PR d/87864 * configure.ac (DRTSTUFF_SPEC): New variable. Substitute it. * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): New automake conditional. * configure: Regenerate. * libdruntime/gcc/drtstuff.c: New file. * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING] (DRTSTUFF, toolexeclib_DATA): New variables. (gcc/drtbegin.lo, gcc/drtend.lo): New rules. (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler. Add -dstartfiles -B../src -Bgcc. (libgdruntime_la_DEPENDENCIES): New variable. (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler. (libgdruntime_t_la_LDFLAGS): Likewise. (unittest_LDFLAGS): Likewise. * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of -Xcompiler. Add -dstartfiles -B../libdruntime/gcc. (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler. (libgphobos_t_la_LDFLAGS): Likewise. (unittest_LDFLAGS): Likewise. * libdruntime/Makefile.in, src/Makefile.in: Regenerate. * Makefile.in, testsuite/Makefile.in: Regenerate. * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't assert. * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove. * src/drtstuff.spec: New file. * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute. (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib, -nophoboslib. * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add -B${BUILD_DIR}/libdruntime/gcc. gcc/d: PR d/87864 * lang.opt (dstartfiles): New option. * d-spec.cc (need_spec): New variable. (lang_specific_driver) <OPT_dstartfiles>: Enable need_spec. (lang_specific_pre_link): Also load libgphobos.spec if need_spec. gcc/testsuite: PR d/87864 * lib/gdc.exp (gdc_link_flags): Add path to drtbegin.o/drtend.o if present. From-SVN: r268886
Diffstat (limited to 'libphobos/ChangeLog')
-rw-r--r--libphobos/ChangeLog36
1 files changed, 36 insertions, 0 deletions
diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog
index e43b855..4efd97e 100644
--- a/libphobos/ChangeLog
+++ b/libphobos/ChangeLog
@@ -1,3 +1,39 @@
+2019-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR d/87864
+ * configure.ac (DRTSTUFF_SPEC): New variable.
+ Substitute it.
+ * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
+ New automake conditional.
+ * configure: Regenerate.
+ * libdruntime/gcc/drtstuff.c: New file.
+ * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
+ (DRTSTUFF, toolexeclib_DATA): New variables.
+ (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
+ (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
+ Add -dstartfiles -B../src -Bgcc.
+ (libgdruntime_la_DEPENDENCIES): New variable.
+ (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
+ (libgdruntime_t_la_LDFLAGS): Likewise.
+ (unittest_LDFLAGS): Likewise.
+ * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
+ -Xcompiler.
+ Add -dstartfiles -B../libdruntime/gcc.
+ (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
+ (libgphobos_t_la_LDFLAGS): Likewise.
+ (unittest_LDFLAGS): Likewise.
+ * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
+ * Makefile.in, testsuite/Makefile.in: Regenerate.
+ * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
+ assert.
+ * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
+ * src/drtstuff.spec: New file.
+ * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
+ (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
+ -nophoboslib.
+ * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
+ -B${BUILD_DIR}/libdruntime/gcc.
+
2019-02-13 Iain Buclaw <ibuclaw@gdcproject.org>
* libdruntime/core/runtime.d (defaultTraceHandler): Give