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