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