For obj-c stage-final re-use the checksum from the previous stage
[official-gcc.git] / libphobos / ChangeLog
blob7b57d92f64a1f479b7bd298ec0d9adb03bd3ccc5
1 2021-05-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
3         * src/std/process.d (unittest): Remove tmpname on exit.
4         * src/MERGE: Merge upstream phobos 63f4caa90.
6 2021-05-13  Iain Buclaw  <ibuclaw@gdcproject.org>
8         * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
10 2021-05-10  Iain Buclaw  <ibuclaw@gdcproject.org>
12         * src/MERGE: Merge upstream phobos 32cfe9b61.
14 2021-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
16         * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
17         generate PPC and PPC64 asm implementations, and conditionally remove
18         PPC register names on non-Darwin targets.
20 2021-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
22         PR d/98584
23         * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
24         read_encoded_value.
25         (actionTableLookup): Update calls to read_sleb128 and
26         read_encoded_value_with_base.
27         * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
28         (read_sleb128): Update signature.
29         (read_unaligned): New function.
30         (read_encoded_value_with_base): Update signature.  Call read_unaligned
31         instead of unsafe pointer dereferencing.
32         (read_encoded_value): Update signature.
34 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
36         PR d/98494
37         * libdruntime/MERGE: Merge upstream druntime 89f870b7.
38         * src/MERGE: Merge upstream phobos e6907ff3e.
40 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
42         PR d/98058
43         * configure: Regenerate.
44         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
45         core/sys/darwin/config.d
46         * libdruntime/Makefile.in: Regenerate.
47         * libdruntime/config/powerpc/switchcontext.S: Implement
48         fiber_switchContext for __MACH__.
49         * libdruntime/config/x86/switchcontext.S: Likewise.
50         * libdruntime/core/sys/darwin/config.d: New file.
51         * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
52         (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
53         * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
54         assembler implementation for X86, X86_64, PPC, and PPC64.
55         * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
56         noinline.
57         * libdruntime/gcc/deh.d (FuncTable): Remove definition.
58         * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
59         bracket symbol on darwin* targets.
60         * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
61         support ucontext-based Fibers.
63 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
65         PR d/99794
66         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
67         config/mingw/msvc.c on DRUNTIME_OS_MINGW.
68         * libdruntime/Makefile.in: Regenerate.
69         * libdruntime/config/mingw/msvc.c: New file.
70         * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
71         function definition.
72         * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
73         _GCC_specific_handler.
74         * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
75         * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
76         declaration.
77         * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
78         (rt_loadLibraryW): Remove function.
79         (initLibrary): Remove function.
80         (rt_unloadLibrary): Remove function.
82 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
84         PR d/99691
85         * configure: Regenerate.
86         * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
87         * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
88         OpenBSD platforms.
89         * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
90         (linkMapForHandle): Implement for OpenBSD.
91         (exeLinkMap): Remove.
92         (getDependencies): Adjust dlpi_addr on OpenBSD.
93         (handleForName): Implement for OpenBSD.
94         (IterateManually): Define on OpenBSD.
95         * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
96         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
97         enable_libatomic.
98         (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
100 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
102         * Makefile.in: Regenerate.
103         * configure: Regenerate.
104         * configure.ac: Call DRUNTIME_SECTION_FLAGS.
105         * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
106         * libdruntime/Makefile.in: Regenerate.
107         * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
108         * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
109         * src/Makefile.in: Regenerate.
110         * testsuite/Makefile.in: Regenerate.
112 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
114         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
115         gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
116         Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
117         * libdruntime/Makefile.in: Regenerate.
118         * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
119         use platform independant section function names.
120         * libdruntime/gcc/sections/elf_shared.d: Renamed to...
121         * libdruntime/gcc/sections/elf.d: ...this.  Mangle functions for
122         core.thread interface as if they come from the gcc.sections module.
123         * libdruntime/gcc/sections/package.d: Update public imports, declare
124         functions for core.thread interface.
125         * libdruntime/gcc/sections/android.d: Removed.
126         * libdruntime/gcc/sections/osx.d: Removed.
127         * libdruntime/gcc/sections/win32.d: Removed.
128         * libdruntime/gcc/sections/win64.d: Removed.
129         * libdruntime/gcc/sections/common.d: New file.
130         * libdruntime/gcc/sections/macho.d: New file.
131         * libdruntime/gcc/sections/pecoff.d: New file.
133 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
135         * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
136         -static-libphobos.
137         * testsuite/libphobos.phobos/phobos.exp: Likewise.
139 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
141         * testsuite/libphobos.druntime/druntime.exp: Remove
142         is-effective-target static.
143         * testsuite/libphobos.phobos/phobos.exp: Likewise.
145 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
147         PR d/99812
148         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
149         -fno-moduleinfo flag to dg-runtest.
150         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
152 2021-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
154         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
155           gcc/attributes.d.
156         * libdruntime/Makefile.in: Regenerate.
157         * libdruntime/gcc/attribute.d: Deprecate module, publicly import
158         gcc.attributes.
159         * libdruntime/gcc/deh.d: Update imports.
160         * libdruntime/gcc/attributes.d: New file.
162 2021-04-06  Iain Buclaw  <ibuclaw@gdcproject.org>
164         * libdruntime/MERGE: Merge upstream druntime 1134b710.
166 2021-04-03  Iain Buclaw  <ibuclaw@gdcproject.org>
168         * libdruntime/MERGE: Merge upstream druntime 483bc129.
169         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
170         core/sys/darwin/fcntl.d.
171         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
172         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
173         * libdruntime/Makefile.in: Regenerate.
174         * src/MERGE: Merge upstream phobos f89dc217a.
175         * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
176         * src/Makefile.in: Regenerate.
177         * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
178         * testsuite/libphobos.exceptions/line_trace.d: Likewise.
180 2021-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
182         * Makefile.in: Regenerate.
183         * configure: Regenerate.
184         * configure.ac: Substitute enable_shared, enable_static, and
185         phobos_lt_pic_flag.
186         * libdruntime/Makefile.am (AM_DFLAGS): Replace
187           phobos_compiler_pic_flag with phobos_lt_pic_flags, and
188           phobos_compiler_shared_flag.
189         * libdruntime/Makefile.in: Regenerate.
190         * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
191           with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
192         * src/Makefile.in: Regenerate.
193         * testsuite/Makefile.in: Regenerate.
194         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
195         -fversion=Shared and -fno-moduleinfo from default extra test flags.
196         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
197         * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
198         --gdcflags.
200 2021-02-04  Iain Buclaw  <ibuclaw@gdcproject.org>
202         PR d/98910
203         * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
204         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
205         * libdruntime/Makefile.in: Regenerate.
206         * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
208 2021-02-03  Iain Buclaw  <ibuclaw@gdcproject.org>
210         PR d/98910
211         * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
212         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
213           core/internal/attributes.d
214         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
215         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
216         core/sys/darwin/sys/sysctl.d.
217         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
218         core/sys/dragonflybsd/stdlib.d, and
219         core/sys/dragonflybsd/sys/sysctl.d.
220         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
221         core/sys/freebsd/sys/sysctl.d.
222         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
223         core/sys/netbsd/sys/sysctl.d.
224         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
225         core/sys/openbsd/sys/sysctl.d.
226         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
227         * libdruntime/Makefile.in: Regenerate.
228         * src/MERGE: Merge upstream phobos 9d575282e.
230 2021-01-30  Iain Buclaw  <ibuclaw@gdcproject.org>
232         * Makefile.in: Regenerate.
233         * configure: Regenerate.
234         * libdruntime/MERGE: Merge upstream druntime e4aae28e.
235         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
236         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
237         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
238         core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
239         core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
240         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
241         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
242         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
243         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
244         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
245         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
246         core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
247         core/sys/posix/strings.d.
248         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
249         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
250         and core/sys/windows/stdc/time.d
251         * libdruntime/Makefile.in: Regenerate.
252         * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
253         * testsuite/libphobos.thread/fiber_guard_page.d: Use
254         __traits(getMember) to get internal fields.
256 2021-01-26  Iain Buclaw  <ibuclaw@gdcproject.org>
258         * src/MERGE: Merge upstream phobos 3dd5df686.
259         * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
260         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
261         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
263 2021-01-23  Iain Buclaw  <ibuclaw@gdcproject.org>
265         PR d/98806
266         * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
267         for MIPS32 and MIPS64.
268         (getDependencies): Adjust dlpi_addr on MIPS_Any.
270 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
272         * configure: Re-generate.
274 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
276         PR target/97865
277         * configure: Regenerate.
279 2020-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
281         PR d/87818
282         * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
283         supported targets.
285 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
287         PR d/98025
288         * Makefile.in: Regenerate.
289         * configure: Regenerate.
290         * configure.ac (DCFG_ENABLE_CET): Substitute.
291         * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
292         * libdruntime/Makefile.in: Regenerate.
293         * libdruntime/core/thread.d: Import gcc.config.
294         (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
295         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
296         * src/Makefile.in: Regenerate.
297         * testsuite/Makefile.in: Regenerate.
299 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
301         * libdruntime/MERGE: Merge upstream druntime d37ef985.
302         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
303         core/sys/freebsd/config.d
304         * libdruntime/Makefile.in: Regenerate.
306 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
308         * src/MERGE: Merge upstream phobos 38873fe6e.
310 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
312         * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
314 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
316         * configure.tgt: Add *-*-dragonfly* as a supported target.
317         * configure: Regenerate.
318         * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
319         target.
321 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
323         * src/MERGE: Merge upstream phobos 7948e0967.
325 2020-11-13  Iain Buclaw  <ibuclaw@gdcproject.org>
327         * configure: Regenerate.
328         * configure.ac (libtool_VERSION): Update to 2:0.0.
330 2020-10-27  Iain Buclaw  <ibuclaw@gdcproject.org>
332         * libdruntime/MERGE: Merge upstream druntime 58560d51.
334 2020-10-12  Maciej W. Rozycki  <macro@linux-mips.org>
336         * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
337         Use L.D and S.D generic assembly instructions rather than LDC1
338         and SDC1 MIPS II hardware instructions.
340 2020-10-12  Iain Buclaw  <ibuclaw@gdcproject.org>
342         * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
344 2020-09-10  Iain Buclaw  <ibuclaw@gdcproject.org>
346         PR d/95680
347         PR d/97007
348         * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
349         * Makefile.in: Regenerate.
350         * configure: Regenerate.
351         * configure.ac (DCFG_ENABLE_CET): Remove substitution.
352         (CET_DFLAGS): Substitute.
353         * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
354         (AM_CFLAGS): Add $(CET_FLAGS).
355         (AM_CCASFLAGS): Likewise.
356         * libdruntime/Makefile.in: Regenerate.
357         * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
358         condition with `version (CET)'.
359         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
360         * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
361         (AM_CFLAGS): Add $(CET_FLAGS).
362         * src/Makefile.in: Regenerate.
363         * testsuite/Makefile.in: Regenerate.
364         * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
366 2020-09-09  H.J. Lu  <hjl.tools@gmail.com>
368         PR d/95680
369         * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
370         generate the CET marker for -fcf-protection.
372 2020-09-08  Iain Buclaw  <ibuclaw@gdcproject.org>
374         PR d/95680
375         * Makefile.in: Regenerate.
376         * configure: Regenerate.
377         * configure.ac (DCFG_ENABLE_CET): Substitute.
378         * libdruntime/Makefile.in: Regenerate.
379         * libdruntime/config/x86/switchcontext.S: Remove CET support code.
380         * libdruntime/core/thread.d: Import gcc.config.  Don't set version
381         AsmExternal when GNU_Enable_CET is true.
382         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
383         * src/Makefile.in: Regenerate.
384         * testsuite/Makefile.in: Regenerate.
386 2020-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
388         * libdruntime/MERGE: Merge upstream druntime d05ebaad.
389         * src/MERGE: Merge upstream phobos 021ae0df7.
390         * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
392 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
394         PR bootstrap/95413
395         * configure: Regenerated.
397 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
399         PR bootstrap/95147
400         * configure: Regenerated.
402 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
404         * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
405         __CET__ is defined.
406         (_CET_ENDBR): New.  Define if __CET__ is not defined.
407         (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
409 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
411         * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
412         * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
413         * Makefile.in: Regenerated.
414         * aclocal.m4: Likewise.
415         * configure.ac: Likewise.
417 2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
419         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
420         config/powerpc/switchcontext.S
421         * libdruntime/Makefile.in: Regenerate.
422         * libdruntime/config/powerpc/callwithstack.S: Remove.
423         * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
424         fiber_switchContext.
425         * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
426         * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
427         same as stackSize.
429 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
431         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
432         Fix KERNEL_VERSION condition.
434 2020-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
436         PR d/94825
437         * configure: Regenerate.
438         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
439         switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
440         * libdruntime/Makefile.in: Regenerate.
441         * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
442         * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
443         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
444         for all powerpc biarchs.  Remove DRUNTIME_CPU_POWER64 conditional.
446 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
448         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
449         core/sys/linux/sys/netinet/tcp.d.
450         * libdruntime/Makefile.in: Regenerate.
452 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
454         * configure.tgt: Add hppa-*-linux* as a supported target.
456 2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
458         * configure: Regenerate.
459         * configure.tgt: Add power*-*-linux* as a supported target, only
460         building libdruntime.
461         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
462         and powerpc64le target cpus.
464 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
465             Iain Buclaw  <ibuclaw@gdcproject.org>
467         * configure: Regenerate.
468         * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
469         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
470         search libraries for swapcontext.
471         * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
472         __tls_get_addr on Musl.
474 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
476         * configure: Regenerate.
477         * configure.ac: Fix option name for --with-libphobos-druntime-only.
479 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
481         * configure: Regenerate.
482         * configure.ac: Remove DRUNTIME_GC.
484 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
486         PR d/94304
487         * configure: Regenerate.
488         * configure.ac: Add --with-libphobos-druntime-only option and the
489         conditional ENABLE_LIBDRUNTIME_ONLY.
490         * configure.tgt: Define LIBDRUNTIME_ONLY.
491         * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
492         * src/Makefile.in: Regenerate.
493         * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
495 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
497         * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
498         not d_runtime_has_std_library.
499         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
501 2020-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
503         * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
505 2020-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
507         * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
508         (libgphobos_la_LINK): Move to src/Makefile.am
509         * libdruntime/Makefile.am: Add libgdruntime_convenience library.
510         * libdruntime/Makefile.in: Regenerate.
511         * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
512         library.
513         (libgphobos_la_DEPENDENCIES): Likewise.
514         * src/Makefile.in: Regenerate.
515         * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
516         * testsuite/testsuite_flags.in: Likewise.
518 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
520         * configure: Regenerate.
521         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
522         DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
523         (DRUNTIME_DSOURCES): Add gc/*.d sources.
524         (DRUNTIME_DSOURCES_GC): Remove.
525         (DRUNTIME_DSOURCES_GCSTUB): Remove.
526         * libdruntime/Makefile.in: Regenerate.
527         * libdruntime/gcstub/gc.d: Remove.
528         * m4/druntime.m4 (DRUNTIME_GC): Remove.
530 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
532         PR d/94305
533         * Makefile.in: Regenerate.
534         * configure: Regenerate.
535         * configure.ac: Add --enable-libphobos-checking and substitute
536         CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
537         * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
538         * libdruntime/Makefile.in: Regenerate.
539         * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
540         * src/Makefile.in: Regenerate.
541         * testsuite/Makefile.in: Regenerate.
542         * testsuite/testsuite_flags.in: Add -fno-release -funittest to
543         --gdcflags.
545 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
547         * configure: Regenerate.
548         * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
549         * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
551 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
553         * configure: Regenerate.
554         * configure.ac: Remove DRUNTIME_OS_UNIX.
555         * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
556         DRUNTIME_OS_POSIX is true.
557         * libdruntime/Makefile.in: Regenerate.
558         * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
559         logic to...
560         (DRUNTIME_OS_SOURCES): ...here.  Rename conditional to
561         DRUNTIME_OS_POSIX.
563 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
565         * Makefile.in: Regenerate.
566         * configure: Regenerate.
567         * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
568         * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
569         * libdruntime/Makefile.in: Regenerate.
570         * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
571         * src/Makefile.in: Regenerate.
572         * testsuite/Makefile.in: Regenerate.
573         * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
575 2020-04-07  Robin Dapp  <rdapp@linux.ibm.com>
576             Stefan Liebler  <stli@linux.ibm.com>
578         * configure: Regenerate.
579         * libdruntime/Makefile.am: Add s390x and s390.
580         * libdruntime/Makefile.in: Regenerate.
581         * libdruntime/config/s390/get_tls_offset.S: New file.
582         * libdruntime/config/systemz/get_tls_offset.S: New file.
583         * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
584         * m4/druntime/cpu.m4: Add s390x and s390.
586 2020-04-07  Stefan Liebler  <stli@linux.ibm.com>
588         * libdruntime/core/sys/posix/signal.d:
589         Add struct sigaction_t for SystemZ.
591 2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
593         PR d/92792
594         * Makefile.in: Regenerate.
595         * configure: Regenerate.
596         * configure.ac (libtool_VERSION): Reset to 1:0:0.
597         * libdruntime/Makefile.in: Regenerate.
599 2020-02-17  Martin Liska  <mliska@suse.cz>
601         PR other/93756
602         * src/std/algorithm/iteration.d: Fix typo.
604 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
606         * m4/druntime.m4: Handle `--with-toolexeclibdir='.
607         * m4/Makefile.in: Regenerate.
608         * libdruntime/Makefile.in: Regenerate.
609         * src/Makefile.in: Regenerate.
610         * testsuite/Makefile.in: Regenerate.
611         * Makefile.in: Regenerate.
612         * aclocal.m4: Regenerate.
613         * configure: Regenerate.
615 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
617         Update copyright years.
619 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
621         * configure: Regenerate.
623 2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
625         * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
626         dirs to the ld_library_path var.
628 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
630         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
631         core/sys/bionic/string.d.
632         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
633         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
634         core/sys/dragonflybsd/sys/socket.d.
635         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
636         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
637         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
638         core/sys/netbsd/sys/featuretest.d.
639         * libdruntime/Makefile.in: Regenerate.
641 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
643         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
644         core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
645         core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
646         core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
647         core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
648         * libdruntime/Makefile.in: Regenerate.
650 2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
652         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
653         relax=transtls if linker supports it.
654         * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
655         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
656         mark supported with either gld or ld -z relax=transtls.
657         * configure: Regenerate.
659 2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
661         * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
662         (IeeeFlags.resetIeeeFlags): Likewise.
663         (FloatingPointControl.getControlState): Likewise.
664         (FloatingPointControl.setControlState): Likewise.
666 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
668         PR d/90250
669         * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
670         _tlsRanges in every startup thread.
671         * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
672         * testsuite/libphobos.thread/tlsgc_sections.d: New test.
674 2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
676         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
677         * configure: Regenerate.
679 2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
681         * libdruntime/Makefile.am: Add emutls and gthread files.
682         * libdruntime/Makefile.in: Regenerate.
683         * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
684         * libdruntime/gcc/gthread.d: New file.
685         * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
686         * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
688 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
690         * testsuite/Makefile.am: Set PWD_COMMAND.
691         * testsuite/Makefile.in: Regenerate.
693 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
695         PR d/90086
696         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
697         * configure.ac: Use it.
698         * configure: Regenerate.
699         * libdruntime/Makefile.am: Add new config sources to
700         DRUNTIME_SOURCES_CONFIGURED.
701         * libdruntime/Makefile.in: Regenerate.
702         * libdruntime/config/aarch64/switchcontext.S: New file.
703         * libdruntime/config/arm/switchcontext.S: New file.
704         * libdruntime/config/common/threadasm.S: New file.
705         * libdruntime/config/mingw/switchcontext.S: New file.
706         * libdruntime/config/mips/switchcontext.S: New file.
707         * libdruntime/config/powerpc/switchcontext.S: New file.
708         * libdruntime/config/powerpc64/callwithstack.S: New file.
709         * libdruntime/config/x86/switchcontext.S: New file.
710         * libdruntime/core/threadasm.S: Remove.
712 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
714         PR d/89432
715         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
716         New proc.
717         * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
718         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
719         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
721 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
723         PR d/88654
724         * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
725         libphobos_skipped_test_p before running test.
726         (libphobos-dg-prune): New proc.
727         (libphobos_init): Set libphobos_skip_tests.
728         (libphobos_skipped_test_p): New proc.
729         (check_effective_target_libcurl_available): New proc.
730         * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
731         not found.
732         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
734 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
736         PR d/88431
737         * configure: Regenerate.
738         * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
739         dependencies on libphobos.
740         (lt_simple_link_test_code): Likewise.
741         (GDCFLAGS): Don't override for D compiler tests.
743 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
745         * configure.tgt: Add aarch64*-*-linux* as a supported target.
747 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
748             Robin Dapp  <rdapp@linux.ibm.com>
750         * configure.tgt: Add s390*-linux* as a supported target.
751         * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
752         (__tls_get_addr_internal): Declare.
753         (TLS_DTV_OFFSET): Define as zero on SystemZ.
754         (getTLSRange): Support getting TLS on SystemZ.
755         * testsuite/libphobos.typeinfo/struct-align.d: New test.
757 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
759         * configure.tgt: Add linux/riscv as supported target.
760         * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
761         dlpi_addr on RISCV32 and RISCV64.
762         * src/std/math.d: Add IEEE FPU control support for RISC-V.
764 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
765             Bernd Edlinger  <bernd.edlinger@hotmail.de>
766             Jakub Jelinek  <jakub@redhat.com>
768         PR target/89093
769         * libdruntime/gcc/deh.d: Import gcc.attribute.
770         (personality_fn_attributes): New enum.
771         (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
772         Add @personality_fn_attributes.
774 2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
776         PR d/89293
777         * libdruntime/core/atomic.d (casImpl): Remove static assert for
778         GNU_Have_Atomics, add static path to handle missing atomic support.
779         (atomicLoad): Likewise.
780         (atomicStore): Likewise.
781         (atomicFence):  Likewise.
782         (atomicMutexHandle, AtomicMutex): Declare types.
783         (_getAtomicMutex): New function.
784         (getAtomicMutex): Declare.
786 2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
788         * config.h.in: Regenerate.
789         * configure: Regenerate.
790         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
791         CPPFLAGS correctly for backtrace support test.
793 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
795         * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
796         Set to yes explicitly.
797         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
798         * configure.ac: Handle --enable-libphobos.
799         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
800         with gas.
801         (ENABLE_LIBPHOBOS): New conditional.
802         * configure: Regenerate.
803         * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
804         * Makefile.in: Regenerate.
806 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
807             Iain Buclaw  <ibuclaw@gdcproject.org>
809         PR d/88150
810         * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
811         * configure.ac: Use it.
812         Call AC_USE_SYSTEM_EXTENSIONS.
813         * configure: Regenerate.
814         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
815         testsuite/Makefile.in: Regenerate.
816         * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
817         * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
818         (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
819         dlpi_tls_modid.
820         [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
821         Otherwise clear pdso._tlsMod, pdso._tlsSize.
822         (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
824 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
826         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
827         * configure.ac: Call it.
828         * configure: Regenerate.
829         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
830         testsuite/Makefile.in: Regenerate.
831         * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
833 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
835         PR d/88150
836         * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
837         to true.
838         Import core.sys.solaris.dlfcn, core.sys.solaris.link,
839         core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
840         (dummy_ref): Declare.
841         (initSections): Initialize dummy_ref.
842         (getDependencies): Set strtab.
843         (handleForName): Don't dlclose handle.
844         (findDSOInfoForAddr): Set IterateManually.
845         (getprogname): Declare.
846         (progname): Use it.
847         * libdruntime/gcc/sections/package.d [Solaris]: Import
848         gcc.sections.elf_shared instead of gcc.sections.solaris.
849         * libdruntime/gcc/sections/solaris.d: Remove.
850         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
851         gcc/sections/solaris.d.
852         * libdruntime/Makefile.in: Regenerate.
854 2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
856         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
857         (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
858         * libdruntime/Makefile.in: Regenerate.
859         * libdruntime/gcc/sections/android.d: New file.
860         * libdruntime/gcc/sections/elf_shared.d: New file.
861         * libdruntime/gcc/sections/osx.d: New file.
862         * libdruntime/gcc/sections/package.d: New file.
863         * libdruntime/gcc/sections/solaris.d: New file.
864         * libdruntime/gcc/sections/win32.d: New file.
865         * libdruntime/gcc/sections/win64.d: New file.
866         * libdruntime/rt/bss_section.c: Remove.
867         * libdruntime/rt/sections.d: Publicly import gcc.sections.
868         * libdruntime/rt/sections_android.d: Remove.
869         * libdruntime/rt/sections_elf_shared.d: Remove.
870         * libdruntime/rt/sections_osx.d: Remove.
871         * libdruntime/rt/sections_solaris.d: Remove.
872         * libdruntime/rt/sections_win32.d: Remove.
873         * libdruntime/rt/sections_win64.d: Remove.
875 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
877         * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
878         * configure: Regenerate.
879         * libdruntime/Makefile.in: Regenerate.
881 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
883         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
884         libz_convenience.a if not using system zlib.
885         * Makefile.in: Regenerate.
886         * configure: Regenerate.
887         * libdruntime/Makefile.in: Regenerate.
888         * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
889         * src/Makefile.in: Regenerate.
890         * testsuite/Makefile.in: Regenerate.
892 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
894         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
895         (RUNTEST): Remove variable.
896         (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
897         check_p_numbers1, check_p_numbers2, check_p_numbers3,
898         check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
899         check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
900         (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
901         rules written so that all the *.exp files are ran parallelized.
902         (CLEANFILES): Add *.exe, *.o, and site.exp.
903         * testsuite/Makefile.in: Regenerate.
905 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
907         PR d/89255
908         * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
909         * configure: Regenerate.
910         * d_rules.am (%.t.lo, %.t.o): Remove rules.
911         (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
912         libgphobos_t_la_LINK): Remove variables.
913         * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
914         DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
915         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
916         unittest_static_LDFLAGS, unittest_static_LDADD,
917         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
918         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
919         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
920         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
921         unittest_LDADD): Remove variables.
922         (clean-local): Remove rule.
923         * libdruntime/Makefile.in: Regenerate.
924         * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
925         PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
926         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
927         unittest_static_LDFLAGS, unittest_static_LDADD,
928         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
929         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
930         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
931         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
932         unittest_LDADD): Remove variables.
933         (clean-local): Remove rule.
934         * src/Makefile.in: Regenerate.
935         * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
936         (libphobos_init): Set libphobos_test_name.
937         (libphobos-dg-test): Override name if libphobos_test_name is set.
938         (filter_libphobos_unittests): New proc.
939         * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
940         * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
941         * testsuite/libphobos.druntime/druntime.exp: New file.
942         * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
943         * testsuite/libphobos.phobos/phobos.exp: New file.
944         * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
945         * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
946         * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
947         * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
948         * testsuite/libphobos.thread/thread.exp: Likewise.
949         * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
950         * testsuite/libphobos.unittests/unittests.exp: Remove.
951         * testsuite/test_runner.d: Remove.
952         * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
954 2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
956         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
957         core/sys/darwin/crt_externs.d.
958         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
959         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
960         * libdruntime/Makefile.in: Regenerate.
962 2019-03-23  Johannes Pfau  <johannespfau@gmail.com>
964         * configure.ac: Update autotool version comment.
966 2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
968         * src/Makefile.am: Avoid the -D option which is not available
969         with the install-sh fallback.  Use $(MKDIR_P) instead.
970         * libdruntime/Makefile.am: Likewise.
971         * src/Makefile.in: Regenerated.
972         * libdruntime/Makefile.in: Regenerated.
974 2019-02-19  Iain Buclaw  <ibuclaw@gdcproject.org>
976         * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
977         [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
978         RTLD_NOLOAD from core.sys.*.dlfcn.
979         Assert RTLD_NOLOAD is available.
981 2019-02-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
983         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
984         * configure.ac: Invoke it.
985         * configure: Regenerate.
987 2019-02-19  Johannes Pfau  <johannespfau@gmail.com>
989         PR d/88127
990         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
991         * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
992         * configure: Regenerate
993         * Makefile.in: Regenerate
994         * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
995         * libdruntime/Makefile.in: Regenerate.
996         * src/Makefile.in: Regenerate.
997         * testsuite/Makefile.in: Regenerate.
999 2019-02-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1001         * testsuite/lib/libphobos-dg.exp: Tabify.
1002         * testsuite/lib/libphobos.exp: Likewise.
1003         * testsuite/libphobos.cycles/cycles.exp: Likewise.
1004         * testsuite/libphobos.shared/shared.exp: Likewise.
1005         * testsuite/libphobos.unittests/unittests.exp: Likewise.
1007 2019-02-14  Maya Rashish  <coypu@sdf.org>
1009         * configure.tgt: Add netbsd/x86 as supported target.
1011 2019-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1013         PR d/87864
1014         * configure.ac (DRTSTUFF_SPEC): New variable.
1015         Substitute it.
1016         * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1017         New automake conditional.
1018         * configure: Regenerate.
1019         * libdruntime/gcc/drtstuff.c: New file.
1020         * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1021         (DRTSTUFF, toolexeclib_DATA): New variables.
1022         (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1023         (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1024         Add -dstartfiles -B../src -Bgcc.
1025         (libgdruntime_la_DEPENDENCIES): New variable.
1026         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1027         (libgdruntime_t_la_LDFLAGS): Likewise.
1028         (unittest_LDFLAGS): Likewise.
1029         * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1030         -Xcompiler.
1031         Add -dstartfiles -B../libdruntime/gcc.
1032         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1033         (libgphobos_t_la_LDFLAGS): Likewise.
1034         (unittest_LDFLAGS): Likewise.
1035         * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1036         * Makefile.in, testsuite/Makefile.in: Regenerate.
1037         * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1038         assert.
1039         * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1040         * src/drtstuff.spec: New file.
1041         * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1042         (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1043         -nophoboslib.
1044         * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1045         -B${BUILD_DIR}/libdruntime/gcc.
1047 2019-02-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1049         * libdruntime/core/runtime.d (defaultTraceHandler): Give
1050         UnwindBacktrace handler precedence over backtrace.
1052 2019-02-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1054         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1055         * libdruntime/Makefile.in: Rebuild.
1056         * testsuite/libphobos.aa/aa.exp: New file.
1057         * testsuite/libphobos.aa/test_aa.d: New test.
1058         * testsuite/libphobos.hash/hash.exp: New file.
1059         * testsuite/libphobos.hash/test_hash.d: New test.
1061 2019-01-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1063         * README.gcc: New file.
1065 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1067         Update copyright years.
1069 2018-12-14  Iain Buclaw  <ibuclaw@gdcproject.org>
1071         * src/std/internal/digest: Remove empty directory.
1073 2018-12-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1075         * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1076         * Makefile.in: Regenerate.
1078 2018-11-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1080         * Makefile.in: Rebuild.
1081         * configure: Rebuild.
1082         * configure.ac (DRUNTIME_SOVERSION): Remove.
1083         (PHOBOS_SOVERSION): Remove.
1084         (libtool_VERSION): Add.
1085         * libdruntime/Makefile.am: Use libtool_VERSION.
1086         * libdruntime/Makefile.in: Rebuild.
1087         * src/Makefile.am: Use libtool_VERSION.
1088         * src/Makefile.in: Rebuild.
1089         * testsuite/Makefile.in: Rebuild.
1091 2018-11-22  Johannes Pfau  <johannespfau@gmail.com>
1093         PR d/87824
1094         * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1095         library for multilib builds.
1097 2018-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1099         * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1100         std.internal.math.biguintx86 modules.
1101         * src/Makefile.in: Rebuild.
1102         * src/std/internal/digest/sha_SSSE3.d: Remove.
1103         * src/std/internal/math/biguintx86.d: Remove.
1105 2018-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
1107         PR d/87827
1108         * Makefile.in: Rebuild.
1109         * configure: Rebuild.
1110         * configure.ac: Properly set MULTISUBDIR.
1111         * d_rules.am: Set toolexecdir and toolexeclibdir.
1112         * libdruntime/Makefile.in: Rebuild.
1113         * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1114         --enable-version-specific-runtime-libs.
1115         * src/Makefile.in: Rebuild.
1116         * testsuite/Makefile.in: Rebuild.
1118 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1120         PR bootstrap/82856
1121         * Makefile.am: Include multilib.am.
1122         * configure.ac: Remove AC_PREREQ.  Use -Wno-override in
1123         AM_INIT_AUTOMAKE call.
1124         * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1125         * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1126         * testsuite/Makefile.am (RUNTEST): Remove quotes.
1127         * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1128         src/Makefile.in, testsuite/Makefile.in: Regenerate.
1130 2018-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
1132         PR bootstrap/87789
1133         PR d/87818
1134         PR d/87819
1135         * configure.tgt: New file.
1137 2018-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1139         * Makefile.am: New file.
1140         * Makefile.in: New file.
1141         * acinclude.m4: New file.
1142         * aclocal.m4: New file.
1143         * config.h.in: New file.
1144         * configure: New file.
1145         * configure.ac: New file.
1146         * d_rules.am: New file.
1147         * libdruntime/Makefile.am: New file.
1148         * libdruntime/Makefile.in: New file.
1149         * libdruntime/__entrypoint.di: New file.
1150         * libdruntime/__main.di: New file.
1151         * libdruntime/gcc/attribute.d: New file.
1152         * libdruntime/gcc/backtrace.d: New file.
1153         * libdruntime/gcc/builtins.d: New file.
1154         * libdruntime/gcc/config.d.in: New file.
1155         * libdruntime/gcc/deh.d: New file.
1156         * libdruntime/gcc/libbacktrace.d.in: New file.
1157         * libdruntime/gcc/unwind/arm.d: New file.
1158         * libdruntime/gcc/unwind/arm_common.d: New file.
1159         * libdruntime/gcc/unwind/c6x.d: New file.
1160         * libdruntime/gcc/unwind/generic.d: New file.
1161         * libdruntime/gcc/unwind/package.d: New file.
1162         * libdruntime/gcc/unwind/pe.d: New file.
1163         * m4/autoconf.m4: New file.
1164         * m4/druntime.m4: New file.
1165         * m4/druntime/cpu.m4: New file.
1166         * m4/druntime/libraries.m4: New file.
1167         * m4/druntime/os.m4: New file.
1168         * m4/gcc_support.m4: New file.
1169         * m4/gdc.m4: New file.
1170         * m4/libtool.m4: New file.
1171         * src/Makefile.am: New file.
1172         * src/Makefile.in: New file.
1173         * src/libgphobos.spec.in: New file.
1174         * testsuite/Makefile.am: New file.
1175         * testsuite/Makefile.in: New file.
1176         * testsuite/config/default.exp: New file.
1177         * testsuite/lib/libphobos-dg.exp: New file.
1178         * testsuite/lib/libphobos.exp: New file.
1179         * testsuite/testsuite_flags.in: New file.
1182 Copyright (C) 2018-2021 Free Software Foundation, Inc.
1184 Copying and distribution of this file, with or without modification,
1185 are permitted in any medium without royalty provided the copyright
1186 notice and this notice are preserved.