1 2021-12-21 Iain Buclaw <ibuclaw@gdcproject.org>
3 * configure.tgt: Add power*-*-freebsd* as a supported target.
5 2021-12-20 Iain Buclaw <ibuclaw@gdcproject.org>
7 * libdruntime/MERGE: Merge upstream druntime fd9a4544.
8 * src/MERGE: Merge upstream phobos 495e835c2.
10 2021-12-15 Iain Buclaw <ibuclaw@gdcproject.org>
13 * configure: Regenerate.
14 * configure.ac (libtool_VERSION): Update to 3:0:0.
15 * libdruntime/MERGE: Merge upstream druntime 6364e010.
16 * src/MERGE: Merge upstream phobos 575b67a9b.
17 * testsuite/libphobos.traits/all_satisfy.d: New test.
18 * testsuite/libphobos.traits/traits.exp: New test.
20 2021-12-10 Iain Buclaw <ibuclaw@gdcproject.org>
23 * libdruntime/MERGE: Merge upstream druntime bc58b1e9.
24 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
25 core/sys/linux/syscalls.d.
26 * libdruntime/Makefile.in: Regenerate.
27 * src/MERGE: Merge upstream phobos 12329adb6.
28 * testsuite/libphobos.config/config.exp: Add test22523.
29 * libdruntime/core/sys/linux/syscalls.d: Removed.
30 * testsuite/libphobos.config/test22523.d: New test.
32 2021-12-08 Iain Buclaw <ibuclaw@gdcproject.org>
35 * libdruntime/MERGE: Merge upstream druntime 178c44ff.
36 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Add
37 core/sys/linux/syscalls.d.
38 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/pthread_np.d.
39 * libdruntime/Makefile.in: Regenerate.
40 * src/MERGE: Merge upstream phobos 574bf883b.
41 * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=fieldwise.
42 * src/Makefile.in: Regenerate.
43 * testsuite/libphobos.exceptions/assert_fail.d: Update test.
44 * testsuite/libphobos.betterc/test22336.d: New test.
46 2021-12-02 Iain Buclaw <ibuclaw@gdcproject.org>
48 * libdruntime/core/thread/osthread.d (callWithStackShell): Push all
49 callee-save registers on the stack for AArch64 and ARM.
51 2021-12-02 Iain Buclaw <ibuclaw@gdcproject.org>
53 * src/std/math/hardware.d (FloatingPointControl.getControlState): Add
54 missing ControlState variable for AArch64.
56 2021-12-01 Iain Buclaw <ibuclaw@gdcproject.org>
58 * testsuite/testsuite_flags.in: Add libphobos library directory as
59 search path to --gdcldflags.
61 2021-11-30 Iain Buclaw <ibuclaw@gdcproject.org>
63 * libdruntime/MERGE: Merge upstream druntime e6caaab9.
64 * libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with
65 -fpreview=dip1000, -fpreview=fieldwise, and -fpreview=dtorfields.
66 (ALL_DRUNTIME_SOURCES): Add DRUNTIME_DSOURCES_STDCXX.
67 (DRUNTIME_DSOURCES): Update list of C binding modules.
68 (DRUNTIME_DSOURCES_STDCXX): Likewise.
69 (DRUNTIME_DSOURCES_LINUX): Likewise.
70 (DRUNTIME_DSOURCES_OPENBSD): Likewise.
71 (DRUNTIME_DISOURCES): Remove __entrypoint.di.
72 * libdruntime/Makefile.in: Regenerated.
73 * libdruntime/__entrypoint.di: Removed.
74 * libdruntime/gcc/deh.d (_d_isbaseof): Update signature.
75 (_d_createTrace): Likewise.
76 (__gdc_begin_catch): Remove reference to the exception.
77 (_d_throw): Increment reference count of thrown object before unwind.
78 (__gdc_personality): Chain exceptions with Throwable.chainTogether.
79 * libdruntime/gcc/emutls.d: Update imports.
80 * libdruntime/gcc/sections/elf.d: Update imports.
81 (DSO.moduleGroup): Update signature.
82 * libdruntime/gcc/sections/macho.d: Update imports.
83 (DSO.moduleGroup): Update signature.
84 * libdruntime/gcc/sections/pecoff.d: Update imports.
85 (DSO.moduleGroup): Update signature.
86 * src/MERGE: Merge upstream phobos 5ab9ad256.
87 * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and
88 -fpreview=dtorfields flags.
89 (PHOBOS_DSOURCES): Update list of std modules.
90 * src/Makefile.in: Regenerate.
91 * testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly
94 (additional_prunes): Define.
95 (libphobos-dg-prune): Filter any additional_prunes set by tests.
96 * testsuite/libphobos.aa/test_aa.d: Update test.
97 * testsuite/libphobos.druntime/druntime.exp (version_flags): Add
98 -fversion=CoreUnittest.
99 * testsuite/libphobos.druntime_shared/druntime_shared.exp
100 (version_flags): Add -fversion=CoreUnittest -fversion=Shared.
101 * testsuite/libphobos.exceptions/unknown_gc.d: Update test.
102 * testsuite/libphobos.hash/test_hash.d: Update test.
103 * testsuite/libphobos.phobos/phobos.exp (version_flags): Add
104 -fversion=StdUnittest
105 * testsuite/libphobos.phobos_shared/phobos_shared.exp (version_flags):
107 * testsuite/libphobos.shared/host.c: Update test.
108 * testsuite/libphobos.shared/load.d: Update test.
109 * testsuite/libphobos.shared/load_13414.d: Update test.
110 * testsuite/libphobos.thread/fiber_guard_page.d: Update test.
111 * testsuite/libphobos.thread/tlsgc_sections.d: Update test.
112 * testsuite/testsuite_flags.in: Add -fpreview=dip1000 to --gdcflags.
113 * testsuite/libphobos.shared/link_mod_collision.d: Removed.
114 * testsuite/libphobos.shared/load_mod_collision.d: Removed.
115 * testsuite/libphobos.betterc/betterc.exp: New test.
116 * testsuite/libphobos.config/config.exp: New test.
117 * testsuite/libphobos.gc/gc.exp: New test.
118 * testsuite/libphobos.imports/imports.exp: New test.
119 * testsuite/libphobos.lifetime/lifetime.exp: New test.
120 * testsuite/libphobos.unittest/unittest.exp: New test.
121 * testsuite/libphobos.allocations/alloc_from_assert.d: New file.
122 * testsuite/libphobos.betterc/test18828.d: New file.
123 * testsuite/libphobos.betterc/test19416.d: New file.
124 * testsuite/libphobos.betterc/test19421.d: New file.
125 * testsuite/libphobos.betterc/test19561.d: New file.
126 * testsuite/libphobos.betterc/test19924.d: New file.
127 * testsuite/libphobos.betterc/test20088.d: New file.
128 * testsuite/libphobos.betterc/test20613.d: New file.
129 * testsuite/libphobos.config/test19433.d: New file.
130 * testsuite/libphobos.config/test20459.d: New file.
131 * testsuite/libphobos.exceptions/assert_fail.d: New file.
132 * testsuite/libphobos.exceptions/catch_in_finally.d: New file.
133 * testsuite/libphobos.exceptions/future_message.d: New file.
134 * testsuite/libphobos.exceptions/long_backtrace_trunc.d: New file.
135 * testsuite/libphobos.exceptions/refcounted.d: New file.
136 * testsuite/libphobos.exceptions/rt_trap_exceptions.d: New file.
137 * testsuite/libphobos.exceptions/rt_trap_exceptions_drt.d: New file.
138 * testsuite/libphobos.gc/attributes.d: New file.
139 * testsuite/libphobos.gc/forkgc.d: New file.
140 * testsuite/libphobos.gc/forkgc2.d: New file.
141 * testsuite/libphobos.gc/nocollect.d: New file.
142 * testsuite/libphobos.gc/precisegc.d: New file.
143 * testsuite/libphobos.gc/recoverfree.d: New file.
144 * testsuite/libphobos.gc/sigmaskgc.d: New file.
145 * testsuite/libphobos.gc/startbackgc.d: New file.
146 * testsuite/libphobos.imports/bug18193.d: New file.
147 * testsuite/libphobos.init_fini/custom_gc.d: New file.
148 * testsuite/libphobos.init_fini/test18996.d: New file.
149 * testsuite/libphobos.lifetime/large_aggregate_destroy_21097.d: New file.
150 * testsuite/libphobos.thread/external_threads.d: New file.
151 * testsuite/libphobos.thread/join_detach.d: New file.
152 * testsuite/libphobos.thread/test_import.d: New file.
153 * testsuite/libphobos.thread/tlsstack.d: New file.
154 * testsuite/libphobos.typeinfo/enum_.d: New file.
155 * testsuite/libphobos.typeinfo/isbaseof.d: New file.
156 * testsuite/libphobos.unittest/customhandler.d: New file.
158 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
160 * testsuite/lib/libphobos.exp: Prune warnings from external
163 2021-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
165 * libdruntime/core/thread/fiber.d (defaultStackPages): Increase size
166 on OSX X86_64 targets.
168 2021-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
170 * libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
172 (_d_emutls_destroy): Don't call __gthread_key_delete.
174 2021-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
177 * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
178 contents of internal EH storage.
180 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
182 * libdruntime/gcc/deh.d (ExceptionHeader.getClassInfo): Move to...
183 (getClassInfo): ...here as free function. Add lsda parameter.
184 (scanLSDA): Pass lsda to actionTableLookup.
185 (actionTableLookup): Add lsda parameter, pass to getClassInfo.
186 (__gdc_personality): Remove currentCfa variable.
188 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
190 * libdruntime/gcc/deh.d (_d_print_throwable): Declare.
191 (_d_throw): Print stacktrace before terminating program due to
194 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
196 * libdruntime/core/runtime.d (runModuleUnitTests): Use scope to new
197 LibBacktrace on the stack.
198 * libdruntime/gcc/backtrace.d (FIRSTFRAME): Remove.
199 (LibBacktrace.MaxAlignment): Remove.
200 (LibBacktrace.this): Remove default initialization of firstFrame.
201 (UnwindBacktrace.this): Likewise.
203 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
205 * libdruntime/gcc/unwind/generic.d (__aligned__): Define.
206 (_Unwind_Exception): Align struct to __aligned__.
208 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
211 * libdruntime/__main.di: Define main function as extern(C) when
212 compiling without D runtime.
214 2021-09-01 Iain Buclaw <ibuclaw@gdcproject.org>
216 * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES.
218 2021-09-01 Iain Buclaw <ibuclaw@gdcproject.org>
220 * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY.
221 * src/Makefile.in: Regenerate.
223 2021-08-30 Iain Buclaw <ibuclaw@gdcproject.org>
225 * configure: Regenerate.
226 * m4/autoconf.m4 (AC_LANG_PROGRAM): Declare module name 'object'.
227 * m4/gcc_support.m4 (WITH_LOCAL_DRUNTIME): Compile tests with
230 2021-06-11 Iain Buclaw <ibuclaw@gdcproject.org>
233 * src/MERGE: Merge upstream phobos 55bb17543.
235 2021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
237 * src/std/process.d (unittest): Remove tmpname on exit.
238 * src/MERGE: Merge upstream phobos 63f4caa90.
240 2021-05-13 Iain Buclaw <ibuclaw@gdcproject.org>
242 * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
244 2021-05-10 Iain Buclaw <ibuclaw@gdcproject.org>
246 * src/MERGE: Merge upstream phobos 32cfe9b61.
248 2021-04-21 Iain Buclaw <ibuclaw@gdcproject.org>
250 * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
251 generate PPC and PPC64 asm implementations, and conditionally remove
252 PPC register names on non-Darwin targets.
254 2021-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
257 * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
259 (actionTableLookup): Update calls to read_sleb128 and
260 read_encoded_value_with_base.
261 * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
262 (read_sleb128): Update signature.
263 (read_unaligned): New function.
264 (read_encoded_value_with_base): Update signature. Call read_unaligned
265 instead of unsafe pointer dereferencing.
266 (read_encoded_value): Update signature.
268 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
271 * libdruntime/MERGE: Merge upstream druntime 89f870b7.
272 * src/MERGE: Merge upstream phobos e6907ff3e.
274 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
277 * configure: Regenerate.
278 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
279 core/sys/darwin/config.d
280 * libdruntime/Makefile.in: Regenerate.
281 * libdruntime/config/powerpc/switchcontext.S: Implement
282 fiber_switchContext for __MACH__.
283 * libdruntime/config/x86/switchcontext.S: Likewise.
284 * libdruntime/core/sys/darwin/config.d: New file.
285 * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
286 (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
287 * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
288 assembler implementation for X86, X86_64, PPC, and PPC64.
289 * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
291 * libdruntime/gcc/deh.d (FuncTable): Remove definition.
292 * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
293 bracket symbol on darwin* targets.
294 * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
295 support ucontext-based Fibers.
297 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
300 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
301 config/mingw/msvc.c on DRUNTIME_OS_MINGW.
302 * libdruntime/Makefile.in: Regenerate.
303 * libdruntime/config/mingw/msvc.c: New file.
304 * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
306 * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
307 _GCC_specific_handler.
308 * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
309 * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
311 * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
312 (rt_loadLibraryW): Remove function.
313 (initLibrary): Remove function.
314 (rt_unloadLibrary): Remove function.
316 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
319 * configure: Regenerate.
320 * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
321 * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
323 * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
324 (linkMapForHandle): Implement for OpenBSD.
325 (exeLinkMap): Remove.
326 (getDependencies): Adjust dlpi_addr on OpenBSD.
327 (handleForName): Implement for OpenBSD.
328 (IterateManually): Define on OpenBSD.
329 * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
330 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
332 (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
334 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
336 * Makefile.in: Regenerate.
337 * configure: Regenerate.
338 * configure.ac: Call DRUNTIME_SECTION_FLAGS.
339 * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
340 * libdruntime/Makefile.in: Regenerate.
341 * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
342 * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
343 * src/Makefile.in: Regenerate.
344 * testsuite/Makefile.in: Regenerate.
346 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
348 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
349 gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
350 Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
351 * libdruntime/Makefile.in: Regenerate.
352 * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
353 use platform independant section function names.
354 * libdruntime/gcc/sections/elf_shared.d: Renamed to...
355 * libdruntime/gcc/sections/elf.d: ...this. Mangle functions for
356 core.thread interface as if they come from the gcc.sections module.
357 * libdruntime/gcc/sections/package.d: Update public imports, declare
358 functions for core.thread interface.
359 * libdruntime/gcc/sections/android.d: Removed.
360 * libdruntime/gcc/sections/osx.d: Removed.
361 * libdruntime/gcc/sections/win32.d: Removed.
362 * libdruntime/gcc/sections/win64.d: Removed.
363 * libdruntime/gcc/sections/common.d: New file.
364 * libdruntime/gcc/sections/macho.d: New file.
365 * libdruntime/gcc/sections/pecoff.d: New file.
367 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
369 * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
371 * testsuite/libphobos.phobos/phobos.exp: Likewise.
373 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
375 * testsuite/libphobos.druntime/druntime.exp: Remove
376 is-effective-target static.
377 * testsuite/libphobos.phobos/phobos.exp: Likewise.
379 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
382 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
383 -fno-moduleinfo flag to dg-runtest.
384 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
386 2021-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
388 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
390 * libdruntime/Makefile.in: Regenerate.
391 * libdruntime/gcc/attribute.d: Deprecate module, publicly import
393 * libdruntime/gcc/deh.d: Update imports.
394 * libdruntime/gcc/attributes.d: New file.
396 2021-04-06 Iain Buclaw <ibuclaw@gdcproject.org>
398 * libdruntime/MERGE: Merge upstream druntime 1134b710.
400 2021-04-03 Iain Buclaw <ibuclaw@gdcproject.org>
402 * libdruntime/MERGE: Merge upstream druntime 483bc129.
403 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
404 core/sys/darwin/fcntl.d.
405 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
406 (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
407 * libdruntime/Makefile.in: Regenerate.
408 * src/MERGE: Merge upstream phobos f89dc217a.
409 * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
410 * src/Makefile.in: Regenerate.
411 * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
412 * testsuite/libphobos.exceptions/line_trace.d: Likewise.
414 2021-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
416 * Makefile.in: Regenerate.
417 * configure: Regenerate.
418 * configure.ac: Substitute enable_shared, enable_static, and
420 * libdruntime/Makefile.am (AM_DFLAGS): Replace
421 phobos_compiler_pic_flag with phobos_lt_pic_flags, and
422 phobos_compiler_shared_flag.
423 * libdruntime/Makefile.in: Regenerate.
424 * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
425 with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
426 * src/Makefile.in: Regenerate.
427 * testsuite/Makefile.in: Regenerate.
428 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
429 -fversion=Shared and -fno-moduleinfo from default extra test flags.
430 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
431 * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
434 2021-02-04 Iain Buclaw <ibuclaw@gdcproject.org>
437 * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
438 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
439 * libdruntime/Makefile.in: Regenerate.
440 * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
442 2021-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
445 * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
446 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
447 core/internal/attributes.d
448 (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
449 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
450 core/sys/darwin/sys/sysctl.d.
451 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
452 core/sys/dragonflybsd/stdlib.d, and
453 core/sys/dragonflybsd/sys/sysctl.d.
454 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
455 core/sys/freebsd/sys/sysctl.d.
456 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
457 core/sys/netbsd/sys/sysctl.d.
458 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
459 core/sys/openbsd/sys/sysctl.d.
460 (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
461 * libdruntime/Makefile.in: Regenerate.
462 * src/MERGE: Merge upstream phobos 9d575282e.
464 2021-01-30 Iain Buclaw <ibuclaw@gdcproject.org>
466 * Makefile.in: Regenerate.
467 * configure: Regenerate.
468 * libdruntime/MERGE: Merge upstream druntime e4aae28e.
469 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
470 (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
471 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
472 core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
473 core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
474 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
475 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
476 (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
477 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
478 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
479 (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
480 core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
481 core/sys/posix/strings.d.
482 (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
483 (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
484 and core/sys/windows/stdc/time.d
485 * libdruntime/Makefile.in: Regenerate.
486 * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
487 * testsuite/libphobos.thread/fiber_guard_page.d: Use
488 __traits(getMember) to get internal fields.
490 2021-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
492 * src/MERGE: Merge upstream phobos 3dd5df686.
493 * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
494 -fversion=Linux_Pre_2639 if target is linux_pre_2639.
495 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
497 2021-01-23 Iain Buclaw <ibuclaw@gdcproject.org>
500 * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
501 for MIPS32 and MIPS64.
502 (getDependencies): Adjust dlpi_addr on MIPS_Any.
504 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
506 * configure: Re-generate.
508 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
511 * configure: Regenerate.
513 2020-11-30 Iain Buclaw <ibuclaw@gdcproject.org>
516 * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
519 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
522 * Makefile.in: Regenerate.
523 * configure: Regenerate.
524 * configure.ac (DCFG_ENABLE_CET): Substitute.
525 * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
526 * libdruntime/Makefile.in: Regenerate.
527 * libdruntime/core/thread.d: Import gcc.config.
528 (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
529 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
530 * src/Makefile.in: Regenerate.
531 * testsuite/Makefile.in: Regenerate.
533 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
535 * libdruntime/MERGE: Merge upstream druntime d37ef985.
536 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
537 core/sys/freebsd/config.d
538 * libdruntime/Makefile.in: Regenerate.
540 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
542 * src/MERGE: Merge upstream phobos 38873fe6e.
544 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
546 * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
548 2020-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
550 * configure.tgt: Add *-*-dragonfly* as a supported target.
551 * configure: Regenerate.
552 * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
555 2020-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
557 * src/MERGE: Merge upstream phobos 7948e0967.
559 2020-11-13 Iain Buclaw <ibuclaw@gdcproject.org>
561 * configure: Regenerate.
562 * configure.ac (libtool_VERSION): Update to 2:0.0.
564 2020-10-27 Iain Buclaw <ibuclaw@gdcproject.org>
566 * libdruntime/MERGE: Merge upstream druntime 58560d51.
568 2020-10-12 Maciej W. Rozycki <macro@linux-mips.org>
570 * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
571 Use L.D and S.D generic assembly instructions rather than LDC1
572 and SDC1 MIPS II hardware instructions.
574 2020-10-12 Iain Buclaw <ibuclaw@gdcproject.org>
576 * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
578 2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org>
582 * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
583 * Makefile.in: Regenerate.
584 * configure: Regenerate.
585 * configure.ac (DCFG_ENABLE_CET): Remove substitution.
586 (CET_DFLAGS): Substitute.
587 * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
588 (AM_CFLAGS): Add $(CET_FLAGS).
589 (AM_CCASFLAGS): Likewise.
590 * libdruntime/Makefile.in: Regenerate.
591 * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
592 condition with `version (CET)'.
593 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
594 * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
595 (AM_CFLAGS): Add $(CET_FLAGS).
596 * src/Makefile.in: Regenerate.
597 * testsuite/Makefile.in: Regenerate.
598 * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
600 2020-09-09 H.J. Lu <hjl.tools@gmail.com>
603 * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
604 generate the CET marker for -fcf-protection.
606 2020-09-08 Iain Buclaw <ibuclaw@gdcproject.org>
609 * Makefile.in: Regenerate.
610 * configure: Regenerate.
611 * configure.ac (DCFG_ENABLE_CET): Substitute.
612 * libdruntime/Makefile.in: Regenerate.
613 * libdruntime/config/x86/switchcontext.S: Remove CET support code.
614 * libdruntime/core/thread.d: Import gcc.config. Don't set version
615 AsmExternal when GNU_Enable_CET is true.
616 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
617 * src/Makefile.in: Regenerate.
618 * testsuite/Makefile.in: Regenerate.
620 2020-06-25 Iain Buclaw <ibuclaw@gdcproject.org>
622 * libdruntime/MERGE: Merge upstream druntime d05ebaad.
623 * src/MERGE: Merge upstream phobos 021ae0df7.
624 * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
626 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
629 * configure: Regenerated.
631 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
634 * configure: Regenerated.
636 2020-05-08 H.J. Lu <hongjiu.lu@intel.com>
638 * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
640 (_CET_ENDBR): New. Define if __CET__ is not defined.
641 (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
643 2020-05-08 H.J. Lu <hongjiu.lu@intel.com>
645 * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
646 * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
647 * Makefile.in: Regenerated.
648 * aclocal.m4: Likewise.
649 * configure.ac: Likewise.
651 2020-04-30 Iain Buclaw <ibuclaw@gdcproject.org>
653 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
654 config/powerpc/switchcontext.S
655 * libdruntime/Makefile.in: Regenerate.
656 * libdruntime/config/powerpc/callwithstack.S: Remove.
657 * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
659 * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
660 * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
663 2020-04-29 Iain Buclaw <ibuclaw@gdcproject.org>
665 * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
666 Fix KERNEL_VERSION condition.
668 2020-04-28 Iain Buclaw <ibuclaw@gdcproject.org>
671 * configure: Regenerate.
672 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
673 switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
674 * libdruntime/Makefile.in: Regenerate.
675 * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
676 * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
677 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
678 for all powerpc biarchs. Remove DRUNTIME_CPU_POWER64 conditional.
680 2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
682 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
683 core/sys/linux/sys/netinet/tcp.d.
684 * libdruntime/Makefile.in: Regenerate.
686 2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
688 * configure.tgt: Add hppa-*-linux* as a supported target.
690 2020-04-26 Iain Buclaw <ibuclaw@gdcproject.org>
692 * configure: Regenerate.
693 * configure.tgt: Add power*-*-linux* as a supported target, only
694 building libdruntime.
695 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
696 and powerpc64le target cpus.
698 2020-04-21 Mathias Lang <pro.mathias.lang@gmail.com>
699 Iain Buclaw <ibuclaw@gdcproject.org>
701 * configure: Regenerate.
702 * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
703 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
704 search libraries for swapcontext.
705 * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
706 __tls_get_addr on Musl.
708 2020-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
710 * configure: Regenerate.
711 * configure.ac: Fix option name for --with-libphobos-druntime-only.
713 2020-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
715 * configure: Regenerate.
716 * configure.ac: Remove DRUNTIME_GC.
718 2020-04-18 Iain Buclaw <ibuclaw@gdcproject.org>
721 * configure: Regenerate.
722 * configure.ac: Add --with-libphobos-druntime-only option and the
723 conditional ENABLE_LIBDRUNTIME_ONLY.
724 * configure.tgt: Define LIBDRUNTIME_ONLY.
725 * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
726 * src/Makefile.in: Regenerate.
727 * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
729 2020-04-18 Iain Buclaw <ibuclaw@gdcproject.org>
731 * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
732 not d_runtime_has_std_library.
733 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
735 2020-04-13 Iain Buclaw <ibuclaw@gdcproject.org>
737 * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
739 2020-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
741 * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
742 (libgphobos_la_LINK): Move to src/Makefile.am
743 * libdruntime/Makefile.am: Add libgdruntime_convenience library.
744 * libdruntime/Makefile.in: Regenerate.
745 * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
747 (libgphobos_la_DEPENDENCIES): Likewise.
748 * src/Makefile.in: Regenerate.
749 * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
750 * testsuite/testsuite_flags.in: Likewise.
752 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
754 * configure: Regenerate.
755 * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
756 DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
757 (DRUNTIME_DSOURCES): Add gc/*.d sources.
758 (DRUNTIME_DSOURCES_GC): Remove.
759 (DRUNTIME_DSOURCES_GCSTUB): Remove.
760 * libdruntime/Makefile.in: Regenerate.
761 * libdruntime/gcstub/gc.d: Remove.
762 * m4/druntime.m4 (DRUNTIME_GC): Remove.
764 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
767 * Makefile.in: Regenerate.
768 * configure: Regenerate.
769 * configure.ac: Add --enable-libphobos-checking and substitute
770 CHECKING_DFLAGS. Remove -frelease from GDCFLAGS.
771 * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
772 * libdruntime/Makefile.in: Regenerate.
773 * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
774 * src/Makefile.in: Regenerate.
775 * testsuite/Makefile.in: Regenerate.
776 * testsuite/testsuite_flags.in: Add -fno-release -funittest to
779 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
781 * configure: Regenerate.
782 * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
783 * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
785 2020-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
787 * configure: Regenerate.
788 * configure.ac: Remove DRUNTIME_OS_UNIX.
789 * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
790 DRUNTIME_OS_POSIX is true.
791 * libdruntime/Makefile.in: Regenerate.
792 * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
794 (DRUNTIME_OS_SOURCES): ...here. Rename conditional to
797 2020-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
799 * Makefile.in: Regenerate.
800 * configure: Regenerate.
801 * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
802 * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
803 * libdruntime/Makefile.in: Regenerate.
804 * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
805 * src/Makefile.in: Regenerate.
806 * testsuite/Makefile.in: Regenerate.
807 * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
809 2020-04-07 Robin Dapp <rdapp@linux.ibm.com>
810 Stefan Liebler <stli@linux.ibm.com>
812 * configure: Regenerate.
813 * libdruntime/Makefile.am: Add s390x and s390.
814 * libdruntime/Makefile.in: Regenerate.
815 * libdruntime/config/s390/get_tls_offset.S: New file.
816 * libdruntime/config/systemz/get_tls_offset.S: New file.
817 * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
818 * m4/druntime/cpu.m4: Add s390x and s390.
820 2020-04-07 Stefan Liebler <stli@linux.ibm.com>
822 * libdruntime/core/sys/posix/signal.d:
823 Add struct sigaction_t for SystemZ.
825 2020-03-16 Iain Buclaw <ibuclaw@gdcproject.org>
828 * Makefile.in: Regenerate.
829 * configure: Regenerate.
830 * configure.ac (libtool_VERSION): Reset to 1:0:0.
831 * libdruntime/Makefile.in: Regenerate.
833 2020-02-17 Martin Liska <mliska@suse.cz>
836 * src/std/algorithm/iteration.d: Fix typo.
838 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
840 * m4/druntime.m4: Handle `--with-toolexeclibdir='.
841 * m4/Makefile.in: Regenerate.
842 * libdruntime/Makefile.in: Regenerate.
843 * src/Makefile.in: Regenerate.
844 * testsuite/Makefile.in: Regenerate.
845 * Makefile.in: Regenerate.
846 * aclocal.m4: Regenerate.
847 * configure: Regenerate.
849 2020-01-01 Jakub Jelinek <jakub@redhat.com>
851 Update copyright years.
853 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
855 * configure: Regenerate.
857 2019-09-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
859 * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
860 dirs to the ld_library_path var.
862 2019-08-20 Iain Buclaw <ibuclaw@gdcproject.org>
864 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
865 core/sys/bionic/string.d.
866 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
867 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
868 core/sys/dragonflybsd/sys/socket.d.
869 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
870 (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
871 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
872 core/sys/netbsd/sys/featuretest.d.
873 * libdruntime/Makefile.in: Regenerate.
875 2019-08-20 Iain Buclaw <ibuclaw@gdcproject.org>
877 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
878 core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
879 core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
880 core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
881 core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
882 * libdruntime/Makefile.in: Regenerate.
884 2019-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
886 * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
887 relax=transtls if linker supports it.
888 * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
889 (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
890 mark supported with either gld or ld -z relax=transtls.
891 * configure: Regenerate.
893 2019-05-02 Maciej W. Rozycki <macro@wdc.com>
895 * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
896 (IeeeFlags.resetIeeeFlags): Likewise.
897 (FloatingPointControl.getControlState): Likewise.
898 (FloatingPointControl.setControlState): Likewise.
900 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
903 * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
904 _tlsRanges in every startup thread.
905 * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
906 * testsuite/libphobos.thread/tlsgc_sections.d: New test.
908 2019-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
910 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
911 * configure: Regenerate.
913 2019-04-25 Johannes Pfau <johannespfau@gmail.com>
915 * libdruntime/Makefile.am: Add emutls and gthread files.
916 * libdruntime/Makefile.in: Regenerate.
917 * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
918 * libdruntime/gcc/gthread.d: New file.
919 * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
920 * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
922 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
924 * testsuite/Makefile.am: Set PWD_COMMAND.
925 * testsuite/Makefile.in: Regenerate.
927 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
930 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
931 * configure.ac: Use it.
932 * configure: Regenerate.
933 * libdruntime/Makefile.am: Add new config sources to
934 DRUNTIME_SOURCES_CONFIGURED.
935 * libdruntime/Makefile.in: Regenerate.
936 * libdruntime/config/aarch64/switchcontext.S: New file.
937 * libdruntime/config/arm/switchcontext.S: New file.
938 * libdruntime/config/common/threadasm.S: New file.
939 * libdruntime/config/mingw/switchcontext.S: New file.
940 * libdruntime/config/mips/switchcontext.S: New file.
941 * libdruntime/config/powerpc/switchcontext.S: New file.
942 * libdruntime/config/powerpc64/callwithstack.S: New file.
943 * libdruntime/config/x86/switchcontext.S: New file.
944 * libdruntime/core/threadasm.S: Remove.
946 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
949 * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
951 * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
952 -fversion=Linux_Pre_2639 if target is linux_pre_2639.
953 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
955 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
958 * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
959 libphobos_skipped_test_p before running test.
960 (libphobos-dg-prune): New proc.
961 (libphobos_init): Set libphobos_skip_tests.
962 (libphobos_skipped_test_p): New proc.
963 (check_effective_target_libcurl_available): New proc.
964 * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
966 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
968 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
971 * configure: Regenerate.
972 * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
973 dependencies on libphobos.
974 (lt_simple_link_test_code): Likewise.
975 (GDCFLAGS): Don't override for D compiler tests.
977 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
979 * configure.tgt: Add aarch64*-*-linux* as a supported target.
981 2019-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
982 Robin Dapp <rdapp@linux.ibm.com>
984 * configure.tgt: Add s390*-linux* as a supported target.
985 * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
986 (__tls_get_addr_internal): Declare.
987 (TLS_DTV_OFFSET): Define as zero on SystemZ.
988 (getTLSRange): Support getting TLS on SystemZ.
989 * testsuite/libphobos.typeinfo/struct-align.d: New test.
991 2019-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
993 * configure.tgt: Add linux/riscv as supported target.
994 * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
995 dlpi_addr on RISCV32 and RISCV64.
996 * src/std/math.d: Add IEEE FPU control support for RISC-V.
998 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
999 Bernd Edlinger <bernd.edlinger@hotmail.de>
1000 Jakub Jelinek <jakub@redhat.com>
1003 * libdruntime/gcc/deh.d: Import gcc.attribute.
1004 (personality_fn_attributes): New enum.
1005 (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
1006 Add @personality_fn_attributes.
1008 2019-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
1011 * libdruntime/core/atomic.d (casImpl): Remove static assert for
1012 GNU_Have_Atomics, add static path to handle missing atomic support.
1013 (atomicLoad): Likewise.
1014 (atomicStore): Likewise.
1015 (atomicFence): Likewise.
1016 (atomicMutexHandle, AtomicMutex): Declare types.
1017 (_getAtomicMutex): New function.
1018 (getAtomicMutex): Declare.
1020 2019-04-16 Iain Buclaw <ibuclaw@gdcproject.org>
1022 * config.h.in: Regenerate.
1023 * configure: Regenerate.
1024 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
1025 CPPFLAGS correctly for backtrace support test.
1027 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1029 * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
1030 Set to yes explicitly.
1031 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
1032 * configure.ac: Handle --enable-libphobos.
1033 (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
1035 (ENABLE_LIBPHOBOS): New conditional.
1036 * configure: Regenerate.
1037 * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
1038 * Makefile.in: Regenerate.
1040 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1041 Iain Buclaw <ibuclaw@gdcproject.org>
1044 * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
1045 * configure.ac: Use it.
1046 Call AC_USE_SYSTEM_EXTENSIONS.
1047 * configure: Regenerate.
1048 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1049 testsuite/Makefile.in: Regenerate.
1050 * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
1051 * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
1052 (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
1054 [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
1055 Otherwise clear pdso._tlsMod, pdso._tlsSize.
1056 (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
1058 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1060 * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
1061 * configure.ac: Call it.
1062 * configure: Regenerate.
1063 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1064 testsuite/Makefile.in: Regenerate.
1065 * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
1067 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1070 * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
1072 Import core.sys.solaris.dlfcn, core.sys.solaris.link,
1073 core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
1074 (dummy_ref): Declare.
1075 (initSections): Initialize dummy_ref.
1076 (getDependencies): Set strtab.
1077 (handleForName): Don't dlclose handle.
1078 (findDSOInfoForAddr): Set IterateManually.
1079 (getprogname): Declare.
1081 * libdruntime/gcc/sections/package.d [Solaris]: Import
1082 gcc.sections.elf_shared instead of gcc.sections.solaris.
1083 * libdruntime/gcc/sections/solaris.d: Remove.
1084 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
1085 gcc/sections/solaris.d.
1086 * libdruntime/Makefile.in: Regenerate.
1088 2019-04-13 Iain Buclaw <ibuclaw@gdcproject.org>
1090 * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
1091 (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
1092 * libdruntime/Makefile.in: Regenerate.
1093 * libdruntime/gcc/sections/android.d: New file.
1094 * libdruntime/gcc/sections/elf_shared.d: New file.
1095 * libdruntime/gcc/sections/osx.d: New file.
1096 * libdruntime/gcc/sections/package.d: New file.
1097 * libdruntime/gcc/sections/solaris.d: New file.
1098 * libdruntime/gcc/sections/win32.d: New file.
1099 * libdruntime/gcc/sections/win64.d: New file.
1100 * libdruntime/rt/bss_section.c: Remove.
1101 * libdruntime/rt/sections.d: Publicly import gcc.sections.
1102 * libdruntime/rt/sections_android.d: Remove.
1103 * libdruntime/rt/sections_elf_shared.d: Remove.
1104 * libdruntime/rt/sections_osx.d: Remove.
1105 * libdruntime/rt/sections_solaris.d: Remove.
1106 * libdruntime/rt/sections_win32.d: Remove.
1107 * libdruntime/rt/sections_win64.d: Remove.
1109 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1111 * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
1112 * configure: Regenerate.
1113 * libdruntime/Makefile.in: Regenerate.
1115 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1117 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
1118 libz_convenience.a if not using system zlib.
1119 * Makefile.in: Regenerate.
1120 * configure: Regenerate.
1121 * libdruntime/Makefile.in: Regenerate.
1122 * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
1123 * src/Makefile.in: Regenerate.
1124 * testsuite/Makefile.in: Regenerate.
1126 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1128 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1129 (RUNTEST): Remove variable.
1130 (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
1131 check_p_numbers1, check_p_numbers2, check_p_numbers3,
1132 check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
1133 check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
1134 (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
1135 rules written so that all the *.exp files are ran parallelized.
1136 (CLEANFILES): Add *.exe, *.o, and site.exp.
1137 * testsuite/Makefile.in: Regenerate.
1139 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1142 * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
1143 * configure: Regenerate.
1144 * d_rules.am (%.t.lo, %.t.o): Remove rules.
1145 (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
1146 libgphobos_t_la_LINK): Remove variables.
1147 * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
1148 DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1149 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1150 unittest_static_LDFLAGS, unittest_static_LDADD,
1151 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1152 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1153 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1154 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1155 unittest_LDADD): Remove variables.
1156 (clean-local): Remove rule.
1157 * libdruntime/Makefile.in: Regenerate.
1158 * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
1159 PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1160 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1161 unittest_static_LDFLAGS, unittest_static_LDADD,
1162 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1163 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1164 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1165 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1166 unittest_LDADD): Remove variables.
1167 (clean-local): Remove rule.
1168 * src/Makefile.in: Regenerate.
1169 * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
1170 (libphobos_init): Set libphobos_test_name.
1171 (libphobos-dg-test): Override name if libphobos_test_name is set.
1172 (filter_libphobos_unittests): New proc.
1173 * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
1174 * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
1175 * testsuite/libphobos.druntime/druntime.exp: New file.
1176 * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
1177 * testsuite/libphobos.phobos/phobos.exp: New file.
1178 * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
1179 * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
1180 * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
1181 * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
1182 * testsuite/libphobos.thread/thread.exp: Likewise.
1183 * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
1184 * testsuite/libphobos.unittests/unittests.exp: Remove.
1185 * testsuite/test_runner.d: Remove.
1186 * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
1188 2019-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
1190 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
1191 core/sys/darwin/crt_externs.d.
1192 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
1193 (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
1194 * libdruntime/Makefile.in: Regenerate.
1196 2019-03-23 Johannes Pfau <johannespfau@gmail.com>
1198 * configure.ac: Update autotool version comment.
1200 2019-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
1202 * src/Makefile.am: Avoid the -D option which is not available
1203 with the install-sh fallback. Use $(MKDIR_P) instead.
1204 * libdruntime/Makefile.am: Likewise.
1205 * src/Makefile.in: Regenerated.
1206 * libdruntime/Makefile.in: Regenerated.
1208 2019-02-19 Iain Buclaw <ibuclaw@gdcproject.org>
1210 * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
1211 [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
1212 RTLD_NOLOAD from core.sys.*.dlfcn.
1213 Assert RTLD_NOLOAD is available.
1215 2019-02-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1217 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
1218 * configure.ac: Invoke it.
1219 * configure: Regenerate.
1221 2019-02-19 Johannes Pfau <johannespfau@gmail.com>
1224 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
1225 * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
1226 * configure: Regenerate
1227 * Makefile.in: Regenerate
1228 * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
1229 * libdruntime/Makefile.in: Regenerate.
1230 * src/Makefile.in: Regenerate.
1231 * testsuite/Makefile.in: Regenerate.
1233 2019-02-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1235 * testsuite/lib/libphobos-dg.exp: Tabify.
1236 * testsuite/lib/libphobos.exp: Likewise.
1237 * testsuite/libphobos.cycles/cycles.exp: Likewise.
1238 * testsuite/libphobos.shared/shared.exp: Likewise.
1239 * testsuite/libphobos.unittests/unittests.exp: Likewise.
1241 2019-02-14 Maya Rashish <coypu@sdf.org>
1243 * configure.tgt: Add netbsd/x86 as supported target.
1245 2019-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1248 * configure.ac (DRTSTUFF_SPEC): New variable.
1250 * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1251 New automake conditional.
1252 * configure: Regenerate.
1253 * libdruntime/gcc/drtstuff.c: New file.
1254 * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1255 (DRTSTUFF, toolexeclib_DATA): New variables.
1256 (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1257 (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1258 Add -dstartfiles -B../src -Bgcc.
1259 (libgdruntime_la_DEPENDENCIES): New variable.
1260 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1261 (libgdruntime_t_la_LDFLAGS): Likewise.
1262 (unittest_LDFLAGS): Likewise.
1263 * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1265 Add -dstartfiles -B../libdruntime/gcc.
1266 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1267 (libgphobos_t_la_LDFLAGS): Likewise.
1268 (unittest_LDFLAGS): Likewise.
1269 * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1270 * Makefile.in, testsuite/Makefile.in: Regenerate.
1271 * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1273 * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1274 * src/drtstuff.spec: New file.
1275 * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1276 (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1278 * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1279 -B${BUILD_DIR}/libdruntime/gcc.
1281 2019-02-13 Iain Buclaw <ibuclaw@gdcproject.org>
1283 * libdruntime/core/runtime.d (defaultTraceHandler): Give
1284 UnwindBacktrace handler precedence over backtrace.
1286 2019-02-10 Iain Buclaw <ibuclaw@gdcproject.org>
1288 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1289 * libdruntime/Makefile.in: Rebuild.
1290 * testsuite/libphobos.aa/aa.exp: New file.
1291 * testsuite/libphobos.aa/test_aa.d: New test.
1292 * testsuite/libphobos.hash/hash.exp: New file.
1293 * testsuite/libphobos.hash/test_hash.d: New test.
1295 2019-01-12 Iain Buclaw <ibuclaw@gdcproject.org>
1297 * README.gcc: New file.
1299 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1301 Update copyright years.
1303 2018-12-14 Iain Buclaw <ibuclaw@gdcproject.org>
1305 * src/std/internal/digest: Remove empty directory.
1307 2018-12-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1309 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1310 * Makefile.in: Regenerate.
1312 2018-11-28 Iain Buclaw <ibuclaw@gdcproject.org>
1314 * Makefile.in: Rebuild.
1315 * configure: Rebuild.
1316 * configure.ac (DRUNTIME_SOVERSION): Remove.
1317 (PHOBOS_SOVERSION): Remove.
1318 (libtool_VERSION): Add.
1319 * libdruntime/Makefile.am: Use libtool_VERSION.
1320 * libdruntime/Makefile.in: Rebuild.
1321 * src/Makefile.am: Use libtool_VERSION.
1322 * src/Makefile.in: Rebuild.
1323 * testsuite/Makefile.in: Rebuild.
1325 2018-11-22 Johannes Pfau <johannespfau@gmail.com>
1328 * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1329 library for multilib builds.
1331 2018-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
1333 * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1334 std.internal.math.biguintx86 modules.
1335 * src/Makefile.in: Rebuild.
1336 * src/std/internal/digest/sha_SSSE3.d: Remove.
1337 * src/std/internal/math/biguintx86.d: Remove.
1339 2018-11-02 Iain Buclaw <ibuclaw@gdcproject.org>
1342 * Makefile.in: Rebuild.
1343 * configure: Rebuild.
1344 * configure.ac: Properly set MULTISUBDIR.
1345 * d_rules.am: Set toolexecdir and toolexeclibdir.
1346 * libdruntime/Makefile.in: Rebuild.
1347 * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1348 --enable-version-specific-runtime-libs.
1349 * src/Makefile.in: Rebuild.
1350 * testsuite/Makefile.in: Rebuild.
1352 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1355 * Makefile.am: Include multilib.am.
1356 * configure.ac: Remove AC_PREREQ. Use -Wno-override in
1357 AM_INIT_AUTOMAKE call.
1358 * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1359 * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1360 * testsuite/Makefile.am (RUNTEST): Remove quotes.
1361 * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1362 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1364 2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
1369 * configure.tgt: New file.
1371 2018-10-28 Iain Buclaw <ibuclaw@gdcproject.org>
1373 * Makefile.am: New file.
1374 * Makefile.in: New file.
1375 * acinclude.m4: New file.
1376 * aclocal.m4: New file.
1377 * config.h.in: New file.
1378 * configure: New file.
1379 * configure.ac: New file.
1380 * d_rules.am: New file.
1381 * libdruntime/Makefile.am: New file.
1382 * libdruntime/Makefile.in: New file.
1383 * libdruntime/__entrypoint.di: New file.
1384 * libdruntime/__main.di: New file.
1385 * libdruntime/gcc/attribute.d: New file.
1386 * libdruntime/gcc/backtrace.d: New file.
1387 * libdruntime/gcc/builtins.d: New file.
1388 * libdruntime/gcc/config.d.in: New file.
1389 * libdruntime/gcc/deh.d: New file.
1390 * libdruntime/gcc/libbacktrace.d.in: New file.
1391 * libdruntime/gcc/unwind/arm.d: New file.
1392 * libdruntime/gcc/unwind/arm_common.d: New file.
1393 * libdruntime/gcc/unwind/c6x.d: New file.
1394 * libdruntime/gcc/unwind/generic.d: New file.
1395 * libdruntime/gcc/unwind/package.d: New file.
1396 * libdruntime/gcc/unwind/pe.d: New file.
1397 * m4/autoconf.m4: New file.
1398 * m4/druntime.m4: New file.
1399 * m4/druntime/cpu.m4: New file.
1400 * m4/druntime/libraries.m4: New file.
1401 * m4/druntime/os.m4: New file.
1402 * m4/gcc_support.m4: New file.
1403 * m4/gdc.m4: New file.
1404 * m4/libtool.m4: New file.
1405 * src/Makefile.am: New file.
1406 * src/Makefile.in: New file.
1407 * src/libgphobos.spec.in: New file.
1408 * testsuite/Makefile.am: New file.
1409 * testsuite/Makefile.in: New file.
1410 * testsuite/config/default.exp: New file.
1411 * testsuite/lib/libphobos-dg.exp: New file.
1412 * testsuite/lib/libphobos.exp: New file.
1413 * testsuite/testsuite_flags.in: New file.
1416 Copyright (C) 2018-2021 Free Software Foundation, Inc.
1418 Copying and distribution of this file, with or without modification,
1419 are permitted in any medium without royalty provided the copyright
1420 notice and this notice are preserved.