libgomp: Amend documentation for omp_get_max_active_levels and omp_get_supported_acti...
[official-gcc.git] / libphobos / ChangeLog
blobc736041bfde83a03e7d76899c22783c87f3ff620
1 2020-10-12  Maciej W. Rozycki  <macro@linux-mips.org>
3         * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
4         Use L.D and S.D generic assembly instructions rather than LDC1
5         and SDC1 MIPS II hardware instructions.
7 2020-10-12  Iain Buclaw  <ibuclaw@gdcproject.org>
9         * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
11 2020-09-10  Iain Buclaw  <ibuclaw@gdcproject.org>
13         PR d/95680
14         PR d/97007
15         * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
16         * Makefile.in: Regenerate.
17         * configure: Regenerate.
18         * configure.ac (DCFG_ENABLE_CET): Remove substitution.
19         (CET_DFLAGS): Substitute.
20         * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
21         (AM_CFLAGS): Add $(CET_FLAGS).
22         (AM_CCASFLAGS): Likewise.
23         * libdruntime/Makefile.in: Regenerate.
24         * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
25         condition with `version (CET)'.
26         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
27         * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
28         (AM_CFLAGS): Add $(CET_FLAGS).
29         * src/Makefile.in: Regenerate.
30         * testsuite/Makefile.in: Regenerate.
31         * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
33 2020-09-09  H.J. Lu  <hjl.tools@gmail.com>
35         PR d/95680
36         * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
37         generate the CET marker for -fcf-protection.
39 2020-09-08  Iain Buclaw  <ibuclaw@gdcproject.org>
41         PR d/95680
42         * Makefile.in: Regenerate.
43         * configure: Regenerate.
44         * configure.ac (DCFG_ENABLE_CET): Substitute.
45         * libdruntime/Makefile.in: Regenerate.
46         * libdruntime/config/x86/switchcontext.S: Remove CET support code.
47         * libdruntime/core/thread.d: Import gcc.config.  Don't set version
48         AsmExternal when GNU_Enable_CET is true.
49         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
50         * src/Makefile.in: Regenerate.
51         * testsuite/Makefile.in: Regenerate.
53 2020-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
55         * libdruntime/MERGE: Merge upstream druntime d05ebaad.
56         * src/MERGE: Merge upstream phobos 021ae0df7.
57         * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
59 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
61         PR bootstrap/95413
62         * configure: Regenerated.
64 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66         PR bootstrap/95147
67         * configure: Regenerated.
69 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
71         * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
72         __CET__ is defined.
73         (_CET_ENDBR): New.  Define if __CET__ is not defined.
74         (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
76 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
78         * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
79         * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
80         * Makefile.in: Regenerated.
81         * aclocal.m4: Likewise.
82         * configure.ac: Likewise.
84 2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
86         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
87         config/powerpc/switchcontext.S
88         * libdruntime/Makefile.in: Regenerate.
89         * libdruntime/config/powerpc/callwithstack.S: Remove.
90         * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
91         fiber_switchContext.
92         * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
93         * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
94         same as stackSize.
96 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
98         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
99         Fix KERNEL_VERSION condition.
101 2020-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
103         PR d/94825
104         * configure: Regenerate.
105         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
106         switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
107         * libdruntime/Makefile.in: Regenerate.
108         * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
109         * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
110         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
111         for all powerpc biarchs.  Remove DRUNTIME_CPU_POWER64 conditional.
113 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
115         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
116         core/sys/linux/sys/netinet/tcp.d.
117         * libdruntime/Makefile.in: Regenerate.
119 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
121         * configure.tgt: Add hppa-*-linux* as a supported target.
123 2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
125         * configure: Regenerate.
126         * configure.tgt: Add power*-*-linux* as a supported target, only
127         building libdruntime.
128         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
129         and powerpc64le target cpus.
131 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
132             Iain Buclaw  <ibuclaw@gdcproject.org>
134         * configure: Regenerate.
135         * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
136         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
137         search libraries for swapcontext.
138         * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
139         __tls_get_addr on Musl.
141 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
143         * configure: Regenerate.
144         * configure.ac: Fix option name for --with-libphobos-druntime-only.
146 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
148         * configure: Regenerate.
149         * configure.ac: Remove DRUNTIME_GC.
151 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
153         PR d/94304
154         * configure: Regenerate.
155         * configure.ac: Add --with-libphobos-druntime-only option and the
156         conditional ENABLE_LIBDRUNTIME_ONLY.
157         * configure.tgt: Define LIBDRUNTIME_ONLY.
158         * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
159         * src/Makefile.in: Regenerate.
160         * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
162 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
164         * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
165         not d_runtime_has_std_library.
166         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
168 2020-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
170         * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
172 2020-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
174         * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
175         (libgphobos_la_LINK): Move to src/Makefile.am
176         * libdruntime/Makefile.am: Add libgdruntime_convenience library.
177         * libdruntime/Makefile.in: Regenerate.
178         * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
179         library.
180         (libgphobos_la_DEPENDENCIES): Likewise.
181         * src/Makefile.in: Regenerate.
182         * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
183         * testsuite/testsuite_flags.in: Likewise.
185 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
187         * configure: Regenerate.
188         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
189         DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
190         (DRUNTIME_DSOURCES): Add gc/*.d sources.
191         (DRUNTIME_DSOURCES_GC): Remove.
192         (DRUNTIME_DSOURCES_GCSTUB): Remove.
193         * libdruntime/Makefile.in: Regenerate.
194         * libdruntime/gcstub/gc.d: Remove.
195         * m4/druntime.m4 (DRUNTIME_GC): Remove.
197 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
199         PR d/94305
200         * Makefile.in: Regenerate.
201         * configure: Regenerate.
202         * configure.ac: Add --enable-libphobos-checking and substitute
203         CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
204         * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
205         * libdruntime/Makefile.in: Regenerate.
206         * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
207         * src/Makefile.in: Regenerate.
208         * testsuite/Makefile.in: Regenerate.
209         * testsuite/testsuite_flags.in: Add -fno-release -funittest to
210         --gdcflags.
212 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
214         * configure: Regenerate.
215         * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
216         * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
218 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
220         * configure: Regenerate.
221         * configure.ac: Remove DRUNTIME_OS_UNIX.
222         * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
223         DRUNTIME_OS_POSIX is true.
224         * libdruntime/Makefile.in: Regenerate.
225         * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
226         logic to...
227         (DRUNTIME_OS_SOURCES): ...here.  Rename conditional to
228         DRUNTIME_OS_POSIX.
230 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
232         * Makefile.in: Regenerate.
233         * configure: Regenerate.
234         * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
235         * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
236         * libdruntime/Makefile.in: Regenerate.
237         * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
238         * src/Makefile.in: Regenerate.
239         * testsuite/Makefile.in: Regenerate.
240         * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
242 2020-04-07  Robin Dapp  <rdapp@linux.ibm.com>
243             Stefan Liebler  <stli@linux.ibm.com>
245         * configure: Regenerate.
246         * libdruntime/Makefile.am: Add s390x and s390.
247         * libdruntime/Makefile.in: Regenerate.
248         * libdruntime/config/s390/get_tls_offset.S: New file.
249         * libdruntime/config/systemz/get_tls_offset.S: New file.
250         * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
251         * m4/druntime/cpu.m4: Add s390x and s390.
253 2020-04-07  Stefan Liebler  <stli@linux.ibm.com>
255         * libdruntime/core/sys/posix/signal.d:
256         Add struct sigaction_t for SystemZ.
258 2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
260         PR d/92792
261         * Makefile.in: Regenerate.
262         * configure: Regenerate.
263         * configure.ac (libtool_VERSION): Reset to 1:0:0.
264         * libdruntime/Makefile.in: Regenerate.
266 2020-02-17  Martin Liska  <mliska@suse.cz>
268         PR other/93756
269         * src/std/algorithm/iteration.d: Fix typo.
271 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
273         * m4/druntime.m4: Handle `--with-toolexeclibdir='.
274         * m4/Makefile.in: Regenerate.
275         * libdruntime/Makefile.in: Regenerate.
276         * src/Makefile.in: Regenerate.
277         * testsuite/Makefile.in: Regenerate.
278         * Makefile.in: Regenerate.
279         * aclocal.m4: Regenerate.
280         * configure: Regenerate.
282 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
284         Update copyright years.
286 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
288         * configure: Regenerate.
290 2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
292         * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
293         dirs to the ld_library_path var.
295 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
297         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
298         core/sys/bionic/string.d.
299         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
300         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
301         core/sys/dragonflybsd/sys/socket.d.
302         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
303         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
304         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
305         core/sys/netbsd/sys/featuretest.d.
306         * libdruntime/Makefile.in: Regenerate.
308 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
310         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
311         core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
312         core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
313         core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
314         core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
315         * libdruntime/Makefile.in: Regenerate.
317 2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
319         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
320         relax=transtls if linker supports it.
321         * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
322         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
323         mark supported with either gld or ld -z relax=transtls.
324         * configure: Regenerate.
326 2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
328         * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
329         (IeeeFlags.resetIeeeFlags): Likewise.
330         (FloatingPointControl.getControlState): Likewise.
331         (FloatingPointControl.setControlState): Likewise.
333 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
335         PR d/90250
336         * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
337         _tlsRanges in every startup thread.
338         * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
339         * testsuite/libphobos.thread/tlsgc_sections.d: New test.
341 2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
343         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
344         * configure: Regenerate.
346 2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
348         * libdruntime/Makefile.am: Add emutls and gthread files.
349         * libdruntime/Makefile.in: Regenerate.
350         * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
351         * libdruntime/gcc/gthread.d: New file.
352         * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
353         * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
355 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
357         * testsuite/Makefile.am: Set PWD_COMMAND.
358         * testsuite/Makefile.in: Regenerate.
360 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
362         PR d/90086
363         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
364         * configure.ac: Use it.
365         * configure: Regenerate.
366         * libdruntime/Makefile.am: Add new config sources to
367         DRUNTIME_SOURCES_CONFIGURED.
368         * libdruntime/Makefile.in: Regenerate.
369         * libdruntime/config/aarch64/switchcontext.S: New file.
370         * libdruntime/config/arm/switchcontext.S: New file.
371         * libdruntime/config/common/threadasm.S: New file.
372         * libdruntime/config/mingw/switchcontext.S: New file.
373         * libdruntime/config/mips/switchcontext.S: New file.
374         * libdruntime/config/powerpc/switchcontext.S: New file.
375         * libdruntime/config/powerpc64/callwithstack.S: New file.
376         * libdruntime/config/x86/switchcontext.S: New file.
377         * libdruntime/core/threadasm.S: Remove.
379 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
381         PR d/89432
382         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
383         New proc.
384         * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
385         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
386         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
388 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
390         PR d/88654
391         * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
392         libphobos_skipped_test_p before running test.
393         (libphobos-dg-prune): New proc.
394         (libphobos_init): Set libphobos_skip_tests.
395         (libphobos_skipped_test_p): New proc.
396         (check_effective_target_libcurl_available): New proc.
397         * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
398         not found.
399         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
401 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
403         PR d/88431
404         * configure: Regenerate.
405         * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
406         dependencies on libphobos.
407         (lt_simple_link_test_code): Likewise.
408         (GDCFLAGS): Don't override for D compiler tests.
410 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
412         * configure.tgt: Add aarch64*-*-linux* as a supported target.
414 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
415             Robin Dapp  <rdapp@linux.ibm.com>
417         * configure.tgt: Add s390*-linux* as a supported target.
418         * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
419         (__tls_get_addr_internal): Declare.
420         (TLS_DTV_OFFSET): Define as zero on SystemZ.
421         (getTLSRange): Support getting TLS on SystemZ.
422         * testsuite/libphobos.typeinfo/struct-align.d: New test.
424 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
426         * configure.tgt: Add linux/riscv as supported target.
427         * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
428         dlpi_addr on RISCV32 and RISCV64.
429         * src/std/math.d: Add IEEE FPU control support for RISC-V.
431 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
432             Bernd Edlinger  <bernd.edlinger@hotmail.de>
433             Jakub Jelinek  <jakub@redhat.com>
435         PR target/89093
436         * libdruntime/gcc/deh.d: Import gcc.attribute.
437         (personality_fn_attributes): New enum.
438         (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
439         Add @personality_fn_attributes.
441 2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
443         PR d/89293
444         * libdruntime/core/atomic.d (casImpl): Remove static assert for
445         GNU_Have_Atomics, add static path to handle missing atomic support.
446         (atomicLoad): Likewise.
447         (atomicStore): Likewise.
448         (atomicFence):  Likewise.
449         (atomicMutexHandle, AtomicMutex): Declare types.
450         (_getAtomicMutex): New function.
451         (getAtomicMutex): Declare.
453 2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
455         * config.h.in: Regenerate.
456         * configure: Regenerate.
457         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
458         CPPFLAGS correctly for backtrace support test.
460 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
462         * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
463         Set to yes explicitly.
464         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
465         * configure.ac: Handle --enable-libphobos.
466         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
467         with gas.
468         (ENABLE_LIBPHOBOS): New conditional.
469         * configure: Regenerate.
470         * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
471         * Makefile.in: Regenerate.
473 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
474             Iain Buclaw  <ibuclaw@gdcproject.org>
476         PR d/88150
477         * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
478         * configure.ac: Use it.
479         Call AC_USE_SYSTEM_EXTENSIONS.
480         * configure: Regenerate.
481         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
482         testsuite/Makefile.in: Regenerate.
483         * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
484         * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
485         (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
486         dlpi_tls_modid.
487         [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
488         Otherwise clear pdso._tlsMod, pdso._tlsSize.
489         (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
491 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
493         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
494         * configure.ac: Call it.
495         * configure: Regenerate.
496         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
497         testsuite/Makefile.in: Regenerate.
498         * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
500 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
502         PR d/88150
503         * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
504         to true.
505         Import core.sys.solaris.dlfcn, core.sys.solaris.link,
506         core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
507         (dummy_ref): Declare.
508         (initSections): Initialize dummy_ref.
509         (getDependencies): Set strtab.
510         (handleForName): Don't dlclose handle.
511         (findDSOInfoForAddr): Set IterateManually.
512         (getprogname): Declare.
513         (progname): Use it.
514         * libdruntime/gcc/sections/package.d [Solaris]: Import
515         gcc.sections.elf_shared instead of gcc.sections.solaris.
516         * libdruntime/gcc/sections/solaris.d: Remove.
517         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
518         gcc/sections/solaris.d.
519         * libdruntime/Makefile.in: Regenerate.
521 2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
523         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
524         (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
525         * libdruntime/Makefile.in: Regenerate.
526         * libdruntime/gcc/sections/android.d: New file.
527         * libdruntime/gcc/sections/elf_shared.d: New file.
528         * libdruntime/gcc/sections/osx.d: New file.
529         * libdruntime/gcc/sections/package.d: New file.
530         * libdruntime/gcc/sections/solaris.d: New file.
531         * libdruntime/gcc/sections/win32.d: New file.
532         * libdruntime/gcc/sections/win64.d: New file.
533         * libdruntime/rt/bss_section.c: Remove.
534         * libdruntime/rt/sections.d: Publicly import gcc.sections.
535         * libdruntime/rt/sections_android.d: Remove.
536         * libdruntime/rt/sections_elf_shared.d: Remove.
537         * libdruntime/rt/sections_osx.d: Remove.
538         * libdruntime/rt/sections_solaris.d: Remove.
539         * libdruntime/rt/sections_win32.d: Remove.
540         * libdruntime/rt/sections_win64.d: Remove.
542 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
544         * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
545         * configure: Regenerate.
546         * libdruntime/Makefile.in: Regenerate.
548 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
550         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
551         libz_convenience.a if not using system zlib.
552         * Makefile.in: Regenerate.
553         * configure: Regenerate.
554         * libdruntime/Makefile.in: Regenerate.
555         * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
556         * src/Makefile.in: Regenerate.
557         * testsuite/Makefile.in: Regenerate.
559 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
561         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
562         (RUNTEST): Remove variable.
563         (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
564         check_p_numbers1, check_p_numbers2, check_p_numbers3,
565         check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
566         check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
567         (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
568         rules written so that all the *.exp files are ran parallelized.
569         (CLEANFILES): Add *.exe, *.o, and site.exp.
570         * testsuite/Makefile.in: Regenerate.
572 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
574         PR d/89255
575         * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
576         * configure: Regenerate.
577         * d_rules.am (%.t.lo, %.t.o): Remove rules.
578         (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
579         libgphobos_t_la_LINK): Remove variables.
580         * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
581         DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
582         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
583         unittest_static_LDFLAGS, unittest_static_LDADD,
584         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
585         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
586         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
587         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
588         unittest_LDADD): Remove variables.
589         (clean-local): Remove rule.
590         * libdruntime/Makefile.in: Regenerate.
591         * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
592         PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
593         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
594         unittest_static_LDFLAGS, unittest_static_LDADD,
595         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
596         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
597         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
598         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
599         unittest_LDADD): Remove variables.
600         (clean-local): Remove rule.
601         * src/Makefile.in: Regenerate.
602         * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
603         (libphobos_init): Set libphobos_test_name.
604         (libphobos-dg-test): Override name if libphobos_test_name is set.
605         (filter_libphobos_unittests): New proc.
606         * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
607         * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
608         * testsuite/libphobos.druntime/druntime.exp: New file.
609         * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
610         * testsuite/libphobos.phobos/phobos.exp: New file.
611         * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
612         * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
613         * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
614         * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
615         * testsuite/libphobos.thread/thread.exp: Likewise.
616         * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
617         * testsuite/libphobos.unittests/unittests.exp: Remove.
618         * testsuite/test_runner.d: Remove.
619         * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
621 2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
623         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
624         core/sys/darwin/crt_externs.d.
625         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
626         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
627         * libdruntime/Makefile.in: Regenerate.
629 2019-03-23  Johannes Pfau  <johannespfau@gmail.com>
631         * configure.ac: Update autotool version comment.
633 2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
635         * src/Makefile.am: Avoid the -D option which is not available
636         with the install-sh fallback.  Use $(MKDIR_P) instead.
637         * libdruntime/Makefile.am: Likewise.
638         * src/Makefile.in: Regenerated.
639         * libdruntime/Makefile.in: Regenerated.
641 2019-02-19  Iain Buclaw  <ibuclaw@gdcproject.org>
643         * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
644         [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
645         RTLD_NOLOAD from core.sys.*.dlfcn.
646         Assert RTLD_NOLOAD is available.
648 2019-02-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
650         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
651         * configure.ac: Invoke it.
652         * configure: Regenerate.
654 2019-02-19  Johannes Pfau  <johannespfau@gmail.com>
656         PR d/88127
657         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
658         * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
659         * configure: Regenerate
660         * Makefile.in: Regenerate
661         * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
662         * libdruntime/Makefile.in: Regenerate.
663         * src/Makefile.in: Regenerate.
664         * testsuite/Makefile.in: Regenerate.
666 2019-02-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
668         * testsuite/lib/libphobos-dg.exp: Tabify.
669         * testsuite/lib/libphobos.exp: Likewise.
670         * testsuite/libphobos.cycles/cycles.exp: Likewise.
671         * testsuite/libphobos.shared/shared.exp: Likewise.
672         * testsuite/libphobos.unittests/unittests.exp: Likewise.
674 2019-02-14  Maya Rashish  <coypu@sdf.org>
676         * configure.tgt: Add netbsd/x86 as supported target.
678 2019-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
680         PR d/87864
681         * configure.ac (DRTSTUFF_SPEC): New variable.
682         Substitute it.
683         * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
684         New automake conditional.
685         * configure: Regenerate.
686         * libdruntime/gcc/drtstuff.c: New file.
687         * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
688         (DRTSTUFF, toolexeclib_DATA): New variables.
689         (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
690         (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
691         Add -dstartfiles -B../src -Bgcc.
692         (libgdruntime_la_DEPENDENCIES): New variable.
693         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
694         (libgdruntime_t_la_LDFLAGS): Likewise.
695         (unittest_LDFLAGS): Likewise.
696         * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
697         -Xcompiler.
698         Add -dstartfiles -B../libdruntime/gcc.
699         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
700         (libgphobos_t_la_LDFLAGS): Likewise.
701         (unittest_LDFLAGS): Likewise.
702         * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
703         * Makefile.in, testsuite/Makefile.in: Regenerate.
704         * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
705         assert.
706         * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
707         * src/drtstuff.spec: New file.
708         * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
709         (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
710         -nophoboslib.
711         * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
712         -B${BUILD_DIR}/libdruntime/gcc.
714 2019-02-13  Iain Buclaw  <ibuclaw@gdcproject.org>
716         * libdruntime/core/runtime.d (defaultTraceHandler): Give
717         UnwindBacktrace handler precedence over backtrace.
719 2019-02-10  Iain Buclaw  <ibuclaw@gdcproject.org>
721         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
722         * libdruntime/Makefile.in: Rebuild.
723         * testsuite/libphobos.aa/aa.exp: New file.
724         * testsuite/libphobos.aa/test_aa.d: New test.
725         * testsuite/libphobos.hash/hash.exp: New file.
726         * testsuite/libphobos.hash/test_hash.d: New test.
728 2019-01-12  Iain Buclaw  <ibuclaw@gdcproject.org>
730         * README.gcc: New file.
732 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
734         Update copyright years.
736 2018-12-14  Iain Buclaw  <ibuclaw@gdcproject.org>
738         * src/std/internal/digest: Remove empty directory.
740 2018-12-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
742         * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
743         * Makefile.in: Regenerate.
745 2018-11-28  Iain Buclaw  <ibuclaw@gdcproject.org>
747         * Makefile.in: Rebuild.
748         * configure: Rebuild.
749         * configure.ac (DRUNTIME_SOVERSION): Remove.
750         (PHOBOS_SOVERSION): Remove.
751         (libtool_VERSION): Add.
752         * libdruntime/Makefile.am: Use libtool_VERSION.
753         * libdruntime/Makefile.in: Rebuild.
754         * src/Makefile.am: Use libtool_VERSION.
755         * src/Makefile.in: Rebuild.
756         * testsuite/Makefile.in: Rebuild.
758 2018-11-22  Johannes Pfau  <johannespfau@gmail.com>
760         PR d/87824
761         * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
762         library for multilib builds.
764 2018-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
766         * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
767         std.internal.math.biguintx86 modules.
768         * src/Makefile.in: Rebuild.
769         * src/std/internal/digest/sha_SSSE3.d: Remove.
770         * src/std/internal/math/biguintx86.d: Remove.
772 2018-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
774         PR d/87827
775         * Makefile.in: Rebuild.
776         * configure: Rebuild.
777         * configure.ac: Properly set MULTISUBDIR.
778         * d_rules.am: Set toolexecdir and toolexeclibdir.
779         * libdruntime/Makefile.in: Rebuild.
780         * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
781         --enable-version-specific-runtime-libs.
782         * src/Makefile.in: Rebuild.
783         * testsuite/Makefile.in: Rebuild.
785 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
787         PR bootstrap/82856
788         * Makefile.am: Include multilib.am.
789         * configure.ac: Remove AC_PREREQ.  Use -Wno-override in
790         AM_INIT_AUTOMAKE call.
791         * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
792         * m4/druntime/os.m4: Use AC_LANG_SOURCE.
793         * testsuite/Makefile.am (RUNTEST): Remove quotes.
794         * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
795         src/Makefile.in, testsuite/Makefile.in: Regenerate.
797 2018-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
799         PR bootstrap/87789
800         PR d/87818
801         PR d/87819
802         * configure.tgt: New file.
804 2018-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
806         * Makefile.am: New file.
807         * Makefile.in: New file.
808         * acinclude.m4: New file.
809         * aclocal.m4: New file.
810         * config.h.in: New file.
811         * configure: New file.
812         * configure.ac: New file.
813         * d_rules.am: New file.
814         * libdruntime/Makefile.am: New file.
815         * libdruntime/Makefile.in: New file.
816         * libdruntime/__entrypoint.di: New file.
817         * libdruntime/__main.di: New file.
818         * libdruntime/gcc/attribute.d: New file.
819         * libdruntime/gcc/backtrace.d: New file.
820         * libdruntime/gcc/builtins.d: New file.
821         * libdruntime/gcc/config.d.in: New file.
822         * libdruntime/gcc/deh.d: New file.
823         * libdruntime/gcc/libbacktrace.d.in: New file.
824         * libdruntime/gcc/unwind/arm.d: New file.
825         * libdruntime/gcc/unwind/arm_common.d: New file.
826         * libdruntime/gcc/unwind/c6x.d: New file.
827         * libdruntime/gcc/unwind/generic.d: New file.
828         * libdruntime/gcc/unwind/package.d: New file.
829         * libdruntime/gcc/unwind/pe.d: New file.
830         * m4/autoconf.m4: New file.
831         * m4/druntime.m4: New file.
832         * m4/druntime/cpu.m4: New file.
833         * m4/druntime/libraries.m4: New file.
834         * m4/druntime/os.m4: New file.
835         * m4/gcc_support.m4: New file.
836         * m4/gdc.m4: New file.
837         * m4/libtool.m4: New file.
838         * src/Makefile.am: New file.
839         * src/Makefile.in: New file.
840         * src/libgphobos.spec.in: New file.
841         * testsuite/Makefile.am: New file.
842         * testsuite/Makefile.in: New file.
843         * testsuite/config/default.exp: New file.
844         * testsuite/lib/libphobos-dg.exp: New file.
845         * testsuite/lib/libphobos.exp: New file.
846         * testsuite/testsuite_flags.in: New file.
849 Copyright (C) 2018-2020 Free Software Foundation, Inc.
851 Copying and distribution of this file, with or without modification,
852 are permitted in any medium without royalty provided the copyright
853 notice and this notice are preserved.