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