aix: fix ASM_OUTPUT_DEF warning
[official-gcc.git] / libphobos / ChangeLog
blob2596478c146f384835ac15d3dea8f36bba79c758
1 2020-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3         PR d/87818
4         * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
5         supported targets.
7 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
9         PR d/98025
10         * Makefile.in: Regenerate.
11         * configure: Regenerate.
12         * configure.ac (DCFG_ENABLE_CET): Substitute.
13         * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
14         * libdruntime/Makefile.in: Regenerate.
15         * libdruntime/core/thread.d: Import gcc.config.
16         (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
17         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
18         * src/Makefile.in: Regenerate.
19         * testsuite/Makefile.in: Regenerate.
21 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
23         * libdruntime/MERGE: Merge upstream druntime d37ef985.
24         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
25         core/sys/freebsd/config.d
26         * libdruntime/Makefile.in: Regenerate.
28 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
30         * src/MERGE: Merge upstream phobos 38873fe6e.
32 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
34         * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
36 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
38         * configure.tgt: Add *-*-dragonfly* as a supported target.
39         * configure: Regenerate.
40         * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
41         target.
43 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
45         * src/MERGE: Merge upstream phobos 7948e0967.
47 2020-11-13  Iain Buclaw  <ibuclaw@gdcproject.org>
49         * configure: Regenerate.
50         * configure.ac (libtool_VERSION): Update to 2:0.0.
52 2020-10-27  Iain Buclaw  <ibuclaw@gdcproject.org>
54         * libdruntime/MERGE: Merge upstream druntime 58560d51.
56 2020-10-12  Maciej W. Rozycki  <macro@linux-mips.org>
58         * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
59         Use L.D and S.D generic assembly instructions rather than LDC1
60         and SDC1 MIPS II hardware instructions.
62 2020-10-12  Iain Buclaw  <ibuclaw@gdcproject.org>
64         * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
66 2020-09-10  Iain Buclaw  <ibuclaw@gdcproject.org>
68         PR d/95680
69         PR d/97007
70         * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
71         * Makefile.in: Regenerate.
72         * configure: Regenerate.
73         * configure.ac (DCFG_ENABLE_CET): Remove substitution.
74         (CET_DFLAGS): Substitute.
75         * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
76         (AM_CFLAGS): Add $(CET_FLAGS).
77         (AM_CCASFLAGS): Likewise.
78         * libdruntime/Makefile.in: Regenerate.
79         * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
80         condition with `version (CET)'.
81         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
82         * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
83         (AM_CFLAGS): Add $(CET_FLAGS).
84         * src/Makefile.in: Regenerate.
85         * testsuite/Makefile.in: Regenerate.
86         * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
88 2020-09-09  H.J. Lu  <hjl.tools@gmail.com>
90         PR d/95680
91         * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
92         generate the CET marker for -fcf-protection.
94 2020-09-08  Iain Buclaw  <ibuclaw@gdcproject.org>
96         PR d/95680
97         * Makefile.in: Regenerate.
98         * configure: Regenerate.
99         * configure.ac (DCFG_ENABLE_CET): Substitute.
100         * libdruntime/Makefile.in: Regenerate.
101         * libdruntime/config/x86/switchcontext.S: Remove CET support code.
102         * libdruntime/core/thread.d: Import gcc.config.  Don't set version
103         AsmExternal when GNU_Enable_CET is true.
104         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
105         * src/Makefile.in: Regenerate.
106         * testsuite/Makefile.in: Regenerate.
108 2020-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
110         * libdruntime/MERGE: Merge upstream druntime d05ebaad.
111         * src/MERGE: Merge upstream phobos 021ae0df7.
112         * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
114 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
116         PR bootstrap/95413
117         * configure: Regenerated.
119 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
121         PR bootstrap/95147
122         * configure: Regenerated.
124 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
126         * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
127         __CET__ is defined.
128         (_CET_ENDBR): New.  Define if __CET__ is not defined.
129         (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
131 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
133         * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
134         * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
135         * Makefile.in: Regenerated.
136         * aclocal.m4: Likewise.
137         * configure.ac: Likewise.
139 2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
141         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
142         config/powerpc/switchcontext.S
143         * libdruntime/Makefile.in: Regenerate.
144         * libdruntime/config/powerpc/callwithstack.S: Remove.
145         * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
146         fiber_switchContext.
147         * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
148         * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
149         same as stackSize.
151 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
153         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
154         Fix KERNEL_VERSION condition.
156 2020-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
158         PR d/94825
159         * configure: Regenerate.
160         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
161         switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
162         * libdruntime/Makefile.in: Regenerate.
163         * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
164         * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
165         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
166         for all powerpc biarchs.  Remove DRUNTIME_CPU_POWER64 conditional.
168 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
170         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
171         core/sys/linux/sys/netinet/tcp.d.
172         * libdruntime/Makefile.in: Regenerate.
174 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
176         * configure.tgt: Add hppa-*-linux* as a supported target.
178 2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
180         * configure: Regenerate.
181         * configure.tgt: Add power*-*-linux* as a supported target, only
182         building libdruntime.
183         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
184         and powerpc64le target cpus.
186 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
187             Iain Buclaw  <ibuclaw@gdcproject.org>
189         * configure: Regenerate.
190         * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
191         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
192         search libraries for swapcontext.
193         * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
194         __tls_get_addr on Musl.
196 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
198         * configure: Regenerate.
199         * configure.ac: Fix option name for --with-libphobos-druntime-only.
201 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
203         * configure: Regenerate.
204         * configure.ac: Remove DRUNTIME_GC.
206 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
208         PR d/94304
209         * configure: Regenerate.
210         * configure.ac: Add --with-libphobos-druntime-only option and the
211         conditional ENABLE_LIBDRUNTIME_ONLY.
212         * configure.tgt: Define LIBDRUNTIME_ONLY.
213         * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
214         * src/Makefile.in: Regenerate.
215         * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
217 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
219         * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
220         not d_runtime_has_std_library.
221         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
223 2020-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
225         * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
227 2020-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
229         * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
230         (libgphobos_la_LINK): Move to src/Makefile.am
231         * libdruntime/Makefile.am: Add libgdruntime_convenience library.
232         * libdruntime/Makefile.in: Regenerate.
233         * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
234         library.
235         (libgphobos_la_DEPENDENCIES): Likewise.
236         * src/Makefile.in: Regenerate.
237         * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
238         * testsuite/testsuite_flags.in: Likewise.
240 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
242         * configure: Regenerate.
243         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
244         DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
245         (DRUNTIME_DSOURCES): Add gc/*.d sources.
246         (DRUNTIME_DSOURCES_GC): Remove.
247         (DRUNTIME_DSOURCES_GCSTUB): Remove.
248         * libdruntime/Makefile.in: Regenerate.
249         * libdruntime/gcstub/gc.d: Remove.
250         * m4/druntime.m4 (DRUNTIME_GC): Remove.
252 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
254         PR d/94305
255         * Makefile.in: Regenerate.
256         * configure: Regenerate.
257         * configure.ac: Add --enable-libphobos-checking and substitute
258         CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
259         * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
260         * libdruntime/Makefile.in: Regenerate.
261         * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
262         * src/Makefile.in: Regenerate.
263         * testsuite/Makefile.in: Regenerate.
264         * testsuite/testsuite_flags.in: Add -fno-release -funittest to
265         --gdcflags.
267 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
269         * configure: Regenerate.
270         * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
271         * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
273 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
275         * configure: Regenerate.
276         * configure.ac: Remove DRUNTIME_OS_UNIX.
277         * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
278         DRUNTIME_OS_POSIX is true.
279         * libdruntime/Makefile.in: Regenerate.
280         * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
281         logic to...
282         (DRUNTIME_OS_SOURCES): ...here.  Rename conditional to
283         DRUNTIME_OS_POSIX.
285 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
287         * Makefile.in: Regenerate.
288         * configure: Regenerate.
289         * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
290         * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
291         * libdruntime/Makefile.in: Regenerate.
292         * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
293         * src/Makefile.in: Regenerate.
294         * testsuite/Makefile.in: Regenerate.
295         * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
297 2020-04-07  Robin Dapp  <rdapp@linux.ibm.com>
298             Stefan Liebler  <stli@linux.ibm.com>
300         * configure: Regenerate.
301         * libdruntime/Makefile.am: Add s390x and s390.
302         * libdruntime/Makefile.in: Regenerate.
303         * libdruntime/config/s390/get_tls_offset.S: New file.
304         * libdruntime/config/systemz/get_tls_offset.S: New file.
305         * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
306         * m4/druntime/cpu.m4: Add s390x and s390.
308 2020-04-07  Stefan Liebler  <stli@linux.ibm.com>
310         * libdruntime/core/sys/posix/signal.d:
311         Add struct sigaction_t for SystemZ.
313 2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
315         PR d/92792
316         * Makefile.in: Regenerate.
317         * configure: Regenerate.
318         * configure.ac (libtool_VERSION): Reset to 1:0:0.
319         * libdruntime/Makefile.in: Regenerate.
321 2020-02-17  Martin Liska  <mliska@suse.cz>
323         PR other/93756
324         * src/std/algorithm/iteration.d: Fix typo.
326 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
328         * m4/druntime.m4: Handle `--with-toolexeclibdir='.
329         * m4/Makefile.in: Regenerate.
330         * libdruntime/Makefile.in: Regenerate.
331         * src/Makefile.in: Regenerate.
332         * testsuite/Makefile.in: Regenerate.
333         * Makefile.in: Regenerate.
334         * aclocal.m4: Regenerate.
335         * configure: Regenerate.
337 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
339         Update copyright years.
341 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
343         * configure: Regenerate.
345 2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
347         * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
348         dirs to the ld_library_path var.
350 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
352         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
353         core/sys/bionic/string.d.
354         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
355         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
356         core/sys/dragonflybsd/sys/socket.d.
357         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
358         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
359         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
360         core/sys/netbsd/sys/featuretest.d.
361         * libdruntime/Makefile.in: Regenerate.
363 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
365         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
366         core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
367         core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
368         core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
369         core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
370         * libdruntime/Makefile.in: Regenerate.
372 2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
374         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
375         relax=transtls if linker supports it.
376         * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
377         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
378         mark supported with either gld or ld -z relax=transtls.
379         * configure: Regenerate.
381 2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
383         * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
384         (IeeeFlags.resetIeeeFlags): Likewise.
385         (FloatingPointControl.getControlState): Likewise.
386         (FloatingPointControl.setControlState): Likewise.
388 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
390         PR d/90250
391         * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
392         _tlsRanges in every startup thread.
393         * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
394         * testsuite/libphobos.thread/tlsgc_sections.d: New test.
396 2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
398         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
399         * configure: Regenerate.
401 2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
403         * libdruntime/Makefile.am: Add emutls and gthread files.
404         * libdruntime/Makefile.in: Regenerate.
405         * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
406         * libdruntime/gcc/gthread.d: New file.
407         * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
408         * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
410 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
412         * testsuite/Makefile.am: Set PWD_COMMAND.
413         * testsuite/Makefile.in: Regenerate.
415 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
417         PR d/90086
418         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
419         * configure.ac: Use it.
420         * configure: Regenerate.
421         * libdruntime/Makefile.am: Add new config sources to
422         DRUNTIME_SOURCES_CONFIGURED.
423         * libdruntime/Makefile.in: Regenerate.
424         * libdruntime/config/aarch64/switchcontext.S: New file.
425         * libdruntime/config/arm/switchcontext.S: New file.
426         * libdruntime/config/common/threadasm.S: New file.
427         * libdruntime/config/mingw/switchcontext.S: New file.
428         * libdruntime/config/mips/switchcontext.S: New file.
429         * libdruntime/config/powerpc/switchcontext.S: New file.
430         * libdruntime/config/powerpc64/callwithstack.S: New file.
431         * libdruntime/config/x86/switchcontext.S: New file.
432         * libdruntime/core/threadasm.S: Remove.
434 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
436         PR d/89432
437         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
438         New proc.
439         * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
440         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
441         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
443 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
445         PR d/88654
446         * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
447         libphobos_skipped_test_p before running test.
448         (libphobos-dg-prune): New proc.
449         (libphobos_init): Set libphobos_skip_tests.
450         (libphobos_skipped_test_p): New proc.
451         (check_effective_target_libcurl_available): New proc.
452         * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
453         not found.
454         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
456 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
458         PR d/88431
459         * configure: Regenerate.
460         * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
461         dependencies on libphobos.
462         (lt_simple_link_test_code): Likewise.
463         (GDCFLAGS): Don't override for D compiler tests.
465 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
467         * configure.tgt: Add aarch64*-*-linux* as a supported target.
469 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
470             Robin Dapp  <rdapp@linux.ibm.com>
472         * configure.tgt: Add s390*-linux* as a supported target.
473         * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
474         (__tls_get_addr_internal): Declare.
475         (TLS_DTV_OFFSET): Define as zero on SystemZ.
476         (getTLSRange): Support getting TLS on SystemZ.
477         * testsuite/libphobos.typeinfo/struct-align.d: New test.
479 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
481         * configure.tgt: Add linux/riscv as supported target.
482         * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
483         dlpi_addr on RISCV32 and RISCV64.
484         * src/std/math.d: Add IEEE FPU control support for RISC-V.
486 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
487             Bernd Edlinger  <bernd.edlinger@hotmail.de>
488             Jakub Jelinek  <jakub@redhat.com>
490         PR target/89093
491         * libdruntime/gcc/deh.d: Import gcc.attribute.
492         (personality_fn_attributes): New enum.
493         (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
494         Add @personality_fn_attributes.
496 2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
498         PR d/89293
499         * libdruntime/core/atomic.d (casImpl): Remove static assert for
500         GNU_Have_Atomics, add static path to handle missing atomic support.
501         (atomicLoad): Likewise.
502         (atomicStore): Likewise.
503         (atomicFence):  Likewise.
504         (atomicMutexHandle, AtomicMutex): Declare types.
505         (_getAtomicMutex): New function.
506         (getAtomicMutex): Declare.
508 2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
510         * config.h.in: Regenerate.
511         * configure: Regenerate.
512         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
513         CPPFLAGS correctly for backtrace support test.
515 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
517         * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
518         Set to yes explicitly.
519         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
520         * configure.ac: Handle --enable-libphobos.
521         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
522         with gas.
523         (ENABLE_LIBPHOBOS): New conditional.
524         * configure: Regenerate.
525         * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
526         * Makefile.in: Regenerate.
528 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
529             Iain Buclaw  <ibuclaw@gdcproject.org>
531         PR d/88150
532         * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
533         * configure.ac: Use it.
534         Call AC_USE_SYSTEM_EXTENSIONS.
535         * configure: Regenerate.
536         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
537         testsuite/Makefile.in: Regenerate.
538         * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
539         * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
540         (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
541         dlpi_tls_modid.
542         [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
543         Otherwise clear pdso._tlsMod, pdso._tlsSize.
544         (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
546 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
548         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
549         * configure.ac: Call it.
550         * configure: Regenerate.
551         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
552         testsuite/Makefile.in: Regenerate.
553         * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
555 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
557         PR d/88150
558         * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
559         to true.
560         Import core.sys.solaris.dlfcn, core.sys.solaris.link,
561         core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
562         (dummy_ref): Declare.
563         (initSections): Initialize dummy_ref.
564         (getDependencies): Set strtab.
565         (handleForName): Don't dlclose handle.
566         (findDSOInfoForAddr): Set IterateManually.
567         (getprogname): Declare.
568         (progname): Use it.
569         * libdruntime/gcc/sections/package.d [Solaris]: Import
570         gcc.sections.elf_shared instead of gcc.sections.solaris.
571         * libdruntime/gcc/sections/solaris.d: Remove.
572         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
573         gcc/sections/solaris.d.
574         * libdruntime/Makefile.in: Regenerate.
576 2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
578         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
579         (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
580         * libdruntime/Makefile.in: Regenerate.
581         * libdruntime/gcc/sections/android.d: New file.
582         * libdruntime/gcc/sections/elf_shared.d: New file.
583         * libdruntime/gcc/sections/osx.d: New file.
584         * libdruntime/gcc/sections/package.d: New file.
585         * libdruntime/gcc/sections/solaris.d: New file.
586         * libdruntime/gcc/sections/win32.d: New file.
587         * libdruntime/gcc/sections/win64.d: New file.
588         * libdruntime/rt/bss_section.c: Remove.
589         * libdruntime/rt/sections.d: Publicly import gcc.sections.
590         * libdruntime/rt/sections_android.d: Remove.
591         * libdruntime/rt/sections_elf_shared.d: Remove.
592         * libdruntime/rt/sections_osx.d: Remove.
593         * libdruntime/rt/sections_solaris.d: Remove.
594         * libdruntime/rt/sections_win32.d: Remove.
595         * libdruntime/rt/sections_win64.d: Remove.
597 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
599         * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
600         * configure: Regenerate.
601         * libdruntime/Makefile.in: Regenerate.
603 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
605         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
606         libz_convenience.a if not using system zlib.
607         * Makefile.in: Regenerate.
608         * configure: Regenerate.
609         * libdruntime/Makefile.in: Regenerate.
610         * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
611         * src/Makefile.in: Regenerate.
612         * testsuite/Makefile.in: Regenerate.
614 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
616         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
617         (RUNTEST): Remove variable.
618         (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
619         check_p_numbers1, check_p_numbers2, check_p_numbers3,
620         check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
621         check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
622         (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
623         rules written so that all the *.exp files are ran parallelized.
624         (CLEANFILES): Add *.exe, *.o, and site.exp.
625         * testsuite/Makefile.in: Regenerate.
627 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
629         PR d/89255
630         * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
631         * configure: Regenerate.
632         * d_rules.am (%.t.lo, %.t.o): Remove rules.
633         (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
634         libgphobos_t_la_LINK): Remove variables.
635         * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
636         DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
637         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
638         unittest_static_LDFLAGS, unittest_static_LDADD,
639         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
640         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
641         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
642         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
643         unittest_LDADD): Remove variables.
644         (clean-local): Remove rule.
645         * libdruntime/Makefile.in: Regenerate.
646         * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
647         PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
648         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
649         unittest_static_LDFLAGS, unittest_static_LDADD,
650         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
651         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
652         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
653         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
654         unittest_LDADD): Remove variables.
655         (clean-local): Remove rule.
656         * src/Makefile.in: Regenerate.
657         * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
658         (libphobos_init): Set libphobos_test_name.
659         (libphobos-dg-test): Override name if libphobos_test_name is set.
660         (filter_libphobos_unittests): New proc.
661         * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
662         * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
663         * testsuite/libphobos.druntime/druntime.exp: New file.
664         * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
665         * testsuite/libphobos.phobos/phobos.exp: New file.
666         * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
667         * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
668         * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
669         * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
670         * testsuite/libphobos.thread/thread.exp: Likewise.
671         * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
672         * testsuite/libphobos.unittests/unittests.exp: Remove.
673         * testsuite/test_runner.d: Remove.
674         * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
676 2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
678         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
679         core/sys/darwin/crt_externs.d.
680         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
681         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
682         * libdruntime/Makefile.in: Regenerate.
684 2019-03-23  Johannes Pfau  <johannespfau@gmail.com>
686         * configure.ac: Update autotool version comment.
688 2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
690         * src/Makefile.am: Avoid the -D option which is not available
691         with the install-sh fallback.  Use $(MKDIR_P) instead.
692         * libdruntime/Makefile.am: Likewise.
693         * src/Makefile.in: Regenerated.
694         * libdruntime/Makefile.in: Regenerated.
696 2019-02-19  Iain Buclaw  <ibuclaw@gdcproject.org>
698         * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
699         [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
700         RTLD_NOLOAD from core.sys.*.dlfcn.
701         Assert RTLD_NOLOAD is available.
703 2019-02-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
705         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
706         * configure.ac: Invoke it.
707         * configure: Regenerate.
709 2019-02-19  Johannes Pfau  <johannespfau@gmail.com>
711         PR d/88127
712         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
713         * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
714         * configure: Regenerate
715         * Makefile.in: Regenerate
716         * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
717         * libdruntime/Makefile.in: Regenerate.
718         * src/Makefile.in: Regenerate.
719         * testsuite/Makefile.in: Regenerate.
721 2019-02-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
723         * testsuite/lib/libphobos-dg.exp: Tabify.
724         * testsuite/lib/libphobos.exp: Likewise.
725         * testsuite/libphobos.cycles/cycles.exp: Likewise.
726         * testsuite/libphobos.shared/shared.exp: Likewise.
727         * testsuite/libphobos.unittests/unittests.exp: Likewise.
729 2019-02-14  Maya Rashish  <coypu@sdf.org>
731         * configure.tgt: Add netbsd/x86 as supported target.
733 2019-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
735         PR d/87864
736         * configure.ac (DRTSTUFF_SPEC): New variable.
737         Substitute it.
738         * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
739         New automake conditional.
740         * configure: Regenerate.
741         * libdruntime/gcc/drtstuff.c: New file.
742         * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
743         (DRTSTUFF, toolexeclib_DATA): New variables.
744         (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
745         (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
746         Add -dstartfiles -B../src -Bgcc.
747         (libgdruntime_la_DEPENDENCIES): New variable.
748         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
749         (libgdruntime_t_la_LDFLAGS): Likewise.
750         (unittest_LDFLAGS): Likewise.
751         * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
752         -Xcompiler.
753         Add -dstartfiles -B../libdruntime/gcc.
754         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
755         (libgphobos_t_la_LDFLAGS): Likewise.
756         (unittest_LDFLAGS): Likewise.
757         * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
758         * Makefile.in, testsuite/Makefile.in: Regenerate.
759         * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
760         assert.
761         * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
762         * src/drtstuff.spec: New file.
763         * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
764         (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
765         -nophoboslib.
766         * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
767         -B${BUILD_DIR}/libdruntime/gcc.
769 2019-02-13  Iain Buclaw  <ibuclaw@gdcproject.org>
771         * libdruntime/core/runtime.d (defaultTraceHandler): Give
772         UnwindBacktrace handler precedence over backtrace.
774 2019-02-10  Iain Buclaw  <ibuclaw@gdcproject.org>
776         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
777         * libdruntime/Makefile.in: Rebuild.
778         * testsuite/libphobos.aa/aa.exp: New file.
779         * testsuite/libphobos.aa/test_aa.d: New test.
780         * testsuite/libphobos.hash/hash.exp: New file.
781         * testsuite/libphobos.hash/test_hash.d: New test.
783 2019-01-12  Iain Buclaw  <ibuclaw@gdcproject.org>
785         * README.gcc: New file.
787 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
789         Update copyright years.
791 2018-12-14  Iain Buclaw  <ibuclaw@gdcproject.org>
793         * src/std/internal/digest: Remove empty directory.
795 2018-12-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
797         * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
798         * Makefile.in: Regenerate.
800 2018-11-28  Iain Buclaw  <ibuclaw@gdcproject.org>
802         * Makefile.in: Rebuild.
803         * configure: Rebuild.
804         * configure.ac (DRUNTIME_SOVERSION): Remove.
805         (PHOBOS_SOVERSION): Remove.
806         (libtool_VERSION): Add.
807         * libdruntime/Makefile.am: Use libtool_VERSION.
808         * libdruntime/Makefile.in: Rebuild.
809         * src/Makefile.am: Use libtool_VERSION.
810         * src/Makefile.in: Rebuild.
811         * testsuite/Makefile.in: Rebuild.
813 2018-11-22  Johannes Pfau  <johannespfau@gmail.com>
815         PR d/87824
816         * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
817         library for multilib builds.
819 2018-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
821         * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
822         std.internal.math.biguintx86 modules.
823         * src/Makefile.in: Rebuild.
824         * src/std/internal/digest/sha_SSSE3.d: Remove.
825         * src/std/internal/math/biguintx86.d: Remove.
827 2018-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
829         PR d/87827
830         * Makefile.in: Rebuild.
831         * configure: Rebuild.
832         * configure.ac: Properly set MULTISUBDIR.
833         * d_rules.am: Set toolexecdir and toolexeclibdir.
834         * libdruntime/Makefile.in: Rebuild.
835         * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
836         --enable-version-specific-runtime-libs.
837         * src/Makefile.in: Rebuild.
838         * testsuite/Makefile.in: Rebuild.
840 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
842         PR bootstrap/82856
843         * Makefile.am: Include multilib.am.
844         * configure.ac: Remove AC_PREREQ.  Use -Wno-override in
845         AM_INIT_AUTOMAKE call.
846         * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
847         * m4/druntime/os.m4: Use AC_LANG_SOURCE.
848         * testsuite/Makefile.am (RUNTEST): Remove quotes.
849         * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
850         src/Makefile.in, testsuite/Makefile.in: Regenerate.
852 2018-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
854         PR bootstrap/87789
855         PR d/87818
856         PR d/87819
857         * configure.tgt: New file.
859 2018-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
861         * Makefile.am: New file.
862         * Makefile.in: New file.
863         * acinclude.m4: New file.
864         * aclocal.m4: New file.
865         * config.h.in: New file.
866         * configure: New file.
867         * configure.ac: New file.
868         * d_rules.am: New file.
869         * libdruntime/Makefile.am: New file.
870         * libdruntime/Makefile.in: New file.
871         * libdruntime/__entrypoint.di: New file.
872         * libdruntime/__main.di: New file.
873         * libdruntime/gcc/attribute.d: New file.
874         * libdruntime/gcc/backtrace.d: New file.
875         * libdruntime/gcc/builtins.d: New file.
876         * libdruntime/gcc/config.d.in: New file.
877         * libdruntime/gcc/deh.d: New file.
878         * libdruntime/gcc/libbacktrace.d.in: New file.
879         * libdruntime/gcc/unwind/arm.d: New file.
880         * libdruntime/gcc/unwind/arm_common.d: New file.
881         * libdruntime/gcc/unwind/c6x.d: New file.
882         * libdruntime/gcc/unwind/generic.d: New file.
883         * libdruntime/gcc/unwind/package.d: New file.
884         * libdruntime/gcc/unwind/pe.d: New file.
885         * m4/autoconf.m4: New file.
886         * m4/druntime.m4: New file.
887         * m4/druntime/cpu.m4: New file.
888         * m4/druntime/libraries.m4: New file.
889         * m4/druntime/os.m4: New file.
890         * m4/gcc_support.m4: New file.
891         * m4/gdc.m4: New file.
892         * m4/libtool.m4: New file.
893         * src/Makefile.am: New file.
894         * src/Makefile.in: New file.
895         * src/libgphobos.spec.in: New file.
896         * testsuite/Makefile.am: New file.
897         * testsuite/Makefile.in: New file.
898         * testsuite/config/default.exp: New file.
899         * testsuite/lib/libphobos-dg.exp: New file.
900         * testsuite/lib/libphobos.exp: New file.
901         * testsuite/testsuite_flags.in: New file.
904 Copyright (C) 2018-2020 Free Software Foundation, Inc.
906 Copying and distribution of this file, with or without modification,
907 are permitted in any medium without royalty provided the copyright
908 notice and this notice are preserved.