c++: duplicated side effects of xobj arg [PR113640]
[official-gcc.git] / libphobos / ChangeLog
blobe59c8e4efe3f7c8f3a1c4f1a171e05ab9a6952f2
1 2023-12-22  Christophe Lyon  <christophe.lyon@linaro.org>
3         * Makefile.am: Allow overriding EXEPCT.
4         * Makefile.in: Regenerate.
6 2023-12-18  Yang Yujie  <yangyujie@loongson.cn>
8         * m4/druntime/cpu.m4: Support loongarch* targets.
9         * libdruntime/Makefile.am: Same.
10         * libdruntime/Makefile.in: Regenerate.
11         * configure: Regenerate.
13 2023-12-18  Yang Yujie  <yangyujie@loongson.cn>
15         * libdruntime/config/loongarch/switchcontext.S: New file.
17 2023-12-18  liushuyu  <liushuyu011@gmail.com>
19         * configure.tgt: Enable libphobos for LoongArch architecture.
20         * libdruntime/gcc/sections/elf.d: Add TLS_DTV_OFFSET constant for
21         LoongArch64.
22         * libdruntime/gcc/unwind/generic.d: Add __aligned__ constant for
23         LoongArch64.
25 2023-12-11  Iain Buclaw  <ibuclaw@gdcproject.org>
27         * libdruntime/MERGE: Merge upstream druntime 2bbf64907c.
28         * src/MERGE: Merge upstream phobos b64bfbf91.
30 2023-11-21  Iain Buclaw  <ibuclaw@gdcproject.org>
32         * libdruntime/MERGE: Merge upstream druntime ff57fec515.
33         * src/MERGE: Merge upstream phobos 17bafda79.
35 2023-11-21  Iain Buclaw  <ibuclaw@gdcproject.org>
37         * src/MERGE: Merge upstream phobos fc06c514a.
39 2023-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
41         * libdruntime/MERGE: Merge upstream druntime 643b1261bb.
42         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
43         core/sys/freebsd/ifaddrs.d, core/sys/freebsd/net/if_dl.d,
44         core/sys/freebsd/sys/socket.d, core/sys/freebsd/sys/types.d.
45         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/linux/if_arp.d,
46         core/sys/linux/linux/if_packet.d.
47         * libdruntime/Makefile.in: Regenerate.
48         * src/MERGE: Merge upstream phobos 1c98326e7.
50 2023-10-29  Iain Buclaw  <ibuclaw@gdcproject.org>
52         * libdruntime/MERGE: Merge upstream druntime e48bc0987d.
53         * src/MERGE: Merge upstream phobos 2458e8f82.
55 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
57         * configure: Regenerate.
58         * configure.ac: Handle Darwin rpaths.
59         * libdruntime/Makefile.am: Handle Darwin rpaths.
60         * libdruntime/Makefile.in: Regenerate.
61         * src/Makefile.am: Handle Darwin rpaths.
62         * src/Makefile.in: Regenerate.
64 2023-10-16  Iain Buclaw  <ibuclaw@gdcproject.org>
66         * libdruntime/MERGE: Merge upstream druntime 4c18eed967.
67         * src/MERGE: Merge upstream phobos d945686a4.
69 2023-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
71         * libdruntime/MERGE: Merge upstream druntime f9efc98fd7.
72         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
73         core/internal/newaa.d.
74         * libdruntime/Makefile.in: Regenerate.
75         * src/MERGE: Merge upstream phobos a3f22129d.
76         * testsuite/libphobos.hash/test_hash.d: Update test.
77         * testsuite/libphobos.phobos/phobos.exp: Add compiler flags
78         -Wno-deprecated.
79         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
81 2023-09-23  Iain Buclaw  <ibuclaw@gdcproject.org>
83         * libdruntime/MERGE: Merge upstream druntime 4574d1728d.
84         * src/MERGE: Merge upstream phobos d7e79f024.
86 2023-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
88         * libdruntime/MERGE: Merge upstream druntime 26f049fb26.
89         * src/MERGE: Merge upstream phobos 330d6a4fd.
91 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
93         * configure: Regenerate.
95 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
97         * configure: Regenerate.
99 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
101         * configure: Regenerate.
103 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
105         * configure: Regenerate.
107 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
109         * configure: Regenerate.
111 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
113         * configure: Regenerate.
115 2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
117         * libdruntime/MERGE: Merge upstream druntime a88e1335f7.
118         * src/MERGE: Merge upstream phobos 1921d29df.
119         * config.h.in: Regenerate.
120         * configure: Regenerate.
121         * configure.ac (libphobos-checking): Add valgrind flag.
122         (DRUNTIME_LIBRARIES_VALGRIND): Call.
123         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Add
124         etc/valgrind/valgrind_.c.
125         (DRUNTIME_DSOURCES): Add etc/valgrind/valgrind.d.
126         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/input.d,
127         core/sys/linux/input_event_codes.d, core/sys/linux/uinput.d.
128         * libdruntime/Makefile.in: Regenerate.
129         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_VALGRIND): Define.
131 2023-07-10  Iain Buclaw  <ibuclaw@gdcproject.org>
133         * libdruntime/MERGE: Merge upstream druntime 17ccd12af3.
134         * src/MERGE: Merge upstream phobos 8d3800bee.
136 2023-07-09  Iain Buclaw  <ibuclaw@gdcproject.org>
138         * libdruntime/MERGE: Merge upstream druntime 28a3b24c2e.
139         * src/MERGE: Merge upstream phobos 8ab95ded5.
141 2023-07-02  Iain Sandoe  <iain@sandoe.co.uk>
143         * libdruntime/config/aarch64/switchcontext.S: Exclude ELF-
144         specific constructs for Darwin.
145         * libdruntime/config/arm/switchcontext.S: Likewise.
146         * libdruntime/core/thread/fiber.d: Disable switching fibres
147         between threads.
149 2023-07-01  Iain Sandoe  <iainsandoe@Apollo-3-VM-Lion-0-187.local>
151         PR d/103944
152         * testsuite/libphobos.gc/forkgc2.d: Skip for Darwin.
154 2023-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
156         * libdruntime/MERGE: Merge upstream druntime a45f4e9f43.
157         * src/MERGE: Merge upstream phobos 106038f2e.
159 2023-03-17  Iain Buclaw  <ibuclaw@gdcproject.org>
161         * libdruntime/MERGE: Merge upstream druntime 5f7552bb28.
162         * src/MERGE: Merge upstream phobos 67a47cf39.
164 2023-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
166         * libdruntime/MERGE: Merge upstream druntime 4ca4140e58.
167         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/factory.d.
168         * libdruntime/Makefile.in: Regenerate.
169         * src/MERGE: Merge upstream phobos 454dff14d.
170         * testsuite/libphobos.hash/test_hash.d: Update test.
171         * testsuite/libphobos.shared/finalize.d: Update test.
172         * libdruntime/core/factory.d: New file.
174 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
176         * src/MERGE: Merge upstream phobos e5a521ab2.
178 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
180         * libdruntime/MERGE: Merge upstream druntime 09faa4eacd.
181         * src/MERGE: Merge upstream phobos 13ef27a56.
182         * testsuite/libphobos.exceptions/refcounted.d: Add test for chained
183         reference counted exceptions.
184         * testsuite/libphobos.shared/finalize.d: Add dg-warning for deprecated
185         factory interfaces.
186         * testsuite/libphobos.gc/issue22843.d: New test.
188 2023-02-21  Iain Buclaw  <ibuclaw@gdcproject.org>
190         * libdruntime/gcc/backtrace.d (simpleErrorCallback): Add @nogc.
191         (LibBacktrace.initLibBacktrace): Likewise.
192         (LibBacktrace.this): Likewise.
193         (UnwindBacktrace.this): Likewise.
194         (getBacktrace): Likewise.
195         (getBacktraceSymbols): Likewise.
196         * libdruntime/gcc/libbacktrace.d.in (backtrace_create_state):
197         Likewise.
198         (backtrace_full): Likewise.
199         (backtrace_simple): Likewise.
200         (backtrace_print): Likewise.
201         (backtrace_pcinfo): Likewise.
202         (backtrace_syminfo): Likewise.
204 2023-02-13  Lorenzo Salvadore  <developer@lorenzosalvadore.it>
206         PR d/107469
207         * libdruntime/core/sys/freebsd/config.d: Update __FreeBSD_version.
209 2023-01-17  Martin Liska  <mliska@suse.cz>
211         * Makefile.in: Regenerate.
212         * libdruntime/Makefile.in: Regenerate.
214 2022-12-11  Iain Buclaw  <ibuclaw@gdcproject.org>
216         * libdruntime/MERGE: Merge upstream druntime c8ae4adb2e.
217         * src/MERGE: Merge upstream phobos 792c8b7c1.
219 2022-11-05  Iain Buclaw  <ibuclaw@gdcproject.org>
221         * libdruntime/gcc/simd.d (equalMask): Implement using generics.
222         (notEqualMask): Likewise.
223         (greaterMask): Likewise.
224         (greaterOrEqualMask): Likewise.
225         (notMask): Likewise.
226         (andAndMask): Likewise.
227         (orOrMask): Likewise.
229 2022-10-29  Iain Buclaw  <ibuclaw@gdcproject.org>
231         * libdruntime/MERGE: Merge upstream druntime e4f8919591.
232         * src/MERGE: Merge upstream phobos 3ad507b51.
234 2022-10-12  Martin Liska  <mliska@suse.cz>
236         * configure: Regenerate.
238 2022-10-11  Olivier Hainque  <hainque@adacore.com>
239             Olivier Hainque  <hainque@adacore.com>
241         * configure: Regenerate.
243 2022-09-27  Iain Buclaw  <ibuclaw@gdcproject.org>
245         * libdruntime/MERGE: Merge upstream druntime d579c467c1.
246         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
247         rt/arrayassign.d.
248         * libdruntime/Makefile.in: Regenerate.
249         * src/MERGE: Merge upstream phobos 88aa69b14.
250         * src/Makefile.am (PHOBOS_DSOURCES): Remove std/digest/digest.d,
251         std/xml.d.
252         * src/Makefile.in: Regenerate.
254 2022-08-27  Iain Buclaw  <ibuclaw@gdcproject.org>
256         * libdruntime/MERGE: Merge upstream druntime 817610b16d.
257         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
258         core/internal/array/arrayassign.d.
259         * libdruntime/Makefile.in: Regenerate.
260         * src/MERGE: Merge upstream phobos b578dfad9.
261         * src/Makefile.am (PHOBOS_DSOURCES): Remove
262         std/experimental/typecons.d. Add std/logger package.
263         * src/Makefile.in: Regenerate.
265 2022-08-03  Iain Buclaw  <ibuclaw@gdcproject.org>
267         * configure: Regenerate.
268         * configure.ac (libtool_VERSION): Update to 4:0:0.
269         * libdruntime/MERGE: Merge upstream druntime d7772a2369.
270         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
271         core/internal/array/duplication.d.
272         * libdruntime/Makefile.in: Regenerate.
273         * src/MERGE: Merge upstream phobos 5748ca43f.
274         * testsuite/libphobos.gc/nocollect.d:
276 2022-07-06  Iain Buclaw  <ibuclaw@gdcproject.org>
278         * libdruntime/MERGE: Merge upstream druntime 651389b5.
279         * src/MERGE: Merge upstream phobos 1516ecad9.
281 2022-06-29  Iain Buclaw  <ibuclaw@gdcproject.org>
283         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add gcc/simd.d.
284         * libdruntime/Makefile.in: Regenerate.
285         * libdruntime/gcc/simd.d: New file.
287 2022-06-28  Iain Buclaw  <ibuclaw@gdcproject.org>
289         * libdruntime/gcc/attributes.d (simd): Define.
291 2022-06-24  Iain Buclaw  <ibuclaw@gdcproject.org>
293         PR d/105413
294         * libdruntime/gcc/attributes.d (register): Define.
296 2022-06-24  Iain Buclaw  <ibuclaw@gdcproject.org>
298         * libdruntime/MERGE: Merge upstream druntime 148608b7.
300 2022-06-22  Iain Buclaw  <ibuclaw@gdcproject.org>
302         * libdruntime/MERGE: Merge upstream druntime e150cca1.
303         * src/MERGE: Merge upstream phobos a4a18d21c.
304         * testsuite/libphobos.cycles/cycles.exp (cycle_test_list): Update
305         expected result of deprecate test.
307 2022-06-15  Iain Buclaw  <ibuclaw@gdcproject.org>
309         * libdruntime/gcc/attributes.d (no_sanitize): Define.
310         (noSanitize): Define.
312 2022-06-15  Iain Buclaw  <ibuclaw@gdcproject.org>
314         * libdruntime/gcc/attributes.d (visibility): Define.
315         (hidden): Define.
317 2022-06-13  Iain Buclaw  <ibuclaw@gdcproject.org>
319         * libdruntime/MERGE: Merge upstream druntime 454471d8.
320         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
321         core/sync/package.d.
322         * libdruntime/Makefile.in: Regenerate.
323         * src/MERGE: Merge upstream phobos 1206fc94f.
325 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
327         * testsuite/lib/libphobos-dg.exp: Add load_gcc_lib of scansarif.exp.
329 2022-05-27  Iain Buclaw  <ibuclaw@gdcproject.org>
331         * libdruntime/MERGE: Merge upstream druntime f89da313.
332         * src/MERGE: Merge upstream phobos d46814c86.
334 2022-05-16  Iain Buclaw  <ibuclaw@gdcproject.org>
336         * libdruntime/MERGE: Merge upstream druntime 94bd5bcb.
337         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Add
338         $(DRUNTIME_DSOURCES_ELF).
339         (ALL_DRUNTIME_SOURCES): Likewise.
340         (DRUNTIME_DSOURCES_ELF): New variable.
341         * libdruntime/Makefile.in: Regenerate.
342         * src/MERGE: Merge upstream phobos 3a1cd9a01.
343         * testsuite/libphobos.init_fini/custom_gc.d: Update test.
345 2022-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
347         * libdruntime/MERGE: Merge upstream druntime e361d200.
349 2022-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
351         * libdruntime/gcc/emutls.d (emutlsDestroyThread): Clear the per-thread
352         TLS array, don't call free().
354 2022-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
356         * libdruntime/MERGE: Merge upstream druntime 27834edb.
357         * src/MERGE: Merge upstream phobos ac296f80c.
358         * src/Makefile.am (PHOBOS_DSOURCES): Add std/int128.d.
359         * src/Makefile.in: Regenerate.
361 2022-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
363         * libdruntime/MERGE: Merge upstream druntime 9ba9a6ae.
364         * src/MERGE: Merge upstream phobos c0cc5e917.
366 2022-04-02  Iain Buclaw  <ibuclaw@gdcproject.org>
368         * libdruntime/MERGE: Merge upstream druntime c52e28b7.
369         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
370         core/sys/openbsd/pwd.d.
371         * libdruntime/Makefile.in: Regenerate.
372         * src/MERGE: Merge upstream phobos 99e9c1b77.
373         * testsuite/libphobos.exceptions/message_with_null.d: New test.
375 2022-03-21  Iain Buclaw  <ibuclaw@gdcproject.org>
377         PR d/104911
378         * src/MERGE: Merge upstream phobos a74fa63e6.
380 2022-03-13  Iain Buclaw  <ibuclaw@gdcproject.org>
382         * libdruntime/MERGE: Merge upstream druntime 26b58167.
383         * src/MERGE: Merge upstream phobos 16cb085b5.
385 2022-03-11  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
387         PR d/103528
388         * configure.ac <x86_64-*-solaris2.* | i?86-*-solaris2.*>: Remove
389         gas requirement.
390         * configure: Regenerate.
391         * configure.tgt (sparc*-*-solaris2.11*): Mark supported.
393 2022-03-02  Iain Buclaw  <ibuclaw@gdcproject.org>
395         * libdruntime/MERGE: Merge upstream druntime 100a608c.
396         * src/MERGE: Merge upstream phobos a1f8c4c07.
398 2022-03-01  Iain Buclaw  <ibuclaw@gdcproject.org>
400         PR d/104659
401         * libdruntime/config/mingw/msvc.c (init_msvc): Fix misspelling of
402         msvcUsesUCRT.
404 2022-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
406         * libdruntime/MERGE: Merge upstream druntime caf14b0f.
407         * src/MERGE: Merge upstream phobos 41aaf8c26.
409 2022-02-20  Iain Buclaw  <ibuclaw@gdcproject.org>
411         * libdruntime/MERGE: Merge upstream druntime 55528bd1.
412         * src/MERGE: Merge upstream phobos 1a3e80ec2.
413         * testsuite/libphobos.hash/test_hash.d: Update.
414         * testsuite/libphobos.betterc/test19933.d: New test.
416 2022-02-16  Iain Buclaw  <ibuclaw@gdcproject.org>
418         * Makefile.in: Regenerate.
419         * libdruntime/MERGE: Merge upstream druntime dbd0c874.
420         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Add core/int128.d.
421         (DRUNTIME_DISOURCES): Add __builtins.di.
422         * libdruntime/Makefile.in: Regenerate.
423         * src/MERGE: Merge upstream phobos 896b1d0e1.
424         * src/Makefile.am (PHOBOS_DSOURCES): Add std/checkedint.d.
425         * src/Makefile.in: Regenerate.
426         * testsuite/testsuite_flags.in: Add -fall-instantiations to
427         --gdcflags.
429 2022-01-03  Iain Buclaw  <ibuclaw@gdcproject.org>
431         * libdruntime/MERGE: Merge upstream druntime 759e6023.
432         * src/MERGE: Merge upstream phobos 468788323.
434 2021-12-21  Iain Buclaw  <ibuclaw@gdcproject.org>
436         * configure.tgt: Add power*-*-freebsd* as a supported target.
438 2021-12-20  Iain Buclaw  <ibuclaw@gdcproject.org>
440         * libdruntime/MERGE: Merge upstream druntime fd9a4544.
441         * src/MERGE: Merge upstream phobos 495e835c2.
443 2021-12-15  Iain Buclaw  <ibuclaw@gdcproject.org>
445         PR d/103604
446         * configure: Regenerate.
447         * configure.ac (libtool_VERSION): Update to 3:0:0.
448         * libdruntime/MERGE: Merge upstream druntime 6364e010.
449         * src/MERGE: Merge upstream phobos 575b67a9b.
450         * testsuite/libphobos.traits/all_satisfy.d: New test.
451         * testsuite/libphobos.traits/traits.exp: New test.
453 2021-12-10  Iain Buclaw  <ibuclaw@gdcproject.org>
455         PR d/103528
456         * libdruntime/MERGE: Merge upstream druntime bc58b1e9.
457         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
458         core/sys/linux/syscalls.d.
459         * libdruntime/Makefile.in: Regenerate.
460         * src/MERGE: Merge upstream phobos 12329adb6.
461         * testsuite/libphobos.config/config.exp: Add test22523.
462         * libdruntime/core/sys/linux/syscalls.d: Removed.
463         * testsuite/libphobos.config/test22523.d: New test.
465 2021-12-08  Iain Buclaw  <ibuclaw@gdcproject.org>
467         PR d/103558
468         * libdruntime/MERGE: Merge upstream druntime 178c44ff.
469         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Add
470         core/sys/linux/syscalls.d.
471         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/pthread_np.d.
472         * libdruntime/Makefile.in: Regenerate.
473         * src/MERGE: Merge upstream phobos 574bf883b.
474         * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=fieldwise.
475         * src/Makefile.in: Regenerate.
476         * testsuite/libphobos.exceptions/assert_fail.d: Update test.
477         * testsuite/libphobos.betterc/test22336.d: New test.
479 2021-12-02  Iain Buclaw  <ibuclaw@gdcproject.org>
481         * libdruntime/core/thread/osthread.d (callWithStackShell): Push all
482         callee-save registers on the stack for AArch64 and ARM.
484 2021-12-02  Iain Buclaw  <ibuclaw@gdcproject.org>
486         * src/std/math/hardware.d (FloatingPointControl.getControlState): Add
487         missing ControlState variable for AArch64.
489 2021-12-01  Iain Buclaw  <ibuclaw@gdcproject.org>
491         * testsuite/testsuite_flags.in: Add libphobos library directory as
492         search path to --gdcldflags.
494 2021-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
496         * libdruntime/MERGE: Merge upstream druntime e6caaab9.
497         * libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with
498         -fpreview=dip1000, -fpreview=fieldwise, and -fpreview=dtorfields.
499         (ALL_DRUNTIME_SOURCES): Add DRUNTIME_DSOURCES_STDCXX.
500         (DRUNTIME_DSOURCES): Update list of C binding modules.
501         (DRUNTIME_DSOURCES_STDCXX): Likewise.
502         (DRUNTIME_DSOURCES_LINUX): Likewise.
503         (DRUNTIME_DSOURCES_OPENBSD): Likewise.
504         (DRUNTIME_DISOURCES): Remove __entrypoint.di.
505         * libdruntime/Makefile.in: Regenerated.
506         * libdruntime/__entrypoint.di: Removed.
507         * libdruntime/gcc/deh.d (_d_isbaseof): Update signature.
508         (_d_createTrace): Likewise.
509         (__gdc_begin_catch): Remove reference to the exception.
510         (_d_throw): Increment reference count of thrown object before unwind.
511         (__gdc_personality): Chain exceptions with  Throwable.chainTogether.
512         * libdruntime/gcc/emutls.d: Update imports.
513         * libdruntime/gcc/sections/elf.d: Update imports.
514         (DSO.moduleGroup): Update signature.
515         * libdruntime/gcc/sections/macho.d: Update imports.
516         (DSO.moduleGroup): Update signature.
517         * libdruntime/gcc/sections/pecoff.d: Update imports.
518         (DSO.moduleGroup): Update signature.
519         * src/MERGE: Merge upstream phobos 5ab9ad256.
520         * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and
521         -fpreview=dtorfields flags.
522         (PHOBOS_DSOURCES): Update list of std modules.
523         * src/Makefile.in: Regenerate.
524         * testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly
525         compile types.
526         (dg-test): Override.
527         (additional_prunes): Define.
528         (libphobos-dg-prune): Filter any additional_prunes set by tests.
529         * testsuite/libphobos.aa/test_aa.d: Update test.
530         * testsuite/libphobos.druntime/druntime.exp (version_flags): Add
531         -fversion=CoreUnittest.
532         * testsuite/libphobos.druntime_shared/druntime_shared.exp
533         (version_flags): Add -fversion=CoreUnittest -fversion=Shared.
534         * testsuite/libphobos.exceptions/unknown_gc.d: Update test.
535         * testsuite/libphobos.hash/test_hash.d: Update test.
536         * testsuite/libphobos.phobos/phobos.exp (version_flags): Add
537         -fversion=StdUnittest
538         * testsuite/libphobos.phobos_shared/phobos_shared.exp (version_flags):
539         Likewise.
540         * testsuite/libphobos.shared/host.c: Update test.
541         * testsuite/libphobos.shared/load.d: Update test.
542         * testsuite/libphobos.shared/load_13414.d: Update test.
543         * testsuite/libphobos.thread/fiber_guard_page.d: Update test.
544         * testsuite/libphobos.thread/tlsgc_sections.d: Update test.
545         * testsuite/testsuite_flags.in: Add -fpreview=dip1000 to --gdcflags.
546         * testsuite/libphobos.shared/link_mod_collision.d: Removed.
547         * testsuite/libphobos.shared/load_mod_collision.d: Removed.
548         * testsuite/libphobos.betterc/betterc.exp: New test.
549         * testsuite/libphobos.config/config.exp: New test.
550         * testsuite/libphobos.gc/gc.exp: New test.
551         * testsuite/libphobos.imports/imports.exp: New test.
552         * testsuite/libphobos.lifetime/lifetime.exp: New test.
553         * testsuite/libphobos.unittest/unittest.exp: New test.
554         * testsuite/libphobos.allocations/alloc_from_assert.d: New file.
555         * testsuite/libphobos.betterc/test18828.d: New file.
556         * testsuite/libphobos.betterc/test19416.d: New file.
557         * testsuite/libphobos.betterc/test19421.d: New file.
558         * testsuite/libphobos.betterc/test19561.d: New file.
559         * testsuite/libphobos.betterc/test19924.d: New file.
560         * testsuite/libphobos.betterc/test20088.d: New file.
561         * testsuite/libphobos.betterc/test20613.d: New file.
562         * testsuite/libphobos.config/test19433.d: New file.
563         * testsuite/libphobos.config/test20459.d: New file.
564         * testsuite/libphobos.exceptions/assert_fail.d: New file.
565         * testsuite/libphobos.exceptions/catch_in_finally.d: New file.
566         * testsuite/libphobos.exceptions/future_message.d: New file.
567         * testsuite/libphobos.exceptions/long_backtrace_trunc.d: New file.
568         * testsuite/libphobos.exceptions/refcounted.d: New file.
569         * testsuite/libphobos.exceptions/rt_trap_exceptions.d: New file.
570         * testsuite/libphobos.exceptions/rt_trap_exceptions_drt.d: New file.
571         * testsuite/libphobos.gc/attributes.d: New file.
572         * testsuite/libphobos.gc/forkgc.d: New file.
573         * testsuite/libphobos.gc/forkgc2.d: New file.
574         * testsuite/libphobos.gc/nocollect.d: New file.
575         * testsuite/libphobos.gc/precisegc.d: New file.
576         * testsuite/libphobos.gc/recoverfree.d: New file.
577         * testsuite/libphobos.gc/sigmaskgc.d: New file.
578         * testsuite/libphobos.gc/startbackgc.d: New file.
579         * testsuite/libphobos.imports/bug18193.d: New file.
580         * testsuite/libphobos.init_fini/custom_gc.d: New file.
581         * testsuite/libphobos.init_fini/test18996.d: New file.
582         * testsuite/libphobos.lifetime/large_aggregate_destroy_21097.d: New file.
583         * testsuite/libphobos.thread/external_threads.d: New file.
584         * testsuite/libphobos.thread/join_detach.d: New file.
585         * testsuite/libphobos.thread/test_import.d: New file.
586         * testsuite/libphobos.thread/tlsstack.d: New file.
587         * testsuite/libphobos.typeinfo/enum_.d: New file.
588         * testsuite/libphobos.typeinfo/isbaseof.d: New file.
589         * testsuite/libphobos.unittest/customhandler.d: New file.
591 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
593         * testsuite/lib/libphobos.exp: Prune warnings from external
594         tool bugs.
596 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
598         * libdruntime/core/thread/fiber.d (defaultStackPages): Increase size
599         on OSX X86_64 targets.
601 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
603         * libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
604         from global array.
605         (_d_emutls_destroy): Don't call __gthread_key_delete.
607 2021-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
609         PR d/102837
610         * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
611         contents of internal EH storage.
613 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
615         * libdruntime/gcc/deh.d (ExceptionHeader.getClassInfo): Move to...
616         (getClassInfo): ...here as free function.  Add lsda parameter.
617         (scanLSDA): Pass lsda to actionTableLookup.
618         (actionTableLookup): Add lsda parameter, pass to getClassInfo.
619         (__gdc_personality): Remove currentCfa variable.
621 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
623         * libdruntime/gcc/deh.d (_d_print_throwable): Declare.
624         (_d_throw): Print stacktrace before terminating program due to
625         uncaught exception.
627 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
629         * libdruntime/core/runtime.d (runModuleUnitTests): Use scope to new
630         LibBacktrace on the stack.
631         * libdruntime/gcc/backtrace.d (FIRSTFRAME): Remove.
632         (LibBacktrace.MaxAlignment): Remove.
633         (LibBacktrace.this): Remove default initialization of firstFrame.
634         (UnwindBacktrace.this): Likewise.
636 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
638         * libdruntime/gcc/unwind/generic.d (__aligned__): Define.
639         (_Unwind_Exception): Align struct to __aligned__.
641 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
643         PR d/102476
644         * libdruntime/__main.di: Define main function as extern(C) when
645         compiling without D runtime.
647 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
649         * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES.
651 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
653         * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY.
654         * src/Makefile.in: Regenerate.
656 2021-08-30  Iain Buclaw  <ibuclaw@gdcproject.org>
658         * configure: Regenerate.
659         * m4/autoconf.m4 (AC_LANG_PROGRAM): Declare module name 'object'.
660         * m4/gcc_support.m4 (WITH_LOCAL_DRUNTIME): Compile tests with
661         -fno-druntime.
663 2021-06-11  Iain Buclaw  <ibuclaw@gdcproject.org>
665         PR d/100999
666         * src/MERGE: Merge upstream phobos 55bb17543.
668 2021-05-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
670         * src/std/process.d (unittest): Remove tmpname on exit.
671         * src/MERGE: Merge upstream phobos 63f4caa90.
673 2021-05-13  Iain Buclaw  <ibuclaw@gdcproject.org>
675         * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
677 2021-05-10  Iain Buclaw  <ibuclaw@gdcproject.org>
679         * src/MERGE: Merge upstream phobos 32cfe9b61.
681 2021-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
683         * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
684         generate PPC and PPC64 asm implementations, and conditionally remove
685         PPC register names on non-Darwin targets.
687 2021-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
689         PR d/98584
690         * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
691         read_encoded_value.
692         (actionTableLookup): Update calls to read_sleb128 and
693         read_encoded_value_with_base.
694         * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
695         (read_sleb128): Update signature.
696         (read_unaligned): New function.
697         (read_encoded_value_with_base): Update signature.  Call read_unaligned
698         instead of unsafe pointer dereferencing.
699         (read_encoded_value): Update signature.
701 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
703         PR d/98494
704         * libdruntime/MERGE: Merge upstream druntime 89f870b7.
705         * src/MERGE: Merge upstream phobos e6907ff3e.
707 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
709         PR d/98058
710         * configure: Regenerate.
711         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
712         core/sys/darwin/config.d
713         * libdruntime/Makefile.in: Regenerate.
714         * libdruntime/config/powerpc/switchcontext.S: Implement
715         fiber_switchContext for __MACH__.
716         * libdruntime/config/x86/switchcontext.S: Likewise.
717         * libdruntime/core/sys/darwin/config.d: New file.
718         * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
719         (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
720         * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
721         assembler implementation for X86, X86_64, PPC, and PPC64.
722         * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
723         noinline.
724         * libdruntime/gcc/deh.d (FuncTable): Remove definition.
725         * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
726         bracket symbol on darwin* targets.
727         * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
728         support ucontext-based Fibers.
730 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
732         PR d/99794
733         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
734         config/mingw/msvc.c on DRUNTIME_OS_MINGW.
735         * libdruntime/Makefile.in: Regenerate.
736         * libdruntime/config/mingw/msvc.c: New file.
737         * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
738         function definition.
739         * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
740         _GCC_specific_handler.
741         * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
742         * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
743         declaration.
744         * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
745         (rt_loadLibraryW): Remove function.
746         (initLibrary): Remove function.
747         (rt_unloadLibrary): Remove function.
749 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
751         PR d/99691
752         * configure: Regenerate.
753         * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
754         * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
755         OpenBSD platforms.
756         * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
757         (linkMapForHandle): Implement for OpenBSD.
758         (exeLinkMap): Remove.
759         (getDependencies): Adjust dlpi_addr on OpenBSD.
760         (handleForName): Implement for OpenBSD.
761         (IterateManually): Define on OpenBSD.
762         * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
763         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
764         enable_libatomic.
765         (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
767 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
769         * Makefile.in: Regenerate.
770         * configure: Regenerate.
771         * configure.ac: Call DRUNTIME_SECTION_FLAGS.
772         * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
773         * libdruntime/Makefile.in: Regenerate.
774         * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
775         * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
776         * src/Makefile.in: Regenerate.
777         * testsuite/Makefile.in: Regenerate.
779 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
781         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
782         gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
783         Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
784         * libdruntime/Makefile.in: Regenerate.
785         * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
786         use platform independant section function names.
787         * libdruntime/gcc/sections/elf_shared.d: Renamed to...
788         * libdruntime/gcc/sections/elf.d: ...this.  Mangle functions for
789         core.thread interface as if they come from the gcc.sections module.
790         * libdruntime/gcc/sections/package.d: Update public imports, declare
791         functions for core.thread interface.
792         * libdruntime/gcc/sections/android.d: Removed.
793         * libdruntime/gcc/sections/osx.d: Removed.
794         * libdruntime/gcc/sections/win32.d: Removed.
795         * libdruntime/gcc/sections/win64.d: Removed.
796         * libdruntime/gcc/sections/common.d: New file.
797         * libdruntime/gcc/sections/macho.d: New file.
798         * libdruntime/gcc/sections/pecoff.d: New file.
800 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
802         * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
803         -static-libphobos.
804         * testsuite/libphobos.phobos/phobos.exp: Likewise.
806 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
808         * testsuite/libphobos.druntime/druntime.exp: Remove
809         is-effective-target static.
810         * testsuite/libphobos.phobos/phobos.exp: Likewise.
812 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
814         PR d/99812
815         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
816         -fno-moduleinfo flag to dg-runtest.
817         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
819 2021-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
821         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
822         gcc/attributes.d.
823         * libdruntime/Makefile.in: Regenerate.
824         * libdruntime/gcc/attribute.d: Deprecate module, publicly import
825         gcc.attributes.
826         * libdruntime/gcc/deh.d: Update imports.
827         * libdruntime/gcc/attributes.d: New file.
829 2021-04-06  Iain Buclaw  <ibuclaw@gdcproject.org>
831         * libdruntime/MERGE: Merge upstream druntime 1134b710.
833 2021-04-03  Iain Buclaw  <ibuclaw@gdcproject.org>
835         * libdruntime/MERGE: Merge upstream druntime 483bc129.
836         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
837         core/sys/darwin/fcntl.d.
838         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
839         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
840         * libdruntime/Makefile.in: Regenerate.
841         * src/MERGE: Merge upstream phobos f89dc217a.
842         * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
843         * src/Makefile.in: Regenerate.
844         * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
845         * testsuite/libphobos.exceptions/line_trace.d: Likewise.
847 2021-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
849         * Makefile.in: Regenerate.
850         * configure: Regenerate.
851         * configure.ac: Substitute enable_shared, enable_static, and
852         phobos_lt_pic_flag.
853         * libdruntime/Makefile.am (AM_DFLAGS): Replace
854         phobos_compiler_pic_flag with phobos_lt_pic_flags, and
855         phobos_compiler_shared_flag.
856         * libdruntime/Makefile.in: Regenerate.
857         * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
858         with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
859         * src/Makefile.in: Regenerate.
860         * testsuite/Makefile.in: Regenerate.
861         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
862         -fversion=Shared and -fno-moduleinfo from default extra test flags.
863         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
864         * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
865         --gdcflags.
867 2021-02-04  Iain Buclaw  <ibuclaw@gdcproject.org>
869         PR d/98910
870         * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
871         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
872         * libdruntime/Makefile.in: Regenerate.
873         * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
875 2021-02-03  Iain Buclaw  <ibuclaw@gdcproject.org>
877         PR d/98910
878         * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
879         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
880         core/internal/attributes.d
881         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
882         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
883         core/sys/darwin/sys/sysctl.d.
884         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
885         core/sys/dragonflybsd/stdlib.d, and
886         core/sys/dragonflybsd/sys/sysctl.d.
887         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
888         core/sys/freebsd/sys/sysctl.d.
889         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
890         core/sys/netbsd/sys/sysctl.d.
891         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
892         core/sys/openbsd/sys/sysctl.d.
893         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
894         * libdruntime/Makefile.in: Regenerate.
895         * src/MERGE: Merge upstream phobos 9d575282e.
897 2021-01-30  Iain Buclaw  <ibuclaw@gdcproject.org>
899         * Makefile.in: Regenerate.
900         * configure: Regenerate.
901         * libdruntime/MERGE: Merge upstream druntime e4aae28e.
902         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
903         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
904         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
905         core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
906         core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
907         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
908         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
909         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
910         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
911         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
912         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
913         core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
914         core/sys/posix/strings.d.
915         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
916         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
917         and core/sys/windows/stdc/time.d
918         * libdruntime/Makefile.in: Regenerate.
919         * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
920         * testsuite/libphobos.thread/fiber_guard_page.d: Use
921         __traits(getMember) to get internal fields.
923 2021-01-26  Iain Buclaw  <ibuclaw@gdcproject.org>
925         * src/MERGE: Merge upstream phobos 3dd5df686.
926         * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
927         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
928         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
930 2021-01-23  Iain Buclaw  <ibuclaw@gdcproject.org>
932         PR d/98806
933         * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
934         for MIPS32 and MIPS64.
935         (getDependencies): Adjust dlpi_addr on MIPS_Any.
937 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
939         * configure: Re-generate.
941 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
943         PR target/97865
944         * configure: Regenerate.
946 2020-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
948         PR d/87818
949         * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
950         supported targets.
952 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
954         PR d/98025
955         * Makefile.in: Regenerate.
956         * configure: Regenerate.
957         * configure.ac (DCFG_ENABLE_CET): Substitute.
958         * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
959         * libdruntime/Makefile.in: Regenerate.
960         * libdruntime/core/thread.d: Import gcc.config.
961         (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
962         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
963         * src/Makefile.in: Regenerate.
964         * testsuite/Makefile.in: Regenerate.
966 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
968         * libdruntime/MERGE: Merge upstream druntime d37ef985.
969         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
970         core/sys/freebsd/config.d
971         * libdruntime/Makefile.in: Regenerate.
973 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
975         * src/MERGE: Merge upstream phobos 38873fe6e.
977 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
979         * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
981 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
983         * configure.tgt: Add *-*-dragonfly* as a supported target.
984         * configure: Regenerate.
985         * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
986         target.
988 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
990         * src/MERGE: Merge upstream phobos 7948e0967.
992 2020-11-13  Iain Buclaw  <ibuclaw@gdcproject.org>
994         * configure: Regenerate.
995         * configure.ac (libtool_VERSION): Update to 2:0.0.
997 2020-10-27  Iain Buclaw  <ibuclaw@gdcproject.org>
999         * libdruntime/MERGE: Merge upstream druntime 58560d51.
1001 2020-10-12  Maciej W. Rozycki  <macro@linux-mips.org>
1003         * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
1004         Use L.D and S.D generic assembly instructions rather than LDC1
1005         and SDC1 MIPS II hardware instructions.
1007 2020-10-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1009         * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
1011 2020-09-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1013         PR d/95680
1014         PR d/97007
1015         * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
1016         * Makefile.in: Regenerate.
1017         * configure: Regenerate.
1018         * configure.ac (DCFG_ENABLE_CET): Remove substitution.
1019         (CET_DFLAGS): Substitute.
1020         * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
1021         (AM_CFLAGS): Add $(CET_FLAGS).
1022         (AM_CCASFLAGS): Likewise.
1023         * libdruntime/Makefile.in: Regenerate.
1024         * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
1025         condition with `version (CET)'.
1026         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
1027         * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
1028         (AM_CFLAGS): Add $(CET_FLAGS).
1029         * src/Makefile.in: Regenerate.
1030         * testsuite/Makefile.in: Regenerate.
1031         * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
1033 2020-09-09  H.J. Lu  <hjl.tools@gmail.com>
1035         PR d/95680
1036         * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
1037         generate the CET marker for -fcf-protection.
1039 2020-09-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1041         PR d/95680
1042         * Makefile.in: Regenerate.
1043         * configure: Regenerate.
1044         * configure.ac (DCFG_ENABLE_CET): Substitute.
1045         * libdruntime/Makefile.in: Regenerate.
1046         * libdruntime/config/x86/switchcontext.S: Remove CET support code.
1047         * libdruntime/core/thread.d: Import gcc.config.  Don't set version
1048         AsmExternal when GNU_Enable_CET is true.
1049         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
1050         * src/Makefile.in: Regenerate.
1051         * testsuite/Makefile.in: Regenerate.
1053 2020-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1055         * libdruntime/MERGE: Merge upstream druntime d05ebaad.
1056         * src/MERGE: Merge upstream phobos 021ae0df7.
1057         * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
1059 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
1061         PR bootstrap/95413
1062         * configure: Regenerated.
1064 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
1066         PR bootstrap/95147
1067         * configure: Regenerated.
1069 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1071         * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
1072         __CET__ is defined.
1073         (_CET_ENDBR): New.  Define if __CET__ is not defined.
1074         (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
1076 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1078         * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
1079         * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
1080         * Makefile.in: Regenerated.
1081         * aclocal.m4: Likewise.
1082         * configure.ac: Likewise.
1084 2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
1086         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
1087         config/powerpc/switchcontext.S
1088         * libdruntime/Makefile.in: Regenerate.
1089         * libdruntime/config/powerpc/callwithstack.S: Remove.
1090         * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
1091         fiber_switchContext.
1092         * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
1093         * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
1094         same as stackSize.
1096 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
1098         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
1099         Fix KERNEL_VERSION condition.
1101 2020-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1103         PR d/94825
1104         * configure: Regenerate.
1105         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
1106         switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
1107         * libdruntime/Makefile.in: Regenerate.
1108         * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
1109         * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
1110         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
1111         for all powerpc biarchs.  Remove DRUNTIME_CPU_POWER64 conditional.
1113 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1115         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
1116         core/sys/linux/sys/netinet/tcp.d.
1117         * libdruntime/Makefile.in: Regenerate.
1119 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
1121         * configure.tgt: Add hppa-*-linux* as a supported target.
1123 2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
1125         * configure: Regenerate.
1126         * configure.tgt: Add power*-*-linux* as a supported target, only
1127         building libdruntime.
1128         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
1129         and powerpc64le target cpus.
1131 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
1132             Iain Buclaw  <ibuclaw@gdcproject.org>
1134         * configure: Regenerate.
1135         * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
1136         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
1137         search libraries for swapcontext.
1138         * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
1139         __tls_get_addr on Musl.
1141 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1143         * configure: Regenerate.
1144         * configure.ac: Fix option name for --with-libphobos-druntime-only.
1146 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1148         * configure: Regenerate.
1149         * configure.ac: Remove DRUNTIME_GC.
1151 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
1153         PR d/94304
1154         * configure: Regenerate.
1155         * configure.ac: Add --with-libphobos-druntime-only option and the
1156         conditional ENABLE_LIBDRUNTIME_ONLY.
1157         * configure.tgt: Define LIBDRUNTIME_ONLY.
1158         * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
1159         * src/Makefile.in: Regenerate.
1160         * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
1162 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
1164         * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
1165         not d_runtime_has_std_library.
1166         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
1168 2020-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1170         * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
1172 2020-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1174         * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
1175         (libgphobos_la_LINK): Move to src/Makefile.am
1176         * libdruntime/Makefile.am: Add libgdruntime_convenience library.
1177         * libdruntime/Makefile.in: Regenerate.
1178         * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
1179         library.
1180         (libgphobos_la_DEPENDENCIES): Likewise.
1181         * src/Makefile.in: Regenerate.
1182         * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
1183         * testsuite/testsuite_flags.in: Likewise.
1185 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1187         * configure: Regenerate.
1188         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
1189         DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
1190         (DRUNTIME_DSOURCES): Add gc/*.d sources.
1191         (DRUNTIME_DSOURCES_GC): Remove.
1192         (DRUNTIME_DSOURCES_GCSTUB): Remove.
1193         * libdruntime/Makefile.in: Regenerate.
1194         * libdruntime/gcstub/gc.d: Remove.
1195         * m4/druntime.m4 (DRUNTIME_GC): Remove.
1197 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1199         PR d/94305
1200         * Makefile.in: Regenerate.
1201         * configure: Regenerate.
1202         * configure.ac: Add --enable-libphobos-checking and substitute
1203         CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
1204         * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
1205         * libdruntime/Makefile.in: Regenerate.
1206         * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
1207         * src/Makefile.in: Regenerate.
1208         * testsuite/Makefile.in: Regenerate.
1209         * testsuite/testsuite_flags.in: Add -fno-release -funittest to
1210         --gdcflags.
1212 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
1214         * configure: Regenerate.
1215         * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
1216         * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
1218 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1220         * configure: Regenerate.
1221         * configure.ac: Remove DRUNTIME_OS_UNIX.
1222         * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
1223         DRUNTIME_OS_POSIX is true.
1224         * libdruntime/Makefile.in: Regenerate.
1225         * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
1226         logic to...
1227         (DRUNTIME_OS_SOURCES): ...here.  Rename conditional to
1228         DRUNTIME_OS_POSIX.
1230 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
1232         * Makefile.in: Regenerate.
1233         * configure: Regenerate.
1234         * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
1235         * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
1236         * libdruntime/Makefile.in: Regenerate.
1237         * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
1238         * src/Makefile.in: Regenerate.
1239         * testsuite/Makefile.in: Regenerate.
1240         * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
1242 2020-04-07  Robin Dapp  <rdapp@linux.ibm.com>
1243             Stefan Liebler  <stli@linux.ibm.com>
1245         * configure: Regenerate.
1246         * libdruntime/Makefile.am: Add s390x and s390.
1247         * libdruntime/Makefile.in: Regenerate.
1248         * libdruntime/config/s390/get_tls_offset.S: New file.
1249         * libdruntime/config/systemz/get_tls_offset.S: New file.
1250         * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
1251         * m4/druntime/cpu.m4: Add s390x and s390.
1253 2020-04-07  Stefan Liebler  <stli@linux.ibm.com>
1255         * libdruntime/core/sys/posix/signal.d:
1256         Add struct sigaction_t for SystemZ.
1258 2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1260         PR d/92792
1261         * Makefile.in: Regenerate.
1262         * configure: Regenerate.
1263         * configure.ac (libtool_VERSION): Reset to 1:0:0.
1264         * libdruntime/Makefile.in: Regenerate.
1266 2020-02-17  Martin Liska  <mliska@suse.cz>
1268         PR other/93756
1269         * src/std/algorithm/iteration.d: Fix typo.
1271 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
1273         * m4/druntime.m4: Handle `--with-toolexeclibdir='.
1274         * m4/Makefile.in: Regenerate.
1275         * libdruntime/Makefile.in: Regenerate.
1276         * src/Makefile.in: Regenerate.
1277         * testsuite/Makefile.in: Regenerate.
1278         * Makefile.in: Regenerate.
1279         * aclocal.m4: Regenerate.
1280         * configure: Regenerate.
1282 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
1284         Update copyright years.
1286 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
1288         * configure: Regenerate.
1290 2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1292         * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
1293         dirs to the ld_library_path var.
1295 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1297         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
1298         core/sys/bionic/string.d.
1299         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
1300         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
1301         core/sys/dragonflybsd/sys/socket.d.
1302         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
1303         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
1304         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
1305         core/sys/netbsd/sys/featuretest.d.
1306         * libdruntime/Makefile.in: Regenerate.
1308 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1310         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
1311         core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
1312         core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
1313         core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
1314         core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
1315         * libdruntime/Makefile.in: Regenerate.
1317 2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1319         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
1320         relax=transtls if linker supports it.
1321         * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
1322         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
1323         mark supported with either gld or ld -z relax=transtls.
1324         * configure: Regenerate.
1326 2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
1328         * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
1329         (IeeeFlags.resetIeeeFlags): Likewise.
1330         (FloatingPointControl.getControlState): Likewise.
1331         (FloatingPointControl.setControlState): Likewise.
1333 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1335         PR d/90250
1336         * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
1337         _tlsRanges in every startup thread.
1338         * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
1339         * testsuite/libphobos.thread/tlsgc_sections.d: New test.
1341 2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1343         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
1344         * configure: Regenerate.
1346 2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
1348         * libdruntime/Makefile.am: Add emutls and gthread files.
1349         * libdruntime/Makefile.in: Regenerate.
1350         * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
1351         * libdruntime/gcc/gthread.d: New file.
1352         * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
1353         * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
1355 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1357         * testsuite/Makefile.am: Set PWD_COMMAND.
1358         * testsuite/Makefile.in: Regenerate.
1360 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
1362         PR d/90086
1363         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
1364         * configure.ac: Use it.
1365         * configure: Regenerate.
1366         * libdruntime/Makefile.am: Add new config sources to
1367         DRUNTIME_SOURCES_CONFIGURED.
1368         * libdruntime/Makefile.in: Regenerate.
1369         * libdruntime/config/aarch64/switchcontext.S: New file.
1370         * libdruntime/config/arm/switchcontext.S: New file.
1371         * libdruntime/config/common/threadasm.S: New file.
1372         * libdruntime/config/mingw/switchcontext.S: New file.
1373         * libdruntime/config/mips/switchcontext.S: New file.
1374         * libdruntime/config/powerpc/switchcontext.S: New file.
1375         * libdruntime/config/powerpc64/callwithstack.S: New file.
1376         * libdruntime/config/x86/switchcontext.S: New file.
1377         * libdruntime/core/threadasm.S: Remove.
1379 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1381         PR d/89432
1382         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
1383         New proc.
1384         * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
1385         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
1386         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
1388 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1390         PR d/88654
1391         * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
1392         libphobos_skipped_test_p before running test.
1393         (libphobos-dg-prune): New proc.
1394         (libphobos_init): Set libphobos_skip_tests.
1395         (libphobos_skipped_test_p): New proc.
1396         (check_effective_target_libcurl_available): New proc.
1397         * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
1398         not found.
1399         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
1401 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1403         PR d/88431
1404         * configure: Regenerate.
1405         * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
1406         dependencies on libphobos.
1407         (lt_simple_link_test_code): Likewise.
1408         (GDCFLAGS): Don't override for D compiler tests.
1410 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
1412         * configure.tgt: Add aarch64*-*-linux* as a supported target.
1414 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
1415             Robin Dapp  <rdapp@linux.ibm.com>
1417         * configure.tgt: Add s390*-linux* as a supported target.
1418         * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
1419         (__tls_get_addr_internal): Declare.
1420         (TLS_DTV_OFFSET): Define as zero on SystemZ.
1421         (getTLSRange): Support getting TLS on SystemZ.
1422         * testsuite/libphobos.typeinfo/struct-align.d: New test.
1424 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
1426         * configure.tgt: Add linux/riscv as supported target.
1427         * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
1428         dlpi_addr on RISCV32 and RISCV64.
1429         * src/std/math.d: Add IEEE FPU control support for RISC-V.
1431 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
1432             Bernd Edlinger  <bernd.edlinger@hotmail.de>
1433             Jakub Jelinek  <jakub@redhat.com>
1435         PR target/89093
1436         * libdruntime/gcc/deh.d: Import gcc.attribute.
1437         (personality_fn_attributes): New enum.
1438         (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
1439         Add @personality_fn_attributes.
1441 2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
1443         PR d/89293
1444         * libdruntime/core/atomic.d (casImpl): Remove static assert for
1445         GNU_Have_Atomics, add static path to handle missing atomic support.
1446         (atomicLoad): Likewise.
1447         (atomicStore): Likewise.
1448         (atomicFence):  Likewise.
1449         (atomicMutexHandle, AtomicMutex): Declare types.
1450         (_getAtomicMutex): New function.
1451         (getAtomicMutex): Declare.
1453 2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
1455         * config.h.in: Regenerate.
1456         * configure: Regenerate.
1457         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
1458         CPPFLAGS correctly for backtrace support test.
1460 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1462         * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
1463         Set to yes explicitly.
1464         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
1465         * configure.ac: Handle --enable-libphobos.
1466         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
1467         with gas.
1468         (ENABLE_LIBPHOBOS): New conditional.
1469         * configure: Regenerate.
1470         * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
1471         * Makefile.in: Regenerate.
1473 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1474             Iain Buclaw  <ibuclaw@gdcproject.org>
1476         PR d/88150
1477         * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
1478         * configure.ac: Use it.
1479         Call AC_USE_SYSTEM_EXTENSIONS.
1480         * configure: Regenerate.
1481         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1482         testsuite/Makefile.in: Regenerate.
1483         * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
1484         * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
1485         (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
1486         dlpi_tls_modid.
1487         [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
1488         Otherwise clear pdso._tlsMod, pdso._tlsSize.
1489         (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
1491 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1493         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
1494         * configure.ac: Call it.
1495         * configure: Regenerate.
1496         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1497         testsuite/Makefile.in: Regenerate.
1498         * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
1500 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1502         PR d/88150
1503         * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
1504         to true.
1505         Import core.sys.solaris.dlfcn, core.sys.solaris.link,
1506         core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
1507         (dummy_ref): Declare.
1508         (initSections): Initialize dummy_ref.
1509         (getDependencies): Set strtab.
1510         (handleForName): Don't dlclose handle.
1511         (findDSOInfoForAddr): Set IterateManually.
1512         (getprogname): Declare.
1513         (progname): Use it.
1514         * libdruntime/gcc/sections/package.d [Solaris]: Import
1515         gcc.sections.elf_shared instead of gcc.sections.solaris.
1516         * libdruntime/gcc/sections/solaris.d: Remove.
1517         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
1518         gcc/sections/solaris.d.
1519         * libdruntime/Makefile.in: Regenerate.
1521 2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1523         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
1524         (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
1525         * libdruntime/Makefile.in: Regenerate.
1526         * libdruntime/gcc/sections/android.d: New file.
1527         * libdruntime/gcc/sections/elf_shared.d: New file.
1528         * libdruntime/gcc/sections/osx.d: New file.
1529         * libdruntime/gcc/sections/package.d: New file.
1530         * libdruntime/gcc/sections/solaris.d: New file.
1531         * libdruntime/gcc/sections/win32.d: New file.
1532         * libdruntime/gcc/sections/win64.d: New file.
1533         * libdruntime/rt/bss_section.c: Remove.
1534         * libdruntime/rt/sections.d: Publicly import gcc.sections.
1535         * libdruntime/rt/sections_android.d: Remove.
1536         * libdruntime/rt/sections_elf_shared.d: Remove.
1537         * libdruntime/rt/sections_osx.d: Remove.
1538         * libdruntime/rt/sections_solaris.d: Remove.
1539         * libdruntime/rt/sections_win32.d: Remove.
1540         * libdruntime/rt/sections_win64.d: Remove.
1542 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1544         * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
1545         * configure: Regenerate.
1546         * libdruntime/Makefile.in: Regenerate.
1548 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1550         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
1551         libz_convenience.a if not using system zlib.
1552         * Makefile.in: Regenerate.
1553         * configure: Regenerate.
1554         * libdruntime/Makefile.in: Regenerate.
1555         * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
1556         * src/Makefile.in: Regenerate.
1557         * testsuite/Makefile.in: Regenerate.
1559 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1561         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1562         (RUNTEST): Remove variable.
1563         (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
1564         check_p_numbers1, check_p_numbers2, check_p_numbers3,
1565         check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
1566         check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
1567         (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
1568         rules written so that all the *.exp files are ran parallelized.
1569         (CLEANFILES): Add *.exe, *.o, and site.exp.
1570         * testsuite/Makefile.in: Regenerate.
1572 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1574         PR d/89255
1575         * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
1576         * configure: Regenerate.
1577         * d_rules.am (%.t.lo, %.t.o): Remove rules.
1578         (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
1579         libgphobos_t_la_LINK): Remove variables.
1580         * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
1581         DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1582         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1583         unittest_static_LDFLAGS, unittest_static_LDADD,
1584         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1585         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1586         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1587         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1588         unittest_LDADD): Remove variables.
1589         (clean-local): Remove rule.
1590         * libdruntime/Makefile.in: Regenerate.
1591         * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
1592         PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1593         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1594         unittest_static_LDFLAGS, unittest_static_LDADD,
1595         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1596         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1597         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1598         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1599         unittest_LDADD): Remove variables.
1600         (clean-local): Remove rule.
1601         * src/Makefile.in: Regenerate.
1602         * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
1603         (libphobos_init): Set libphobos_test_name.
1604         (libphobos-dg-test): Override name if libphobos_test_name is set.
1605         (filter_libphobos_unittests): New proc.
1606         * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
1607         * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
1608         * testsuite/libphobos.druntime/druntime.exp: New file.
1609         * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
1610         * testsuite/libphobos.phobos/phobos.exp: New file.
1611         * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
1612         * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
1613         * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
1614         * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
1615         * testsuite/libphobos.thread/thread.exp: Likewise.
1616         * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
1617         * testsuite/libphobos.unittests/unittests.exp: Remove.
1618         * testsuite/test_runner.d: Remove.
1619         * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
1621 2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
1623         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
1624         core/sys/darwin/crt_externs.d.
1625         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
1626         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
1627         * libdruntime/Makefile.in: Regenerate.
1629 2019-03-23  Johannes Pfau  <johannespfau@gmail.com>
1631         * configure.ac: Update autotool version comment.
1633 2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1635         * src/Makefile.am: Avoid the -D option which is not available
1636         with the install-sh fallback.  Use $(MKDIR_P) instead.
1637         * libdruntime/Makefile.am: Likewise.
1638         * src/Makefile.in: Regenerated.
1639         * libdruntime/Makefile.in: Regenerated.
1641 2019-02-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1643         * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
1644         [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
1645         RTLD_NOLOAD from core.sys.*.dlfcn.
1646         Assert RTLD_NOLOAD is available.
1648 2019-02-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1650         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
1651         * configure.ac: Invoke it.
1652         * configure: Regenerate.
1654 2019-02-19  Johannes Pfau  <johannespfau@gmail.com>
1656         PR d/88127
1657         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
1658         * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
1659         * configure: Regenerate
1660         * Makefile.in: Regenerate
1661         * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
1662         * libdruntime/Makefile.in: Regenerate.
1663         * src/Makefile.in: Regenerate.
1664         * testsuite/Makefile.in: Regenerate.
1666 2019-02-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1668         * testsuite/lib/libphobos-dg.exp: Tabify.
1669         * testsuite/lib/libphobos.exp: Likewise.
1670         * testsuite/libphobos.cycles/cycles.exp: Likewise.
1671         * testsuite/libphobos.shared/shared.exp: Likewise.
1672         * testsuite/libphobos.unittests/unittests.exp: Likewise.
1674 2019-02-14  Maya Rashish  <coypu@sdf.org>
1676         * configure.tgt: Add netbsd/x86 as supported target.
1678 2019-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1680         PR d/87864
1681         * configure.ac (DRTSTUFF_SPEC): New variable.
1682         Substitute it.
1683         * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1684         New automake conditional.
1685         * configure: Regenerate.
1686         * libdruntime/gcc/drtstuff.c: New file.
1687         * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1688         (DRTSTUFF, toolexeclib_DATA): New variables.
1689         (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1690         (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1691         Add -dstartfiles -B../src -Bgcc.
1692         (libgdruntime_la_DEPENDENCIES): New variable.
1693         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1694         (libgdruntime_t_la_LDFLAGS): Likewise.
1695         (unittest_LDFLAGS): Likewise.
1696         * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1697         -Xcompiler.
1698         Add -dstartfiles -B../libdruntime/gcc.
1699         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1700         (libgphobos_t_la_LDFLAGS): Likewise.
1701         (unittest_LDFLAGS): Likewise.
1702         * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1703         * Makefile.in, testsuite/Makefile.in: Regenerate.
1704         * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1705         assert.
1706         * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1707         * src/drtstuff.spec: New file.
1708         * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1709         (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1710         -nophoboslib.
1711         * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1712         -B${BUILD_DIR}/libdruntime/gcc.
1714 2019-02-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1716         * libdruntime/core/runtime.d (defaultTraceHandler): Give
1717         UnwindBacktrace handler precedence over backtrace.
1719 2019-02-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1721         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1722         * libdruntime/Makefile.in: Rebuild.
1723         * testsuite/libphobos.aa/aa.exp: New file.
1724         * testsuite/libphobos.aa/test_aa.d: New test.
1725         * testsuite/libphobos.hash/hash.exp: New file.
1726         * testsuite/libphobos.hash/test_hash.d: New test.
1728 2019-01-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1730         * README.gcc: New file.
1732 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1734         Update copyright years.
1736 2018-12-14  Iain Buclaw  <ibuclaw@gdcproject.org>
1738         * src/std/internal/digest: Remove empty directory.
1740 2018-12-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1742         * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1743         * Makefile.in: Regenerate.
1745 2018-11-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1747         * Makefile.in: Rebuild.
1748         * configure: Rebuild.
1749         * configure.ac (DRUNTIME_SOVERSION): Remove.
1750         (PHOBOS_SOVERSION): Remove.
1751         (libtool_VERSION): Add.
1752         * libdruntime/Makefile.am: Use libtool_VERSION.
1753         * libdruntime/Makefile.in: Rebuild.
1754         * src/Makefile.am: Use libtool_VERSION.
1755         * src/Makefile.in: Rebuild.
1756         * testsuite/Makefile.in: Rebuild.
1758 2018-11-22  Johannes Pfau  <johannespfau@gmail.com>
1760         PR d/87824
1761         * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1762         library for multilib builds.
1764 2018-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1766         * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1767         std.internal.math.biguintx86 modules.
1768         * src/Makefile.in: Rebuild.
1769         * src/std/internal/digest/sha_SSSE3.d: Remove.
1770         * src/std/internal/math/biguintx86.d: Remove.
1772 2018-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
1774         PR d/87827
1775         * Makefile.in: Rebuild.
1776         * configure: Rebuild.
1777         * configure.ac: Properly set MULTISUBDIR.
1778         * d_rules.am: Set toolexecdir and toolexeclibdir.
1779         * libdruntime/Makefile.in: Rebuild.
1780         * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1781         --enable-version-specific-runtime-libs.
1782         * src/Makefile.in: Rebuild.
1783         * testsuite/Makefile.in: Rebuild.
1785 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1787         PR bootstrap/82856
1788         * Makefile.am: Include multilib.am.
1789         * configure.ac: Remove AC_PREREQ.  Use -Wno-override in
1790         AM_INIT_AUTOMAKE call.
1791         * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1792         * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1793         * testsuite/Makefile.am (RUNTEST): Remove quotes.
1794         * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1795         src/Makefile.in, testsuite/Makefile.in: Regenerate.
1797 2018-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
1799         PR bootstrap/87789
1800         PR d/87818
1801         PR d/87819
1802         * configure.tgt: New file.
1804 2018-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1806         * Makefile.am: New file.
1807         * Makefile.in: New file.
1808         * acinclude.m4: New file.
1809         * aclocal.m4: New file.
1810         * config.h.in: New file.
1811         * configure: New file.
1812         * configure.ac: New file.
1813         * d_rules.am: New file.
1814         * libdruntime/Makefile.am: New file.
1815         * libdruntime/Makefile.in: New file.
1816         * libdruntime/__entrypoint.di: New file.
1817         * libdruntime/__main.di: New file.
1818         * libdruntime/gcc/attribute.d: New file.
1819         * libdruntime/gcc/backtrace.d: New file.
1820         * libdruntime/gcc/builtins.d: New file.
1821         * libdruntime/gcc/config.d.in: New file.
1822         * libdruntime/gcc/deh.d: New file.
1823         * libdruntime/gcc/libbacktrace.d.in: New file.
1824         * libdruntime/gcc/unwind/arm.d: New file.
1825         * libdruntime/gcc/unwind/arm_common.d: New file.
1826         * libdruntime/gcc/unwind/c6x.d: New file.
1827         * libdruntime/gcc/unwind/generic.d: New file.
1828         * libdruntime/gcc/unwind/package.d: New file.
1829         * libdruntime/gcc/unwind/pe.d: New file.
1830         * m4/autoconf.m4: New file.
1831         * m4/druntime.m4: New file.
1832         * m4/druntime/cpu.m4: New file.
1833         * m4/druntime/libraries.m4: New file.
1834         * m4/druntime/os.m4: New file.
1835         * m4/gcc_support.m4: New file.
1836         * m4/gdc.m4: New file.
1837         * m4/libtool.m4: New file.
1838         * src/Makefile.am: New file.
1839         * src/Makefile.in: New file.
1840         * src/libgphobos.spec.in: New file.
1841         * testsuite/Makefile.am: New file.
1842         * testsuite/Makefile.in: New file.
1843         * testsuite/config/default.exp: New file.
1844         * testsuite/lib/libphobos-dg.exp: New file.
1845         * testsuite/lib/libphobos.exp: New file.
1846         * testsuite/testsuite_flags.in: New file.
1849 Copyright (C) 2018-2024 Free Software Foundation, Inc.
1851 Copying and distribution of this file, with or without modification,
1852 are permitted in any medium without royalty provided the copyright
1853 notice and this notice are preserved.