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