c++: retval dtor on rethrow [PR112301]
[official-gcc.git] / libphobos / ChangeLog
blobbf6e94acf090e08ed059d429e35e4e5ada3a08db
1 2023-10-29  Iain Buclaw  <ibuclaw@gdcproject.org>
3         * libdruntime/MERGE: Merge upstream druntime e48bc0987d.
4         * src/MERGE: Merge upstream phobos 2458e8f82.
6 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
8         * configure: Regenerate.
9         * configure.ac: Handle Darwin rpaths.
10         * libdruntime/Makefile.am: Handle Darwin rpaths.
11         * libdruntime/Makefile.in: Regenerate.
12         * src/Makefile.am: Handle Darwin rpaths.
13         * src/Makefile.in: Regenerate.
15 2023-10-16  Iain Buclaw  <ibuclaw@gdcproject.org>
17         * libdruntime/MERGE: Merge upstream druntime 4c18eed967.
18         * src/MERGE: Merge upstream phobos d945686a4.
20 2023-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
22         * libdruntime/MERGE: Merge upstream druntime f9efc98fd7.
23         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
24         core/internal/newaa.d.
25         * libdruntime/Makefile.in: Regenerate.
26         * src/MERGE: Merge upstream phobos a3f22129d.
27         * testsuite/libphobos.hash/test_hash.d: Update test.
28         * testsuite/libphobos.phobos/phobos.exp: Add compiler flags
29         -Wno-deprecated.
30         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
32 2023-09-23  Iain Buclaw  <ibuclaw@gdcproject.org>
34         * libdruntime/MERGE: Merge upstream druntime 4574d1728d.
35         * src/MERGE: Merge upstream phobos d7e79f024.
37 2023-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
39         * libdruntime/MERGE: Merge upstream druntime 26f049fb26.
40         * src/MERGE: Merge upstream phobos 330d6a4fd.
42 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
44         * configure: Regenerate.
46 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
48         * configure: Regenerate.
50 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
52         * configure: Regenerate.
54 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
56         * configure: Regenerate.
58 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
60         * configure: Regenerate.
62 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
64         * configure: Regenerate.
66 2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
68         * libdruntime/MERGE: Merge upstream druntime a88e1335f7.
69         * src/MERGE: Merge upstream phobos 1921d29df.
70         * config.h.in: Regenerate.
71         * configure: Regenerate.
72         * configure.ac (libphobos-checking): Add valgrind flag.
73         (DRUNTIME_LIBRARIES_VALGRIND): Call.
74         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Add
75         etc/valgrind/valgrind_.c.
76         (DRUNTIME_DSOURCES): Add etc/valgrind/valgrind.d.
77         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/input.d,
78         core/sys/linux/input_event_codes.d, core/sys/linux/uinput.d.
79         * libdruntime/Makefile.in: Regenerate.
80         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_VALGRIND): Define.
82 2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
84         * libdruntime/MERGE: Merge upstream druntime 17ccd12af3.
85         * src/MERGE: Merge upstream phobos 8d3800bee.
87 2023-07-09  Iain Buclaw  <ibuclaw@gdcproject.org>
89         * libdruntime/MERGE: Merge upstream druntime 28a3b24c2e.
90         * src/MERGE: Merge upstream phobos 8ab95ded5.
92 2023-07-02  Iain Sandoe  <iain@sandoe.co.uk>
94         * libdruntime/config/aarch64/switchcontext.S: Exclude ELF-
95         specific constructs for Darwin.
96         * libdruntime/config/arm/switchcontext.S: Likewise.
97         * libdruntime/core/thread/fiber.d: Disable switching fibres
98         between threads.
100 2023-07-01  Iain Sandoe  <iainsandoe@Apollo-3-VM-Lion-0-187.local>
102         PR d/103944
103         * testsuite/libphobos.gc/forkgc2.d: Skip for Darwin.
105 2023-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
107         * libdruntime/MERGE: Merge upstream druntime a45f4e9f43.
108         * src/MERGE: Merge upstream phobos 106038f2e.
110 2023-03-17  Iain Buclaw  <ibuclaw@gdcproject.org>
112         * libdruntime/MERGE: Merge upstream druntime 5f7552bb28.
113         * src/MERGE: Merge upstream phobos 67a47cf39.
115 2023-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
117         * libdruntime/MERGE: Merge upstream druntime 4ca4140e58.
118         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/factory.d.
119         * libdruntime/Makefile.in: Regenerate.
120         * src/MERGE: Merge upstream phobos 454dff14d.
121         * testsuite/libphobos.hash/test_hash.d: Update test.
122         * testsuite/libphobos.shared/finalize.d: Update test.
123         * libdruntime/core/factory.d: New file.
125 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
127         * src/MERGE: Merge upstream phobos e5a521ab2.
129 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
131         * libdruntime/MERGE: Merge upstream druntime 09faa4eacd.
132         * src/MERGE: Merge upstream phobos 13ef27a56.
133         * testsuite/libphobos.exceptions/refcounted.d: Add test for chained
134         reference counted exceptions.
135         * testsuite/libphobos.shared/finalize.d: Add dg-warning for deprecated
136         factory interfaces.
137         * testsuite/libphobos.gc/issue22843.d: New test.
139 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
141         * libdruntime/gcc/backtrace.d (simpleErrorCallback): Add @nogc.
142         (LibBacktrace.initLibBacktrace): Likewise.
143         (LibBacktrace.this): Likewise.
144         (UnwindBacktrace.this): Likewise.
145         (getBacktrace): Likewise.
146         (getBacktraceSymbols): Likewise.
147         * libdruntime/gcc/libbacktrace.d.in (backtrace_create_state):
148         Likewise.
149         (backtrace_full): Likewise.
150         (backtrace_simple): Likewise.
151         (backtrace_print): Likewise.
152         (backtrace_pcinfo): Likewise.
153         (backtrace_syminfo): Likewise.
155 2023-02-13  Lorenzo Salvadore  <developer@lorenzosalvadore.it>
157         PR d/107469
158         * libdruntime/core/sys/freebsd/config.d: Update __FreeBSD_version.
160 2023-01-17  Martin Liska  <mliska@suse.cz>
162         * Makefile.in: Regenerate.
163         * libdruntime/Makefile.in: Regenerate.
165 2022-12-11  Iain Buclaw  <ibuclaw@gdcproject.org>
167         * libdruntime/MERGE: Merge upstream druntime c8ae4adb2e.
168         * src/MERGE: Merge upstream phobos 792c8b7c1.
170 2022-11-05  Iain Buclaw  <ibuclaw@gdcproject.org>
172         * libdruntime/gcc/simd.d (equalMask): Implement using generics.
173         (notEqualMask): Likewise.
174         (greaterMask): Likewise.
175         (greaterOrEqualMask): Likewise.
176         (notMask): Likewise.
177         (andAndMask): Likewise.
178         (orOrMask): Likewise.
180 2022-10-29  Iain Buclaw  <ibuclaw@gdcproject.org>
182         * libdruntime/MERGE: Merge upstream druntime e4f8919591.
183         * src/MERGE: Merge upstream phobos 3ad507b51.
185 2022-10-12  Martin Liska  <mliska@suse.cz>
187         * configure: Regenerate.
189 2022-10-11  Olivier Hainque  <hainque@adacore.com>
190             Olivier Hainque  <hainque@adacore.com>
192         * configure: Regenerate.
194 2022-09-27  Iain Buclaw  <ibuclaw@gdcproject.org>
196         * libdruntime/MERGE: Merge upstream druntime d579c467c1.
197         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
198         rt/arrayassign.d.
199         * libdruntime/Makefile.in: Regenerate.
200         * src/MERGE: Merge upstream phobos 88aa69b14.
201         * src/Makefile.am (PHOBOS_DSOURCES): Remove std/digest/digest.d,
202         std/xml.d.
203         * src/Makefile.in: Regenerate.
205 2022-08-27  Iain Buclaw  <ibuclaw@gdcproject.org>
207         * libdruntime/MERGE: Merge upstream druntime 817610b16d.
208         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
209         core/internal/array/arrayassign.d.
210         * libdruntime/Makefile.in: Regenerate.
211         * src/MERGE: Merge upstream phobos b578dfad9.
212         * src/Makefile.am (PHOBOS_DSOURCES): Remove
213         std/experimental/typecons.d. Add std/logger package.
214         * src/Makefile.in: Regenerate.
216 2022-08-03  Iain Buclaw  <ibuclaw@gdcproject.org>
218         * configure: Regenerate.
219         * configure.ac (libtool_VERSION): Update to 4:0:0.
220         * libdruntime/MERGE: Merge upstream druntime d7772a2369.
221         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
222         core/internal/array/duplication.d.
223         * libdruntime/Makefile.in: Regenerate.
224         * src/MERGE: Merge upstream phobos 5748ca43f.
225         * testsuite/libphobos.gc/nocollect.d:
227 2022-07-06  Iain Buclaw  <ibuclaw@gdcproject.org>
229         * libdruntime/MERGE: Merge upstream druntime 651389b5.
230         * src/MERGE: Merge upstream phobos 1516ecad9.
232 2022-06-29  Iain Buclaw  <ibuclaw@gdcproject.org>
234         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add gcc/simd.d.
235         * libdruntime/Makefile.in: Regenerate.
236         * libdruntime/gcc/simd.d: New file.
238 2022-06-28  Iain Buclaw  <ibuclaw@gdcproject.org>
240         * libdruntime/gcc/attributes.d (simd): Define.
242 2022-06-24  Iain Buclaw  <ibuclaw@gdcproject.org>
244         PR d/105413
245         * libdruntime/gcc/attributes.d (register): Define.
247 2022-06-24  Iain Buclaw  <ibuclaw@gdcproject.org>
249         * libdruntime/MERGE: Merge upstream druntime 148608b7.
251 2022-06-22  Iain Buclaw  <ibuclaw@gdcproject.org>
253         * libdruntime/MERGE: Merge upstream druntime e150cca1.
254         * src/MERGE: Merge upstream phobos a4a18d21c.
255         * testsuite/libphobos.cycles/cycles.exp (cycle_test_list): Update
256         expected result of deprecate test.
258 2022-06-15  Iain Buclaw  <ibuclaw@gdcproject.org>
260         * libdruntime/gcc/attributes.d (no_sanitize): Define.
261         (noSanitize): Define.
263 2022-06-15  Iain Buclaw  <ibuclaw@gdcproject.org>
265         * libdruntime/gcc/attributes.d (visibility): Define.
266         (hidden): Define.
268 2022-06-13  Iain Buclaw  <ibuclaw@gdcproject.org>
270         * libdruntime/MERGE: Merge upstream druntime 454471d8.
271         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
272         core/sync/package.d.
273         * libdruntime/Makefile.in: Regenerate.
274         * src/MERGE: Merge upstream phobos 1206fc94f.
276 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
278         * testsuite/lib/libphobos-dg.exp: Add load_gcc_lib of scansarif.exp.
280 2022-05-27  Iain Buclaw  <ibuclaw@gdcproject.org>
282         * libdruntime/MERGE: Merge upstream druntime f89da313.
283         * src/MERGE: Merge upstream phobos d46814c86.
285 2022-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
287         * libdruntime/MERGE: Merge upstream druntime 94bd5bcb.
288         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Add
289         $(DRUNTIME_DSOURCES_ELF).
290         (ALL_DRUNTIME_SOURCES): Likewise.
291         (DRUNTIME_DSOURCES_ELF): New variable.
292         * libdruntime/Makefile.in: Regenerate.
293         * src/MERGE: Merge upstream phobos 3a1cd9a01.
294         * testsuite/libphobos.init_fini/custom_gc.d: Update test.
296 2022-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
298         * libdruntime/MERGE: Merge upstream druntime e361d200.
300 2022-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
302         * libdruntime/gcc/emutls.d (emutlsDestroyThread): Clear the per-thread
303         TLS array, don't call free().
305 2022-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
307         * libdruntime/MERGE: Merge upstream druntime 27834edb.
308         * src/MERGE: Merge upstream phobos ac296f80c.
309         * src/Makefile.am (PHOBOS_DSOURCES): Add std/int128.d.
310         * src/Makefile.in: Regenerate.
312 2022-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
314         * libdruntime/MERGE: Merge upstream druntime 9ba9a6ae.
315         * src/MERGE: Merge upstream phobos c0cc5e917.
317 2022-04-02  Iain Buclaw  <ibuclaw@gdcproject.org>
319         * libdruntime/MERGE: Merge upstream druntime c52e28b7.
320         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
321         core/sys/openbsd/pwd.d.
322         * libdruntime/Makefile.in: Regenerate.
323         * src/MERGE: Merge upstream phobos 99e9c1b77.
324         * testsuite/libphobos.exceptions/message_with_null.d: New test.
326 2022-03-21  Iain Buclaw  <ibuclaw@gdcproject.org>
328         PR d/104911
329         * src/MERGE: Merge upstream phobos a74fa63e6.
331 2022-03-13  Iain Buclaw  <ibuclaw@gdcproject.org>
333         * libdruntime/MERGE: Merge upstream druntime 26b58167.
334         * src/MERGE: Merge upstream phobos 16cb085b5.
336 2022-03-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
338         PR d/103528
339         * configure.ac <x86_64-*-solaris2.* | i?86-*-solaris2.*>: Remove
340         gas requirement.
341         * configure: Regenerate.
342         * configure.tgt (sparc*-*-solaris2.11*): Mark supported.
344 2022-03-02  Iain Buclaw  <ibuclaw@gdcproject.org>
346         * libdruntime/MERGE: Merge upstream druntime 100a608c.
347         * src/MERGE: Merge upstream phobos a1f8c4c07.
349 2022-03-01  Iain Buclaw  <ibuclaw@gdcproject.org>
351         PR d/104659
352         * libdruntime/config/mingw/msvc.c (init_msvc): Fix misspelling of
353         msvcUsesUCRT.
355 2022-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
357         * libdruntime/MERGE: Merge upstream druntime caf14b0f.
358         * src/MERGE: Merge upstream phobos 41aaf8c26.
360 2022-02-20  Iain Buclaw  <ibuclaw@gdcproject.org>
362         * libdruntime/MERGE: Merge upstream druntime 55528bd1.
363         * src/MERGE: Merge upstream phobos 1a3e80ec2.
364         * testsuite/libphobos.hash/test_hash.d: Update.
365         * testsuite/libphobos.betterc/test19933.d: New test.
367 2022-02-16  Iain Buclaw  <ibuclaw@gdcproject.org>
369         * Makefile.in: Regenerate.
370         * libdruntime/MERGE: Merge upstream druntime dbd0c874.
371         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Add core/int128.d.
372         (DRUNTIME_DISOURCES): Add __builtins.di.
373         * libdruntime/Makefile.in: Regenerate.
374         * src/MERGE: Merge upstream phobos 896b1d0e1.
375         * src/Makefile.am (PHOBOS_DSOURCES): Add std/checkedint.d.
376         * src/Makefile.in: Regenerate.
377         * testsuite/testsuite_flags.in: Add -fall-instantiations to
378         --gdcflags.
380 2022-01-03  Iain Buclaw  <ibuclaw@gdcproject.org>
382         * libdruntime/MERGE: Merge upstream druntime 759e6023.
383         * src/MERGE: Merge upstream phobos 468788323.
385 2021-12-21  Iain Buclaw  <ibuclaw@gdcproject.org>
387         * configure.tgt: Add power*-*-freebsd* as a supported target.
389 2021-12-20  Iain Buclaw  <ibuclaw@gdcproject.org>
391         * libdruntime/MERGE: Merge upstream druntime fd9a4544.
392         * src/MERGE: Merge upstream phobos 495e835c2.
394 2021-12-15  Iain Buclaw  <ibuclaw@gdcproject.org>
396         PR d/103604
397         * configure: Regenerate.
398         * configure.ac (libtool_VERSION): Update to 3:0:0.
399         * libdruntime/MERGE: Merge upstream druntime 6364e010.
400         * src/MERGE: Merge upstream phobos 575b67a9b.
401         * testsuite/libphobos.traits/all_satisfy.d: New test.
402         * testsuite/libphobos.traits/traits.exp: New test.
404 2021-12-10  Iain Buclaw  <ibuclaw@gdcproject.org>
406         PR d/103528
407         * libdruntime/MERGE: Merge upstream druntime bc58b1e9.
408         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
409         core/sys/linux/syscalls.d.
410         * libdruntime/Makefile.in: Regenerate.
411         * src/MERGE: Merge upstream phobos 12329adb6.
412         * testsuite/libphobos.config/config.exp: Add test22523.
413         * libdruntime/core/sys/linux/syscalls.d: Removed.
414         * testsuite/libphobos.config/test22523.d: New test.
416 2021-12-08  Iain Buclaw  <ibuclaw@gdcproject.org>
418         PR d/103558
419         * libdruntime/MERGE: Merge upstream druntime 178c44ff.
420         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Add
421         core/sys/linux/syscalls.d.
422         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/pthread_np.d.
423         * libdruntime/Makefile.in: Regenerate.
424         * src/MERGE: Merge upstream phobos 574bf883b.
425         * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=fieldwise.
426         * src/Makefile.in: Regenerate.
427         * testsuite/libphobos.exceptions/assert_fail.d: Update test.
428         * testsuite/libphobos.betterc/test22336.d: New test.
430 2021-12-02  Iain Buclaw  <ibuclaw@gdcproject.org>
432         * libdruntime/core/thread/osthread.d (callWithStackShell): Push all
433         callee-save registers on the stack for AArch64 and ARM.
435 2021-12-02  Iain Buclaw  <ibuclaw@gdcproject.org>
437         * src/std/math/hardware.d (FloatingPointControl.getControlState): Add
438         missing ControlState variable for AArch64.
440 2021-12-01  Iain Buclaw  <ibuclaw@gdcproject.org>
442         * testsuite/testsuite_flags.in: Add libphobos library directory as
443         search path to --gdcldflags.
445 2021-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
447         * libdruntime/MERGE: Merge upstream druntime e6caaab9.
448         * libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with
449         -fpreview=dip1000, -fpreview=fieldwise, and -fpreview=dtorfields.
450         (ALL_DRUNTIME_SOURCES): Add DRUNTIME_DSOURCES_STDCXX.
451         (DRUNTIME_DSOURCES): Update list of C binding modules.
452         (DRUNTIME_DSOURCES_STDCXX): Likewise.
453         (DRUNTIME_DSOURCES_LINUX): Likewise.
454         (DRUNTIME_DSOURCES_OPENBSD): Likewise.
455         (DRUNTIME_DISOURCES): Remove __entrypoint.di.
456         * libdruntime/Makefile.in: Regenerated.
457         * libdruntime/__entrypoint.di: Removed.
458         * libdruntime/gcc/deh.d (_d_isbaseof): Update signature.
459         (_d_createTrace): Likewise.
460         (__gdc_begin_catch): Remove reference to the exception.
461         (_d_throw): Increment reference count of thrown object before unwind.
462         (__gdc_personality): Chain exceptions with  Throwable.chainTogether.
463         * libdruntime/gcc/emutls.d: Update imports.
464         * libdruntime/gcc/sections/elf.d: Update imports.
465         (DSO.moduleGroup): Update signature.
466         * libdruntime/gcc/sections/macho.d: Update imports.
467         (DSO.moduleGroup): Update signature.
468         * libdruntime/gcc/sections/pecoff.d: Update imports.
469         (DSO.moduleGroup): Update signature.
470         * src/MERGE: Merge upstream phobos 5ab9ad256.
471         * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and
472         -fpreview=dtorfields flags.
473         (PHOBOS_DSOURCES): Update list of std modules.
474         * src/Makefile.in: Regenerate.
475         * testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly
476         compile types.
477         (dg-test): Override.
478         (additional_prunes): Define.
479         (libphobos-dg-prune): Filter any additional_prunes set by tests.
480         * testsuite/libphobos.aa/test_aa.d: Update test.
481         * testsuite/libphobos.druntime/druntime.exp (version_flags): Add
482         -fversion=CoreUnittest.
483         * testsuite/libphobos.druntime_shared/druntime_shared.exp
484         (version_flags): Add -fversion=CoreUnittest -fversion=Shared.
485         * testsuite/libphobos.exceptions/unknown_gc.d: Update test.
486         * testsuite/libphobos.hash/test_hash.d: Update test.
487         * testsuite/libphobos.phobos/phobos.exp (version_flags): Add
488         -fversion=StdUnittest
489         * testsuite/libphobos.phobos_shared/phobos_shared.exp (version_flags):
490         Likewise.
491         * testsuite/libphobos.shared/host.c: Update test.
492         * testsuite/libphobos.shared/load.d: Update test.
493         * testsuite/libphobos.shared/load_13414.d: Update test.
494         * testsuite/libphobos.thread/fiber_guard_page.d: Update test.
495         * testsuite/libphobos.thread/tlsgc_sections.d: Update test.
496         * testsuite/testsuite_flags.in: Add -fpreview=dip1000 to --gdcflags.
497         * testsuite/libphobos.shared/link_mod_collision.d: Removed.
498         * testsuite/libphobos.shared/load_mod_collision.d: Removed.
499         * testsuite/libphobos.betterc/betterc.exp: New test.
500         * testsuite/libphobos.config/config.exp: New test.
501         * testsuite/libphobos.gc/gc.exp: New test.
502         * testsuite/libphobos.imports/imports.exp: New test.
503         * testsuite/libphobos.lifetime/lifetime.exp: New test.
504         * testsuite/libphobos.unittest/unittest.exp: New test.
505         * testsuite/libphobos.allocations/alloc_from_assert.d: New file.
506         * testsuite/libphobos.betterc/test18828.d: New file.
507         * testsuite/libphobos.betterc/test19416.d: New file.
508         * testsuite/libphobos.betterc/test19421.d: New file.
509         * testsuite/libphobos.betterc/test19561.d: New file.
510         * testsuite/libphobos.betterc/test19924.d: New file.
511         * testsuite/libphobos.betterc/test20088.d: New file.
512         * testsuite/libphobos.betterc/test20613.d: New file.
513         * testsuite/libphobos.config/test19433.d: New file.
514         * testsuite/libphobos.config/test20459.d: New file.
515         * testsuite/libphobos.exceptions/assert_fail.d: New file.
516         * testsuite/libphobos.exceptions/catch_in_finally.d: New file.
517         * testsuite/libphobos.exceptions/future_message.d: New file.
518         * testsuite/libphobos.exceptions/long_backtrace_trunc.d: New file.
519         * testsuite/libphobos.exceptions/refcounted.d: New file.
520         * testsuite/libphobos.exceptions/rt_trap_exceptions.d: New file.
521         * testsuite/libphobos.exceptions/rt_trap_exceptions_drt.d: New file.
522         * testsuite/libphobos.gc/attributes.d: New file.
523         * testsuite/libphobos.gc/forkgc.d: New file.
524         * testsuite/libphobos.gc/forkgc2.d: New file.
525         * testsuite/libphobos.gc/nocollect.d: New file.
526         * testsuite/libphobos.gc/precisegc.d: New file.
527         * testsuite/libphobos.gc/recoverfree.d: New file.
528         * testsuite/libphobos.gc/sigmaskgc.d: New file.
529         * testsuite/libphobos.gc/startbackgc.d: New file.
530         * testsuite/libphobos.imports/bug18193.d: New file.
531         * testsuite/libphobos.init_fini/custom_gc.d: New file.
532         * testsuite/libphobos.init_fini/test18996.d: New file.
533         * testsuite/libphobos.lifetime/large_aggregate_destroy_21097.d: New file.
534         * testsuite/libphobos.thread/external_threads.d: New file.
535         * testsuite/libphobos.thread/join_detach.d: New file.
536         * testsuite/libphobos.thread/test_import.d: New file.
537         * testsuite/libphobos.thread/tlsstack.d: New file.
538         * testsuite/libphobos.typeinfo/enum_.d: New file.
539         * testsuite/libphobos.typeinfo/isbaseof.d: New file.
540         * testsuite/libphobos.unittest/customhandler.d: New file.
542 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
544         * testsuite/lib/libphobos.exp: Prune warnings from external
545         tool bugs.
547 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
549         * libdruntime/core/thread/fiber.d (defaultStackPages): Increase size
550         on OSX X86_64 targets.
552 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
554         * libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
555         from global array.
556         (_d_emutls_destroy): Don't call __gthread_key_delete.
558 2021-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
560         PR d/102837
561         * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
562         contents of internal EH storage.
564 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
566         * libdruntime/gcc/deh.d (ExceptionHeader.getClassInfo): Move to...
567         (getClassInfo): ...here as free function.  Add lsda parameter.
568         (scanLSDA): Pass lsda to actionTableLookup.
569         (actionTableLookup): Add lsda parameter, pass to getClassInfo.
570         (__gdc_personality): Remove currentCfa variable.
572 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
574         * libdruntime/gcc/deh.d (_d_print_throwable): Declare.
575         (_d_throw): Print stacktrace before terminating program due to
576         uncaught exception.
578 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
580         * libdruntime/core/runtime.d (runModuleUnitTests): Use scope to new
581         LibBacktrace on the stack.
582         * libdruntime/gcc/backtrace.d (FIRSTFRAME): Remove.
583         (LibBacktrace.MaxAlignment): Remove.
584         (LibBacktrace.this): Remove default initialization of firstFrame.
585         (UnwindBacktrace.this): Likewise.
587 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
589         * libdruntime/gcc/unwind/generic.d (__aligned__): Define.
590         (_Unwind_Exception): Align struct to __aligned__.
592 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
594         PR d/102476
595         * libdruntime/__main.di: Define main function as extern(C) when
596         compiling without D runtime.
598 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
600         * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES.
602 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
604         * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY.
605         * src/Makefile.in: Regenerate.
607 2021-08-30  Iain Buclaw  <ibuclaw@gdcproject.org>
609         * configure: Regenerate.
610         * m4/autoconf.m4 (AC_LANG_PROGRAM): Declare module name 'object'.
611         * m4/gcc_support.m4 (WITH_LOCAL_DRUNTIME): Compile tests with
612         -fno-druntime.
614 2021-06-11  Iain Buclaw  <ibuclaw@gdcproject.org>
616         PR d/100999
617         * src/MERGE: Merge upstream phobos 55bb17543.
619 2021-05-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
621         * src/std/process.d (unittest): Remove tmpname on exit.
622         * src/MERGE: Merge upstream phobos 63f4caa90.
624 2021-05-13  Iain Buclaw  <ibuclaw@gdcproject.org>
626         * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
628 2021-05-10  Iain Buclaw  <ibuclaw@gdcproject.org>
630         * src/MERGE: Merge upstream phobos 32cfe9b61.
632 2021-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
634         * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
635         generate PPC and PPC64 asm implementations, and conditionally remove
636         PPC register names on non-Darwin targets.
638 2021-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
640         PR d/98584
641         * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
642         read_encoded_value.
643         (actionTableLookup): Update calls to read_sleb128 and
644         read_encoded_value_with_base.
645         * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
646         (read_sleb128): Update signature.
647         (read_unaligned): New function.
648         (read_encoded_value_with_base): Update signature.  Call read_unaligned
649         instead of unsafe pointer dereferencing.
650         (read_encoded_value): Update signature.
652 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
654         PR d/98494
655         * libdruntime/MERGE: Merge upstream druntime 89f870b7.
656         * src/MERGE: Merge upstream phobos e6907ff3e.
658 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
660         PR d/98058
661         * configure: Regenerate.
662         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
663         core/sys/darwin/config.d
664         * libdruntime/Makefile.in: Regenerate.
665         * libdruntime/config/powerpc/switchcontext.S: Implement
666         fiber_switchContext for __MACH__.
667         * libdruntime/config/x86/switchcontext.S: Likewise.
668         * libdruntime/core/sys/darwin/config.d: New file.
669         * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
670         (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
671         * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
672         assembler implementation for X86, X86_64, PPC, and PPC64.
673         * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
674         noinline.
675         * libdruntime/gcc/deh.d (FuncTable): Remove definition.
676         * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
677         bracket symbol on darwin* targets.
678         * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
679         support ucontext-based Fibers.
681 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
683         PR d/99794
684         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
685         config/mingw/msvc.c on DRUNTIME_OS_MINGW.
686         * libdruntime/Makefile.in: Regenerate.
687         * libdruntime/config/mingw/msvc.c: New file.
688         * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
689         function definition.
690         * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
691         _GCC_specific_handler.
692         * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
693         * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
694         declaration.
695         * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
696         (rt_loadLibraryW): Remove function.
697         (initLibrary): Remove function.
698         (rt_unloadLibrary): Remove function.
700 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
702         PR d/99691
703         * configure: Regenerate.
704         * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
705         * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
706         OpenBSD platforms.
707         * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
708         (linkMapForHandle): Implement for OpenBSD.
709         (exeLinkMap): Remove.
710         (getDependencies): Adjust dlpi_addr on OpenBSD.
711         (handleForName): Implement for OpenBSD.
712         (IterateManually): Define on OpenBSD.
713         * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
714         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
715         enable_libatomic.
716         (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
718 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
720         * Makefile.in: Regenerate.
721         * configure: Regenerate.
722         * configure.ac: Call DRUNTIME_SECTION_FLAGS.
723         * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
724         * libdruntime/Makefile.in: Regenerate.
725         * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
726         * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
727         * src/Makefile.in: Regenerate.
728         * testsuite/Makefile.in: Regenerate.
730 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
732         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
733         gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
734         Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
735         * libdruntime/Makefile.in: Regenerate.
736         * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
737         use platform independant section function names.
738         * libdruntime/gcc/sections/elf_shared.d: Renamed to...
739         * libdruntime/gcc/sections/elf.d: ...this.  Mangle functions for
740         core.thread interface as if they come from the gcc.sections module.
741         * libdruntime/gcc/sections/package.d: Update public imports, declare
742         functions for core.thread interface.
743         * libdruntime/gcc/sections/android.d: Removed.
744         * libdruntime/gcc/sections/osx.d: Removed.
745         * libdruntime/gcc/sections/win32.d: Removed.
746         * libdruntime/gcc/sections/win64.d: Removed.
747         * libdruntime/gcc/sections/common.d: New file.
748         * libdruntime/gcc/sections/macho.d: New file.
749         * libdruntime/gcc/sections/pecoff.d: New file.
751 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
753         * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
754         -static-libphobos.
755         * testsuite/libphobos.phobos/phobos.exp: Likewise.
757 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
759         * testsuite/libphobos.druntime/druntime.exp: Remove
760         is-effective-target static.
761         * testsuite/libphobos.phobos/phobos.exp: Likewise.
763 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
765         PR d/99812
766         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
767         -fno-moduleinfo flag to dg-runtest.
768         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
770 2021-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
772         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
773         gcc/attributes.d.
774         * libdruntime/Makefile.in: Regenerate.
775         * libdruntime/gcc/attribute.d: Deprecate module, publicly import
776         gcc.attributes.
777         * libdruntime/gcc/deh.d: Update imports.
778         * libdruntime/gcc/attributes.d: New file.
780 2021-04-06  Iain Buclaw  <ibuclaw@gdcproject.org>
782         * libdruntime/MERGE: Merge upstream druntime 1134b710.
784 2021-04-03  Iain Buclaw  <ibuclaw@gdcproject.org>
786         * libdruntime/MERGE: Merge upstream druntime 483bc129.
787         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
788         core/sys/darwin/fcntl.d.
789         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
790         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
791         * libdruntime/Makefile.in: Regenerate.
792         * src/MERGE: Merge upstream phobos f89dc217a.
793         * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
794         * src/Makefile.in: Regenerate.
795         * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
796         * testsuite/libphobos.exceptions/line_trace.d: Likewise.
798 2021-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
800         * Makefile.in: Regenerate.
801         * configure: Regenerate.
802         * configure.ac: Substitute enable_shared, enable_static, and
803         phobos_lt_pic_flag.
804         * libdruntime/Makefile.am (AM_DFLAGS): Replace
805         phobos_compiler_pic_flag with phobos_lt_pic_flags, and
806         phobos_compiler_shared_flag.
807         * libdruntime/Makefile.in: Regenerate.
808         * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
809         with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
810         * src/Makefile.in: Regenerate.
811         * testsuite/Makefile.in: Regenerate.
812         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
813         -fversion=Shared and -fno-moduleinfo from default extra test flags.
814         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
815         * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
816         --gdcflags.
818 2021-02-04  Iain Buclaw  <ibuclaw@gdcproject.org>
820         PR d/98910
821         * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
822         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
823         * libdruntime/Makefile.in: Regenerate.
824         * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
826 2021-02-03  Iain Buclaw  <ibuclaw@gdcproject.org>
828         PR d/98910
829         * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
830         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
831         core/internal/attributes.d
832         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
833         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
834         core/sys/darwin/sys/sysctl.d.
835         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
836         core/sys/dragonflybsd/stdlib.d, and
837         core/sys/dragonflybsd/sys/sysctl.d.
838         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
839         core/sys/freebsd/sys/sysctl.d.
840         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
841         core/sys/netbsd/sys/sysctl.d.
842         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
843         core/sys/openbsd/sys/sysctl.d.
844         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
845         * libdruntime/Makefile.in: Regenerate.
846         * src/MERGE: Merge upstream phobos 9d575282e.
848 2021-01-30  Iain Buclaw  <ibuclaw@gdcproject.org>
850         * Makefile.in: Regenerate.
851         * configure: Regenerate.
852         * libdruntime/MERGE: Merge upstream druntime e4aae28e.
853         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
854         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
855         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
856         core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
857         core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
858         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
859         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
860         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
861         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
862         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
863         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
864         core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
865         core/sys/posix/strings.d.
866         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
867         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
868         and core/sys/windows/stdc/time.d
869         * libdruntime/Makefile.in: Regenerate.
870         * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
871         * testsuite/libphobos.thread/fiber_guard_page.d: Use
872         __traits(getMember) to get internal fields.
874 2021-01-26  Iain Buclaw  <ibuclaw@gdcproject.org>
876         * src/MERGE: Merge upstream phobos 3dd5df686.
877         * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
878         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
879         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
881 2021-01-23  Iain Buclaw  <ibuclaw@gdcproject.org>
883         PR d/98806
884         * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
885         for MIPS32 and MIPS64.
886         (getDependencies): Adjust dlpi_addr on MIPS_Any.
888 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
890         * configure: Re-generate.
892 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
894         PR target/97865
895         * configure: Regenerate.
897 2020-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
899         PR d/87818
900         * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
901         supported targets.
903 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
905         PR d/98025
906         * Makefile.in: Regenerate.
907         * configure: Regenerate.
908         * configure.ac (DCFG_ENABLE_CET): Substitute.
909         * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
910         * libdruntime/Makefile.in: Regenerate.
911         * libdruntime/core/thread.d: Import gcc.config.
912         (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
913         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
914         * src/Makefile.in: Regenerate.
915         * testsuite/Makefile.in: Regenerate.
917 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
919         * libdruntime/MERGE: Merge upstream druntime d37ef985.
920         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
921         core/sys/freebsd/config.d
922         * libdruntime/Makefile.in: Regenerate.
924 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
926         * src/MERGE: Merge upstream phobos 38873fe6e.
928 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
930         * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
932 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
934         * configure.tgt: Add *-*-dragonfly* as a supported target.
935         * configure: Regenerate.
936         * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
937         target.
939 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
941         * src/MERGE: Merge upstream phobos 7948e0967.
943 2020-11-13  Iain Buclaw  <ibuclaw@gdcproject.org>
945         * configure: Regenerate.
946         * configure.ac (libtool_VERSION): Update to 2:0.0.
948 2020-10-27  Iain Buclaw  <ibuclaw@gdcproject.org>
950         * libdruntime/MERGE: Merge upstream druntime 58560d51.
952 2020-10-12  Maciej W. Rozycki  <macro@linux-mips.org>
954         * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
955         Use L.D and S.D generic assembly instructions rather than LDC1
956         and SDC1 MIPS II hardware instructions.
958 2020-10-12  Iain Buclaw  <ibuclaw@gdcproject.org>
960         * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
962 2020-09-10  Iain Buclaw  <ibuclaw@gdcproject.org>
964         PR d/95680
965         PR d/97007
966         * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
967         * Makefile.in: Regenerate.
968         * configure: Regenerate.
969         * configure.ac (DCFG_ENABLE_CET): Remove substitution.
970         (CET_DFLAGS): Substitute.
971         * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
972         (AM_CFLAGS): Add $(CET_FLAGS).
973         (AM_CCASFLAGS): Likewise.
974         * libdruntime/Makefile.in: Regenerate.
975         * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
976         condition with `version (CET)'.
977         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
978         * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
979         (AM_CFLAGS): Add $(CET_FLAGS).
980         * src/Makefile.in: Regenerate.
981         * testsuite/Makefile.in: Regenerate.
982         * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
984 2020-09-09  H.J. Lu  <hjl.tools@gmail.com>
986         PR d/95680
987         * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
988         generate the CET marker for -fcf-protection.
990 2020-09-08  Iain Buclaw  <ibuclaw@gdcproject.org>
992         PR d/95680
993         * Makefile.in: Regenerate.
994         * configure: Regenerate.
995         * configure.ac (DCFG_ENABLE_CET): Substitute.
996         * libdruntime/Makefile.in: Regenerate.
997         * libdruntime/config/x86/switchcontext.S: Remove CET support code.
998         * libdruntime/core/thread.d: Import gcc.config.  Don't set version
999         AsmExternal when GNU_Enable_CET is true.
1000         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
1001         * src/Makefile.in: Regenerate.
1002         * testsuite/Makefile.in: Regenerate.
1004 2020-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1006         * libdruntime/MERGE: Merge upstream druntime d05ebaad.
1007         * src/MERGE: Merge upstream phobos 021ae0df7.
1008         * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
1010 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1012         PR bootstrap/95413
1013         * configure: Regenerated.
1015 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1017         PR bootstrap/95147
1018         * configure: Regenerated.
1020 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1022         * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
1023         __CET__ is defined.
1024         (_CET_ENDBR): New.  Define if __CET__ is not defined.
1025         (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
1027 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1029         * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
1030         * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
1031         * Makefile.in: Regenerated.
1032         * aclocal.m4: Likewise.
1033         * configure.ac: Likewise.
1035 2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
1037         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
1038         config/powerpc/switchcontext.S
1039         * libdruntime/Makefile.in: Regenerate.
1040         * libdruntime/config/powerpc/callwithstack.S: Remove.
1041         * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
1042         fiber_switchContext.
1043         * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
1044         * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
1045         same as stackSize.
1047 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
1049         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
1050         Fix KERNEL_VERSION condition.
1052 2020-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1054         PR d/94825
1055         * configure: Regenerate.
1056         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
1057         switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
1058         * libdruntime/Makefile.in: Regenerate.
1059         * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
1060         * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
1061         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
1062         for all powerpc biarchs.  Remove DRUNTIME_CPU_POWER64 conditional.
1064 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1066         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
1067         core/sys/linux/sys/netinet/tcp.d.
1068         * libdruntime/Makefile.in: Regenerate.
1070 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1072         * configure.tgt: Add hppa-*-linux* as a supported target.
1074 2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
1076         * configure: Regenerate.
1077         * configure.tgt: Add power*-*-linux* as a supported target, only
1078         building libdruntime.
1079         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
1080         and powerpc64le target cpus.
1082 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
1083             Iain Buclaw  <ibuclaw@gdcproject.org>
1085         * configure: Regenerate.
1086         * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
1087         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
1088         search libraries for swapcontext.
1089         * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
1090         __tls_get_addr on Musl.
1092 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1094         * configure: Regenerate.
1095         * configure.ac: Fix option name for --with-libphobos-druntime-only.
1097 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1099         * configure: Regenerate.
1100         * configure.ac: Remove DRUNTIME_GC.
1102 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
1104         PR d/94304
1105         * configure: Regenerate.
1106         * configure.ac: Add --with-libphobos-druntime-only option and the
1107         conditional ENABLE_LIBDRUNTIME_ONLY.
1108         * configure.tgt: Define LIBDRUNTIME_ONLY.
1109         * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
1110         * src/Makefile.in: Regenerate.
1111         * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
1113 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
1115         * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
1116         not d_runtime_has_std_library.
1117         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
1119 2020-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1121         * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
1123 2020-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1125         * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
1126         (libgphobos_la_LINK): Move to src/Makefile.am
1127         * libdruntime/Makefile.am: Add libgdruntime_convenience library.
1128         * libdruntime/Makefile.in: Regenerate.
1129         * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
1130         library.
1131         (libgphobos_la_DEPENDENCIES): Likewise.
1132         * src/Makefile.in: Regenerate.
1133         * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
1134         * testsuite/testsuite_flags.in: Likewise.
1136 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1138         * configure: Regenerate.
1139         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
1140         DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
1141         (DRUNTIME_DSOURCES): Add gc/*.d sources.
1142         (DRUNTIME_DSOURCES_GC): Remove.
1143         (DRUNTIME_DSOURCES_GCSTUB): Remove.
1144         * libdruntime/Makefile.in: Regenerate.
1145         * libdruntime/gcstub/gc.d: Remove.
1146         * m4/druntime.m4 (DRUNTIME_GC): Remove.
1148 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1150         PR d/94305
1151         * Makefile.in: Regenerate.
1152         * configure: Regenerate.
1153         * configure.ac: Add --enable-libphobos-checking and substitute
1154         CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
1155         * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
1156         * libdruntime/Makefile.in: Regenerate.
1157         * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
1158         * src/Makefile.in: Regenerate.
1159         * testsuite/Makefile.in: Regenerate.
1160         * testsuite/testsuite_flags.in: Add -fno-release -funittest to
1161         --gdcflags.
1163 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1165         * configure: Regenerate.
1166         * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
1167         * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
1169 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1171         * configure: Regenerate.
1172         * configure.ac: Remove DRUNTIME_OS_UNIX.
1173         * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
1174         DRUNTIME_OS_POSIX is true.
1175         * libdruntime/Makefile.in: Regenerate.
1176         * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
1177         logic to...
1178         (DRUNTIME_OS_SOURCES): ...here.  Rename conditional to
1179         DRUNTIME_OS_POSIX.
1181 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1183         * Makefile.in: Regenerate.
1184         * configure: Regenerate.
1185         * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
1186         * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
1187         * libdruntime/Makefile.in: Regenerate.
1188         * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
1189         * src/Makefile.in: Regenerate.
1190         * testsuite/Makefile.in: Regenerate.
1191         * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
1193 2020-04-07  Robin Dapp  <rdapp@linux.ibm.com>
1194             Stefan Liebler  <stli@linux.ibm.com>
1196         * configure: Regenerate.
1197         * libdruntime/Makefile.am: Add s390x and s390.
1198         * libdruntime/Makefile.in: Regenerate.
1199         * libdruntime/config/s390/get_tls_offset.S: New file.
1200         * libdruntime/config/systemz/get_tls_offset.S: New file.
1201         * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
1202         * m4/druntime/cpu.m4: Add s390x and s390.
1204 2020-04-07  Stefan Liebler  <stli@linux.ibm.com>
1206         * libdruntime/core/sys/posix/signal.d:
1207         Add struct sigaction_t for SystemZ.
1209 2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1211         PR d/92792
1212         * Makefile.in: Regenerate.
1213         * configure: Regenerate.
1214         * configure.ac (libtool_VERSION): Reset to 1:0:0.
1215         * libdruntime/Makefile.in: Regenerate.
1217 2020-02-17  Martin Liska  <mliska@suse.cz>
1219         PR other/93756
1220         * src/std/algorithm/iteration.d: Fix typo.
1222 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1224         * m4/druntime.m4: Handle `--with-toolexeclibdir='.
1225         * m4/Makefile.in: Regenerate.
1226         * libdruntime/Makefile.in: Regenerate.
1227         * src/Makefile.in: Regenerate.
1228         * testsuite/Makefile.in: Regenerate.
1229         * Makefile.in: Regenerate.
1230         * aclocal.m4: Regenerate.
1231         * configure: Regenerate.
1233 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1235         Update copyright years.
1237 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
1239         * configure: Regenerate.
1241 2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1243         * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
1244         dirs to the ld_library_path var.
1246 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1248         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
1249         core/sys/bionic/string.d.
1250         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
1251         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
1252         core/sys/dragonflybsd/sys/socket.d.
1253         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
1254         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
1255         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
1256         core/sys/netbsd/sys/featuretest.d.
1257         * libdruntime/Makefile.in: Regenerate.
1259 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1261         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
1262         core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
1263         core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
1264         core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
1265         core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
1266         * libdruntime/Makefile.in: Regenerate.
1268 2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1270         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
1271         relax=transtls if linker supports it.
1272         * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
1273         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
1274         mark supported with either gld or ld -z relax=transtls.
1275         * configure: Regenerate.
1277 2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
1279         * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
1280         (IeeeFlags.resetIeeeFlags): Likewise.
1281         (FloatingPointControl.getControlState): Likewise.
1282         (FloatingPointControl.setControlState): Likewise.
1284 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1286         PR d/90250
1287         * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
1288         _tlsRanges in every startup thread.
1289         * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
1290         * testsuite/libphobos.thread/tlsgc_sections.d: New test.
1292 2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1294         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
1295         * configure: Regenerate.
1297 2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
1299         * libdruntime/Makefile.am: Add emutls and gthread files.
1300         * libdruntime/Makefile.in: Regenerate.
1301         * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
1302         * libdruntime/gcc/gthread.d: New file.
1303         * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
1304         * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
1306 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1308         * testsuite/Makefile.am: Set PWD_COMMAND.
1309         * testsuite/Makefile.in: Regenerate.
1311 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1313         PR d/90086
1314         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
1315         * configure.ac: Use it.
1316         * configure: Regenerate.
1317         * libdruntime/Makefile.am: Add new config sources to
1318         DRUNTIME_SOURCES_CONFIGURED.
1319         * libdruntime/Makefile.in: Regenerate.
1320         * libdruntime/config/aarch64/switchcontext.S: New file.
1321         * libdruntime/config/arm/switchcontext.S: New file.
1322         * libdruntime/config/common/threadasm.S: New file.
1323         * libdruntime/config/mingw/switchcontext.S: New file.
1324         * libdruntime/config/mips/switchcontext.S: New file.
1325         * libdruntime/config/powerpc/switchcontext.S: New file.
1326         * libdruntime/config/powerpc64/callwithstack.S: New file.
1327         * libdruntime/config/x86/switchcontext.S: New file.
1328         * libdruntime/core/threadasm.S: Remove.
1330 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1332         PR d/89432
1333         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
1334         New proc.
1335         * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
1336         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
1337         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
1339 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1341         PR d/88654
1342         * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
1343         libphobos_skipped_test_p before running test.
1344         (libphobos-dg-prune): New proc.
1345         (libphobos_init): Set libphobos_skip_tests.
1346         (libphobos_skipped_test_p): New proc.
1347         (check_effective_target_libcurl_available): New proc.
1348         * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
1349         not found.
1350         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
1352 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1354         PR d/88431
1355         * configure: Regenerate.
1356         * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
1357         dependencies on libphobos.
1358         (lt_simple_link_test_code): Likewise.
1359         (GDCFLAGS): Don't override for D compiler tests.
1361 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1363         * configure.tgt: Add aarch64*-*-linux* as a supported target.
1365 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
1366             Robin Dapp  <rdapp@linux.ibm.com>
1368         * configure.tgt: Add s390*-linux* as a supported target.
1369         * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
1370         (__tls_get_addr_internal): Declare.
1371         (TLS_DTV_OFFSET): Define as zero on SystemZ.
1372         (getTLSRange): Support getting TLS on SystemZ.
1373         * testsuite/libphobos.typeinfo/struct-align.d: New test.
1375 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
1377         * configure.tgt: Add linux/riscv as supported target.
1378         * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
1379         dlpi_addr on RISCV32 and RISCV64.
1380         * src/std/math.d: Add IEEE FPU control support for RISC-V.
1382 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1383             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1384             Jakub Jelinek  <jakub@redhat.com>
1386         PR target/89093
1387         * libdruntime/gcc/deh.d: Import gcc.attribute.
1388         (personality_fn_attributes): New enum.
1389         (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
1390         Add @personality_fn_attributes.
1392 2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1394         PR d/89293
1395         * libdruntime/core/atomic.d (casImpl): Remove static assert for
1396         GNU_Have_Atomics, add static path to handle missing atomic support.
1397         (atomicLoad): Likewise.
1398         (atomicStore): Likewise.
1399         (atomicFence):  Likewise.
1400         (atomicMutexHandle, AtomicMutex): Declare types.
1401         (_getAtomicMutex): New function.
1402         (getAtomicMutex): Declare.
1404 2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1406         * config.h.in: Regenerate.
1407         * configure: Regenerate.
1408         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
1409         CPPFLAGS correctly for backtrace support test.
1411 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1413         * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
1414         Set to yes explicitly.
1415         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
1416         * configure.ac: Handle --enable-libphobos.
1417         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
1418         with gas.
1419         (ENABLE_LIBPHOBOS): New conditional.
1420         * configure: Regenerate.
1421         * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
1422         * Makefile.in: Regenerate.
1424 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1425             Iain Buclaw  <ibuclaw@gdcproject.org>
1427         PR d/88150
1428         * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
1429         * configure.ac: Use it.
1430         Call AC_USE_SYSTEM_EXTENSIONS.
1431         * configure: Regenerate.
1432         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1433         testsuite/Makefile.in: Regenerate.
1434         * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
1435         * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
1436         (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
1437         dlpi_tls_modid.
1438         [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
1439         Otherwise clear pdso._tlsMod, pdso._tlsSize.
1440         (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
1442 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1444         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
1445         * configure.ac: Call it.
1446         * configure: Regenerate.
1447         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1448         testsuite/Makefile.in: Regenerate.
1449         * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
1451 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1453         PR d/88150
1454         * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
1455         to true.
1456         Import core.sys.solaris.dlfcn, core.sys.solaris.link,
1457         core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
1458         (dummy_ref): Declare.
1459         (initSections): Initialize dummy_ref.
1460         (getDependencies): Set strtab.
1461         (handleForName): Don't dlclose handle.
1462         (findDSOInfoForAddr): Set IterateManually.
1463         (getprogname): Declare.
1464         (progname): Use it.
1465         * libdruntime/gcc/sections/package.d [Solaris]: Import
1466         gcc.sections.elf_shared instead of gcc.sections.solaris.
1467         * libdruntime/gcc/sections/solaris.d: Remove.
1468         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
1469         gcc/sections/solaris.d.
1470         * libdruntime/Makefile.in: Regenerate.
1472 2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1474         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
1475         (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
1476         * libdruntime/Makefile.in: Regenerate.
1477         * libdruntime/gcc/sections/android.d: New file.
1478         * libdruntime/gcc/sections/elf_shared.d: New file.
1479         * libdruntime/gcc/sections/osx.d: New file.
1480         * libdruntime/gcc/sections/package.d: New file.
1481         * libdruntime/gcc/sections/solaris.d: New file.
1482         * libdruntime/gcc/sections/win32.d: New file.
1483         * libdruntime/gcc/sections/win64.d: New file.
1484         * libdruntime/rt/bss_section.c: Remove.
1485         * libdruntime/rt/sections.d: Publicly import gcc.sections.
1486         * libdruntime/rt/sections_android.d: Remove.
1487         * libdruntime/rt/sections_elf_shared.d: Remove.
1488         * libdruntime/rt/sections_osx.d: Remove.
1489         * libdruntime/rt/sections_solaris.d: Remove.
1490         * libdruntime/rt/sections_win32.d: Remove.
1491         * libdruntime/rt/sections_win64.d: Remove.
1493 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1495         * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
1496         * configure: Regenerate.
1497         * libdruntime/Makefile.in: Regenerate.
1499 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1501         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
1502         libz_convenience.a if not using system zlib.
1503         * Makefile.in: Regenerate.
1504         * configure: Regenerate.
1505         * libdruntime/Makefile.in: Regenerate.
1506         * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
1507         * src/Makefile.in: Regenerate.
1508         * testsuite/Makefile.in: Regenerate.
1510 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1512         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1513         (RUNTEST): Remove variable.
1514         (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
1515         check_p_numbers1, check_p_numbers2, check_p_numbers3,
1516         check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
1517         check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
1518         (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
1519         rules written so that all the *.exp files are ran parallelized.
1520         (CLEANFILES): Add *.exe, *.o, and site.exp.
1521         * testsuite/Makefile.in: Regenerate.
1523 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1525         PR d/89255
1526         * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
1527         * configure: Regenerate.
1528         * d_rules.am (%.t.lo, %.t.o): Remove rules.
1529         (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
1530         libgphobos_t_la_LINK): Remove variables.
1531         * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
1532         DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1533         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1534         unittest_static_LDFLAGS, unittest_static_LDADD,
1535         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1536         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1537         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1538         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1539         unittest_LDADD): Remove variables.
1540         (clean-local): Remove rule.
1541         * libdruntime/Makefile.in: Regenerate.
1542         * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
1543         PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1544         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1545         unittest_static_LDFLAGS, unittest_static_LDADD,
1546         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1547         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1548         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1549         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1550         unittest_LDADD): Remove variables.
1551         (clean-local): Remove rule.
1552         * src/Makefile.in: Regenerate.
1553         * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
1554         (libphobos_init): Set libphobos_test_name.
1555         (libphobos-dg-test): Override name if libphobos_test_name is set.
1556         (filter_libphobos_unittests): New proc.
1557         * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
1558         * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
1559         * testsuite/libphobos.druntime/druntime.exp: New file.
1560         * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
1561         * testsuite/libphobos.phobos/phobos.exp: New file.
1562         * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
1563         * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
1564         * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
1565         * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
1566         * testsuite/libphobos.thread/thread.exp: Likewise.
1567         * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
1568         * testsuite/libphobos.unittests/unittests.exp: Remove.
1569         * testsuite/test_runner.d: Remove.
1570         * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
1572 2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
1574         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
1575         core/sys/darwin/crt_externs.d.
1576         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
1577         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
1578         * libdruntime/Makefile.in: Regenerate.
1580 2019-03-23  Johannes Pfau  <johannespfau@gmail.com>
1582         * configure.ac: Update autotool version comment.
1584 2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1586         * src/Makefile.am: Avoid the -D option which is not available
1587         with the install-sh fallback.  Use $(MKDIR_P) instead.
1588         * libdruntime/Makefile.am: Likewise.
1589         * src/Makefile.in: Regenerated.
1590         * libdruntime/Makefile.in: Regenerated.
1592 2019-02-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1594         * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
1595         [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
1596         RTLD_NOLOAD from core.sys.*.dlfcn.
1597         Assert RTLD_NOLOAD is available.
1599 2019-02-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1601         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
1602         * configure.ac: Invoke it.
1603         * configure: Regenerate.
1605 2019-02-19  Johannes Pfau  <johannespfau@gmail.com>
1607         PR d/88127
1608         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
1609         * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
1610         * configure: Regenerate
1611         * Makefile.in: Regenerate
1612         * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
1613         * libdruntime/Makefile.in: Regenerate.
1614         * src/Makefile.in: Regenerate.
1615         * testsuite/Makefile.in: Regenerate.
1617 2019-02-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1619         * testsuite/lib/libphobos-dg.exp: Tabify.
1620         * testsuite/lib/libphobos.exp: Likewise.
1621         * testsuite/libphobos.cycles/cycles.exp: Likewise.
1622         * testsuite/libphobos.shared/shared.exp: Likewise.
1623         * testsuite/libphobos.unittests/unittests.exp: Likewise.
1625 2019-02-14  Maya Rashish  <coypu@sdf.org>
1627         * configure.tgt: Add netbsd/x86 as supported target.
1629 2019-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1631         PR d/87864
1632         * configure.ac (DRTSTUFF_SPEC): New variable.
1633         Substitute it.
1634         * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1635         New automake conditional.
1636         * configure: Regenerate.
1637         * libdruntime/gcc/drtstuff.c: New file.
1638         * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1639         (DRTSTUFF, toolexeclib_DATA): New variables.
1640         (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1641         (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1642         Add -dstartfiles -B../src -Bgcc.
1643         (libgdruntime_la_DEPENDENCIES): New variable.
1644         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1645         (libgdruntime_t_la_LDFLAGS): Likewise.
1646         (unittest_LDFLAGS): Likewise.
1647         * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1648         -Xcompiler.
1649         Add -dstartfiles -B../libdruntime/gcc.
1650         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1651         (libgphobos_t_la_LDFLAGS): Likewise.
1652         (unittest_LDFLAGS): Likewise.
1653         * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1654         * Makefile.in, testsuite/Makefile.in: Regenerate.
1655         * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1656         assert.
1657         * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1658         * src/drtstuff.spec: New file.
1659         * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1660         (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1661         -nophoboslib.
1662         * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1663         -B${BUILD_DIR}/libdruntime/gcc.
1665 2019-02-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1667         * libdruntime/core/runtime.d (defaultTraceHandler): Give
1668         UnwindBacktrace handler precedence over backtrace.
1670 2019-02-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1672         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1673         * libdruntime/Makefile.in: Rebuild.
1674         * testsuite/libphobos.aa/aa.exp: New file.
1675         * testsuite/libphobos.aa/test_aa.d: New test.
1676         * testsuite/libphobos.hash/hash.exp: New file.
1677         * testsuite/libphobos.hash/test_hash.d: New test.
1679 2019-01-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1681         * README.gcc: New file.
1683 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1685         Update copyright years.
1687 2018-12-14  Iain Buclaw  <ibuclaw@gdcproject.org>
1689         * src/std/internal/digest: Remove empty directory.
1691 2018-12-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1693         * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1694         * Makefile.in: Regenerate.
1696 2018-11-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1698         * Makefile.in: Rebuild.
1699         * configure: Rebuild.
1700         * configure.ac (DRUNTIME_SOVERSION): Remove.
1701         (PHOBOS_SOVERSION): Remove.
1702         (libtool_VERSION): Add.
1703         * libdruntime/Makefile.am: Use libtool_VERSION.
1704         * libdruntime/Makefile.in: Rebuild.
1705         * src/Makefile.am: Use libtool_VERSION.
1706         * src/Makefile.in: Rebuild.
1707         * testsuite/Makefile.in: Rebuild.
1709 2018-11-22  Johannes Pfau  <johannespfau@gmail.com>
1711         PR d/87824
1712         * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1713         library for multilib builds.
1715 2018-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1717         * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1718         std.internal.math.biguintx86 modules.
1719         * src/Makefile.in: Rebuild.
1720         * src/std/internal/digest/sha_SSSE3.d: Remove.
1721         * src/std/internal/math/biguintx86.d: Remove.
1723 2018-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
1725         PR d/87827
1726         * Makefile.in: Rebuild.
1727         * configure: Rebuild.
1728         * configure.ac: Properly set MULTISUBDIR.
1729         * d_rules.am: Set toolexecdir and toolexeclibdir.
1730         * libdruntime/Makefile.in: Rebuild.
1731         * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1732         --enable-version-specific-runtime-libs.
1733         * src/Makefile.in: Rebuild.
1734         * testsuite/Makefile.in: Rebuild.
1736 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1738         PR bootstrap/82856
1739         * Makefile.am: Include multilib.am.
1740         * configure.ac: Remove AC_PREREQ.  Use -Wno-override in
1741         AM_INIT_AUTOMAKE call.
1742         * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1743         * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1744         * testsuite/Makefile.am (RUNTEST): Remove quotes.
1745         * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1746         src/Makefile.in, testsuite/Makefile.in: Regenerate.
1748 2018-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
1750         PR bootstrap/87789
1751         PR d/87818
1752         PR d/87819
1753         * configure.tgt: New file.
1755 2018-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1757         * Makefile.am: New file.
1758         * Makefile.in: New file.
1759         * acinclude.m4: New file.
1760         * aclocal.m4: New file.
1761         * config.h.in: New file.
1762         * configure: New file.
1763         * configure.ac: New file.
1764         * d_rules.am: New file.
1765         * libdruntime/Makefile.am: New file.
1766         * libdruntime/Makefile.in: New file.
1767         * libdruntime/__entrypoint.di: New file.
1768         * libdruntime/__main.di: New file.
1769         * libdruntime/gcc/attribute.d: New file.
1770         * libdruntime/gcc/backtrace.d: New file.
1771         * libdruntime/gcc/builtins.d: New file.
1772         * libdruntime/gcc/config.d.in: New file.
1773         * libdruntime/gcc/deh.d: New file.
1774         * libdruntime/gcc/libbacktrace.d.in: New file.
1775         * libdruntime/gcc/unwind/arm.d: New file.
1776         * libdruntime/gcc/unwind/arm_common.d: New file.
1777         * libdruntime/gcc/unwind/c6x.d: New file.
1778         * libdruntime/gcc/unwind/generic.d: New file.
1779         * libdruntime/gcc/unwind/package.d: New file.
1780         * libdruntime/gcc/unwind/pe.d: New file.
1781         * m4/autoconf.m4: New file.
1782         * m4/druntime.m4: New file.
1783         * m4/druntime/cpu.m4: New file.
1784         * m4/druntime/libraries.m4: New file.
1785         * m4/druntime/os.m4: New file.
1786         * m4/gcc_support.m4: New file.
1787         * m4/gdc.m4: New file.
1788         * m4/libtool.m4: New file.
1789         * src/Makefile.am: New file.
1790         * src/Makefile.in: New file.
1791         * src/libgphobos.spec.in: New file.
1792         * testsuite/Makefile.am: New file.
1793         * testsuite/Makefile.in: New file.
1794         * testsuite/config/default.exp: New file.
1795         * testsuite/lib/libphobos-dg.exp: New file.
1796         * testsuite/lib/libphobos.exp: New file.
1797         * testsuite/testsuite_flags.in: New file.
1800 Copyright (C) 2018-2023 Free Software Foundation, Inc.
1802 Copying and distribution of this file, with or without modification,
1803 are permitted in any medium without royalty provided the copyright
1804 notice and this notice are preserved.