analyzer: handle INIT_VAL(ELEMENT_REG(STRING_REG), CONSTANT_SVAL) [PR105899]
[official-gcc.git] / libphobos / ChangeLog
bloba4d80657993aad05de01704b66c082562f8b24eb
1 2023-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
3         * libdruntime/MERGE: Merge upstream druntime 26f049fb26.
4         * src/MERGE: Merge upstream phobos 330d6a4fd.
6 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
8         * configure: Regenerate.
10 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
12         * configure: Regenerate.
14 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
16         * configure: Regenerate.
18 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
20         * configure: Regenerate.
22 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
24         * configure: Regenerate.
26 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
28         * configure: Regenerate.
30 2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
32         * libdruntime/MERGE: Merge upstream druntime a88e1335f7.
33         * src/MERGE: Merge upstream phobos 1921d29df.
34         * config.h.in: Regenerate.
35         * configure: Regenerate.
36         * configure.ac (libphobos-checking): Add valgrind flag.
37         (DRUNTIME_LIBRARIES_VALGRIND): Call.
38         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Add
39         etc/valgrind/valgrind_.c.
40         (DRUNTIME_DSOURCES): Add etc/valgrind/valgrind.d.
41         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/input.d,
42         core/sys/linux/input_event_codes.d, core/sys/linux/uinput.d.
43         * libdruntime/Makefile.in: Regenerate.
44         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_VALGRIND): Define.
46 2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
48         * libdruntime/MERGE: Merge upstream druntime 17ccd12af3.
49         * src/MERGE: Merge upstream phobos 8d3800bee.
51 2023-07-09  Iain Buclaw  <ibuclaw@gdcproject.org>
53         * libdruntime/MERGE: Merge upstream druntime 28a3b24c2e.
54         * src/MERGE: Merge upstream phobos 8ab95ded5.
56 2023-07-02  Iain Sandoe  <iain@sandoe.co.uk>
58         * libdruntime/config/aarch64/switchcontext.S: Exclude ELF-
59         specific constructs for Darwin.
60         * libdruntime/config/arm/switchcontext.S: Likewise.
61         * libdruntime/core/thread/fiber.d: Disable switching fibres
62         between threads.
64 2023-07-01  Iain Sandoe  <iainsandoe@Apollo-3-VM-Lion-0-187.local>
66         PR d/103944
67         * testsuite/libphobos.gc/forkgc2.d: Skip for Darwin.
69 2023-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
71         * libdruntime/MERGE: Merge upstream druntime a45f4e9f43.
72         * src/MERGE: Merge upstream phobos 106038f2e.
74 2023-03-17  Iain Buclaw  <ibuclaw@gdcproject.org>
76         * libdruntime/MERGE: Merge upstream druntime 5f7552bb28.
77         * src/MERGE: Merge upstream phobos 67a47cf39.
79 2023-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
81         * libdruntime/MERGE: Merge upstream druntime 4ca4140e58.
82         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/factory.d.
83         * libdruntime/Makefile.in: Regenerate.
84         * src/MERGE: Merge upstream phobos 454dff14d.
85         * testsuite/libphobos.hash/test_hash.d: Update test.
86         * testsuite/libphobos.shared/finalize.d: Update test.
87         * libdruntime/core/factory.d: New file.
89 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
91         * src/MERGE: Merge upstream phobos e5a521ab2.
93 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
95         * libdruntime/MERGE: Merge upstream druntime 09faa4eacd.
96         * src/MERGE: Merge upstream phobos 13ef27a56.
97         * testsuite/libphobos.exceptions/refcounted.d: Add test for chained
98         reference counted exceptions.
99         * testsuite/libphobos.shared/finalize.d: Add dg-warning for deprecated
100         factory interfaces.
101         * testsuite/libphobos.gc/issue22843.d: New test.
103 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
105         * libdruntime/gcc/backtrace.d (simpleErrorCallback): Add @nogc.
106         (LibBacktrace.initLibBacktrace): Likewise.
107         (LibBacktrace.this): Likewise.
108         (UnwindBacktrace.this): Likewise.
109         (getBacktrace): Likewise.
110         (getBacktraceSymbols): Likewise.
111         * libdruntime/gcc/libbacktrace.d.in (backtrace_create_state):
112         Likewise.
113         (backtrace_full): Likewise.
114         (backtrace_simple): Likewise.
115         (backtrace_print): Likewise.
116         (backtrace_pcinfo): Likewise.
117         (backtrace_syminfo): Likewise.
119 2023-02-13  Lorenzo Salvadore  <developer@lorenzosalvadore.it>
121         PR d/107469
122         * libdruntime/core/sys/freebsd/config.d: Update __FreeBSD_version.
124 2023-01-17  Martin Liska  <mliska@suse.cz>
126         * Makefile.in: Regenerate.
127         * libdruntime/Makefile.in: Regenerate.
129 2022-12-11  Iain Buclaw  <ibuclaw@gdcproject.org>
131         * libdruntime/MERGE: Merge upstream druntime c8ae4adb2e.
132         * src/MERGE: Merge upstream phobos 792c8b7c1.
134 2022-11-05  Iain Buclaw  <ibuclaw@gdcproject.org>
136         * libdruntime/gcc/simd.d (equalMask): Implement using generics.
137         (notEqualMask): Likewise.
138         (greaterMask): Likewise.
139         (greaterOrEqualMask): Likewise.
140         (notMask): Likewise.
141         (andAndMask): Likewise.
142         (orOrMask): Likewise.
144 2022-10-29  Iain Buclaw  <ibuclaw@gdcproject.org>
146         * libdruntime/MERGE: Merge upstream druntime e4f8919591.
147         * src/MERGE: Merge upstream phobos 3ad507b51.
149 2022-10-12  Martin Liska  <mliska@suse.cz>
151         * configure: Regenerate.
153 2022-10-11  Olivier Hainque  <hainque@adacore.com>
154             Olivier Hainque  <hainque@adacore.com>
156         * configure: Regenerate.
158 2022-09-27  Iain Buclaw  <ibuclaw@gdcproject.org>
160         * libdruntime/MERGE: Merge upstream druntime d579c467c1.
161         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
162         rt/arrayassign.d.
163         * libdruntime/Makefile.in: Regenerate.
164         * src/MERGE: Merge upstream phobos 88aa69b14.
165         * src/Makefile.am (PHOBOS_DSOURCES): Remove std/digest/digest.d,
166         std/xml.d.
167         * src/Makefile.in: Regenerate.
169 2022-08-27  Iain Buclaw  <ibuclaw@gdcproject.org>
171         * libdruntime/MERGE: Merge upstream druntime 817610b16d.
172         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
173         core/internal/array/arrayassign.d.
174         * libdruntime/Makefile.in: Regenerate.
175         * src/MERGE: Merge upstream phobos b578dfad9.
176         * src/Makefile.am (PHOBOS_DSOURCES): Remove
177         std/experimental/typecons.d. Add std/logger package.
178         * src/Makefile.in: Regenerate.
180 2022-08-03  Iain Buclaw  <ibuclaw@gdcproject.org>
182         * configure: Regenerate.
183         * configure.ac (libtool_VERSION): Update to 4:0:0.
184         * libdruntime/MERGE: Merge upstream druntime d7772a2369.
185         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
186         core/internal/array/duplication.d.
187         * libdruntime/Makefile.in: Regenerate.
188         * src/MERGE: Merge upstream phobos 5748ca43f.
189         * testsuite/libphobos.gc/nocollect.d:
191 2022-07-06  Iain Buclaw  <ibuclaw@gdcproject.org>
193         * libdruntime/MERGE: Merge upstream druntime 651389b5.
194         * src/MERGE: Merge upstream phobos 1516ecad9.
196 2022-06-29  Iain Buclaw  <ibuclaw@gdcproject.org>
198         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add gcc/simd.d.
199         * libdruntime/Makefile.in: Regenerate.
200         * libdruntime/gcc/simd.d: New file.
202 2022-06-28  Iain Buclaw  <ibuclaw@gdcproject.org>
204         * libdruntime/gcc/attributes.d (simd): Define.
206 2022-06-24  Iain Buclaw  <ibuclaw@gdcproject.org>
208         PR d/105413
209         * libdruntime/gcc/attributes.d (register): Define.
211 2022-06-24  Iain Buclaw  <ibuclaw@gdcproject.org>
213         * libdruntime/MERGE: Merge upstream druntime 148608b7.
215 2022-06-22  Iain Buclaw  <ibuclaw@gdcproject.org>
217         * libdruntime/MERGE: Merge upstream druntime e150cca1.
218         * src/MERGE: Merge upstream phobos a4a18d21c.
219         * testsuite/libphobos.cycles/cycles.exp (cycle_test_list): Update
220         expected result of deprecate test.
222 2022-06-15  Iain Buclaw  <ibuclaw@gdcproject.org>
224         * libdruntime/gcc/attributes.d (no_sanitize): Define.
225         (noSanitize): Define.
227 2022-06-15  Iain Buclaw  <ibuclaw@gdcproject.org>
229         * libdruntime/gcc/attributes.d (visibility): Define.
230         (hidden): Define.
232 2022-06-13  Iain Buclaw  <ibuclaw@gdcproject.org>
234         * libdruntime/MERGE: Merge upstream druntime 454471d8.
235         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
236         core/sync/package.d.
237         * libdruntime/Makefile.in: Regenerate.
238         * src/MERGE: Merge upstream phobos 1206fc94f.
240 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
242         * testsuite/lib/libphobos-dg.exp: Add load_gcc_lib of scansarif.exp.
244 2022-05-27  Iain Buclaw  <ibuclaw@gdcproject.org>
246         * libdruntime/MERGE: Merge upstream druntime f89da313.
247         * src/MERGE: Merge upstream phobos d46814c86.
249 2022-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
251         * libdruntime/MERGE: Merge upstream druntime 94bd5bcb.
252         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Add
253         $(DRUNTIME_DSOURCES_ELF).
254         (ALL_DRUNTIME_SOURCES): Likewise.
255         (DRUNTIME_DSOURCES_ELF): New variable.
256         * libdruntime/Makefile.in: Regenerate.
257         * src/MERGE: Merge upstream phobos 3a1cd9a01.
258         * testsuite/libphobos.init_fini/custom_gc.d: Update test.
260 2022-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
262         * libdruntime/MERGE: Merge upstream druntime e361d200.
264 2022-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
266         * libdruntime/gcc/emutls.d (emutlsDestroyThread): Clear the per-thread
267         TLS array, don't call free().
269 2022-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
271         * libdruntime/MERGE: Merge upstream druntime 27834edb.
272         * src/MERGE: Merge upstream phobos ac296f80c.
273         * src/Makefile.am (PHOBOS_DSOURCES): Add std/int128.d.
274         * src/Makefile.in: Regenerate.
276 2022-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
278         * libdruntime/MERGE: Merge upstream druntime 9ba9a6ae.
279         * src/MERGE: Merge upstream phobos c0cc5e917.
281 2022-04-02  Iain Buclaw  <ibuclaw@gdcproject.org>
283         * libdruntime/MERGE: Merge upstream druntime c52e28b7.
284         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
285         core/sys/openbsd/pwd.d.
286         * libdruntime/Makefile.in: Regenerate.
287         * src/MERGE: Merge upstream phobos 99e9c1b77.
288         * testsuite/libphobos.exceptions/message_with_null.d: New test.
290 2022-03-21  Iain Buclaw  <ibuclaw@gdcproject.org>
292         PR d/104911
293         * src/MERGE: Merge upstream phobos a74fa63e6.
295 2022-03-13  Iain Buclaw  <ibuclaw@gdcproject.org>
297         * libdruntime/MERGE: Merge upstream druntime 26b58167.
298         * src/MERGE: Merge upstream phobos 16cb085b5.
300 2022-03-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
302         PR d/103528
303         * configure.ac <x86_64-*-solaris2.* | i?86-*-solaris2.*>: Remove
304         gas requirement.
305         * configure: Regenerate.
306         * configure.tgt (sparc*-*-solaris2.11*): Mark supported.
308 2022-03-02  Iain Buclaw  <ibuclaw@gdcproject.org>
310         * libdruntime/MERGE: Merge upstream druntime 100a608c.
311         * src/MERGE: Merge upstream phobos a1f8c4c07.
313 2022-03-01  Iain Buclaw  <ibuclaw@gdcproject.org>
315         PR d/104659
316         * libdruntime/config/mingw/msvc.c (init_msvc): Fix misspelling of
317         msvcUsesUCRT.
319 2022-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
321         * libdruntime/MERGE: Merge upstream druntime caf14b0f.
322         * src/MERGE: Merge upstream phobos 41aaf8c26.
324 2022-02-20  Iain Buclaw  <ibuclaw@gdcproject.org>
326         * libdruntime/MERGE: Merge upstream druntime 55528bd1.
327         * src/MERGE: Merge upstream phobos 1a3e80ec2.
328         * testsuite/libphobos.hash/test_hash.d: Update.
329         * testsuite/libphobos.betterc/test19933.d: New test.
331 2022-02-16  Iain Buclaw  <ibuclaw@gdcproject.org>
333         * Makefile.in: Regenerate.
334         * libdruntime/MERGE: Merge upstream druntime dbd0c874.
335         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Add core/int128.d.
336         (DRUNTIME_DISOURCES): Add __builtins.di.
337         * libdruntime/Makefile.in: Regenerate.
338         * src/MERGE: Merge upstream phobos 896b1d0e1.
339         * src/Makefile.am (PHOBOS_DSOURCES): Add std/checkedint.d.
340         * src/Makefile.in: Regenerate.
341         * testsuite/testsuite_flags.in: Add -fall-instantiations to
342         --gdcflags.
344 2022-01-03  Iain Buclaw  <ibuclaw@gdcproject.org>
346         * libdruntime/MERGE: Merge upstream druntime 759e6023.
347         * src/MERGE: Merge upstream phobos 468788323.
349 2021-12-21  Iain Buclaw  <ibuclaw@gdcproject.org>
351         * configure.tgt: Add power*-*-freebsd* as a supported target.
353 2021-12-20  Iain Buclaw  <ibuclaw@gdcproject.org>
355         * libdruntime/MERGE: Merge upstream druntime fd9a4544.
356         * src/MERGE: Merge upstream phobos 495e835c2.
358 2021-12-15  Iain Buclaw  <ibuclaw@gdcproject.org>
360         PR d/103604
361         * configure: Regenerate.
362         * configure.ac (libtool_VERSION): Update to 3:0:0.
363         * libdruntime/MERGE: Merge upstream druntime 6364e010.
364         * src/MERGE: Merge upstream phobos 575b67a9b.
365         * testsuite/libphobos.traits/all_satisfy.d: New test.
366         * testsuite/libphobos.traits/traits.exp: New test.
368 2021-12-10  Iain Buclaw  <ibuclaw@gdcproject.org>
370         PR d/103528
371         * libdruntime/MERGE: Merge upstream druntime bc58b1e9.
372         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
373         core/sys/linux/syscalls.d.
374         * libdruntime/Makefile.in: Regenerate.
375         * src/MERGE: Merge upstream phobos 12329adb6.
376         * testsuite/libphobos.config/config.exp: Add test22523.
377         * libdruntime/core/sys/linux/syscalls.d: Removed.
378         * testsuite/libphobos.config/test22523.d: New test.
380 2021-12-08  Iain Buclaw  <ibuclaw@gdcproject.org>
382         PR d/103558
383         * libdruntime/MERGE: Merge upstream druntime 178c44ff.
384         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Add
385         core/sys/linux/syscalls.d.
386         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/pthread_np.d.
387         * libdruntime/Makefile.in: Regenerate.
388         * src/MERGE: Merge upstream phobos 574bf883b.
389         * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=fieldwise.
390         * src/Makefile.in: Regenerate.
391         * testsuite/libphobos.exceptions/assert_fail.d: Update test.
392         * testsuite/libphobos.betterc/test22336.d: New test.
394 2021-12-02  Iain Buclaw  <ibuclaw@gdcproject.org>
396         * libdruntime/core/thread/osthread.d (callWithStackShell): Push all
397         callee-save registers on the stack for AArch64 and ARM.
399 2021-12-02  Iain Buclaw  <ibuclaw@gdcproject.org>
401         * src/std/math/hardware.d (FloatingPointControl.getControlState): Add
402         missing ControlState variable for AArch64.
404 2021-12-01  Iain Buclaw  <ibuclaw@gdcproject.org>
406         * testsuite/testsuite_flags.in: Add libphobos library directory as
407         search path to --gdcldflags.
409 2021-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
411         * libdruntime/MERGE: Merge upstream druntime e6caaab9.
412         * libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with
413         -fpreview=dip1000, -fpreview=fieldwise, and -fpreview=dtorfields.
414         (ALL_DRUNTIME_SOURCES): Add DRUNTIME_DSOURCES_STDCXX.
415         (DRUNTIME_DSOURCES): Update list of C binding modules.
416         (DRUNTIME_DSOURCES_STDCXX): Likewise.
417         (DRUNTIME_DSOURCES_LINUX): Likewise.
418         (DRUNTIME_DSOURCES_OPENBSD): Likewise.
419         (DRUNTIME_DISOURCES): Remove __entrypoint.di.
420         * libdruntime/Makefile.in: Regenerated.
421         * libdruntime/__entrypoint.di: Removed.
422         * libdruntime/gcc/deh.d (_d_isbaseof): Update signature.
423         (_d_createTrace): Likewise.
424         (__gdc_begin_catch): Remove reference to the exception.
425         (_d_throw): Increment reference count of thrown object before unwind.
426         (__gdc_personality): Chain exceptions with  Throwable.chainTogether.
427         * libdruntime/gcc/emutls.d: Update imports.
428         * libdruntime/gcc/sections/elf.d: Update imports.
429         (DSO.moduleGroup): Update signature.
430         * libdruntime/gcc/sections/macho.d: Update imports.
431         (DSO.moduleGroup): Update signature.
432         * libdruntime/gcc/sections/pecoff.d: Update imports.
433         (DSO.moduleGroup): Update signature.
434         * src/MERGE: Merge upstream phobos 5ab9ad256.
435         * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and
436         -fpreview=dtorfields flags.
437         (PHOBOS_DSOURCES): Update list of std modules.
438         * src/Makefile.in: Regenerate.
439         * testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly
440         compile types.
441         (dg-test): Override.
442         (additional_prunes): Define.
443         (libphobos-dg-prune): Filter any additional_prunes set by tests.
444         * testsuite/libphobos.aa/test_aa.d: Update test.
445         * testsuite/libphobos.druntime/druntime.exp (version_flags): Add
446         -fversion=CoreUnittest.
447         * testsuite/libphobos.druntime_shared/druntime_shared.exp
448         (version_flags): Add -fversion=CoreUnittest -fversion=Shared.
449         * testsuite/libphobos.exceptions/unknown_gc.d: Update test.
450         * testsuite/libphobos.hash/test_hash.d: Update test.
451         * testsuite/libphobos.phobos/phobos.exp (version_flags): Add
452         -fversion=StdUnittest
453         * testsuite/libphobos.phobos_shared/phobos_shared.exp (version_flags):
454         Likewise.
455         * testsuite/libphobos.shared/host.c: Update test.
456         * testsuite/libphobos.shared/load.d: Update test.
457         * testsuite/libphobos.shared/load_13414.d: Update test.
458         * testsuite/libphobos.thread/fiber_guard_page.d: Update test.
459         * testsuite/libphobos.thread/tlsgc_sections.d: Update test.
460         * testsuite/testsuite_flags.in: Add -fpreview=dip1000 to --gdcflags.
461         * testsuite/libphobos.shared/link_mod_collision.d: Removed.
462         * testsuite/libphobos.shared/load_mod_collision.d: Removed.
463         * testsuite/libphobos.betterc/betterc.exp: New test.
464         * testsuite/libphobos.config/config.exp: New test.
465         * testsuite/libphobos.gc/gc.exp: New test.
466         * testsuite/libphobos.imports/imports.exp: New test.
467         * testsuite/libphobos.lifetime/lifetime.exp: New test.
468         * testsuite/libphobos.unittest/unittest.exp: New test.
469         * testsuite/libphobos.allocations/alloc_from_assert.d: New file.
470         * testsuite/libphobos.betterc/test18828.d: New file.
471         * testsuite/libphobos.betterc/test19416.d: New file.
472         * testsuite/libphobos.betterc/test19421.d: New file.
473         * testsuite/libphobos.betterc/test19561.d: New file.
474         * testsuite/libphobos.betterc/test19924.d: New file.
475         * testsuite/libphobos.betterc/test20088.d: New file.
476         * testsuite/libphobos.betterc/test20613.d: New file.
477         * testsuite/libphobos.config/test19433.d: New file.
478         * testsuite/libphobos.config/test20459.d: New file.
479         * testsuite/libphobos.exceptions/assert_fail.d: New file.
480         * testsuite/libphobos.exceptions/catch_in_finally.d: New file.
481         * testsuite/libphobos.exceptions/future_message.d: New file.
482         * testsuite/libphobos.exceptions/long_backtrace_trunc.d: New file.
483         * testsuite/libphobos.exceptions/refcounted.d: New file.
484         * testsuite/libphobos.exceptions/rt_trap_exceptions.d: New file.
485         * testsuite/libphobos.exceptions/rt_trap_exceptions_drt.d: New file.
486         * testsuite/libphobos.gc/attributes.d: New file.
487         * testsuite/libphobos.gc/forkgc.d: New file.
488         * testsuite/libphobos.gc/forkgc2.d: New file.
489         * testsuite/libphobos.gc/nocollect.d: New file.
490         * testsuite/libphobos.gc/precisegc.d: New file.
491         * testsuite/libphobos.gc/recoverfree.d: New file.
492         * testsuite/libphobos.gc/sigmaskgc.d: New file.
493         * testsuite/libphobos.gc/startbackgc.d: New file.
494         * testsuite/libphobos.imports/bug18193.d: New file.
495         * testsuite/libphobos.init_fini/custom_gc.d: New file.
496         * testsuite/libphobos.init_fini/test18996.d: New file.
497         * testsuite/libphobos.lifetime/large_aggregate_destroy_21097.d: New file.
498         * testsuite/libphobos.thread/external_threads.d: New file.
499         * testsuite/libphobos.thread/join_detach.d: New file.
500         * testsuite/libphobos.thread/test_import.d: New file.
501         * testsuite/libphobos.thread/tlsstack.d: New file.
502         * testsuite/libphobos.typeinfo/enum_.d: New file.
503         * testsuite/libphobos.typeinfo/isbaseof.d: New file.
504         * testsuite/libphobos.unittest/customhandler.d: New file.
506 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
508         * testsuite/lib/libphobos.exp: Prune warnings from external
509         tool bugs.
511 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
513         * libdruntime/core/thread/fiber.d (defaultStackPages): Increase size
514         on OSX X86_64 targets.
516 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
518         * libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
519         from global array.
520         (_d_emutls_destroy): Don't call __gthread_key_delete.
522 2021-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
524         PR d/102837
525         * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
526         contents of internal EH storage.
528 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
530         * libdruntime/gcc/deh.d (ExceptionHeader.getClassInfo): Move to...
531         (getClassInfo): ...here as free function.  Add lsda parameter.
532         (scanLSDA): Pass lsda to actionTableLookup.
533         (actionTableLookup): Add lsda parameter, pass to getClassInfo.
534         (__gdc_personality): Remove currentCfa variable.
536 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
538         * libdruntime/gcc/deh.d (_d_print_throwable): Declare.
539         (_d_throw): Print stacktrace before terminating program due to
540         uncaught exception.
542 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
544         * libdruntime/core/runtime.d (runModuleUnitTests): Use scope to new
545         LibBacktrace on the stack.
546         * libdruntime/gcc/backtrace.d (FIRSTFRAME): Remove.
547         (LibBacktrace.MaxAlignment): Remove.
548         (LibBacktrace.this): Remove default initialization of firstFrame.
549         (UnwindBacktrace.this): Likewise.
551 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
553         * libdruntime/gcc/unwind/generic.d (__aligned__): Define.
554         (_Unwind_Exception): Align struct to __aligned__.
556 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
558         PR d/102476
559         * libdruntime/__main.di: Define main function as extern(C) when
560         compiling without D runtime.
562 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
564         * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES.
566 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
568         * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY.
569         * src/Makefile.in: Regenerate.
571 2021-08-30  Iain Buclaw  <ibuclaw@gdcproject.org>
573         * configure: Regenerate.
574         * m4/autoconf.m4 (AC_LANG_PROGRAM): Declare module name 'object'.
575         * m4/gcc_support.m4 (WITH_LOCAL_DRUNTIME): Compile tests with
576         -fno-druntime.
578 2021-06-11  Iain Buclaw  <ibuclaw@gdcproject.org>
580         PR d/100999
581         * src/MERGE: Merge upstream phobos 55bb17543.
583 2021-05-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
585         * src/std/process.d (unittest): Remove tmpname on exit.
586         * src/MERGE: Merge upstream phobos 63f4caa90.
588 2021-05-13  Iain Buclaw  <ibuclaw@gdcproject.org>
590         * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
592 2021-05-10  Iain Buclaw  <ibuclaw@gdcproject.org>
594         * src/MERGE: Merge upstream phobos 32cfe9b61.
596 2021-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
598         * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
599         generate PPC and PPC64 asm implementations, and conditionally remove
600         PPC register names on non-Darwin targets.
602 2021-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
604         PR d/98584
605         * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
606         read_encoded_value.
607         (actionTableLookup): Update calls to read_sleb128 and
608         read_encoded_value_with_base.
609         * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
610         (read_sleb128): Update signature.
611         (read_unaligned): New function.
612         (read_encoded_value_with_base): Update signature.  Call read_unaligned
613         instead of unsafe pointer dereferencing.
614         (read_encoded_value): Update signature.
616 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
618         PR d/98494
619         * libdruntime/MERGE: Merge upstream druntime 89f870b7.
620         * src/MERGE: Merge upstream phobos e6907ff3e.
622 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
624         PR d/98058
625         * configure: Regenerate.
626         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
627         core/sys/darwin/config.d
628         * libdruntime/Makefile.in: Regenerate.
629         * libdruntime/config/powerpc/switchcontext.S: Implement
630         fiber_switchContext for __MACH__.
631         * libdruntime/config/x86/switchcontext.S: Likewise.
632         * libdruntime/core/sys/darwin/config.d: New file.
633         * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
634         (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
635         * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
636         assembler implementation for X86, X86_64, PPC, and PPC64.
637         * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
638         noinline.
639         * libdruntime/gcc/deh.d (FuncTable): Remove definition.
640         * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
641         bracket symbol on darwin* targets.
642         * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
643         support ucontext-based Fibers.
645 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
647         PR d/99794
648         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
649         config/mingw/msvc.c on DRUNTIME_OS_MINGW.
650         * libdruntime/Makefile.in: Regenerate.
651         * libdruntime/config/mingw/msvc.c: New file.
652         * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
653         function definition.
654         * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
655         _GCC_specific_handler.
656         * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
657         * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
658         declaration.
659         * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
660         (rt_loadLibraryW): Remove function.
661         (initLibrary): Remove function.
662         (rt_unloadLibrary): Remove function.
664 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
666         PR d/99691
667         * configure: Regenerate.
668         * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
669         * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
670         OpenBSD platforms.
671         * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
672         (linkMapForHandle): Implement for OpenBSD.
673         (exeLinkMap): Remove.
674         (getDependencies): Adjust dlpi_addr on OpenBSD.
675         (handleForName): Implement for OpenBSD.
676         (IterateManually): Define on OpenBSD.
677         * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
678         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
679         enable_libatomic.
680         (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
682 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
684         * Makefile.in: Regenerate.
685         * configure: Regenerate.
686         * configure.ac: Call DRUNTIME_SECTION_FLAGS.
687         * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
688         * libdruntime/Makefile.in: Regenerate.
689         * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
690         * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
691         * src/Makefile.in: Regenerate.
692         * testsuite/Makefile.in: Regenerate.
694 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
696         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
697         gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
698         Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
699         * libdruntime/Makefile.in: Regenerate.
700         * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
701         use platform independant section function names.
702         * libdruntime/gcc/sections/elf_shared.d: Renamed to...
703         * libdruntime/gcc/sections/elf.d: ...this.  Mangle functions for
704         core.thread interface as if they come from the gcc.sections module.
705         * libdruntime/gcc/sections/package.d: Update public imports, declare
706         functions for core.thread interface.
707         * libdruntime/gcc/sections/android.d: Removed.
708         * libdruntime/gcc/sections/osx.d: Removed.
709         * libdruntime/gcc/sections/win32.d: Removed.
710         * libdruntime/gcc/sections/win64.d: Removed.
711         * libdruntime/gcc/sections/common.d: New file.
712         * libdruntime/gcc/sections/macho.d: New file.
713         * libdruntime/gcc/sections/pecoff.d: New file.
715 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
717         * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
718         -static-libphobos.
719         * testsuite/libphobos.phobos/phobos.exp: Likewise.
721 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
723         * testsuite/libphobos.druntime/druntime.exp: Remove
724         is-effective-target static.
725         * testsuite/libphobos.phobos/phobos.exp: Likewise.
727 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
729         PR d/99812
730         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
731         -fno-moduleinfo flag to dg-runtest.
732         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
734 2021-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
736         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
737         gcc/attributes.d.
738         * libdruntime/Makefile.in: Regenerate.
739         * libdruntime/gcc/attribute.d: Deprecate module, publicly import
740         gcc.attributes.
741         * libdruntime/gcc/deh.d: Update imports.
742         * libdruntime/gcc/attributes.d: New file.
744 2021-04-06  Iain Buclaw  <ibuclaw@gdcproject.org>
746         * libdruntime/MERGE: Merge upstream druntime 1134b710.
748 2021-04-03  Iain Buclaw  <ibuclaw@gdcproject.org>
750         * libdruntime/MERGE: Merge upstream druntime 483bc129.
751         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
752         core/sys/darwin/fcntl.d.
753         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
754         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
755         * libdruntime/Makefile.in: Regenerate.
756         * src/MERGE: Merge upstream phobos f89dc217a.
757         * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
758         * src/Makefile.in: Regenerate.
759         * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
760         * testsuite/libphobos.exceptions/line_trace.d: Likewise.
762 2021-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
764         * Makefile.in: Regenerate.
765         * configure: Regenerate.
766         * configure.ac: Substitute enable_shared, enable_static, and
767         phobos_lt_pic_flag.
768         * libdruntime/Makefile.am (AM_DFLAGS): Replace
769         phobos_compiler_pic_flag with phobos_lt_pic_flags, and
770         phobos_compiler_shared_flag.
771         * libdruntime/Makefile.in: Regenerate.
772         * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
773         with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
774         * src/Makefile.in: Regenerate.
775         * testsuite/Makefile.in: Regenerate.
776         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
777         -fversion=Shared and -fno-moduleinfo from default extra test flags.
778         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
779         * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
780         --gdcflags.
782 2021-02-04  Iain Buclaw  <ibuclaw@gdcproject.org>
784         PR d/98910
785         * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
786         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
787         * libdruntime/Makefile.in: Regenerate.
788         * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
790 2021-02-03  Iain Buclaw  <ibuclaw@gdcproject.org>
792         PR d/98910
793         * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
794         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
795         core/internal/attributes.d
796         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
797         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
798         core/sys/darwin/sys/sysctl.d.
799         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
800         core/sys/dragonflybsd/stdlib.d, and
801         core/sys/dragonflybsd/sys/sysctl.d.
802         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
803         core/sys/freebsd/sys/sysctl.d.
804         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
805         core/sys/netbsd/sys/sysctl.d.
806         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
807         core/sys/openbsd/sys/sysctl.d.
808         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
809         * libdruntime/Makefile.in: Regenerate.
810         * src/MERGE: Merge upstream phobos 9d575282e.
812 2021-01-30  Iain Buclaw  <ibuclaw@gdcproject.org>
814         * Makefile.in: Regenerate.
815         * configure: Regenerate.
816         * libdruntime/MERGE: Merge upstream druntime e4aae28e.
817         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
818         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
819         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
820         core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
821         core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
822         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
823         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
824         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
825         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
826         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
827         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
828         core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
829         core/sys/posix/strings.d.
830         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
831         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
832         and core/sys/windows/stdc/time.d
833         * libdruntime/Makefile.in: Regenerate.
834         * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
835         * testsuite/libphobos.thread/fiber_guard_page.d: Use
836         __traits(getMember) to get internal fields.
838 2021-01-26  Iain Buclaw  <ibuclaw@gdcproject.org>
840         * src/MERGE: Merge upstream phobos 3dd5df686.
841         * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
842         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
843         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
845 2021-01-23  Iain Buclaw  <ibuclaw@gdcproject.org>
847         PR d/98806
848         * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
849         for MIPS32 and MIPS64.
850         (getDependencies): Adjust dlpi_addr on MIPS_Any.
852 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
854         * configure: Re-generate.
856 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
858         PR target/97865
859         * configure: Regenerate.
861 2020-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
863         PR d/87818
864         * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
865         supported targets.
867 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
869         PR d/98025
870         * Makefile.in: Regenerate.
871         * configure: Regenerate.
872         * configure.ac (DCFG_ENABLE_CET): Substitute.
873         * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
874         * libdruntime/Makefile.in: Regenerate.
875         * libdruntime/core/thread.d: Import gcc.config.
876         (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
877         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
878         * src/Makefile.in: Regenerate.
879         * testsuite/Makefile.in: Regenerate.
881 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
883         * libdruntime/MERGE: Merge upstream druntime d37ef985.
884         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
885         core/sys/freebsd/config.d
886         * libdruntime/Makefile.in: Regenerate.
888 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
890         * src/MERGE: Merge upstream phobos 38873fe6e.
892 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
894         * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
896 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
898         * configure.tgt: Add *-*-dragonfly* as a supported target.
899         * configure: Regenerate.
900         * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
901         target.
903 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
905         * src/MERGE: Merge upstream phobos 7948e0967.
907 2020-11-13  Iain Buclaw  <ibuclaw@gdcproject.org>
909         * configure: Regenerate.
910         * configure.ac (libtool_VERSION): Update to 2:0.0.
912 2020-10-27  Iain Buclaw  <ibuclaw@gdcproject.org>
914         * libdruntime/MERGE: Merge upstream druntime 58560d51.
916 2020-10-12  Maciej W. Rozycki  <macro@linux-mips.org>
918         * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
919         Use L.D and S.D generic assembly instructions rather than LDC1
920         and SDC1 MIPS II hardware instructions.
922 2020-10-12  Iain Buclaw  <ibuclaw@gdcproject.org>
924         * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
926 2020-09-10  Iain Buclaw  <ibuclaw@gdcproject.org>
928         PR d/95680
929         PR d/97007
930         * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
931         * Makefile.in: Regenerate.
932         * configure: Regenerate.
933         * configure.ac (DCFG_ENABLE_CET): Remove substitution.
934         (CET_DFLAGS): Substitute.
935         * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
936         (AM_CFLAGS): Add $(CET_FLAGS).
937         (AM_CCASFLAGS): Likewise.
938         * libdruntime/Makefile.in: Regenerate.
939         * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
940         condition with `version (CET)'.
941         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
942         * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
943         (AM_CFLAGS): Add $(CET_FLAGS).
944         * src/Makefile.in: Regenerate.
945         * testsuite/Makefile.in: Regenerate.
946         * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
948 2020-09-09  H.J. Lu  <hjl.tools@gmail.com>
950         PR d/95680
951         * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
952         generate the CET marker for -fcf-protection.
954 2020-09-08  Iain Buclaw  <ibuclaw@gdcproject.org>
956         PR d/95680
957         * Makefile.in: Regenerate.
958         * configure: Regenerate.
959         * configure.ac (DCFG_ENABLE_CET): Substitute.
960         * libdruntime/Makefile.in: Regenerate.
961         * libdruntime/config/x86/switchcontext.S: Remove CET support code.
962         * libdruntime/core/thread.d: Import gcc.config.  Don't set version
963         AsmExternal when GNU_Enable_CET is true.
964         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
965         * src/Makefile.in: Regenerate.
966         * testsuite/Makefile.in: Regenerate.
968 2020-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
970         * libdruntime/MERGE: Merge upstream druntime d05ebaad.
971         * src/MERGE: Merge upstream phobos 021ae0df7.
972         * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
974 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
976         PR bootstrap/95413
977         * configure: Regenerated.
979 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
981         PR bootstrap/95147
982         * configure: Regenerated.
984 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
986         * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
987         __CET__ is defined.
988         (_CET_ENDBR): New.  Define if __CET__ is not defined.
989         (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
991 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
993         * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
994         * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
995         * Makefile.in: Regenerated.
996         * aclocal.m4: Likewise.
997         * configure.ac: Likewise.
999 2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
1001         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
1002         config/powerpc/switchcontext.S
1003         * libdruntime/Makefile.in: Regenerate.
1004         * libdruntime/config/powerpc/callwithstack.S: Remove.
1005         * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
1006         fiber_switchContext.
1007         * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
1008         * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
1009         same as stackSize.
1011 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
1013         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
1014         Fix KERNEL_VERSION condition.
1016 2020-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1018         PR d/94825
1019         * configure: Regenerate.
1020         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
1021         switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
1022         * libdruntime/Makefile.in: Regenerate.
1023         * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
1024         * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
1025         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
1026         for all powerpc biarchs.  Remove DRUNTIME_CPU_POWER64 conditional.
1028 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1030         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
1031         core/sys/linux/sys/netinet/tcp.d.
1032         * libdruntime/Makefile.in: Regenerate.
1034 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1036         * configure.tgt: Add hppa-*-linux* as a supported target.
1038 2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
1040         * configure: Regenerate.
1041         * configure.tgt: Add power*-*-linux* as a supported target, only
1042         building libdruntime.
1043         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
1044         and powerpc64le target cpus.
1046 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
1047             Iain Buclaw  <ibuclaw@gdcproject.org>
1049         * configure: Regenerate.
1050         * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
1051         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
1052         search libraries for swapcontext.
1053         * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
1054         __tls_get_addr on Musl.
1056 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1058         * configure: Regenerate.
1059         * configure.ac: Fix option name for --with-libphobos-druntime-only.
1061 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1063         * configure: Regenerate.
1064         * configure.ac: Remove DRUNTIME_GC.
1066 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
1068         PR d/94304
1069         * configure: Regenerate.
1070         * configure.ac: Add --with-libphobos-druntime-only option and the
1071         conditional ENABLE_LIBDRUNTIME_ONLY.
1072         * configure.tgt: Define LIBDRUNTIME_ONLY.
1073         * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
1074         * src/Makefile.in: Regenerate.
1075         * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
1077 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
1079         * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
1080         not d_runtime_has_std_library.
1081         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
1083 2020-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1085         * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
1087 2020-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1089         * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
1090         (libgphobos_la_LINK): Move to src/Makefile.am
1091         * libdruntime/Makefile.am: Add libgdruntime_convenience library.
1092         * libdruntime/Makefile.in: Regenerate.
1093         * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
1094         library.
1095         (libgphobos_la_DEPENDENCIES): Likewise.
1096         * src/Makefile.in: Regenerate.
1097         * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
1098         * testsuite/testsuite_flags.in: Likewise.
1100 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1102         * configure: Regenerate.
1103         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
1104         DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
1105         (DRUNTIME_DSOURCES): Add gc/*.d sources.
1106         (DRUNTIME_DSOURCES_GC): Remove.
1107         (DRUNTIME_DSOURCES_GCSTUB): Remove.
1108         * libdruntime/Makefile.in: Regenerate.
1109         * libdruntime/gcstub/gc.d: Remove.
1110         * m4/druntime.m4 (DRUNTIME_GC): Remove.
1112 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1114         PR d/94305
1115         * Makefile.in: Regenerate.
1116         * configure: Regenerate.
1117         * configure.ac: Add --enable-libphobos-checking and substitute
1118         CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
1119         * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
1120         * libdruntime/Makefile.in: Regenerate.
1121         * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
1122         * src/Makefile.in: Regenerate.
1123         * testsuite/Makefile.in: Regenerate.
1124         * testsuite/testsuite_flags.in: Add -fno-release -funittest to
1125         --gdcflags.
1127 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1129         * configure: Regenerate.
1130         * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
1131         * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
1133 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1135         * configure: Regenerate.
1136         * configure.ac: Remove DRUNTIME_OS_UNIX.
1137         * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
1138         DRUNTIME_OS_POSIX is true.
1139         * libdruntime/Makefile.in: Regenerate.
1140         * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
1141         logic to...
1142         (DRUNTIME_OS_SOURCES): ...here.  Rename conditional to
1143         DRUNTIME_OS_POSIX.
1145 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1147         * Makefile.in: Regenerate.
1148         * configure: Regenerate.
1149         * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
1150         * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
1151         * libdruntime/Makefile.in: Regenerate.
1152         * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
1153         * src/Makefile.in: Regenerate.
1154         * testsuite/Makefile.in: Regenerate.
1155         * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
1157 2020-04-07  Robin Dapp  <rdapp@linux.ibm.com>
1158             Stefan Liebler  <stli@linux.ibm.com>
1160         * configure: Regenerate.
1161         * libdruntime/Makefile.am: Add s390x and s390.
1162         * libdruntime/Makefile.in: Regenerate.
1163         * libdruntime/config/s390/get_tls_offset.S: New file.
1164         * libdruntime/config/systemz/get_tls_offset.S: New file.
1165         * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
1166         * m4/druntime/cpu.m4: Add s390x and s390.
1168 2020-04-07  Stefan Liebler  <stli@linux.ibm.com>
1170         * libdruntime/core/sys/posix/signal.d:
1171         Add struct sigaction_t for SystemZ.
1173 2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1175         PR d/92792
1176         * Makefile.in: Regenerate.
1177         * configure: Regenerate.
1178         * configure.ac (libtool_VERSION): Reset to 1:0:0.
1179         * libdruntime/Makefile.in: Regenerate.
1181 2020-02-17  Martin Liska  <mliska@suse.cz>
1183         PR other/93756
1184         * src/std/algorithm/iteration.d: Fix typo.
1186 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1188         * m4/druntime.m4: Handle `--with-toolexeclibdir='.
1189         * m4/Makefile.in: Regenerate.
1190         * libdruntime/Makefile.in: Regenerate.
1191         * src/Makefile.in: Regenerate.
1192         * testsuite/Makefile.in: Regenerate.
1193         * Makefile.in: Regenerate.
1194         * aclocal.m4: Regenerate.
1195         * configure: Regenerate.
1197 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1199         Update copyright years.
1201 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
1203         * configure: Regenerate.
1205 2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1207         * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
1208         dirs to the ld_library_path var.
1210 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1212         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
1213         core/sys/bionic/string.d.
1214         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
1215         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
1216         core/sys/dragonflybsd/sys/socket.d.
1217         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
1218         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
1219         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
1220         core/sys/netbsd/sys/featuretest.d.
1221         * libdruntime/Makefile.in: Regenerate.
1223 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1225         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
1226         core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
1227         core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
1228         core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
1229         core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
1230         * libdruntime/Makefile.in: Regenerate.
1232 2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1234         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
1235         relax=transtls if linker supports it.
1236         * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
1237         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
1238         mark supported with either gld or ld -z relax=transtls.
1239         * configure: Regenerate.
1241 2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
1243         * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
1244         (IeeeFlags.resetIeeeFlags): Likewise.
1245         (FloatingPointControl.getControlState): Likewise.
1246         (FloatingPointControl.setControlState): Likewise.
1248 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1250         PR d/90250
1251         * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
1252         _tlsRanges in every startup thread.
1253         * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
1254         * testsuite/libphobos.thread/tlsgc_sections.d: New test.
1256 2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1258         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
1259         * configure: Regenerate.
1261 2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
1263         * libdruntime/Makefile.am: Add emutls and gthread files.
1264         * libdruntime/Makefile.in: Regenerate.
1265         * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
1266         * libdruntime/gcc/gthread.d: New file.
1267         * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
1268         * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
1270 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1272         * testsuite/Makefile.am: Set PWD_COMMAND.
1273         * testsuite/Makefile.in: Regenerate.
1275 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1277         PR d/90086
1278         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
1279         * configure.ac: Use it.
1280         * configure: Regenerate.
1281         * libdruntime/Makefile.am: Add new config sources to
1282         DRUNTIME_SOURCES_CONFIGURED.
1283         * libdruntime/Makefile.in: Regenerate.
1284         * libdruntime/config/aarch64/switchcontext.S: New file.
1285         * libdruntime/config/arm/switchcontext.S: New file.
1286         * libdruntime/config/common/threadasm.S: New file.
1287         * libdruntime/config/mingw/switchcontext.S: New file.
1288         * libdruntime/config/mips/switchcontext.S: New file.
1289         * libdruntime/config/powerpc/switchcontext.S: New file.
1290         * libdruntime/config/powerpc64/callwithstack.S: New file.
1291         * libdruntime/config/x86/switchcontext.S: New file.
1292         * libdruntime/core/threadasm.S: Remove.
1294 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1296         PR d/89432
1297         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
1298         New proc.
1299         * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
1300         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
1301         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
1303 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1305         PR d/88654
1306         * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
1307         libphobos_skipped_test_p before running test.
1308         (libphobos-dg-prune): New proc.
1309         (libphobos_init): Set libphobos_skip_tests.
1310         (libphobos_skipped_test_p): New proc.
1311         (check_effective_target_libcurl_available): New proc.
1312         * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
1313         not found.
1314         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
1316 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1318         PR d/88431
1319         * configure: Regenerate.
1320         * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
1321         dependencies on libphobos.
1322         (lt_simple_link_test_code): Likewise.
1323         (GDCFLAGS): Don't override for D compiler tests.
1325 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1327         * configure.tgt: Add aarch64*-*-linux* as a supported target.
1329 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
1330             Robin Dapp  <rdapp@linux.ibm.com>
1332         * configure.tgt: Add s390*-linux* as a supported target.
1333         * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
1334         (__tls_get_addr_internal): Declare.
1335         (TLS_DTV_OFFSET): Define as zero on SystemZ.
1336         (getTLSRange): Support getting TLS on SystemZ.
1337         * testsuite/libphobos.typeinfo/struct-align.d: New test.
1339 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
1341         * configure.tgt: Add linux/riscv as supported target.
1342         * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
1343         dlpi_addr on RISCV32 and RISCV64.
1344         * src/std/math.d: Add IEEE FPU control support for RISC-V.
1346 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1347             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1348             Jakub Jelinek  <jakub@redhat.com>
1350         PR target/89093
1351         * libdruntime/gcc/deh.d: Import gcc.attribute.
1352         (personality_fn_attributes): New enum.
1353         (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
1354         Add @personality_fn_attributes.
1356 2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1358         PR d/89293
1359         * libdruntime/core/atomic.d (casImpl): Remove static assert for
1360         GNU_Have_Atomics, add static path to handle missing atomic support.
1361         (atomicLoad): Likewise.
1362         (atomicStore): Likewise.
1363         (atomicFence):  Likewise.
1364         (atomicMutexHandle, AtomicMutex): Declare types.
1365         (_getAtomicMutex): New function.
1366         (getAtomicMutex): Declare.
1368 2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1370         * config.h.in: Regenerate.
1371         * configure: Regenerate.
1372         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
1373         CPPFLAGS correctly for backtrace support test.
1375 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1377         * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
1378         Set to yes explicitly.
1379         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
1380         * configure.ac: Handle --enable-libphobos.
1381         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
1382         with gas.
1383         (ENABLE_LIBPHOBOS): New conditional.
1384         * configure: Regenerate.
1385         * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
1386         * Makefile.in: Regenerate.
1388 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1389             Iain Buclaw  <ibuclaw@gdcproject.org>
1391         PR d/88150
1392         * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
1393         * configure.ac: Use it.
1394         Call AC_USE_SYSTEM_EXTENSIONS.
1395         * configure: Regenerate.
1396         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1397         testsuite/Makefile.in: Regenerate.
1398         * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
1399         * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
1400         (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
1401         dlpi_tls_modid.
1402         [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
1403         Otherwise clear pdso._tlsMod, pdso._tlsSize.
1404         (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
1406 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1408         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
1409         * configure.ac: Call it.
1410         * configure: Regenerate.
1411         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1412         testsuite/Makefile.in: Regenerate.
1413         * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
1415 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1417         PR d/88150
1418         * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
1419         to true.
1420         Import core.sys.solaris.dlfcn, core.sys.solaris.link,
1421         core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
1422         (dummy_ref): Declare.
1423         (initSections): Initialize dummy_ref.
1424         (getDependencies): Set strtab.
1425         (handleForName): Don't dlclose handle.
1426         (findDSOInfoForAddr): Set IterateManually.
1427         (getprogname): Declare.
1428         (progname): Use it.
1429         * libdruntime/gcc/sections/package.d [Solaris]: Import
1430         gcc.sections.elf_shared instead of gcc.sections.solaris.
1431         * libdruntime/gcc/sections/solaris.d: Remove.
1432         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
1433         gcc/sections/solaris.d.
1434         * libdruntime/Makefile.in: Regenerate.
1436 2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1438         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
1439         (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
1440         * libdruntime/Makefile.in: Regenerate.
1441         * libdruntime/gcc/sections/android.d: New file.
1442         * libdruntime/gcc/sections/elf_shared.d: New file.
1443         * libdruntime/gcc/sections/osx.d: New file.
1444         * libdruntime/gcc/sections/package.d: New file.
1445         * libdruntime/gcc/sections/solaris.d: New file.
1446         * libdruntime/gcc/sections/win32.d: New file.
1447         * libdruntime/gcc/sections/win64.d: New file.
1448         * libdruntime/rt/bss_section.c: Remove.
1449         * libdruntime/rt/sections.d: Publicly import gcc.sections.
1450         * libdruntime/rt/sections_android.d: Remove.
1451         * libdruntime/rt/sections_elf_shared.d: Remove.
1452         * libdruntime/rt/sections_osx.d: Remove.
1453         * libdruntime/rt/sections_solaris.d: Remove.
1454         * libdruntime/rt/sections_win32.d: Remove.
1455         * libdruntime/rt/sections_win64.d: Remove.
1457 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1459         * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
1460         * configure: Regenerate.
1461         * libdruntime/Makefile.in: Regenerate.
1463 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1465         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
1466         libz_convenience.a if not using system zlib.
1467         * Makefile.in: Regenerate.
1468         * configure: Regenerate.
1469         * libdruntime/Makefile.in: Regenerate.
1470         * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
1471         * src/Makefile.in: Regenerate.
1472         * testsuite/Makefile.in: Regenerate.
1474 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1476         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1477         (RUNTEST): Remove variable.
1478         (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
1479         check_p_numbers1, check_p_numbers2, check_p_numbers3,
1480         check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
1481         check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
1482         (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
1483         rules written so that all the *.exp files are ran parallelized.
1484         (CLEANFILES): Add *.exe, *.o, and site.exp.
1485         * testsuite/Makefile.in: Regenerate.
1487 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1489         PR d/89255
1490         * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
1491         * configure: Regenerate.
1492         * d_rules.am (%.t.lo, %.t.o): Remove rules.
1493         (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
1494         libgphobos_t_la_LINK): Remove variables.
1495         * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
1496         DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1497         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1498         unittest_static_LDFLAGS, unittest_static_LDADD,
1499         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1500         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1501         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1502         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1503         unittest_LDADD): Remove variables.
1504         (clean-local): Remove rule.
1505         * libdruntime/Makefile.in: Regenerate.
1506         * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
1507         PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1508         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1509         unittest_static_LDFLAGS, unittest_static_LDADD,
1510         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1511         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1512         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1513         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1514         unittest_LDADD): Remove variables.
1515         (clean-local): Remove rule.
1516         * src/Makefile.in: Regenerate.
1517         * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
1518         (libphobos_init): Set libphobos_test_name.
1519         (libphobos-dg-test): Override name if libphobos_test_name is set.
1520         (filter_libphobos_unittests): New proc.
1521         * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
1522         * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
1523         * testsuite/libphobos.druntime/druntime.exp: New file.
1524         * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
1525         * testsuite/libphobos.phobos/phobos.exp: New file.
1526         * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
1527         * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
1528         * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
1529         * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
1530         * testsuite/libphobos.thread/thread.exp: Likewise.
1531         * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
1532         * testsuite/libphobos.unittests/unittests.exp: Remove.
1533         * testsuite/test_runner.d: Remove.
1534         * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
1536 2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
1538         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
1539         core/sys/darwin/crt_externs.d.
1540         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
1541         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
1542         * libdruntime/Makefile.in: Regenerate.
1544 2019-03-23  Johannes Pfau  <johannespfau@gmail.com>
1546         * configure.ac: Update autotool version comment.
1548 2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1550         * src/Makefile.am: Avoid the -D option which is not available
1551         with the install-sh fallback.  Use $(MKDIR_P) instead.
1552         * libdruntime/Makefile.am: Likewise.
1553         * src/Makefile.in: Regenerated.
1554         * libdruntime/Makefile.in: Regenerated.
1556 2019-02-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1558         * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
1559         [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
1560         RTLD_NOLOAD from core.sys.*.dlfcn.
1561         Assert RTLD_NOLOAD is available.
1563 2019-02-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1565         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
1566         * configure.ac: Invoke it.
1567         * configure: Regenerate.
1569 2019-02-19  Johannes Pfau  <johannespfau@gmail.com>
1571         PR d/88127
1572         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
1573         * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
1574         * configure: Regenerate
1575         * Makefile.in: Regenerate
1576         * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
1577         * libdruntime/Makefile.in: Regenerate.
1578         * src/Makefile.in: Regenerate.
1579         * testsuite/Makefile.in: Regenerate.
1581 2019-02-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1583         * testsuite/lib/libphobos-dg.exp: Tabify.
1584         * testsuite/lib/libphobos.exp: Likewise.
1585         * testsuite/libphobos.cycles/cycles.exp: Likewise.
1586         * testsuite/libphobos.shared/shared.exp: Likewise.
1587         * testsuite/libphobos.unittests/unittests.exp: Likewise.
1589 2019-02-14  Maya Rashish  <coypu@sdf.org>
1591         * configure.tgt: Add netbsd/x86 as supported target.
1593 2019-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1595         PR d/87864
1596         * configure.ac (DRTSTUFF_SPEC): New variable.
1597         Substitute it.
1598         * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1599         New automake conditional.
1600         * configure: Regenerate.
1601         * libdruntime/gcc/drtstuff.c: New file.
1602         * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1603         (DRTSTUFF, toolexeclib_DATA): New variables.
1604         (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1605         (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1606         Add -dstartfiles -B../src -Bgcc.
1607         (libgdruntime_la_DEPENDENCIES): New variable.
1608         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1609         (libgdruntime_t_la_LDFLAGS): Likewise.
1610         (unittest_LDFLAGS): Likewise.
1611         * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1612         -Xcompiler.
1613         Add -dstartfiles -B../libdruntime/gcc.
1614         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1615         (libgphobos_t_la_LDFLAGS): Likewise.
1616         (unittest_LDFLAGS): Likewise.
1617         * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1618         * Makefile.in, testsuite/Makefile.in: Regenerate.
1619         * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1620         assert.
1621         * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1622         * src/drtstuff.spec: New file.
1623         * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1624         (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1625         -nophoboslib.
1626         * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1627         -B${BUILD_DIR}/libdruntime/gcc.
1629 2019-02-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1631         * libdruntime/core/runtime.d (defaultTraceHandler): Give
1632         UnwindBacktrace handler precedence over backtrace.
1634 2019-02-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1636         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1637         * libdruntime/Makefile.in: Rebuild.
1638         * testsuite/libphobos.aa/aa.exp: New file.
1639         * testsuite/libphobos.aa/test_aa.d: New test.
1640         * testsuite/libphobos.hash/hash.exp: New file.
1641         * testsuite/libphobos.hash/test_hash.d: New test.
1643 2019-01-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1645         * README.gcc: New file.
1647 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1649         Update copyright years.
1651 2018-12-14  Iain Buclaw  <ibuclaw@gdcproject.org>
1653         * src/std/internal/digest: Remove empty directory.
1655 2018-12-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1657         * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1658         * Makefile.in: Regenerate.
1660 2018-11-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1662         * Makefile.in: Rebuild.
1663         * configure: Rebuild.
1664         * configure.ac (DRUNTIME_SOVERSION): Remove.
1665         (PHOBOS_SOVERSION): Remove.
1666         (libtool_VERSION): Add.
1667         * libdruntime/Makefile.am: Use libtool_VERSION.
1668         * libdruntime/Makefile.in: Rebuild.
1669         * src/Makefile.am: Use libtool_VERSION.
1670         * src/Makefile.in: Rebuild.
1671         * testsuite/Makefile.in: Rebuild.
1673 2018-11-22  Johannes Pfau  <johannespfau@gmail.com>
1675         PR d/87824
1676         * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1677         library for multilib builds.
1679 2018-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1681         * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1682         std.internal.math.biguintx86 modules.
1683         * src/Makefile.in: Rebuild.
1684         * src/std/internal/digest/sha_SSSE3.d: Remove.
1685         * src/std/internal/math/biguintx86.d: Remove.
1687 2018-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
1689         PR d/87827
1690         * Makefile.in: Rebuild.
1691         * configure: Rebuild.
1692         * configure.ac: Properly set MULTISUBDIR.
1693         * d_rules.am: Set toolexecdir and toolexeclibdir.
1694         * libdruntime/Makefile.in: Rebuild.
1695         * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1696         --enable-version-specific-runtime-libs.
1697         * src/Makefile.in: Rebuild.
1698         * testsuite/Makefile.in: Rebuild.
1700 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1702         PR bootstrap/82856
1703         * Makefile.am: Include multilib.am.
1704         * configure.ac: Remove AC_PREREQ.  Use -Wno-override in
1705         AM_INIT_AUTOMAKE call.
1706         * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1707         * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1708         * testsuite/Makefile.am (RUNTEST): Remove quotes.
1709         * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1710         src/Makefile.in, testsuite/Makefile.in: Regenerate.
1712 2018-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
1714         PR bootstrap/87789
1715         PR d/87818
1716         PR d/87819
1717         * configure.tgt: New file.
1719 2018-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1721         * Makefile.am: New file.
1722         * Makefile.in: New file.
1723         * acinclude.m4: New file.
1724         * aclocal.m4: New file.
1725         * config.h.in: New file.
1726         * configure: New file.
1727         * configure.ac: New file.
1728         * d_rules.am: New file.
1729         * libdruntime/Makefile.am: New file.
1730         * libdruntime/Makefile.in: New file.
1731         * libdruntime/__entrypoint.di: New file.
1732         * libdruntime/__main.di: New file.
1733         * libdruntime/gcc/attribute.d: New file.
1734         * libdruntime/gcc/backtrace.d: New file.
1735         * libdruntime/gcc/builtins.d: New file.
1736         * libdruntime/gcc/config.d.in: New file.
1737         * libdruntime/gcc/deh.d: New file.
1738         * libdruntime/gcc/libbacktrace.d.in: New file.
1739         * libdruntime/gcc/unwind/arm.d: New file.
1740         * libdruntime/gcc/unwind/arm_common.d: New file.
1741         * libdruntime/gcc/unwind/c6x.d: New file.
1742         * libdruntime/gcc/unwind/generic.d: New file.
1743         * libdruntime/gcc/unwind/package.d: New file.
1744         * libdruntime/gcc/unwind/pe.d: New file.
1745         * m4/autoconf.m4: New file.
1746         * m4/druntime.m4: New file.
1747         * m4/druntime/cpu.m4: New file.
1748         * m4/druntime/libraries.m4: New file.
1749         * m4/druntime/os.m4: New file.
1750         * m4/gcc_support.m4: New file.
1751         * m4/gdc.m4: New file.
1752         * m4/libtool.m4: New file.
1753         * src/Makefile.am: New file.
1754         * src/Makefile.in: New file.
1755         * src/libgphobos.spec.in: New file.
1756         * testsuite/Makefile.am: New file.
1757         * testsuite/Makefile.in: New file.
1758         * testsuite/config/default.exp: New file.
1759         * testsuite/lib/libphobos-dg.exp: New file.
1760         * testsuite/lib/libphobos.exp: New file.
1761         * testsuite/testsuite_flags.in: New file.
1764 Copyright (C) 2018-2023 Free Software Foundation, Inc.
1766 Copying and distribution of this file, with or without modification,
1767 are permitted in any medium without royalty provided the copyright
1768 notice and this notice are preserved.