1 2021-12-02 Iain Buclaw <ibuclaw@gdcproject.org>
3 * libdruntime/core/thread/osthread.d (callWithStackShell): Push all
4 callee-save registers on the stack for AArch64 and ARM.
6 2021-12-02 Iain Buclaw <ibuclaw@gdcproject.org>
8 * src/std/math/hardware.d (FloatingPointControl.getControlState): Add
9 missing ControlState variable for AArch64.
11 2021-12-01 Iain Buclaw <ibuclaw@gdcproject.org>
13 * testsuite/testsuite_flags.in: Add libphobos library directory as
14 search path to --gdcldflags.
16 2021-11-30 Iain Buclaw <ibuclaw@gdcproject.org>
18 * libdruntime/MERGE: Merge upstream druntime e6caaab9.
19 * libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with
20 -fpreview=dip1000, -fpreview=fieldwise, and -fpreview=dtorfields.
21 (ALL_DRUNTIME_SOURCES): Add DRUNTIME_DSOURCES_STDCXX.
22 (DRUNTIME_DSOURCES): Update list of C binding modules.
23 (DRUNTIME_DSOURCES_STDCXX): Likewise.
24 (DRUNTIME_DSOURCES_LINUX): Likewise.
25 (DRUNTIME_DSOURCES_OPENBSD): Likewise.
26 (DRUNTIME_DISOURCES): Remove __entrypoint.di.
27 * libdruntime/Makefile.in: Regenerated.
28 * libdruntime/__entrypoint.di: Removed.
29 * libdruntime/gcc/deh.d (_d_isbaseof): Update signature.
30 (_d_createTrace): Likewise.
31 (__gdc_begin_catch): Remove reference to the exception.
32 (_d_throw): Increment reference count of thrown object before unwind.
33 (__gdc_personality): Chain exceptions with Throwable.chainTogether.
34 * libdruntime/gcc/emutls.d: Update imports.
35 * libdruntime/gcc/sections/elf.d: Update imports.
36 (DSO.moduleGroup): Update signature.
37 * libdruntime/gcc/sections/macho.d: Update imports.
38 (DSO.moduleGroup): Update signature.
39 * libdruntime/gcc/sections/pecoff.d: Update imports.
40 (DSO.moduleGroup): Update signature.
41 * src/MERGE: Merge upstream phobos 5ab9ad256.
42 * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and
43 -fpreview=dtorfields flags.
44 (PHOBOS_DSOURCES): Update list of std modules.
45 * src/Makefile.in: Regenerate.
46 * testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly
49 (additional_prunes): Define.
50 (libphobos-dg-prune): Filter any additional_prunes set by tests.
51 * testsuite/libphobos.aa/test_aa.d: Update test.
52 * testsuite/libphobos.druntime/druntime.exp (version_flags): Add
53 -fversion=CoreUnittest.
54 * testsuite/libphobos.druntime_shared/druntime_shared.exp
55 (version_flags): Add -fversion=CoreUnittest -fversion=Shared.
56 * testsuite/libphobos.exceptions/unknown_gc.d: Update test.
57 * testsuite/libphobos.hash/test_hash.d: Update test.
58 * testsuite/libphobos.phobos/phobos.exp (version_flags): Add
60 * testsuite/libphobos.phobos_shared/phobos_shared.exp (version_flags):
62 * testsuite/libphobos.shared/host.c: Update test.
63 * testsuite/libphobos.shared/load.d: Update test.
64 * testsuite/libphobos.shared/load_13414.d: Update test.
65 * testsuite/libphobos.thread/fiber_guard_page.d: Update test.
66 * testsuite/libphobos.thread/tlsgc_sections.d: Update test.
67 * testsuite/testsuite_flags.in: Add -fpreview=dip1000 to --gdcflags.
68 * testsuite/libphobos.shared/link_mod_collision.d: Removed.
69 * testsuite/libphobos.shared/load_mod_collision.d: Removed.
70 * testsuite/libphobos.betterc/betterc.exp: New test.
71 * testsuite/libphobos.config/config.exp: New test.
72 * testsuite/libphobos.gc/gc.exp: New test.
73 * testsuite/libphobos.imports/imports.exp: New test.
74 * testsuite/libphobos.lifetime/lifetime.exp: New test.
75 * testsuite/libphobos.unittest/unittest.exp: New test.
76 * testsuite/libphobos.allocations/alloc_from_assert.d: New file.
77 * testsuite/libphobos.betterc/test18828.d: New file.
78 * testsuite/libphobos.betterc/test19416.d: New file.
79 * testsuite/libphobos.betterc/test19421.d: New file.
80 * testsuite/libphobos.betterc/test19561.d: New file.
81 * testsuite/libphobos.betterc/test19924.d: New file.
82 * testsuite/libphobos.betterc/test20088.d: New file.
83 * testsuite/libphobos.betterc/test20613.d: New file.
84 * testsuite/libphobos.config/test19433.d: New file.
85 * testsuite/libphobos.config/test20459.d: New file.
86 * testsuite/libphobos.exceptions/assert_fail.d: New file.
87 * testsuite/libphobos.exceptions/catch_in_finally.d: New file.
88 * testsuite/libphobos.exceptions/future_message.d: New file.
89 * testsuite/libphobos.exceptions/long_backtrace_trunc.d: New file.
90 * testsuite/libphobos.exceptions/refcounted.d: New file.
91 * testsuite/libphobos.exceptions/rt_trap_exceptions.d: New file.
92 * testsuite/libphobos.exceptions/rt_trap_exceptions_drt.d: New file.
93 * testsuite/libphobos.gc/attributes.d: New file.
94 * testsuite/libphobos.gc/forkgc.d: New file.
95 * testsuite/libphobos.gc/forkgc2.d: New file.
96 * testsuite/libphobos.gc/nocollect.d: New file.
97 * testsuite/libphobos.gc/precisegc.d: New file.
98 * testsuite/libphobos.gc/recoverfree.d: New file.
99 * testsuite/libphobos.gc/sigmaskgc.d: New file.
100 * testsuite/libphobos.gc/startbackgc.d: New file.
101 * testsuite/libphobos.imports/bug18193.d: New file.
102 * testsuite/libphobos.init_fini/custom_gc.d: New file.
103 * testsuite/libphobos.init_fini/test18996.d: New file.
104 * testsuite/libphobos.lifetime/large_aggregate_destroy_21097.d: New file.
105 * testsuite/libphobos.thread/external_threads.d: New file.
106 * testsuite/libphobos.thread/join_detach.d: New file.
107 * testsuite/libphobos.thread/test_import.d: New file.
108 * testsuite/libphobos.thread/tlsstack.d: New file.
109 * testsuite/libphobos.typeinfo/enum_.d: New file.
110 * testsuite/libphobos.typeinfo/isbaseof.d: New file.
111 * testsuite/libphobos.unittest/customhandler.d: New file.
113 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
115 * testsuite/lib/libphobos.exp: Prune warnings from external
118 2021-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
120 * libdruntime/core/thread/fiber.d (defaultStackPages): Increase size
121 on OSX X86_64 targets.
123 2021-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
125 * libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
127 (_d_emutls_destroy): Don't call __gthread_key_delete.
129 2021-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
132 * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
133 contents of internal EH storage.
135 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
137 * libdruntime/gcc/deh.d (ExceptionHeader.getClassInfo): Move to...
138 (getClassInfo): ...here as free function. Add lsda parameter.
139 (scanLSDA): Pass lsda to actionTableLookup.
140 (actionTableLookup): Add lsda parameter, pass to getClassInfo.
141 (__gdc_personality): Remove currentCfa variable.
143 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
145 * libdruntime/gcc/deh.d (_d_print_throwable): Declare.
146 (_d_throw): Print stacktrace before terminating program due to
149 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
151 * libdruntime/core/runtime.d (runModuleUnitTests): Use scope to new
152 LibBacktrace on the stack.
153 * libdruntime/gcc/backtrace.d (FIRSTFRAME): Remove.
154 (LibBacktrace.MaxAlignment): Remove.
155 (LibBacktrace.this): Remove default initialization of firstFrame.
156 (UnwindBacktrace.this): Likewise.
158 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
160 * libdruntime/gcc/unwind/generic.d (__aligned__): Define.
161 (_Unwind_Exception): Align struct to __aligned__.
163 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
166 * libdruntime/__main.di: Define main function as extern(C) when
167 compiling without D runtime.
169 2021-09-01 Iain Buclaw <ibuclaw@gdcproject.org>
171 * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES.
173 2021-09-01 Iain Buclaw <ibuclaw@gdcproject.org>
175 * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY.
176 * src/Makefile.in: Regenerate.
178 2021-08-30 Iain Buclaw <ibuclaw@gdcproject.org>
180 * configure: Regenerate.
181 * m4/autoconf.m4 (AC_LANG_PROGRAM): Declare module name 'object'.
182 * m4/gcc_support.m4 (WITH_LOCAL_DRUNTIME): Compile tests with
185 2021-06-11 Iain Buclaw <ibuclaw@gdcproject.org>
188 * src/MERGE: Merge upstream phobos 55bb17543.
190 2021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
192 * src/std/process.d (unittest): Remove tmpname on exit.
193 * src/MERGE: Merge upstream phobos 63f4caa90.
195 2021-05-13 Iain Buclaw <ibuclaw@gdcproject.org>
197 * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
199 2021-05-10 Iain Buclaw <ibuclaw@gdcproject.org>
201 * src/MERGE: Merge upstream phobos 32cfe9b61.
203 2021-04-21 Iain Buclaw <ibuclaw@gdcproject.org>
205 * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
206 generate PPC and PPC64 asm implementations, and conditionally remove
207 PPC register names on non-Darwin targets.
209 2021-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
212 * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
214 (actionTableLookup): Update calls to read_sleb128 and
215 read_encoded_value_with_base.
216 * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
217 (read_sleb128): Update signature.
218 (read_unaligned): New function.
219 (read_encoded_value_with_base): Update signature. Call read_unaligned
220 instead of unsafe pointer dereferencing.
221 (read_encoded_value): Update signature.
223 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
226 * libdruntime/MERGE: Merge upstream druntime 89f870b7.
227 * src/MERGE: Merge upstream phobos e6907ff3e.
229 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
232 * configure: Regenerate.
233 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
234 core/sys/darwin/config.d
235 * libdruntime/Makefile.in: Regenerate.
236 * libdruntime/config/powerpc/switchcontext.S: Implement
237 fiber_switchContext for __MACH__.
238 * libdruntime/config/x86/switchcontext.S: Likewise.
239 * libdruntime/core/sys/darwin/config.d: New file.
240 * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
241 (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
242 * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
243 assembler implementation for X86, X86_64, PPC, and PPC64.
244 * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
246 * libdruntime/gcc/deh.d (FuncTable): Remove definition.
247 * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
248 bracket symbol on darwin* targets.
249 * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
250 support ucontext-based Fibers.
252 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
255 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
256 config/mingw/msvc.c on DRUNTIME_OS_MINGW.
257 * libdruntime/Makefile.in: Regenerate.
258 * libdruntime/config/mingw/msvc.c: New file.
259 * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
261 * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
262 _GCC_specific_handler.
263 * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
264 * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
266 * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
267 (rt_loadLibraryW): Remove function.
268 (initLibrary): Remove function.
269 (rt_unloadLibrary): Remove function.
271 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
274 * configure: Regenerate.
275 * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
276 * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
278 * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
279 (linkMapForHandle): Implement for OpenBSD.
280 (exeLinkMap): Remove.
281 (getDependencies): Adjust dlpi_addr on OpenBSD.
282 (handleForName): Implement for OpenBSD.
283 (IterateManually): Define on OpenBSD.
284 * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
285 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
287 (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
289 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
291 * Makefile.in: Regenerate.
292 * configure: Regenerate.
293 * configure.ac: Call DRUNTIME_SECTION_FLAGS.
294 * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
295 * libdruntime/Makefile.in: Regenerate.
296 * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
297 * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
298 * src/Makefile.in: Regenerate.
299 * testsuite/Makefile.in: Regenerate.
301 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
303 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
304 gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
305 Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
306 * libdruntime/Makefile.in: Regenerate.
307 * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
308 use platform independant section function names.
309 * libdruntime/gcc/sections/elf_shared.d: Renamed to...
310 * libdruntime/gcc/sections/elf.d: ...this. Mangle functions for
311 core.thread interface as if they come from the gcc.sections module.
312 * libdruntime/gcc/sections/package.d: Update public imports, declare
313 functions for core.thread interface.
314 * libdruntime/gcc/sections/android.d: Removed.
315 * libdruntime/gcc/sections/osx.d: Removed.
316 * libdruntime/gcc/sections/win32.d: Removed.
317 * libdruntime/gcc/sections/win64.d: Removed.
318 * libdruntime/gcc/sections/common.d: New file.
319 * libdruntime/gcc/sections/macho.d: New file.
320 * libdruntime/gcc/sections/pecoff.d: New file.
322 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
324 * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
326 * testsuite/libphobos.phobos/phobos.exp: Likewise.
328 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
330 * testsuite/libphobos.druntime/druntime.exp: Remove
331 is-effective-target static.
332 * testsuite/libphobos.phobos/phobos.exp: Likewise.
334 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
337 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
338 -fno-moduleinfo flag to dg-runtest.
339 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
341 2021-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
343 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
345 * libdruntime/Makefile.in: Regenerate.
346 * libdruntime/gcc/attribute.d: Deprecate module, publicly import
348 * libdruntime/gcc/deh.d: Update imports.
349 * libdruntime/gcc/attributes.d: New file.
351 2021-04-06 Iain Buclaw <ibuclaw@gdcproject.org>
353 * libdruntime/MERGE: Merge upstream druntime 1134b710.
355 2021-04-03 Iain Buclaw <ibuclaw@gdcproject.org>
357 * libdruntime/MERGE: Merge upstream druntime 483bc129.
358 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
359 core/sys/darwin/fcntl.d.
360 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
361 (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
362 * libdruntime/Makefile.in: Regenerate.
363 * src/MERGE: Merge upstream phobos f89dc217a.
364 * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
365 * src/Makefile.in: Regenerate.
366 * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
367 * testsuite/libphobos.exceptions/line_trace.d: Likewise.
369 2021-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
371 * Makefile.in: Regenerate.
372 * configure: Regenerate.
373 * configure.ac: Substitute enable_shared, enable_static, and
375 * libdruntime/Makefile.am (AM_DFLAGS): Replace
376 phobos_compiler_pic_flag with phobos_lt_pic_flags, and
377 phobos_compiler_shared_flag.
378 * libdruntime/Makefile.in: Regenerate.
379 * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
380 with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
381 * src/Makefile.in: Regenerate.
382 * testsuite/Makefile.in: Regenerate.
383 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
384 -fversion=Shared and -fno-moduleinfo from default extra test flags.
385 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
386 * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
389 2021-02-04 Iain Buclaw <ibuclaw@gdcproject.org>
392 * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
393 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
394 * libdruntime/Makefile.in: Regenerate.
395 * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
397 2021-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
400 * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
401 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
402 core/internal/attributes.d
403 (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
404 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
405 core/sys/darwin/sys/sysctl.d.
406 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
407 core/sys/dragonflybsd/stdlib.d, and
408 core/sys/dragonflybsd/sys/sysctl.d.
409 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
410 core/sys/freebsd/sys/sysctl.d.
411 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
412 core/sys/netbsd/sys/sysctl.d.
413 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
414 core/sys/openbsd/sys/sysctl.d.
415 (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
416 * libdruntime/Makefile.in: Regenerate.
417 * src/MERGE: Merge upstream phobos 9d575282e.
419 2021-01-30 Iain Buclaw <ibuclaw@gdcproject.org>
421 * Makefile.in: Regenerate.
422 * configure: Regenerate.
423 * libdruntime/MERGE: Merge upstream druntime e4aae28e.
424 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
425 (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
426 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
427 core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
428 core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
429 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
430 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
431 (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
432 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
433 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
434 (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
435 core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
436 core/sys/posix/strings.d.
437 (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
438 (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
439 and core/sys/windows/stdc/time.d
440 * libdruntime/Makefile.in: Regenerate.
441 * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
442 * testsuite/libphobos.thread/fiber_guard_page.d: Use
443 __traits(getMember) to get internal fields.
445 2021-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
447 * src/MERGE: Merge upstream phobos 3dd5df686.
448 * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
449 -fversion=Linux_Pre_2639 if target is linux_pre_2639.
450 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
452 2021-01-23 Iain Buclaw <ibuclaw@gdcproject.org>
455 * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
456 for MIPS32 and MIPS64.
457 (getDependencies): Adjust dlpi_addr on MIPS_Any.
459 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
461 * configure: Re-generate.
463 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
466 * configure: Regenerate.
468 2020-11-30 Iain Buclaw <ibuclaw@gdcproject.org>
471 * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
474 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
477 * Makefile.in: Regenerate.
478 * configure: Regenerate.
479 * configure.ac (DCFG_ENABLE_CET): Substitute.
480 * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
481 * libdruntime/Makefile.in: Regenerate.
482 * libdruntime/core/thread.d: Import gcc.config.
483 (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
484 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
485 * src/Makefile.in: Regenerate.
486 * testsuite/Makefile.in: Regenerate.
488 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
490 * libdruntime/MERGE: Merge upstream druntime d37ef985.
491 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
492 core/sys/freebsd/config.d
493 * libdruntime/Makefile.in: Regenerate.
495 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
497 * src/MERGE: Merge upstream phobos 38873fe6e.
499 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
501 * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
503 2020-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
505 * configure.tgt: Add *-*-dragonfly* as a supported target.
506 * configure: Regenerate.
507 * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
510 2020-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
512 * src/MERGE: Merge upstream phobos 7948e0967.
514 2020-11-13 Iain Buclaw <ibuclaw@gdcproject.org>
516 * configure: Regenerate.
517 * configure.ac (libtool_VERSION): Update to 2:0.0.
519 2020-10-27 Iain Buclaw <ibuclaw@gdcproject.org>
521 * libdruntime/MERGE: Merge upstream druntime 58560d51.
523 2020-10-12 Maciej W. Rozycki <macro@linux-mips.org>
525 * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
526 Use L.D and S.D generic assembly instructions rather than LDC1
527 and SDC1 MIPS II hardware instructions.
529 2020-10-12 Iain Buclaw <ibuclaw@gdcproject.org>
531 * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
533 2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org>
537 * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
538 * Makefile.in: Regenerate.
539 * configure: Regenerate.
540 * configure.ac (DCFG_ENABLE_CET): Remove substitution.
541 (CET_DFLAGS): Substitute.
542 * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
543 (AM_CFLAGS): Add $(CET_FLAGS).
544 (AM_CCASFLAGS): Likewise.
545 * libdruntime/Makefile.in: Regenerate.
546 * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
547 condition with `version (CET)'.
548 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
549 * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
550 (AM_CFLAGS): Add $(CET_FLAGS).
551 * src/Makefile.in: Regenerate.
552 * testsuite/Makefile.in: Regenerate.
553 * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
555 2020-09-09 H.J. Lu <hjl.tools@gmail.com>
558 * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
559 generate the CET marker for -fcf-protection.
561 2020-09-08 Iain Buclaw <ibuclaw@gdcproject.org>
564 * Makefile.in: Regenerate.
565 * configure: Regenerate.
566 * configure.ac (DCFG_ENABLE_CET): Substitute.
567 * libdruntime/Makefile.in: Regenerate.
568 * libdruntime/config/x86/switchcontext.S: Remove CET support code.
569 * libdruntime/core/thread.d: Import gcc.config. Don't set version
570 AsmExternal when GNU_Enable_CET is true.
571 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
572 * src/Makefile.in: Regenerate.
573 * testsuite/Makefile.in: Regenerate.
575 2020-06-25 Iain Buclaw <ibuclaw@gdcproject.org>
577 * libdruntime/MERGE: Merge upstream druntime d05ebaad.
578 * src/MERGE: Merge upstream phobos 021ae0df7.
579 * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
581 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
584 * configure: Regenerated.
586 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
589 * configure: Regenerated.
591 2020-05-08 H.J. Lu <hongjiu.lu@intel.com>
593 * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
595 (_CET_ENDBR): New. Define if __CET__ is not defined.
596 (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
598 2020-05-08 H.J. Lu <hongjiu.lu@intel.com>
600 * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
601 * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
602 * Makefile.in: Regenerated.
603 * aclocal.m4: Likewise.
604 * configure.ac: Likewise.
606 2020-04-30 Iain Buclaw <ibuclaw@gdcproject.org>
608 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
609 config/powerpc/switchcontext.S
610 * libdruntime/Makefile.in: Regenerate.
611 * libdruntime/config/powerpc/callwithstack.S: Remove.
612 * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
614 * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
615 * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
618 2020-04-29 Iain Buclaw <ibuclaw@gdcproject.org>
620 * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
621 Fix KERNEL_VERSION condition.
623 2020-04-28 Iain Buclaw <ibuclaw@gdcproject.org>
626 * configure: Regenerate.
627 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
628 switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
629 * libdruntime/Makefile.in: Regenerate.
630 * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
631 * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
632 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
633 for all powerpc biarchs. Remove DRUNTIME_CPU_POWER64 conditional.
635 2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
637 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
638 core/sys/linux/sys/netinet/tcp.d.
639 * libdruntime/Makefile.in: Regenerate.
641 2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
643 * configure.tgt: Add hppa-*-linux* as a supported target.
645 2020-04-26 Iain Buclaw <ibuclaw@gdcproject.org>
647 * configure: Regenerate.
648 * configure.tgt: Add power*-*-linux* as a supported target, only
649 building libdruntime.
650 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
651 and powerpc64le target cpus.
653 2020-04-21 Mathias Lang <pro.mathias.lang@gmail.com>
654 Iain Buclaw <ibuclaw@gdcproject.org>
656 * configure: Regenerate.
657 * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
658 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
659 search libraries for swapcontext.
660 * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
661 __tls_get_addr on Musl.
663 2020-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
665 * configure: Regenerate.
666 * configure.ac: Fix option name for --with-libphobos-druntime-only.
668 2020-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
670 * configure: Regenerate.
671 * configure.ac: Remove DRUNTIME_GC.
673 2020-04-18 Iain Buclaw <ibuclaw@gdcproject.org>
676 * configure: Regenerate.
677 * configure.ac: Add --with-libphobos-druntime-only option and the
678 conditional ENABLE_LIBDRUNTIME_ONLY.
679 * configure.tgt: Define LIBDRUNTIME_ONLY.
680 * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
681 * src/Makefile.in: Regenerate.
682 * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
684 2020-04-18 Iain Buclaw <ibuclaw@gdcproject.org>
686 * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
687 not d_runtime_has_std_library.
688 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
690 2020-04-13 Iain Buclaw <ibuclaw@gdcproject.org>
692 * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
694 2020-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
696 * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
697 (libgphobos_la_LINK): Move to src/Makefile.am
698 * libdruntime/Makefile.am: Add libgdruntime_convenience library.
699 * libdruntime/Makefile.in: Regenerate.
700 * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
702 (libgphobos_la_DEPENDENCIES): Likewise.
703 * src/Makefile.in: Regenerate.
704 * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
705 * testsuite/testsuite_flags.in: Likewise.
707 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
709 * configure: Regenerate.
710 * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
711 DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
712 (DRUNTIME_DSOURCES): Add gc/*.d sources.
713 (DRUNTIME_DSOURCES_GC): Remove.
714 (DRUNTIME_DSOURCES_GCSTUB): Remove.
715 * libdruntime/Makefile.in: Regenerate.
716 * libdruntime/gcstub/gc.d: Remove.
717 * m4/druntime.m4 (DRUNTIME_GC): Remove.
719 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
722 * Makefile.in: Regenerate.
723 * configure: Regenerate.
724 * configure.ac: Add --enable-libphobos-checking and substitute
725 CHECKING_DFLAGS. Remove -frelease from GDCFLAGS.
726 * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
727 * libdruntime/Makefile.in: Regenerate.
728 * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
729 * src/Makefile.in: Regenerate.
730 * testsuite/Makefile.in: Regenerate.
731 * testsuite/testsuite_flags.in: Add -fno-release -funittest to
734 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
736 * configure: Regenerate.
737 * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
738 * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
740 2020-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
742 * configure: Regenerate.
743 * configure.ac: Remove DRUNTIME_OS_UNIX.
744 * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
745 DRUNTIME_OS_POSIX is true.
746 * libdruntime/Makefile.in: Regenerate.
747 * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
749 (DRUNTIME_OS_SOURCES): ...here. Rename conditional to
752 2020-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
754 * Makefile.in: Regenerate.
755 * configure: Regenerate.
756 * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
757 * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
758 * libdruntime/Makefile.in: Regenerate.
759 * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
760 * src/Makefile.in: Regenerate.
761 * testsuite/Makefile.in: Regenerate.
762 * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
764 2020-04-07 Robin Dapp <rdapp@linux.ibm.com>
765 Stefan Liebler <stli@linux.ibm.com>
767 * configure: Regenerate.
768 * libdruntime/Makefile.am: Add s390x and s390.
769 * libdruntime/Makefile.in: Regenerate.
770 * libdruntime/config/s390/get_tls_offset.S: New file.
771 * libdruntime/config/systemz/get_tls_offset.S: New file.
772 * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
773 * m4/druntime/cpu.m4: Add s390x and s390.
775 2020-04-07 Stefan Liebler <stli@linux.ibm.com>
777 * libdruntime/core/sys/posix/signal.d:
778 Add struct sigaction_t for SystemZ.
780 2020-03-16 Iain Buclaw <ibuclaw@gdcproject.org>
783 * Makefile.in: Regenerate.
784 * configure: Regenerate.
785 * configure.ac (libtool_VERSION): Reset to 1:0:0.
786 * libdruntime/Makefile.in: Regenerate.
788 2020-02-17 Martin Liska <mliska@suse.cz>
791 * src/std/algorithm/iteration.d: Fix typo.
793 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
795 * m4/druntime.m4: Handle `--with-toolexeclibdir='.
796 * m4/Makefile.in: Regenerate.
797 * libdruntime/Makefile.in: Regenerate.
798 * src/Makefile.in: Regenerate.
799 * testsuite/Makefile.in: Regenerate.
800 * Makefile.in: Regenerate.
801 * aclocal.m4: Regenerate.
802 * configure: Regenerate.
804 2020-01-01 Jakub Jelinek <jakub@redhat.com>
806 Update copyright years.
808 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
810 * configure: Regenerate.
812 2019-09-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
814 * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
815 dirs to the ld_library_path var.
817 2019-08-20 Iain Buclaw <ibuclaw@gdcproject.org>
819 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
820 core/sys/bionic/string.d.
821 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
822 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
823 core/sys/dragonflybsd/sys/socket.d.
824 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
825 (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
826 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
827 core/sys/netbsd/sys/featuretest.d.
828 * libdruntime/Makefile.in: Regenerate.
830 2019-08-20 Iain Buclaw <ibuclaw@gdcproject.org>
832 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
833 core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
834 core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
835 core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
836 core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
837 * libdruntime/Makefile.in: Regenerate.
839 2019-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
841 * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
842 relax=transtls if linker supports it.
843 * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
844 (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
845 mark supported with either gld or ld -z relax=transtls.
846 * configure: Regenerate.
848 2019-05-02 Maciej W. Rozycki <macro@wdc.com>
850 * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
851 (IeeeFlags.resetIeeeFlags): Likewise.
852 (FloatingPointControl.getControlState): Likewise.
853 (FloatingPointControl.setControlState): Likewise.
855 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
858 * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
859 _tlsRanges in every startup thread.
860 * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
861 * testsuite/libphobos.thread/tlsgc_sections.d: New test.
863 2019-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
865 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
866 * configure: Regenerate.
868 2019-04-25 Johannes Pfau <johannespfau@gmail.com>
870 * libdruntime/Makefile.am: Add emutls and gthread files.
871 * libdruntime/Makefile.in: Regenerate.
872 * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
873 * libdruntime/gcc/gthread.d: New file.
874 * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
875 * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
877 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
879 * testsuite/Makefile.am: Set PWD_COMMAND.
880 * testsuite/Makefile.in: Regenerate.
882 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
885 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
886 * configure.ac: Use it.
887 * configure: Regenerate.
888 * libdruntime/Makefile.am: Add new config sources to
889 DRUNTIME_SOURCES_CONFIGURED.
890 * libdruntime/Makefile.in: Regenerate.
891 * libdruntime/config/aarch64/switchcontext.S: New file.
892 * libdruntime/config/arm/switchcontext.S: New file.
893 * libdruntime/config/common/threadasm.S: New file.
894 * libdruntime/config/mingw/switchcontext.S: New file.
895 * libdruntime/config/mips/switchcontext.S: New file.
896 * libdruntime/config/powerpc/switchcontext.S: New file.
897 * libdruntime/config/powerpc64/callwithstack.S: New file.
898 * libdruntime/config/x86/switchcontext.S: New file.
899 * libdruntime/core/threadasm.S: Remove.
901 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
904 * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
906 * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
907 -fversion=Linux_Pre_2639 if target is linux_pre_2639.
908 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
910 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
913 * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
914 libphobos_skipped_test_p before running test.
915 (libphobos-dg-prune): New proc.
916 (libphobos_init): Set libphobos_skip_tests.
917 (libphobos_skipped_test_p): New proc.
918 (check_effective_target_libcurl_available): New proc.
919 * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
921 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
923 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
926 * configure: Regenerate.
927 * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
928 dependencies on libphobos.
929 (lt_simple_link_test_code): Likewise.
930 (GDCFLAGS): Don't override for D compiler tests.
932 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
934 * configure.tgt: Add aarch64*-*-linux* as a supported target.
936 2019-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
937 Robin Dapp <rdapp@linux.ibm.com>
939 * configure.tgt: Add s390*-linux* as a supported target.
940 * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
941 (__tls_get_addr_internal): Declare.
942 (TLS_DTV_OFFSET): Define as zero on SystemZ.
943 (getTLSRange): Support getting TLS on SystemZ.
944 * testsuite/libphobos.typeinfo/struct-align.d: New test.
946 2019-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
948 * configure.tgt: Add linux/riscv as supported target.
949 * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
950 dlpi_addr on RISCV32 and RISCV64.
951 * src/std/math.d: Add IEEE FPU control support for RISC-V.
953 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
954 Bernd Edlinger <bernd.edlinger@hotmail.de>
955 Jakub Jelinek <jakub@redhat.com>
958 * libdruntime/gcc/deh.d: Import gcc.attribute.
959 (personality_fn_attributes): New enum.
960 (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
961 Add @personality_fn_attributes.
963 2019-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
966 * libdruntime/core/atomic.d (casImpl): Remove static assert for
967 GNU_Have_Atomics, add static path to handle missing atomic support.
968 (atomicLoad): Likewise.
969 (atomicStore): Likewise.
970 (atomicFence): Likewise.
971 (atomicMutexHandle, AtomicMutex): Declare types.
972 (_getAtomicMutex): New function.
973 (getAtomicMutex): Declare.
975 2019-04-16 Iain Buclaw <ibuclaw@gdcproject.org>
977 * config.h.in: Regenerate.
978 * configure: Regenerate.
979 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
980 CPPFLAGS correctly for backtrace support test.
982 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
984 * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
985 Set to yes explicitly.
986 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
987 * configure.ac: Handle --enable-libphobos.
988 (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
990 (ENABLE_LIBPHOBOS): New conditional.
991 * configure: Regenerate.
992 * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
993 * Makefile.in: Regenerate.
995 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
996 Iain Buclaw <ibuclaw@gdcproject.org>
999 * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
1000 * configure.ac: Use it.
1001 Call AC_USE_SYSTEM_EXTENSIONS.
1002 * configure: Regenerate.
1003 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1004 testsuite/Makefile.in: Regenerate.
1005 * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
1006 * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
1007 (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
1009 [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
1010 Otherwise clear pdso._tlsMod, pdso._tlsSize.
1011 (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
1013 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1015 * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
1016 * configure.ac: Call it.
1017 * configure: Regenerate.
1018 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1019 testsuite/Makefile.in: Regenerate.
1020 * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
1022 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1025 * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
1027 Import core.sys.solaris.dlfcn, core.sys.solaris.link,
1028 core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
1029 (dummy_ref): Declare.
1030 (initSections): Initialize dummy_ref.
1031 (getDependencies): Set strtab.
1032 (handleForName): Don't dlclose handle.
1033 (findDSOInfoForAddr): Set IterateManually.
1034 (getprogname): Declare.
1036 * libdruntime/gcc/sections/package.d [Solaris]: Import
1037 gcc.sections.elf_shared instead of gcc.sections.solaris.
1038 * libdruntime/gcc/sections/solaris.d: Remove.
1039 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
1040 gcc/sections/solaris.d.
1041 * libdruntime/Makefile.in: Regenerate.
1043 2019-04-13 Iain Buclaw <ibuclaw@gdcproject.org>
1045 * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
1046 (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
1047 * libdruntime/Makefile.in: Regenerate.
1048 * libdruntime/gcc/sections/android.d: New file.
1049 * libdruntime/gcc/sections/elf_shared.d: New file.
1050 * libdruntime/gcc/sections/osx.d: New file.
1051 * libdruntime/gcc/sections/package.d: New file.
1052 * libdruntime/gcc/sections/solaris.d: New file.
1053 * libdruntime/gcc/sections/win32.d: New file.
1054 * libdruntime/gcc/sections/win64.d: New file.
1055 * libdruntime/rt/bss_section.c: Remove.
1056 * libdruntime/rt/sections.d: Publicly import gcc.sections.
1057 * libdruntime/rt/sections_android.d: Remove.
1058 * libdruntime/rt/sections_elf_shared.d: Remove.
1059 * libdruntime/rt/sections_osx.d: Remove.
1060 * libdruntime/rt/sections_solaris.d: Remove.
1061 * libdruntime/rt/sections_win32.d: Remove.
1062 * libdruntime/rt/sections_win64.d: Remove.
1064 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1066 * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
1067 * configure: Regenerate.
1068 * libdruntime/Makefile.in: Regenerate.
1070 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1072 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
1073 libz_convenience.a if not using system zlib.
1074 * Makefile.in: Regenerate.
1075 * configure: Regenerate.
1076 * libdruntime/Makefile.in: Regenerate.
1077 * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
1078 * src/Makefile.in: Regenerate.
1079 * testsuite/Makefile.in: Regenerate.
1081 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1083 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1084 (RUNTEST): Remove variable.
1085 (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
1086 check_p_numbers1, check_p_numbers2, check_p_numbers3,
1087 check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
1088 check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
1089 (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
1090 rules written so that all the *.exp files are ran parallelized.
1091 (CLEANFILES): Add *.exe, *.o, and site.exp.
1092 * testsuite/Makefile.in: Regenerate.
1094 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1097 * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
1098 * configure: Regenerate.
1099 * d_rules.am (%.t.lo, %.t.o): Remove rules.
1100 (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
1101 libgphobos_t_la_LINK): Remove variables.
1102 * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
1103 DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1104 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1105 unittest_static_LDFLAGS, unittest_static_LDADD,
1106 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1107 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1108 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1109 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1110 unittest_LDADD): Remove variables.
1111 (clean-local): Remove rule.
1112 * libdruntime/Makefile.in: Regenerate.
1113 * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
1114 PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1115 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1116 unittest_static_LDFLAGS, unittest_static_LDADD,
1117 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1118 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1119 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1120 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1121 unittest_LDADD): Remove variables.
1122 (clean-local): Remove rule.
1123 * src/Makefile.in: Regenerate.
1124 * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
1125 (libphobos_init): Set libphobos_test_name.
1126 (libphobos-dg-test): Override name if libphobos_test_name is set.
1127 (filter_libphobos_unittests): New proc.
1128 * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
1129 * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
1130 * testsuite/libphobos.druntime/druntime.exp: New file.
1131 * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
1132 * testsuite/libphobos.phobos/phobos.exp: New file.
1133 * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
1134 * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
1135 * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
1136 * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
1137 * testsuite/libphobos.thread/thread.exp: Likewise.
1138 * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
1139 * testsuite/libphobos.unittests/unittests.exp: Remove.
1140 * testsuite/test_runner.d: Remove.
1141 * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
1143 2019-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
1145 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
1146 core/sys/darwin/crt_externs.d.
1147 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
1148 (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
1149 * libdruntime/Makefile.in: Regenerate.
1151 2019-03-23 Johannes Pfau <johannespfau@gmail.com>
1153 * configure.ac: Update autotool version comment.
1155 2019-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
1157 * src/Makefile.am: Avoid the -D option which is not available
1158 with the install-sh fallback. Use $(MKDIR_P) instead.
1159 * libdruntime/Makefile.am: Likewise.
1160 * src/Makefile.in: Regenerated.
1161 * libdruntime/Makefile.in: Regenerated.
1163 2019-02-19 Iain Buclaw <ibuclaw@gdcproject.org>
1165 * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
1166 [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
1167 RTLD_NOLOAD from core.sys.*.dlfcn.
1168 Assert RTLD_NOLOAD is available.
1170 2019-02-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1172 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
1173 * configure.ac: Invoke it.
1174 * configure: Regenerate.
1176 2019-02-19 Johannes Pfau <johannespfau@gmail.com>
1179 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
1180 * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
1181 * configure: Regenerate
1182 * Makefile.in: Regenerate
1183 * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
1184 * libdruntime/Makefile.in: Regenerate.
1185 * src/Makefile.in: Regenerate.
1186 * testsuite/Makefile.in: Regenerate.
1188 2019-02-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1190 * testsuite/lib/libphobos-dg.exp: Tabify.
1191 * testsuite/lib/libphobos.exp: Likewise.
1192 * testsuite/libphobos.cycles/cycles.exp: Likewise.
1193 * testsuite/libphobos.shared/shared.exp: Likewise.
1194 * testsuite/libphobos.unittests/unittests.exp: Likewise.
1196 2019-02-14 Maya Rashish <coypu@sdf.org>
1198 * configure.tgt: Add netbsd/x86 as supported target.
1200 2019-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1203 * configure.ac (DRTSTUFF_SPEC): New variable.
1205 * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1206 New automake conditional.
1207 * configure: Regenerate.
1208 * libdruntime/gcc/drtstuff.c: New file.
1209 * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1210 (DRTSTUFF, toolexeclib_DATA): New variables.
1211 (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1212 (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1213 Add -dstartfiles -B../src -Bgcc.
1214 (libgdruntime_la_DEPENDENCIES): New variable.
1215 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1216 (libgdruntime_t_la_LDFLAGS): Likewise.
1217 (unittest_LDFLAGS): Likewise.
1218 * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1220 Add -dstartfiles -B../libdruntime/gcc.
1221 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1222 (libgphobos_t_la_LDFLAGS): Likewise.
1223 (unittest_LDFLAGS): Likewise.
1224 * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1225 * Makefile.in, testsuite/Makefile.in: Regenerate.
1226 * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1228 * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1229 * src/drtstuff.spec: New file.
1230 * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1231 (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1233 * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1234 -B${BUILD_DIR}/libdruntime/gcc.
1236 2019-02-13 Iain Buclaw <ibuclaw@gdcproject.org>
1238 * libdruntime/core/runtime.d (defaultTraceHandler): Give
1239 UnwindBacktrace handler precedence over backtrace.
1241 2019-02-10 Iain Buclaw <ibuclaw@gdcproject.org>
1243 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1244 * libdruntime/Makefile.in: Rebuild.
1245 * testsuite/libphobos.aa/aa.exp: New file.
1246 * testsuite/libphobos.aa/test_aa.d: New test.
1247 * testsuite/libphobos.hash/hash.exp: New file.
1248 * testsuite/libphobos.hash/test_hash.d: New test.
1250 2019-01-12 Iain Buclaw <ibuclaw@gdcproject.org>
1252 * README.gcc: New file.
1254 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1256 Update copyright years.
1258 2018-12-14 Iain Buclaw <ibuclaw@gdcproject.org>
1260 * src/std/internal/digest: Remove empty directory.
1262 2018-12-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1264 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1265 * Makefile.in: Regenerate.
1267 2018-11-28 Iain Buclaw <ibuclaw@gdcproject.org>
1269 * Makefile.in: Rebuild.
1270 * configure: Rebuild.
1271 * configure.ac (DRUNTIME_SOVERSION): Remove.
1272 (PHOBOS_SOVERSION): Remove.
1273 (libtool_VERSION): Add.
1274 * libdruntime/Makefile.am: Use libtool_VERSION.
1275 * libdruntime/Makefile.in: Rebuild.
1276 * src/Makefile.am: Use libtool_VERSION.
1277 * src/Makefile.in: Rebuild.
1278 * testsuite/Makefile.in: Rebuild.
1280 2018-11-22 Johannes Pfau <johannespfau@gmail.com>
1283 * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1284 library for multilib builds.
1286 2018-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
1288 * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1289 std.internal.math.biguintx86 modules.
1290 * src/Makefile.in: Rebuild.
1291 * src/std/internal/digest/sha_SSSE3.d: Remove.
1292 * src/std/internal/math/biguintx86.d: Remove.
1294 2018-11-02 Iain Buclaw <ibuclaw@gdcproject.org>
1297 * Makefile.in: Rebuild.
1298 * configure: Rebuild.
1299 * configure.ac: Properly set MULTISUBDIR.
1300 * d_rules.am: Set toolexecdir and toolexeclibdir.
1301 * libdruntime/Makefile.in: Rebuild.
1302 * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1303 --enable-version-specific-runtime-libs.
1304 * src/Makefile.in: Rebuild.
1305 * testsuite/Makefile.in: Rebuild.
1307 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1310 * Makefile.am: Include multilib.am.
1311 * configure.ac: Remove AC_PREREQ. Use -Wno-override in
1312 AM_INIT_AUTOMAKE call.
1313 * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1314 * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1315 * testsuite/Makefile.am (RUNTEST): Remove quotes.
1316 * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1317 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1319 2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
1324 * configure.tgt: New file.
1326 2018-10-28 Iain Buclaw <ibuclaw@gdcproject.org>
1328 * Makefile.am: New file.
1329 * Makefile.in: New file.
1330 * acinclude.m4: New file.
1331 * aclocal.m4: New file.
1332 * config.h.in: New file.
1333 * configure: New file.
1334 * configure.ac: New file.
1335 * d_rules.am: New file.
1336 * libdruntime/Makefile.am: New file.
1337 * libdruntime/Makefile.in: New file.
1338 * libdruntime/__entrypoint.di: New file.
1339 * libdruntime/__main.di: New file.
1340 * libdruntime/gcc/attribute.d: New file.
1341 * libdruntime/gcc/backtrace.d: New file.
1342 * libdruntime/gcc/builtins.d: New file.
1343 * libdruntime/gcc/config.d.in: New file.
1344 * libdruntime/gcc/deh.d: New file.
1345 * libdruntime/gcc/libbacktrace.d.in: New file.
1346 * libdruntime/gcc/unwind/arm.d: New file.
1347 * libdruntime/gcc/unwind/arm_common.d: New file.
1348 * libdruntime/gcc/unwind/c6x.d: New file.
1349 * libdruntime/gcc/unwind/generic.d: New file.
1350 * libdruntime/gcc/unwind/package.d: New file.
1351 * libdruntime/gcc/unwind/pe.d: New file.
1352 * m4/autoconf.m4: New file.
1353 * m4/druntime.m4: New file.
1354 * m4/druntime/cpu.m4: New file.
1355 * m4/druntime/libraries.m4: New file.
1356 * m4/druntime/os.m4: New file.
1357 * m4/gcc_support.m4: New file.
1358 * m4/gdc.m4: New file.
1359 * m4/libtool.m4: New file.
1360 * src/Makefile.am: New file.
1361 * src/Makefile.in: New file.
1362 * src/libgphobos.spec.in: New file.
1363 * testsuite/Makefile.am: New file.
1364 * testsuite/Makefile.in: New file.
1365 * testsuite/config/default.exp: New file.
1366 * testsuite/lib/libphobos-dg.exp: New file.
1367 * testsuite/lib/libphobos.exp: New file.
1368 * testsuite/testsuite_flags.in: New file.
1371 Copyright (C) 2018-2021 Free Software Foundation, Inc.
1373 Copying and distribution of this file, with or without modification,
1374 are permitted in any medium without royalty provided the copyright
1375 notice and this notice are preserved.