]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libphobos/ChangeLog
PR tree-optimization/90626
[thirdparty/gcc.git] / libphobos / ChangeLog
index e79b69726c0457484d41b408fffa94073230f360..c15227b4f97a126cfb0f9409c824848460d97ab9 100644 (file)
@@ -1,3 +1,234 @@
+2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
+       relax=transtls if linker supports it.
+       * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
+       (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
+       mark supported with either gld or ld -z relax=transtls.
+       * configure: Regenerate.
+
+2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
+
+       * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
+       (IeeeFlags.resetIeeeFlags): Likewise.
+       (FloatingPointControl.getControlState): Likewise.
+       (FloatingPointControl.setControlState): Likewise.
+
+2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/90250
+       * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
+       _tlsRanges in every startup thread.
+       * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
+       * testsuite/libphobos.thread/tlsgc_sections.d: New test.
+
+2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
+       * configure: Regenerate.
+
+2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
+
+        * libdruntime/Makefile.am: Add emutls and gthread files.
+        * libdruntime/Makefile.in: Regenerate.
+        * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
+        * libdruntime/gcc/gthread.d: New file.
+        * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
+        * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
+
+2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * testsuite/Makefile.am: Set PWD_COMMAND.
+       * testsuite/Makefile.in: Regenerate.
+
+2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/90086
+       * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
+       * configure.ac: Use it.
+       * configure: Regenerate.
+       * libdruntime/Makefile.am: Add new config sources to
+       DRUNTIME_SOURCES_CONFIGURED.
+       * libdruntime/Makefile.in: Regenerate.
+       * libdruntime/config/aarch64/switchcontext.S: New file.
+       * libdruntime/config/arm/switchcontext.S: New file.
+       * libdruntime/config/common/threadasm.S: New file.
+       * libdruntime/config/mingw/switchcontext.S: New file.
+       * libdruntime/config/mips/switchcontext.S: New file.
+       * libdruntime/config/powerpc/switchcontext.S: New file.
+       * libdruntime/config/powerpc64/callwithstack.S: New file.
+       * libdruntime/config/x86/switchcontext.S: New file.
+       * libdruntime/core/threadasm.S: Remove.
+
+2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/89432
+       * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
+       New proc.
+       * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
+       -fversion=Linux_Pre_2639 if target is linux_pre_2639.
+       * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
+
+2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/88654
+       * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
+       libphobos_skipped_test_p before running test.
+       (libphobos-dg-prune): New proc.
+       (libphobos_init): Set libphobos_skip_tests.
+       (libphobos_skipped_test_p): New proc.
+       (check_effective_target_libcurl_available): New proc.
+       * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
+       not found.
+       * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
+
+2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/88431
+       * configure: Regenerate.
+       * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
+       dependencies on libphobos.
+       (lt_simple_link_test_code): Likewise.
+       (GDCFLAGS): Don't override for D compiler tests.
+
+2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * configure.tgt: Add aarch64*-*-linux* as a supported target.
+
+2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
+           Robin Dapp  <rdapp@linux.ibm.com>
+
+       * configure.tgt: Add s390*-linux* as a supported target.
+       * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
+       (__tls_get_addr_internal): Declare.
+       (TLS_DTV_OFFSET): Define as zero on SystemZ.
+       (getTLSRange): Support getting TLS on SystemZ.
+       * testsuite/libphobos.typeinfo/struct-align.d: New test.
+
+2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * configure.tgt: Add linux/riscv as supported target.
+       * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
+       dlpi_addr on RISCV32 and RISCV64.
+       * src/std/math.d: Add IEEE FPU control support for RISC-V.
+
+2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+           Bernd Edlinger  <bernd.edlinger@hotmail.de>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/89093
+       * libdruntime/gcc/deh.d: Import gcc.attribute.
+       (personality_fn_attributes): New enum.
+       (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
+       Add @personality_fn_attributes.
+
+2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/89293
+       * libdruntime/core/atomic.d (casImpl): Remove static assert for
+       GNU_Have_Atomics, add static path to handle missing atomic support.
+       (atomicLoad): Likewise.
+       (atomicStore): Likewise.
+       (atomicFence):  Likewise.
+       (atomicMutexHandle, AtomicMutex): Declare types.
+       (_getAtomicMutex): New function.
+       (getAtomicMutex): Declare.
+
+2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * config.h.in: Regenerate.
+       * configure: Regenerate.
+       * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
+       CPPFLAGS correctly for backtrace support test.
+
+2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
+       Set to yes explicitly.
+       (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
+       * configure.ac: Handle --enable-libphobos.
+       (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
+       with gas.
+       (ENABLE_LIBPHOBOS): New conditional.
+       * configure: Regenerate.
+       * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
+       * Makefile.in: Regenerate.
+
+2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+           Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/88150
+       * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
+       * configure.ac: Use it.
+       Call AC_USE_SYSTEM_EXTENSIONS.
+       * configure: Regenerate.
+       * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
+       testsuite/Makefile.in: Regenerate.
+       * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
+       * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
+       (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
+       dlpi_tls_modid.
+       [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
+       Otherwise clear pdso._tlsMod, pdso._tlsSize.
+       (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
+
+2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
+       * configure.ac: Call it.
+       * configure: Regenerate.
+       * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
+       testsuite/Makefile.in: Regenerate.
+       * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
+
+2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR d/88150
+       * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
+       to true.
+       Import core.sys.solaris.dlfcn, core.sys.solaris.link,
+       core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
+       (dummy_ref): Declare.
+       (initSections): Initialize dummy_ref.
+       (getDependencies): Set strtab.
+       (handleForName): Don't dlclose handle.
+       (findDSOInfoForAddr): Set IterateManually.
+       (getprogname): Declare.
+       (progname): Use it.
+       * libdruntime/gcc/sections/package.d [Solaris]: Import
+       gcc.sections.elf_shared instead of gcc.sections.solaris.
+       * libdruntime/gcc/sections/solaris.d: Remove.
+       * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
+       gcc/sections/solaris.d.
+       * libdruntime/Makefile.in: Regenerate.
+
+2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
+       (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
+       * libdruntime/Makefile.in: Regenerate.
+       * libdruntime/gcc/sections/android.d: New file.
+       * libdruntime/gcc/sections/elf_shared.d: New file.
+       * libdruntime/gcc/sections/osx.d: New file.
+       * libdruntime/gcc/sections/package.d: New file.
+       * libdruntime/gcc/sections/solaris.d: New file.
+       * libdruntime/gcc/sections/win32.d: New file.
+       * libdruntime/gcc/sections/win64.d: New file.
+       * libdruntime/rt/bss_section.c: Remove.
+       * libdruntime/rt/sections.d: Publicly import gcc.sections.
+       * libdruntime/rt/sections_android.d: Remove.
+       * libdruntime/rt/sections_elf_shared.d: Remove.
+       * libdruntime/rt/sections_osx.d: Remove.
+       * libdruntime/rt/sections_solaris.d: Remove.
+       * libdruntime/rt/sections_win32.d: Remove.
+       * libdruntime/rt/sections_win64.d: Remove.
+
+2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
+       * configure: Regenerate.
+       * libdruntime/Makefile.in: Regenerate.
+
 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
 
        * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
 
 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
 
-       * testsuite/Makefile.am:
        * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
        (RUNTEST): Remove variable.
        (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
 
 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
 
+       PR d/89255
        * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
        * configure: Regenerate.
        * d_rules.am (%.t.lo, %.t.o): Remove rules.