X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libphobos%2FChangeLog;h=c15227b4f97a126cfb0f9409c824848460d97ab9;hb=8707c01da9b4a2160fbe04d282e2526da38d3e48;hp=e43b8559d27f539579d5a118a691151ba5b2dc1c;hpb=5522686e52cc832fb5cf376e95d3e213bb74ec00;p=gcc.git diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index e43b8559d27..c15227b4f97 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,400 @@ +2019-05-07 Rainer Orth + + * 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 + + * 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 + + 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 + + * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets. + * configure: Regenerate. + +2019-04-25 Johannes Pfau + + * 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 + + * testsuite/Makefile.am: Set PWD_COMMAND. + * testsuite/Makefile.in: Regenerate. + +2019-04-25 Iain Buclaw + + 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 + + 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 + + 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 + + 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 + + * configure.tgt: Add aarch64*-*-linux* as a supported target. + +2019-04-23 Iain Buclaw + Robin Dapp + + * 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 + + * 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 + Bernd Edlinger + Jakub Jelinek + + 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 + + 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 + + * 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 + + * 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 + Iain Buclaw + + 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) [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 + + * 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 + + 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 + + * 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 + + * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects. + * configure: Regenerate. + * libdruntime/Makefile.in: Regenerate. + +2019-04-12 Iain Buclaw + + * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use + libz_convenience.a if not using system zlib. + * Makefile.in: Regenerate. + * configure: Regenerate. + * libdruntime/Makefile.in: Regenerate. + * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS. + * src/Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + +2019-04-12 Iain Buclaw + + * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu. + (RUNTEST): Remove variable. + (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0, + check_p_numbers1, check_p_numbers2, check_p_numbers3, + check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers, + check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables. + (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New + rules written so that all the *.exp files are ran parallelized. + (CLEANFILES): Add *.exe, *.o, and site.exp. + * testsuite/Makefile.in: Regenerate. + +2019-04-12 Iain Buclaw + + PR d/89255 + * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals. + * configure: Regenerate. + * d_rules.am (%.t.lo, %.t.o): Remove rules. + (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK, + libgphobos_t_la_LINK): Remove variables. + * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS, + DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES, + unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS, + unittest_static_LDFLAGS, unittest_static_LDADD, + EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES, + libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS, + libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES, + unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS, + unittest_LDADD): Remove variables. + (clean-local): Remove rule. + * libdruntime/Makefile.in: Regenerate. + * src/Makefile.am (PHOBOS_TEST_LOBJECTS, + PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES, + unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS, + unittest_static_LDFLAGS, unittest_static_LDADD, + EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES, + libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS, + libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES, + unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS, + unittest_LDADD): Remove variables. + (clean-local): Remove rule. + * src/Makefile.in: Regenerate. + * testsuite/lib/libphobos.exp (libphobos_test_name): New global. + (libphobos_init): Set libphobos_test_name. + (libphobos-dg-test): Override name if libphobos_test_name is set. + (filter_libphobos_unittests): New proc. + * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp. + * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name. + * testsuite/libphobos.druntime/druntime.exp: New file. + * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file. + * testsuite/libphobos.phobos/phobos.exp: New file. + * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file. + * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests. + * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp + * testsuite/libphobos.init_fini/init_fini.exp: Likewise. + * testsuite/libphobos.thread/thread.exp: Likewise. + * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise. + * testsuite/libphobos.unittests/unittests.exp: Remove. + * testsuite/test_runner.d: Remove. + * testsuite/testsuite_flags.in: Add phobos to --gdcpaths. + +2019-03-26 Iain Buclaw + + * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add + core/sys/darwin/crt_externs.d. + (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d. + (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d. + * libdruntime/Makefile.in: Regenerate. + +2019-03-23 Johannes Pfau + + * configure.ac: Update autotool version comment. + +2019-02-19 Bernd Edlinger + + * src/Makefile.am: Avoid the -D option which is not available + with the install-sh fallback. Use $(MKDIR_P) instead. + * libdruntime/Makefile.am: Likewise. + * src/Makefile.in: Regenerated. + * libdruntime/Makefile.in: Regenerated. + +2019-02-19 Iain Buclaw + + * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn. + [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only + RTLD_NOLOAD from core.sys.*.dlfcn. + Assert RTLD_NOLOAD is available. + +2019-02-19 Rainer Orth + + * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro. + * configure.ac: Invoke it. + * configure: Regenerate. + +2019-02-19 Johannes Pfau + + PR d/88127 + * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro. + * configure.ac: Use DRUNTIME_LIBRARIES_CLIB. + * configure: Regenerate + * Makefile.in: Regenerate + * libdruntime/gcc/config.d.in: Add Have_Qsort_R. + * libdruntime/Makefile.in: Regenerate. + * src/Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + +2019-02-18 Rainer Orth + + * testsuite/lib/libphobos-dg.exp: Tabify. + * testsuite/lib/libphobos.exp: Likewise. + * testsuite/libphobos.cycles/cycles.exp: Likewise. + * testsuite/libphobos.shared/shared.exp: Likewise. + * testsuite/libphobos.unittests/unittests.exp: Likewise. + +2019-02-14 Maya Rashish + + * configure.tgt: Add netbsd/x86 as supported target. + +2019-02-14 Rainer Orth + + 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 * libdruntime/core/runtime.d (defaultTraceHandler): Give