Fix typo in t-dimode
[official-gcc.git] / libphobos / ChangeLog
blob9a9b8c8d4a81e4eef8702956b039d915e314cee2
1 2021-11-19  Iain Sandoe  <iain@sandoe.co.uk>
3         * testsuite/lib/libphobos.exp: Prune warnings from external
4         tool bugs.
6 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
8         * libdruntime/core/thread/fiber.d (defaultStackPages): Increase size
9         on OSX X86_64 targets.
11 2021-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13         * libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
14         from global array.
15         (_d_emutls_destroy): Don't call __gthread_key_delete.
17 2021-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
19         PR d/102837
20         * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
21         contents of internal EH storage.
23 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
25         * libdruntime/gcc/deh.d (ExceptionHeader.getClassInfo): Move to...
26         (getClassInfo): ...here as free function.  Add lsda parameter.
27         (scanLSDA): Pass lsda to actionTableLookup.
28         (actionTableLookup): Add lsda parameter, pass to getClassInfo.
29         (__gdc_personality): Remove currentCfa variable.
31 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
33         * libdruntime/gcc/deh.d (_d_print_throwable): Declare.
34         (_d_throw): Print stacktrace before terminating program due to
35         uncaught exception.
37 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
39         * libdruntime/core/runtime.d (runModuleUnitTests): Use scope to new
40         LibBacktrace on the stack.
41         * libdruntime/gcc/backtrace.d (FIRSTFRAME): Remove.
42         (LibBacktrace.MaxAlignment): Remove.
43         (LibBacktrace.this): Remove default initialization of firstFrame.
44         (UnwindBacktrace.this): Likewise.
46 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
48         * libdruntime/gcc/unwind/generic.d (__aligned__): Define.
49         (_Unwind_Exception): Align struct to __aligned__.
51 2021-09-30  Iain Buclaw  <ibuclaw@gdcproject.org>
53         PR d/102476
54         * libdruntime/__main.di: Define main function as extern(C) when
55         compiling without D runtime.
57 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
59         * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES.
61 2021-09-01  Iain Buclaw  <ibuclaw@gdcproject.org>
63         * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY.
64         * src/Makefile.in: Regenerate.
66 2021-08-30  Iain Buclaw  <ibuclaw@gdcproject.org>
68         * configure: Regenerate.
69         * m4/autoconf.m4 (AC_LANG_PROGRAM): Declare module name 'object'.
70         * m4/gcc_support.m4 (WITH_LOCAL_DRUNTIME): Compile tests with
71         -fno-druntime.
73 2021-06-11  Iain Buclaw  <ibuclaw@gdcproject.org>
75         PR d/100999
76         * src/MERGE: Merge upstream phobos 55bb17543.
78 2021-05-14  Bernd Edlinger  <bernd.edlinger@hotmail.de>
80         * src/std/process.d (unittest): Remove tmpname on exit.
81         * src/MERGE: Merge upstream phobos 63f4caa90.
83 2021-05-13  Iain Buclaw  <ibuclaw@gdcproject.org>
85         * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
87 2021-05-10  Iain Buclaw  <ibuclaw@gdcproject.org>
89         * src/MERGE: Merge upstream phobos 32cfe9b61.
91 2021-04-21  Iain Buclaw  <ibuclaw@gdcproject.org>
93         * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
94         generate PPC and PPC64 asm implementations, and conditionally remove
95         PPC register names on non-Darwin targets.
97 2021-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
99         PR d/98584
100         * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
101         read_encoded_value.
102         (actionTableLookup): Update calls to read_sleb128 and
103         read_encoded_value_with_base.
104         * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
105         (read_sleb128): Update signature.
106         (read_unaligned): New function.
107         (read_encoded_value_with_base): Update signature.  Call read_unaligned
108         instead of unsafe pointer dereferencing.
109         (read_encoded_value): Update signature.
111 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
113         PR d/98494
114         * libdruntime/MERGE: Merge upstream druntime 89f870b7.
115         * src/MERGE: Merge upstream phobos e6907ff3e.
117 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
119         PR d/98058
120         * configure: Regenerate.
121         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
122         core/sys/darwin/config.d
123         * libdruntime/Makefile.in: Regenerate.
124         * libdruntime/config/powerpc/switchcontext.S: Implement
125         fiber_switchContext for __MACH__.
126         * libdruntime/config/x86/switchcontext.S: Likewise.
127         * libdruntime/core/sys/darwin/config.d: New file.
128         * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
129         (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
130         * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
131         assembler implementation for X86, X86_64, PPC, and PPC64.
132         * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
133         noinline.
134         * libdruntime/gcc/deh.d (FuncTable): Remove definition.
135         * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
136         bracket symbol on darwin* targets.
137         * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
138         support ucontext-based Fibers.
140 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
142         PR d/99794
143         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
144         config/mingw/msvc.c on DRUNTIME_OS_MINGW.
145         * libdruntime/Makefile.in: Regenerate.
146         * libdruntime/config/mingw/msvc.c: New file.
147         * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
148         function definition.
149         * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
150         _GCC_specific_handler.
151         * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
152         * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
153         declaration.
154         * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
155         (rt_loadLibraryW): Remove function.
156         (initLibrary): Remove function.
157         (rt_unloadLibrary): Remove function.
159 2021-04-19  Iain Buclaw  <ibuclaw@gdcproject.org>
161         PR d/99691
162         * configure: Regenerate.
163         * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
164         * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
165         OpenBSD platforms.
166         * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
167         (linkMapForHandle): Implement for OpenBSD.
168         (exeLinkMap): Remove.
169         (getDependencies): Adjust dlpi_addr on OpenBSD.
170         (handleForName): Implement for OpenBSD.
171         (IterateManually): Define on OpenBSD.
172         * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
173         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
174         enable_libatomic.
175         (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
177 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
179         * Makefile.in: Regenerate.
180         * configure: Regenerate.
181         * configure.ac: Call DRUNTIME_SECTION_FLAGS.
182         * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
183         * libdruntime/Makefile.in: Regenerate.
184         * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
185         * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
186         * src/Makefile.in: Regenerate.
187         * testsuite/Makefile.in: Regenerate.
189 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
191         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
192         gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
193         Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
194         * libdruntime/Makefile.in: Regenerate.
195         * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
196         use platform independant section function names.
197         * libdruntime/gcc/sections/elf_shared.d: Renamed to...
198         * libdruntime/gcc/sections/elf.d: ...this.  Mangle functions for
199         core.thread interface as if they come from the gcc.sections module.
200         * libdruntime/gcc/sections/package.d: Update public imports, declare
201         functions for core.thread interface.
202         * libdruntime/gcc/sections/android.d: Removed.
203         * libdruntime/gcc/sections/osx.d: Removed.
204         * libdruntime/gcc/sections/win32.d: Removed.
205         * libdruntime/gcc/sections/win64.d: Removed.
206         * libdruntime/gcc/sections/common.d: New file.
207         * libdruntime/gcc/sections/macho.d: New file.
208         * libdruntime/gcc/sections/pecoff.d: New file.
210 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
212         * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
213         -static-libphobos.
214         * testsuite/libphobos.phobos/phobos.exp: Likewise.
216 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
218         * testsuite/libphobos.druntime/druntime.exp: Remove
219         is-effective-target static.
220         * testsuite/libphobos.phobos/phobos.exp: Likewise.
222 2021-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
224         PR d/99812
225         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
226         -fno-moduleinfo flag to dg-runtest.
227         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
229 2021-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
231         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
232           gcc/attributes.d.
233         * libdruntime/Makefile.in: Regenerate.
234         * libdruntime/gcc/attribute.d: Deprecate module, publicly import
235         gcc.attributes.
236         * libdruntime/gcc/deh.d: Update imports.
237         * libdruntime/gcc/attributes.d: New file.
239 2021-04-06  Iain Buclaw  <ibuclaw@gdcproject.org>
241         * libdruntime/MERGE: Merge upstream druntime 1134b710.
243 2021-04-03  Iain Buclaw  <ibuclaw@gdcproject.org>
245         * libdruntime/MERGE: Merge upstream druntime 483bc129.
246         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
247         core/sys/darwin/fcntl.d.
248         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
249         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
250         * libdruntime/Makefile.in: Regenerate.
251         * src/MERGE: Merge upstream phobos f89dc217a.
252         * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
253         * src/Makefile.in: Regenerate.
254         * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
255         * testsuite/libphobos.exceptions/line_trace.d: Likewise.
257 2021-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
259         * Makefile.in: Regenerate.
260         * configure: Regenerate.
261         * configure.ac: Substitute enable_shared, enable_static, and
262         phobos_lt_pic_flag.
263         * libdruntime/Makefile.am (AM_DFLAGS): Replace
264           phobos_compiler_pic_flag with phobos_lt_pic_flags, and
265           phobos_compiler_shared_flag.
266         * libdruntime/Makefile.in: Regenerate.
267         * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
268           with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
269         * src/Makefile.in: Regenerate.
270         * testsuite/Makefile.in: Regenerate.
271         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
272         -fversion=Shared and -fno-moduleinfo from default extra test flags.
273         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
274         * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
275         --gdcflags.
277 2021-02-04  Iain Buclaw  <ibuclaw@gdcproject.org>
279         PR d/98910
280         * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
281         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
282         * libdruntime/Makefile.in: Regenerate.
283         * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
285 2021-02-03  Iain Buclaw  <ibuclaw@gdcproject.org>
287         PR d/98910
288         * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
289         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
290           core/internal/attributes.d
291         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
292         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
293         core/sys/darwin/sys/sysctl.d.
294         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
295         core/sys/dragonflybsd/stdlib.d, and
296         core/sys/dragonflybsd/sys/sysctl.d.
297         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
298         core/sys/freebsd/sys/sysctl.d.
299         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
300         core/sys/netbsd/sys/sysctl.d.
301         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
302         core/sys/openbsd/sys/sysctl.d.
303         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
304         * libdruntime/Makefile.in: Regenerate.
305         * src/MERGE: Merge upstream phobos 9d575282e.
307 2021-01-30  Iain Buclaw  <ibuclaw@gdcproject.org>
309         * Makefile.in: Regenerate.
310         * configure: Regenerate.
311         * libdruntime/MERGE: Merge upstream druntime e4aae28e.
312         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
313         (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
314         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
315         core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
316         core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
317         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
318         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
319         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
320         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
321         (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
322         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
323         core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
324         core/sys/posix/strings.d.
325         (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
326         (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
327         and core/sys/windows/stdc/time.d
328         * libdruntime/Makefile.in: Regenerate.
329         * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
330         * testsuite/libphobos.thread/fiber_guard_page.d: Use
331         __traits(getMember) to get internal fields.
333 2021-01-26  Iain Buclaw  <ibuclaw@gdcproject.org>
335         * src/MERGE: Merge upstream phobos 3dd5df686.
336         * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
337         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
338         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
340 2021-01-23  Iain Buclaw  <ibuclaw@gdcproject.org>
342         PR d/98806
343         * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
344         for MIPS32 and MIPS64.
345         (getDependencies): Adjust dlpi_addr on MIPS_Any.
347 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
349         * configure: Re-generate.
351 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
353         PR target/97865
354         * configure: Regenerate.
356 2020-11-30  Iain Buclaw  <ibuclaw@gdcproject.org>
358         PR d/87818
359         * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
360         supported targets.
362 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
364         PR d/98025
365         * Makefile.in: Regenerate.
366         * configure: Regenerate.
367         * configure.ac (DCFG_ENABLE_CET): Substitute.
368         * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
369         * libdruntime/Makefile.in: Regenerate.
370         * libdruntime/core/thread.d: Import gcc.config.
371         (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
372         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
373         * src/Makefile.in: Regenerate.
374         * testsuite/Makefile.in: Regenerate.
376 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
378         * libdruntime/MERGE: Merge upstream druntime d37ef985.
379         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
380         core/sys/freebsd/config.d
381         * libdruntime/Makefile.in: Regenerate.
383 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
385         * src/MERGE: Merge upstream phobos 38873fe6e.
387 2020-11-27  Iain Buclaw  <ibuclaw@gdcproject.org>
389         * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
391 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
393         * configure.tgt: Add *-*-dragonfly* as a supported target.
394         * configure: Regenerate.
395         * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
396         target.
398 2020-11-18  Iain Buclaw  <ibuclaw@gdcproject.org>
400         * src/MERGE: Merge upstream phobos 7948e0967.
402 2020-11-13  Iain Buclaw  <ibuclaw@gdcproject.org>
404         * configure: Regenerate.
405         * configure.ac (libtool_VERSION): Update to 2:0.0.
407 2020-10-27  Iain Buclaw  <ibuclaw@gdcproject.org>
409         * libdruntime/MERGE: Merge upstream druntime 58560d51.
411 2020-10-12  Maciej W. Rozycki  <macro@linux-mips.org>
413         * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
414         Use L.D and S.D generic assembly instructions rather than LDC1
415         and SDC1 MIPS II hardware instructions.
417 2020-10-12  Iain Buclaw  <ibuclaw@gdcproject.org>
419         * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
421 2020-09-10  Iain Buclaw  <ibuclaw@gdcproject.org>
423         PR d/95680
424         PR d/97007
425         * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
426         * Makefile.in: Regenerate.
427         * configure: Regenerate.
428         * configure.ac (DCFG_ENABLE_CET): Remove substitution.
429         (CET_DFLAGS): Substitute.
430         * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
431         (AM_CFLAGS): Add $(CET_FLAGS).
432         (AM_CCASFLAGS): Likewise.
433         * libdruntime/Makefile.in: Regenerate.
434         * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
435         condition with `version (CET)'.
436         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
437         * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
438         (AM_CFLAGS): Add $(CET_FLAGS).
439         * src/Makefile.in: Regenerate.
440         * testsuite/Makefile.in: Regenerate.
441         * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
443 2020-09-09  H.J. Lu  <hjl.tools@gmail.com>
445         PR d/95680
446         * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
447         generate the CET marker for -fcf-protection.
449 2020-09-08  Iain Buclaw  <ibuclaw@gdcproject.org>
451         PR d/95680
452         * Makefile.in: Regenerate.
453         * configure: Regenerate.
454         * configure.ac (DCFG_ENABLE_CET): Substitute.
455         * libdruntime/Makefile.in: Regenerate.
456         * libdruntime/config/x86/switchcontext.S: Remove CET support code.
457         * libdruntime/core/thread.d: Import gcc.config.  Don't set version
458         AsmExternal when GNU_Enable_CET is true.
459         * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
460         * src/Makefile.in: Regenerate.
461         * testsuite/Makefile.in: Regenerate.
463 2020-06-25  Iain Buclaw  <ibuclaw@gdcproject.org>
465         * libdruntime/MERGE: Merge upstream druntime d05ebaad.
466         * src/MERGE: Merge upstream phobos 021ae0df7.
467         * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
469 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
471         PR bootstrap/95413
472         * configure: Regenerated.
474 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
476         PR bootstrap/95147
477         * configure: Regenerated.
479 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
481         * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
482         __CET__ is defined.
483         (_CET_ENDBR): New.  Define if __CET__ is not defined.
484         (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
486 2020-05-08  H.J. Lu  <hongjiu.lu@intel.com>
488         * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
489         * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
490         * Makefile.in: Regenerated.
491         * aclocal.m4: Likewise.
492         * configure.ac: Likewise.
494 2020-04-30  Iain Buclaw  <ibuclaw@gdcproject.org>
496         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
497         config/powerpc/switchcontext.S
498         * libdruntime/Makefile.in: Regenerate.
499         * libdruntime/config/powerpc/callwithstack.S: Remove.
500         * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
501         fiber_switchContext.
502         * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
503         * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
504         same as stackSize.
506 2020-04-29  Iain Buclaw  <ibuclaw@gdcproject.org>
508         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
509         Fix KERNEL_VERSION condition.
511 2020-04-28  Iain Buclaw  <ibuclaw@gdcproject.org>
513         PR d/94825
514         * configure: Regenerate.
515         * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
516         switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
517         * libdruntime/Makefile.in: Regenerate.
518         * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
519         * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
520         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
521         for all powerpc biarchs.  Remove DRUNTIME_CPU_POWER64 conditional.
523 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
525         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
526         core/sys/linux/sys/netinet/tcp.d.
527         * libdruntime/Makefile.in: Regenerate.
529 2020-04-27  Iain Buclaw  <ibuclaw@gdcproject.org>
531         * configure.tgt: Add hppa-*-linux* as a supported target.
533 2020-04-26  Iain Buclaw  <ibuclaw@gdcproject.org>
535         * configure: Regenerate.
536         * configure.tgt: Add power*-*-linux* as a supported target, only
537         building libdruntime.
538         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
539         and powerpc64le target cpus.
541 2020-04-21  Mathias Lang  <pro.mathias.lang@gmail.com>
542             Iain Buclaw  <ibuclaw@gdcproject.org>
544         * configure: Regenerate.
545         * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
546         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
547         search libraries for swapcontext.
548         * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
549         __tls_get_addr on Musl.
551 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
553         * configure: Regenerate.
554         * configure.ac: Fix option name for --with-libphobos-druntime-only.
556 2020-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
558         * configure: Regenerate.
559         * configure.ac: Remove DRUNTIME_GC.
561 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
563         PR d/94304
564         * configure: Regenerate.
565         * configure.ac: Add --with-libphobos-druntime-only option and the
566         conditional ENABLE_LIBDRUNTIME_ONLY.
567         * configure.tgt: Define LIBDRUNTIME_ONLY.
568         * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
569         * src/Makefile.in: Regenerate.
570         * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
572 2020-04-18  Iain Buclaw  <ibuclaw@gdcproject.org>
574         * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
575         not d_runtime_has_std_library.
576         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
578 2020-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
580         * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
582 2020-04-10  Iain Buclaw  <ibuclaw@gdcproject.org>
584         * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
585         (libgphobos_la_LINK): Move to src/Makefile.am
586         * libdruntime/Makefile.am: Add libgdruntime_convenience library.
587         * libdruntime/Makefile.in: Regenerate.
588         * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
589         library.
590         (libgphobos_la_DEPENDENCIES): Likewise.
591         * src/Makefile.in: Regenerate.
592         * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
593         * testsuite/testsuite_flags.in: Likewise.
595 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
597         * configure: Regenerate.
598         * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
599         DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
600         (DRUNTIME_DSOURCES): Add gc/*.d sources.
601         (DRUNTIME_DSOURCES_GC): Remove.
602         (DRUNTIME_DSOURCES_GCSTUB): Remove.
603         * libdruntime/Makefile.in: Regenerate.
604         * libdruntime/gcstub/gc.d: Remove.
605         * m4/druntime.m4 (DRUNTIME_GC): Remove.
607 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
609         PR d/94305
610         * Makefile.in: Regenerate.
611         * configure: Regenerate.
612         * configure.ac: Add --enable-libphobos-checking and substitute
613         CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
614         * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
615         * libdruntime/Makefile.in: Regenerate.
616         * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
617         * src/Makefile.in: Regenerate.
618         * testsuite/Makefile.in: Regenerate.
619         * testsuite/testsuite_flags.in: Add -fno-release -funittest to
620         --gdcflags.
622 2020-04-09  Iain Buclaw  <ibuclaw@gdcproject.org>
624         * configure: Regenerate.
625         * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
626         * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
628 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
630         * configure: Regenerate.
631         * configure.ac: Remove DRUNTIME_OS_UNIX.
632         * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
633         DRUNTIME_OS_POSIX is true.
634         * libdruntime/Makefile.in: Regenerate.
635         * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
636         logic to...
637         (DRUNTIME_OS_SOURCES): ...here.  Rename conditional to
638         DRUNTIME_OS_POSIX.
640 2020-04-08  Iain Buclaw  <ibuclaw@gdcproject.org>
642         * Makefile.in: Regenerate.
643         * configure: Regenerate.
644         * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
645         * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
646         * libdruntime/Makefile.in: Regenerate.
647         * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
648         * src/Makefile.in: Regenerate.
649         * testsuite/Makefile.in: Regenerate.
650         * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
652 2020-04-07  Robin Dapp  <rdapp@linux.ibm.com>
653             Stefan Liebler  <stli@linux.ibm.com>
655         * configure: Regenerate.
656         * libdruntime/Makefile.am: Add s390x and s390.
657         * libdruntime/Makefile.in: Regenerate.
658         * libdruntime/config/s390/get_tls_offset.S: New file.
659         * libdruntime/config/systemz/get_tls_offset.S: New file.
660         * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
661         * m4/druntime/cpu.m4: Add s390x and s390.
663 2020-04-07  Stefan Liebler  <stli@linux.ibm.com>
665         * libdruntime/core/sys/posix/signal.d:
666         Add struct sigaction_t for SystemZ.
668 2020-03-16  Iain Buclaw  <ibuclaw@gdcproject.org>
670         PR d/92792
671         * Makefile.in: Regenerate.
672         * configure: Regenerate.
673         * configure.ac (libtool_VERSION): Reset to 1:0:0.
674         * libdruntime/Makefile.in: Regenerate.
676 2020-02-17  Martin Liska  <mliska@suse.cz>
678         PR other/93756
679         * src/std/algorithm/iteration.d: Fix typo.
681 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
683         * m4/druntime.m4: Handle `--with-toolexeclibdir='.
684         * m4/Makefile.in: Regenerate.
685         * libdruntime/Makefile.in: Regenerate.
686         * src/Makefile.in: Regenerate.
687         * testsuite/Makefile.in: Regenerate.
688         * Makefile.in: Regenerate.
689         * aclocal.m4: Regenerate.
690         * configure: Regenerate.
692 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
694         Update copyright years.
696 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
698         * configure: Regenerate.
700 2019-09-03  Bernd Edlinger  <bernd.edlinger@hotmail.de>
702         * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
703         dirs to the ld_library_path var.
705 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
707         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
708         core/sys/bionic/string.d.
709         (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
710         (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
711         core/sys/dragonflybsd/sys/socket.d.
712         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
713         (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
714         (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
715         core/sys/netbsd/sys/featuretest.d.
716         * libdruntime/Makefile.in: Regenerate.
718 2019-08-20  Iain Buclaw  <ibuclaw@gdcproject.org>
720         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
721         core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
722         core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
723         core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
724         core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
725         * libdruntime/Makefile.in: Regenerate.
727 2019-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
729         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
730         relax=transtls if linker supports it.
731         * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
732         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
733         mark supported with either gld or ld -z relax=transtls.
734         * configure: Regenerate.
736 2019-05-02  Maciej W. Rozycki  <macro@wdc.com>
738         * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
739         (IeeeFlags.resetIeeeFlags): Likewise.
740         (FloatingPointControl.getControlState): Likewise.
741         (FloatingPointControl.setControlState): Likewise.
743 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
745         PR d/90250
746         * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
747         _tlsRanges in every startup thread.
748         * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
749         * testsuite/libphobos.thread/tlsgc_sections.d: New test.
751 2019-04-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
753         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
754         * configure: Regenerate.
756 2019-04-25  Johannes Pfau  <johannespfau@gmail.com>
758         * libdruntime/Makefile.am: Add emutls and gthread files.
759         * libdruntime/Makefile.in: Regenerate.
760         * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
761         * libdruntime/gcc/gthread.d: New file.
762         * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
763         * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
765 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
767         * testsuite/Makefile.am: Set PWD_COMMAND.
768         * testsuite/Makefile.in: Regenerate.
770 2019-04-25  Iain Buclaw  <ibuclaw@gdcproject.org>
772         PR d/90086
773         * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
774         * configure.ac: Use it.
775         * configure: Regenerate.
776         * libdruntime/Makefile.am: Add new config sources to
777         DRUNTIME_SOURCES_CONFIGURED.
778         * libdruntime/Makefile.in: Regenerate.
779         * libdruntime/config/aarch64/switchcontext.S: New file.
780         * libdruntime/config/arm/switchcontext.S: New file.
781         * libdruntime/config/common/threadasm.S: New file.
782         * libdruntime/config/mingw/switchcontext.S: New file.
783         * libdruntime/config/mips/switchcontext.S: New file.
784         * libdruntime/config/powerpc/switchcontext.S: New file.
785         * libdruntime/config/powerpc64/callwithstack.S: New file.
786         * libdruntime/config/x86/switchcontext.S: New file.
787         * libdruntime/core/threadasm.S: Remove.
789 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
791         PR d/89432
792         * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
793         New proc.
794         * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
795         -fversion=Linux_Pre_2639 if target is linux_pre_2639.
796         * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
798 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
800         PR d/88654
801         * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
802         libphobos_skipped_test_p before running test.
803         (libphobos-dg-prune): New proc.
804         (libphobos_init): Set libphobos_skip_tests.
805         (libphobos_skipped_test_p): New proc.
806         (check_effective_target_libcurl_available): New proc.
807         * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
808         not found.
809         * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
811 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
813         PR d/88431
814         * configure: Regenerate.
815         * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
816         dependencies on libphobos.
817         (lt_simple_link_test_code): Likewise.
818         (GDCFLAGS): Don't override for D compiler tests.
820 2019-04-24  Iain Buclaw  <ibuclaw@gdcproject.org>
822         * configure.tgt: Add aarch64*-*-linux* as a supported target.
824 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
825             Robin Dapp  <rdapp@linux.ibm.com>
827         * configure.tgt: Add s390*-linux* as a supported target.
828         * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
829         (__tls_get_addr_internal): Declare.
830         (TLS_DTV_OFFSET): Define as zero on SystemZ.
831         (getTLSRange): Support getting TLS on SystemZ.
832         * testsuite/libphobos.typeinfo/struct-align.d: New test.
834 2019-04-23  Iain Buclaw  <ibuclaw@gdcproject.org>
836         * configure.tgt: Add linux/riscv as supported target.
837         * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
838         dlpi_addr on RISCV32 and RISCV64.
839         * src/std/math.d: Add IEEE FPU control support for RISC-V.
841 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
842             Bernd Edlinger  <bernd.edlinger@hotmail.de>
843             Jakub Jelinek  <jakub@redhat.com>
845         PR target/89093
846         * libdruntime/gcc/deh.d: Import gcc.attribute.
847         (personality_fn_attributes): New enum.
848         (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
849         Add @personality_fn_attributes.
851 2019-04-20  Iain Buclaw  <ibuclaw@gdcproject.org>
853         PR d/89293
854         * libdruntime/core/atomic.d (casImpl): Remove static assert for
855         GNU_Have_Atomics, add static path to handle missing atomic support.
856         (atomicLoad): Likewise.
857         (atomicStore): Likewise.
858         (atomicFence):  Likewise.
859         (atomicMutexHandle, AtomicMutex): Declare types.
860         (_getAtomicMutex): New function.
861         (getAtomicMutex): Declare.
863 2019-04-16  Iain Buclaw  <ibuclaw@gdcproject.org>
865         * config.h.in: Regenerate.
866         * configure: Regenerate.
867         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
868         CPPFLAGS correctly for backtrace support test.
870 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
872         * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
873         Set to yes explicitly.
874         (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
875         * configure.ac: Handle --enable-libphobos.
876         (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
877         with gas.
878         (ENABLE_LIBPHOBOS): New conditional.
879         * configure: Regenerate.
880         * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
881         * Makefile.in: Regenerate.
883 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
884             Iain Buclaw  <ibuclaw@gdcproject.org>
886         PR d/88150
887         * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
888         * configure.ac: Use it.
889         Call AC_USE_SYSTEM_EXTENSIONS.
890         * configure: Regenerate.
891         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
892         testsuite/Makefile.in: Regenerate.
893         * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
894         * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
895         (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
896         dlpi_tls_modid.
897         [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
898         Otherwise clear pdso._tlsMod, pdso._tlsSize.
899         (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
901 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
903         * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
904         * configure.ac: Call it.
905         * configure: Regenerate.
906         * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
907         testsuite/Makefile.in: Regenerate.
908         * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
910 2019-04-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
912         PR d/88150
913         * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
914         to true.
915         Import core.sys.solaris.dlfcn, core.sys.solaris.link,
916         core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
917         (dummy_ref): Declare.
918         (initSections): Initialize dummy_ref.
919         (getDependencies): Set strtab.
920         (handleForName): Don't dlclose handle.
921         (findDSOInfoForAddr): Set IterateManually.
922         (getprogname): Declare.
923         (progname): Use it.
924         * libdruntime/gcc/sections/package.d [Solaris]: Import
925         gcc.sections.elf_shared instead of gcc.sections.solaris.
926         * libdruntime/gcc/sections/solaris.d: Remove.
927         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
928         gcc/sections/solaris.d.
929         * libdruntime/Makefile.in: Regenerate.
931 2019-04-13  Iain Buclaw  <ibuclaw@gdcproject.org>
933         * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
934         (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
935         * libdruntime/Makefile.in: Regenerate.
936         * libdruntime/gcc/sections/android.d: New file.
937         * libdruntime/gcc/sections/elf_shared.d: New file.
938         * libdruntime/gcc/sections/osx.d: New file.
939         * libdruntime/gcc/sections/package.d: New file.
940         * libdruntime/gcc/sections/solaris.d: New file.
941         * libdruntime/gcc/sections/win32.d: New file.
942         * libdruntime/gcc/sections/win64.d: New file.
943         * libdruntime/rt/bss_section.c: Remove.
944         * libdruntime/rt/sections.d: Publicly import gcc.sections.
945         * libdruntime/rt/sections_android.d: Remove.
946         * libdruntime/rt/sections_elf_shared.d: Remove.
947         * libdruntime/rt/sections_osx.d: Remove.
948         * libdruntime/rt/sections_solaris.d: Remove.
949         * libdruntime/rt/sections_win32.d: Remove.
950         * libdruntime/rt/sections_win64.d: Remove.
952 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
954         * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
955         * configure: Regenerate.
956         * libdruntime/Makefile.in: Regenerate.
958 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
960         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
961         libz_convenience.a if not using system zlib.
962         * Makefile.in: Regenerate.
963         * configure: Regenerate.
964         * libdruntime/Makefile.in: Regenerate.
965         * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
966         * src/Makefile.in: Regenerate.
967         * testsuite/Makefile.in: Regenerate.
969 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
971         * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
972         (RUNTEST): Remove variable.
973         (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
974         check_p_numbers1, check_p_numbers2, check_p_numbers3,
975         check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
976         check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
977         (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
978         rules written so that all the *.exp files are ran parallelized.
979         (CLEANFILES): Add *.exe, *.o, and site.exp.
980         * testsuite/Makefile.in: Regenerate.
982 2019-04-12  Iain Buclaw  <ibuclaw@gdcproject.org>
984         PR d/89255
985         * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
986         * configure: Regenerate.
987         * d_rules.am (%.t.lo, %.t.o): Remove rules.
988         (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
989         libgphobos_t_la_LINK): Remove variables.
990         * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
991         DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
992         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
993         unittest_static_LDFLAGS, unittest_static_LDADD,
994         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
995         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
996         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
997         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
998         unittest_LDADD): Remove variables.
999         (clean-local): Remove rule.
1000         * libdruntime/Makefile.in: Regenerate.
1001         * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
1002         PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1003         unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1004         unittest_static_LDFLAGS, unittest_static_LDADD,
1005         EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1006         libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1007         libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1008         unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1009         unittest_LDADD): Remove variables.
1010         (clean-local): Remove rule.
1011         * src/Makefile.in: Regenerate.
1012         * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
1013         (libphobos_init): Set libphobos_test_name.
1014         (libphobos-dg-test): Override name if libphobos_test_name is set.
1015         (filter_libphobos_unittests): New proc.
1016         * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
1017         * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
1018         * testsuite/libphobos.druntime/druntime.exp: New file.
1019         * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
1020         * testsuite/libphobos.phobos/phobos.exp: New file.
1021         * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
1022         * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
1023         * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
1024         * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
1025         * testsuite/libphobos.thread/thread.exp: Likewise.
1026         * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
1027         * testsuite/libphobos.unittests/unittests.exp: Remove.
1028         * testsuite/test_runner.d: Remove.
1029         * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
1031 2019-03-26  Iain Buclaw  <ibuclaw@gdcproject.org>
1033         * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
1034         core/sys/darwin/crt_externs.d.
1035         (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
1036         (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
1037         * libdruntime/Makefile.in: Regenerate.
1039 2019-03-23  Johannes Pfau  <johannespfau@gmail.com>
1041         * configure.ac: Update autotool version comment.
1043 2019-02-19  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1045         * src/Makefile.am: Avoid the -D option which is not available
1046         with the install-sh fallback.  Use $(MKDIR_P) instead.
1047         * libdruntime/Makefile.am: Likewise.
1048         * src/Makefile.in: Regenerated.
1049         * libdruntime/Makefile.in: Regenerated.
1051 2019-02-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1053         * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
1054         [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
1055         RTLD_NOLOAD from core.sys.*.dlfcn.
1056         Assert RTLD_NOLOAD is available.
1058 2019-02-19  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1060         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
1061         * configure.ac: Invoke it.
1062         * configure: Regenerate.
1064 2019-02-19  Johannes Pfau  <johannespfau@gmail.com>
1066         PR d/88127
1067         * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
1068         * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
1069         * configure: Regenerate
1070         * Makefile.in: Regenerate
1071         * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
1072         * libdruntime/Makefile.in: Regenerate.
1073         * src/Makefile.in: Regenerate.
1074         * testsuite/Makefile.in: Regenerate.
1076 2019-02-18  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1078         * testsuite/lib/libphobos-dg.exp: Tabify.
1079         * testsuite/lib/libphobos.exp: Likewise.
1080         * testsuite/libphobos.cycles/cycles.exp: Likewise.
1081         * testsuite/libphobos.shared/shared.exp: Likewise.
1082         * testsuite/libphobos.unittests/unittests.exp: Likewise.
1084 2019-02-14  Maya Rashish  <coypu@sdf.org>
1086         * configure.tgt: Add netbsd/x86 as supported target.
1088 2019-02-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1090         PR d/87864
1091         * configure.ac (DRTSTUFF_SPEC): New variable.
1092         Substitute it.
1093         * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1094         New automake conditional.
1095         * configure: Regenerate.
1096         * libdruntime/gcc/drtstuff.c: New file.
1097         * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1098         (DRTSTUFF, toolexeclib_DATA): New variables.
1099         (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1100         (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1101         Add -dstartfiles -B../src -Bgcc.
1102         (libgdruntime_la_DEPENDENCIES): New variable.
1103         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1104         (libgdruntime_t_la_LDFLAGS): Likewise.
1105         (unittest_LDFLAGS): Likewise.
1106         * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1107         -Xcompiler.
1108         Add -dstartfiles -B../libdruntime/gcc.
1109         (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1110         (libgphobos_t_la_LDFLAGS): Likewise.
1111         (unittest_LDFLAGS): Likewise.
1112         * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1113         * Makefile.in, testsuite/Makefile.in: Regenerate.
1114         * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1115         assert.
1116         * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1117         * src/drtstuff.spec: New file.
1118         * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1119         (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1120         -nophoboslib.
1121         * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1122         -B${BUILD_DIR}/libdruntime/gcc.
1124 2019-02-13  Iain Buclaw  <ibuclaw@gdcproject.org>
1126         * libdruntime/core/runtime.d (defaultTraceHandler): Give
1127         UnwindBacktrace handler precedence over backtrace.
1129 2019-02-10  Iain Buclaw  <ibuclaw@gdcproject.org>
1131         * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1132         * libdruntime/Makefile.in: Rebuild.
1133         * testsuite/libphobos.aa/aa.exp: New file.
1134         * testsuite/libphobos.aa/test_aa.d: New test.
1135         * testsuite/libphobos.hash/hash.exp: New file.
1136         * testsuite/libphobos.hash/test_hash.d: New test.
1138 2019-01-12  Iain Buclaw  <ibuclaw@gdcproject.org>
1140         * README.gcc: New file.
1142 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
1144         Update copyright years.
1146 2018-12-14  Iain Buclaw  <ibuclaw@gdcproject.org>
1148         * src/std/internal/digest: Remove empty directory.
1150 2018-12-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1152         * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1153         * Makefile.in: Regenerate.
1155 2018-11-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1157         * Makefile.in: Rebuild.
1158         * configure: Rebuild.
1159         * configure.ac (DRUNTIME_SOVERSION): Remove.
1160         (PHOBOS_SOVERSION): Remove.
1161         (libtool_VERSION): Add.
1162         * libdruntime/Makefile.am: Use libtool_VERSION.
1163         * libdruntime/Makefile.in: Rebuild.
1164         * src/Makefile.am: Use libtool_VERSION.
1165         * src/Makefile.in: Rebuild.
1166         * testsuite/Makefile.in: Rebuild.
1168 2018-11-22  Johannes Pfau  <johannespfau@gmail.com>
1170         PR d/87824
1171         * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1172         library for multilib builds.
1174 2018-11-19  Iain Buclaw  <ibuclaw@gdcproject.org>
1176         * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1177         std.internal.math.biguintx86 modules.
1178         * src/Makefile.in: Rebuild.
1179         * src/std/internal/digest/sha_SSSE3.d: Remove.
1180         * src/std/internal/math/biguintx86.d: Remove.
1182 2018-11-02  Iain Buclaw  <ibuclaw@gdcproject.org>
1184         PR d/87827
1185         * Makefile.in: Rebuild.
1186         * configure: Rebuild.
1187         * configure.ac: Properly set MULTISUBDIR.
1188         * d_rules.am: Set toolexecdir and toolexeclibdir.
1189         * libdruntime/Makefile.in: Rebuild.
1190         * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1191         --enable-version-specific-runtime-libs.
1192         * src/Makefile.in: Rebuild.
1193         * testsuite/Makefile.in: Rebuild.
1195 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
1197         PR bootstrap/82856
1198         * Makefile.am: Include multilib.am.
1199         * configure.ac: Remove AC_PREREQ.  Use -Wno-override in
1200         AM_INIT_AUTOMAKE call.
1201         * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1202         * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1203         * testsuite/Makefile.am (RUNTEST): Remove quotes.
1204         * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1205         src/Makefile.in, testsuite/Makefile.in: Regenerate.
1207 2018-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
1209         PR bootstrap/87789
1210         PR d/87818
1211         PR d/87819
1212         * configure.tgt: New file.
1214 2018-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
1216         * Makefile.am: New file.
1217         * Makefile.in: New file.
1218         * acinclude.m4: New file.
1219         * aclocal.m4: New file.
1220         * config.h.in: New file.
1221         * configure: New file.
1222         * configure.ac: New file.
1223         * d_rules.am: New file.
1224         * libdruntime/Makefile.am: New file.
1225         * libdruntime/Makefile.in: New file.
1226         * libdruntime/__entrypoint.di: New file.
1227         * libdruntime/__main.di: New file.
1228         * libdruntime/gcc/attribute.d: New file.
1229         * libdruntime/gcc/backtrace.d: New file.
1230         * libdruntime/gcc/builtins.d: New file.
1231         * libdruntime/gcc/config.d.in: New file.
1232         * libdruntime/gcc/deh.d: New file.
1233         * libdruntime/gcc/libbacktrace.d.in: New file.
1234         * libdruntime/gcc/unwind/arm.d: New file.
1235         * libdruntime/gcc/unwind/arm_common.d: New file.
1236         * libdruntime/gcc/unwind/c6x.d: New file.
1237         * libdruntime/gcc/unwind/generic.d: New file.
1238         * libdruntime/gcc/unwind/package.d: New file.
1239         * libdruntime/gcc/unwind/pe.d: New file.
1240         * m4/autoconf.m4: New file.
1241         * m4/druntime.m4: New file.
1242         * m4/druntime/cpu.m4: New file.
1243         * m4/druntime/libraries.m4: New file.
1244         * m4/druntime/os.m4: New file.
1245         * m4/gcc_support.m4: New file.
1246         * m4/gdc.m4: New file.
1247         * m4/libtool.m4: New file.
1248         * src/Makefile.am: New file.
1249         * src/Makefile.in: New file.
1250         * src/libgphobos.spec.in: New file.
1251         * testsuite/Makefile.am: New file.
1252         * testsuite/Makefile.in: New file.
1253         * testsuite/config/default.exp: New file.
1254         * testsuite/lib/libphobos-dg.exp: New file.
1255         * testsuite/lib/libphobos.exp: New file.
1256         * testsuite/testsuite_flags.in: New file.
1259 Copyright (C) 2018-2021 Free Software Foundation, Inc.
1261 Copying and distribution of this file, with or without modification,
1262 are permitted in any medium without royalty provided the copyright
1263 notice and this notice are preserved.