1 2021-12-10 Iain Buclaw <ibuclaw@gdcproject.org>
4 * libdruntime/MERGE: Merge upstream druntime bc58b1e9.
5 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
6 core/sys/linux/syscalls.d.
7 * libdruntime/Makefile.in: Regenerate.
8 * src/MERGE: Merge upstream phobos 12329adb6.
9 * testsuite/libphobos.config/config.exp: Add test22523.
10 * libdruntime/core/sys/linux/syscalls.d: Removed.
11 * testsuite/libphobos.config/test22523.d: New test.
13 2021-12-08 Iain Buclaw <ibuclaw@gdcproject.org>
16 * libdruntime/MERGE: Merge upstream druntime 178c44ff.
17 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Add
18 core/sys/linux/syscalls.d.
19 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/pthread_np.d.
20 * libdruntime/Makefile.in: Regenerate.
21 * src/MERGE: Merge upstream phobos 574bf883b.
22 * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=fieldwise.
23 * src/Makefile.in: Regenerate.
24 * testsuite/libphobos.exceptions/assert_fail.d: Update test.
25 * testsuite/libphobos.betterc/test22336.d: New test.
27 2021-12-02 Iain Buclaw <ibuclaw@gdcproject.org>
29 * libdruntime/core/thread/osthread.d (callWithStackShell): Push all
30 callee-save registers on the stack for AArch64 and ARM.
32 2021-12-02 Iain Buclaw <ibuclaw@gdcproject.org>
34 * src/std/math/hardware.d (FloatingPointControl.getControlState): Add
35 missing ControlState variable for AArch64.
37 2021-12-01 Iain Buclaw <ibuclaw@gdcproject.org>
39 * testsuite/testsuite_flags.in: Add libphobos library directory as
40 search path to --gdcldflags.
42 2021-11-30 Iain Buclaw <ibuclaw@gdcproject.org>
44 * libdruntime/MERGE: Merge upstream druntime e6caaab9.
45 * libdruntime/Makefile.am (D_EXTRA_FLAGS): Build libdruntime with
46 -fpreview=dip1000, -fpreview=fieldwise, and -fpreview=dtorfields.
47 (ALL_DRUNTIME_SOURCES): Add DRUNTIME_DSOURCES_STDCXX.
48 (DRUNTIME_DSOURCES): Update list of C binding modules.
49 (DRUNTIME_DSOURCES_STDCXX): Likewise.
50 (DRUNTIME_DSOURCES_LINUX): Likewise.
51 (DRUNTIME_DSOURCES_OPENBSD): Likewise.
52 (DRUNTIME_DISOURCES): Remove __entrypoint.di.
53 * libdruntime/Makefile.in: Regenerated.
54 * libdruntime/__entrypoint.di: Removed.
55 * libdruntime/gcc/deh.d (_d_isbaseof): Update signature.
56 (_d_createTrace): Likewise.
57 (__gdc_begin_catch): Remove reference to the exception.
58 (_d_throw): Increment reference count of thrown object before unwind.
59 (__gdc_personality): Chain exceptions with Throwable.chainTogether.
60 * libdruntime/gcc/emutls.d: Update imports.
61 * libdruntime/gcc/sections/elf.d: Update imports.
62 (DSO.moduleGroup): Update signature.
63 * libdruntime/gcc/sections/macho.d: Update imports.
64 (DSO.moduleGroup): Update signature.
65 * libdruntime/gcc/sections/pecoff.d: Update imports.
66 (DSO.moduleGroup): Update signature.
67 * src/MERGE: Merge upstream phobos 5ab9ad256.
68 * src/Makefile.am (D_EXTRA_DFLAGS): Add -fpreview=dip1000 and
69 -fpreview=dtorfields flags.
70 (PHOBOS_DSOURCES): Update list of std modules.
71 * src/Makefile.in: Regenerate.
72 * testsuite/lib/libphobos.exp (libphobos-dg-test): Handle assembly
75 (additional_prunes): Define.
76 (libphobos-dg-prune): Filter any additional_prunes set by tests.
77 * testsuite/libphobos.aa/test_aa.d: Update test.
78 * testsuite/libphobos.druntime/druntime.exp (version_flags): Add
79 -fversion=CoreUnittest.
80 * testsuite/libphobos.druntime_shared/druntime_shared.exp
81 (version_flags): Add -fversion=CoreUnittest -fversion=Shared.
82 * testsuite/libphobos.exceptions/unknown_gc.d: Update test.
83 * testsuite/libphobos.hash/test_hash.d: Update test.
84 * testsuite/libphobos.phobos/phobos.exp (version_flags): Add
86 * testsuite/libphobos.phobos_shared/phobos_shared.exp (version_flags):
88 * testsuite/libphobos.shared/host.c: Update test.
89 * testsuite/libphobos.shared/load.d: Update test.
90 * testsuite/libphobos.shared/load_13414.d: Update test.
91 * testsuite/libphobos.thread/fiber_guard_page.d: Update test.
92 * testsuite/libphobos.thread/tlsgc_sections.d: Update test.
93 * testsuite/testsuite_flags.in: Add -fpreview=dip1000 to --gdcflags.
94 * testsuite/libphobos.shared/link_mod_collision.d: Removed.
95 * testsuite/libphobos.shared/load_mod_collision.d: Removed.
96 * testsuite/libphobos.betterc/betterc.exp: New test.
97 * testsuite/libphobos.config/config.exp: New test.
98 * testsuite/libphobos.gc/gc.exp: New test.
99 * testsuite/libphobos.imports/imports.exp: New test.
100 * testsuite/libphobos.lifetime/lifetime.exp: New test.
101 * testsuite/libphobos.unittest/unittest.exp: New test.
102 * testsuite/libphobos.allocations/alloc_from_assert.d: New file.
103 * testsuite/libphobos.betterc/test18828.d: New file.
104 * testsuite/libphobos.betterc/test19416.d: New file.
105 * testsuite/libphobos.betterc/test19421.d: New file.
106 * testsuite/libphobos.betterc/test19561.d: New file.
107 * testsuite/libphobos.betterc/test19924.d: New file.
108 * testsuite/libphobos.betterc/test20088.d: New file.
109 * testsuite/libphobos.betterc/test20613.d: New file.
110 * testsuite/libphobos.config/test19433.d: New file.
111 * testsuite/libphobos.config/test20459.d: New file.
112 * testsuite/libphobos.exceptions/assert_fail.d: New file.
113 * testsuite/libphobos.exceptions/catch_in_finally.d: New file.
114 * testsuite/libphobos.exceptions/future_message.d: New file.
115 * testsuite/libphobos.exceptions/long_backtrace_trunc.d: New file.
116 * testsuite/libphobos.exceptions/refcounted.d: New file.
117 * testsuite/libphobos.exceptions/rt_trap_exceptions.d: New file.
118 * testsuite/libphobos.exceptions/rt_trap_exceptions_drt.d: New file.
119 * testsuite/libphobos.gc/attributes.d: New file.
120 * testsuite/libphobos.gc/forkgc.d: New file.
121 * testsuite/libphobos.gc/forkgc2.d: New file.
122 * testsuite/libphobos.gc/nocollect.d: New file.
123 * testsuite/libphobos.gc/precisegc.d: New file.
124 * testsuite/libphobos.gc/recoverfree.d: New file.
125 * testsuite/libphobos.gc/sigmaskgc.d: New file.
126 * testsuite/libphobos.gc/startbackgc.d: New file.
127 * testsuite/libphobos.imports/bug18193.d: New file.
128 * testsuite/libphobos.init_fini/custom_gc.d: New file.
129 * testsuite/libphobos.init_fini/test18996.d: New file.
130 * testsuite/libphobos.lifetime/large_aggregate_destroy_21097.d: New file.
131 * testsuite/libphobos.thread/external_threads.d: New file.
132 * testsuite/libphobos.thread/join_detach.d: New file.
133 * testsuite/libphobos.thread/test_import.d: New file.
134 * testsuite/libphobos.thread/tlsstack.d: New file.
135 * testsuite/libphobos.typeinfo/enum_.d: New file.
136 * testsuite/libphobos.typeinfo/isbaseof.d: New file.
137 * testsuite/libphobos.unittest/customhandler.d: New file.
139 2021-11-19 Iain Sandoe <iain@sandoe.co.uk>
141 * testsuite/lib/libphobos.exp: Prune warnings from external
144 2021-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
146 * libdruntime/core/thread/fiber.d (defaultStackPages): Increase size
147 on OSX X86_64 targets.
149 2021-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
151 * libdruntime/gcc/emutls.d (emutlsDestroyThread): Don't remove entry
153 (_d_emutls_destroy): Don't call __gthread_key_delete.
155 2021-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
158 * libdruntime/gcc/deh.d (ExceptionHeader.free): Use memset to reset
159 contents of internal EH storage.
161 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
163 * libdruntime/gcc/deh.d (ExceptionHeader.getClassInfo): Move to...
164 (getClassInfo): ...here as free function. Add lsda parameter.
165 (scanLSDA): Pass lsda to actionTableLookup.
166 (actionTableLookup): Add lsda parameter, pass to getClassInfo.
167 (__gdc_personality): Remove currentCfa variable.
169 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
171 * libdruntime/gcc/deh.d (_d_print_throwable): Declare.
172 (_d_throw): Print stacktrace before terminating program due to
175 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
177 * libdruntime/core/runtime.d (runModuleUnitTests): Use scope to new
178 LibBacktrace on the stack.
179 * libdruntime/gcc/backtrace.d (FIRSTFRAME): Remove.
180 (LibBacktrace.MaxAlignment): Remove.
181 (LibBacktrace.this): Remove default initialization of firstFrame.
182 (UnwindBacktrace.this): Likewise.
184 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
186 * libdruntime/gcc/unwind/generic.d (__aligned__): Define.
187 (_Unwind_Exception): Align struct to __aligned__.
189 2021-09-30 Iain Buclaw <ibuclaw@gdcproject.org>
192 * libdruntime/__main.di: Define main function as extern(C) when
193 compiling without D runtime.
195 2021-09-01 Iain Buclaw <ibuclaw@gdcproject.org>
197 * m4/druntime/os.m4: Update comment for DRUNTIME_OS_SOURCES.
199 2021-09-01 Iain Buclaw <ibuclaw@gdcproject.org>
201 * src/Makefile.am: Don't add zlib when ENABLE_LIBDRUNTIME_ONLY.
202 * src/Makefile.in: Regenerate.
204 2021-08-30 Iain Buclaw <ibuclaw@gdcproject.org>
206 * configure: Regenerate.
207 * m4/autoconf.m4 (AC_LANG_PROGRAM): Declare module name 'object'.
208 * m4/gcc_support.m4 (WITH_LOCAL_DRUNTIME): Compile tests with
211 2021-06-11 Iain Buclaw <ibuclaw@gdcproject.org>
214 * src/MERGE: Merge upstream phobos 55bb17543.
216 2021-05-14 Bernd Edlinger <bernd.edlinger@hotmail.de>
218 * src/std/process.d (unittest): Remove tmpname on exit.
219 * src/MERGE: Merge upstream phobos 63f4caa90.
221 2021-05-13 Iain Buclaw <ibuclaw@gdcproject.org>
223 * libdruntime/MERGE: Merge upstream druntime 98c6ff0c.
225 2021-05-10 Iain Buclaw <ibuclaw@gdcproject.org>
227 * src/MERGE: Merge upstream phobos 32cfe9b61.
229 2021-04-21 Iain Buclaw <ibuclaw@gdcproject.org>
231 * libdruntime/core/thread/osthread.d (callWithStackShell): Statically
232 generate PPC and PPC64 asm implementations, and conditionally remove
233 PPC register names on non-Darwin targets.
235 2021-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
238 * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and
240 (actionTableLookup): Update calls to read_sleb128 and
241 read_encoded_value_with_base.
242 * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature.
243 (read_sleb128): Update signature.
244 (read_unaligned): New function.
245 (read_encoded_value_with_base): Update signature. Call read_unaligned
246 instead of unsafe pointer dereferencing.
247 (read_encoded_value): Update signature.
249 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
252 * libdruntime/MERGE: Merge upstream druntime 89f870b7.
253 * src/MERGE: Merge upstream phobos e6907ff3e.
255 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
258 * configure: Regenerate.
259 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
260 core/sys/darwin/config.d
261 * libdruntime/Makefile.in: Regenerate.
262 * libdruntime/config/powerpc/switchcontext.S: Implement
263 fiber_switchContext for __MACH__.
264 * libdruntime/config/x86/switchcontext.S: Likewise.
265 * libdruntime/core/sys/darwin/config.d: New file.
266 * libdruntime/core/thread/fiber.d (Fiber.getThis): Mark noinline.
267 (UnsafeFiberMigration): Define for OSX/X86 and OSX/X86_64.
268 * libdruntime/core/thread/osthread.d (callWithStackShell): Add inline
269 assembler implementation for X86, X86_64, PPC, and PPC64.
270 * libdruntime/core/thread/threadbase.d (ThreadBase.getThis): Mark
272 * libdruntime/gcc/deh.d (FuncTable): Remove definition.
273 * m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING): Check for right
274 bracket symbol on darwin* targets.
275 * testsuite/libphobos.thread/fiber_guard_page.d: Update test to
276 support ucontext-based Fibers.
278 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
281 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add
282 config/mingw/msvc.c on DRUNTIME_OS_MINGW.
283 * libdruntime/Makefile.in: Regenerate.
284 * libdruntime/config/mingw/msvc.c: New file.
285 * libdruntime/config/mingw/switchcontext.S (fiber_switchContext): Fix
287 * libdruntime/gcc/deh.d (__gdc_personality_seh0): Fix call to
288 _GCC_specific_handler.
289 * libdruntime/gcc/gthread.d (__gthread_once_t): Fix definition.
290 * libdruntime/gcc/unwind/generic.d (_GCC_specific_handler): Fix
292 * libdruntime/rt/dmain2.d (rt_loadLibrary): Remove function.
293 (rt_loadLibraryW): Remove function.
294 (initLibrary): Remove function.
295 (rt_unloadLibrary): Remove function.
297 2021-04-19 Iain Buclaw <ibuclaw@gdcproject.org>
300 * configure: Regenerate.
301 * libdruntime/config/common/threadasm.S: Add __OpenBSD__.
302 * libdruntime/gcc/backtrace.d: Import core.sys.openbsd.dlfcn on
304 * libdruntime/gcc/sections/elf.d (SharedElf): Define on OpenBSD.
305 (linkMapForHandle): Implement for OpenBSD.
306 (exeLinkMap): Remove.
307 (getDependencies): Adjust dlpi_addr on OpenBSD.
308 (handleForName): Implement for OpenBSD.
309 (IterateManually): Define on OpenBSD.
310 * libdruntime/gcc/sections/package.d (SectionsElf): Define on OpenBSD.
311 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ATOMIC): Test for
313 (DRUNTIME_LIBRARIES_BACKTRACE): Test for enable_libbacktrace.
315 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
317 * Makefile.in: Regenerate.
318 * configure: Regenerate.
319 * configure.ac: Call DRUNTIME_SECTION_FLAGS.
320 * libdruntime/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
321 * libdruntime/Makefile.in: Regenerate.
322 * m4/druntime.m4 (DRUNTIME_SECTION_FLAGS): New macro.
323 * src/Makefile.am: Add SECTION_FLAGS to AM_DFLAGS.
324 * src/Makefile.in: Regenerate.
325 * testsuite/Makefile.in: Regenerate.
327 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
329 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Removed
330 gcc/sections/android.d, elf_shared.d, osx.d, win32.d, and win64.d.
331 Added gcc/sections/common.d, elf.d macho.d, and pecoff.d.
332 * libdruntime/Makefile.in: Regenerate.
333 * libdruntime/core/thread/osthread.d: Update externDFunc FQDN names to
334 use platform independant section function names.
335 * libdruntime/gcc/sections/elf_shared.d: Renamed to...
336 * libdruntime/gcc/sections/elf.d: ...this. Mangle functions for
337 core.thread interface as if they come from the gcc.sections module.
338 * libdruntime/gcc/sections/package.d: Update public imports, declare
339 functions for core.thread interface.
340 * libdruntime/gcc/sections/android.d: Removed.
341 * libdruntime/gcc/sections/osx.d: Removed.
342 * libdruntime/gcc/sections/win32.d: Removed.
343 * libdruntime/gcc/sections/win64.d: Removed.
344 * libdruntime/gcc/sections/common.d: New file.
345 * libdruntime/gcc/sections/macho.d: New file.
346 * libdruntime/gcc/sections/pecoff.d: New file.
348 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
350 * testsuite/libphobos.druntime/druntime.exp: Compile all tests with
352 * testsuite/libphobos.phobos/phobos.exp: Likewise.
354 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
356 * testsuite/libphobos.druntime/druntime.exp: Remove
357 is-effective-target static.
358 * testsuite/libphobos.phobos/phobos.exp: Likewise.
360 2021-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
363 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Re-add
364 -fno-moduleinfo flag to dg-runtest.
365 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
367 2021-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
369 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
371 * libdruntime/Makefile.in: Regenerate.
372 * libdruntime/gcc/attribute.d: Deprecate module, publicly import
374 * libdruntime/gcc/deh.d: Update imports.
375 * libdruntime/gcc/attributes.d: New file.
377 2021-04-06 Iain Buclaw <ibuclaw@gdcproject.org>
379 * libdruntime/MERGE: Merge upstream druntime 1134b710.
381 2021-04-03 Iain Buclaw <ibuclaw@gdcproject.org>
383 * libdruntime/MERGE: Merge upstream druntime 483bc129.
384 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
385 core/sys/darwin/fcntl.d.
386 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/unistd.d.
387 (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/stdc/malloc.d.
388 * libdruntime/Makefile.in: Regenerate.
389 * src/MERGE: Merge upstream phobos f89dc217a.
390 * src/Makefile.am (PHOBOS_DSOURCES): Add std/regex/internal/tests2.d.
391 * src/Makefile.in: Regenerate.
392 * testsuite/libphobos.exceptions/chain.d: Fix format arguments.
393 * testsuite/libphobos.exceptions/line_trace.d: Likewise.
395 2021-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
397 * Makefile.in: Regenerate.
398 * configure: Regenerate.
399 * configure.ac: Substitute enable_shared, enable_static, and
401 * libdruntime/Makefile.am (AM_DFLAGS): Replace
402 phobos_compiler_pic_flag with phobos_lt_pic_flags, and
403 phobos_compiler_shared_flag.
404 * libdruntime/Makefile.in: Regenerate.
405 * src/Makefile.am (AM_DFLAGS): Replace phobos_compiler_pic_flag
406 with phobos_lt_pic_flag, and phobos_compiler_shared_flag.
407 * src/Makefile.in: Regenerate.
408 * testsuite/Makefile.in: Regenerate.
409 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Remove
410 -fversion=Shared and -fno-moduleinfo from default extra test flags.
411 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
412 * testsuite/testsuite_flags.in: Add phobos_compiler_shared_flag to
415 2021-02-04 Iain Buclaw <ibuclaw@gdcproject.org>
418 * libdruntime/MERGE: Merge upstream druntime 0fd4364c.
419 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add core/volatile.d.
420 * libdruntime/Makefile.in: Regenerate.
421 * testsuite/libphobos.allocations/tls_gc_integration.d: Update test.
423 2021-02-03 Iain Buclaw <ibuclaw@gdcproject.org>
426 * libdruntime/MERGE: Merge upstream druntime 9d0c8364.
427 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
428 core/internal/attributes.d
429 (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/stdlib.d.
430 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/stdlib.d, and
431 core/sys/darwin/sys/sysctl.d.
432 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add
433 core/sys/dragonflybsd/stdlib.d, and
434 core/sys/dragonflybsd/sys/sysctl.d.
435 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/stdlib.d, and
436 core/sys/freebsd/sys/sysctl.d.
437 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/stdlib.d, and
438 core/sys/netbsd/sys/sysctl.d.
439 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/stdlib.d, and
440 core/sys/openbsd/sys/sysctl.d.
441 (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/stdlib.d.
442 * libdruntime/Makefile.in: Regenerate.
443 * src/MERGE: Merge upstream phobos 9d575282e.
445 2021-01-30 Iain Buclaw <ibuclaw@gdcproject.org>
447 * Makefile.in: Regenerate.
448 * configure: Regenerate.
449 * libdruntime/MERGE: Merge upstream druntime e4aae28e.
450 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
451 (DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
452 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
453 core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
454 core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
455 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
456 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
457 (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
458 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
459 (DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
460 (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
461 core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
462 core/sys/posix/strings.d.
463 (DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
464 (DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
465 and core/sys/windows/stdc/time.d
466 * libdruntime/Makefile.in: Regenerate.
467 * libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
468 * testsuite/libphobos.thread/fiber_guard_page.d: Use
469 __traits(getMember) to get internal fields.
471 2021-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
473 * src/MERGE: Merge upstream phobos 3dd5df686.
474 * testsuite/libphobos.phobos/phobos.exp: Add compiler flag
475 -fversion=Linux_Pre_2639 if target is linux_pre_2639.
476 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
478 2021-01-23 Iain Buclaw <ibuclaw@gdcproject.org>
481 * libdruntime/gcc/sections/elf_shared.d (MIPS_Any): Declare version
482 for MIPS32 and MIPS64.
483 (getDependencies): Adjust dlpi_addr on MIPS_Any.
485 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
487 * configure: Re-generate.
489 2020-12-05 Iain Sandoe <iain@sandoe.co.uk>
492 * configure: Regenerate.
494 2020-11-30 Iain Buclaw <ibuclaw@gdcproject.org>
497 * configure.tgt: Add x86_64-*-freebsd* and i?86-*-freebsd* as
500 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
503 * Makefile.in: Regenerate.
504 * configure: Regenerate.
505 * configure.ac (DCFG_ENABLE_CET): Substitute.
506 * libdruntime/MERGE: Merge upstream druntime 0fe7974c.
507 * libdruntime/Makefile.in: Regenerate.
508 * libdruntime/core/thread.d: Import gcc.config.
509 (class Fiber): Add ucontext_t fields when GNU_Enable_CET is true.
510 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
511 * src/Makefile.in: Regenerate.
512 * testsuite/Makefile.in: Regenerate.
514 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
516 * libdruntime/MERGE: Merge upstream druntime d37ef985.
517 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
518 core/sys/freebsd/config.d
519 * libdruntime/Makefile.in: Regenerate.
521 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
523 * src/MERGE: Merge upstream phobos 38873fe6e.
525 2020-11-27 Iain Buclaw <ibuclaw@gdcproject.org>
527 * libdruntime/MERGE: Merge upstream druntime 5e4492c4.
529 2020-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
531 * configure.tgt: Add *-*-dragonfly* as a supported target.
532 * configure: Regenerate.
533 * m4/druntime/os.m4 (DRUNTIME_OS_SOURCES): Add dragonfly* as a posix
536 2020-11-18 Iain Buclaw <ibuclaw@gdcproject.org>
538 * src/MERGE: Merge upstream phobos 7948e0967.
540 2020-11-13 Iain Buclaw <ibuclaw@gdcproject.org>
542 * configure: Regenerate.
543 * configure.ac (libtool_VERSION): Update to 2:0.0.
545 2020-10-27 Iain Buclaw <ibuclaw@gdcproject.org>
547 * libdruntime/MERGE: Merge upstream druntime 58560d51.
549 2020-10-12 Maciej W. Rozycki <macro@linux-mips.org>
551 * libdruntime/config/mips/switchcontext.S [__mips_hard_float]:
552 Use L.D and S.D generic assembly instructions rather than LDC1
553 and SDC1 MIPS II hardware instructions.
555 2020-10-12 Iain Buclaw <ibuclaw@gdcproject.org>
557 * testsuite/lib/libphobos.exp: Define tool_timeout, set to 600.
559 2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org>
563 * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS).
564 * Makefile.in: Regenerate.
565 * configure: Regenerate.
566 * configure.ac (DCFG_ENABLE_CET): Remove substitution.
567 (CET_DFLAGS): Substitute.
568 * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
569 (AM_CFLAGS): Add $(CET_FLAGS).
570 (AM_CCASFLAGS): Likewise.
571 * libdruntime/Makefile.in: Regenerate.
572 * libdruntime/core/thread.d: Replace static if GNU_Enable_CET
573 condition with `version (CET)'.
574 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove.
575 * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS).
576 (AM_CFLAGS): Add $(CET_FLAGS).
577 * src/Makefile.in: Regenerate.
578 * testsuite/Makefile.in: Regenerate.
579 * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags.
581 2020-09-09 H.J. Lu <hjl.tools@gmail.com>
584 * libdruntime/config/x86/switchcontext.S: Include <cet.h> to
585 generate the CET marker for -fcf-protection.
587 2020-09-08 Iain Buclaw <ibuclaw@gdcproject.org>
590 * Makefile.in: Regenerate.
591 * configure: Regenerate.
592 * configure.ac (DCFG_ENABLE_CET): Substitute.
593 * libdruntime/Makefile.in: Regenerate.
594 * libdruntime/config/x86/switchcontext.S: Remove CET support code.
595 * libdruntime/core/thread.d: Import gcc.config. Don't set version
596 AsmExternal when GNU_Enable_CET is true.
597 * libdruntime/gcc/config.d.in (GNU_Enable_CET): Define.
598 * src/Makefile.in: Regenerate.
599 * testsuite/Makefile.in: Regenerate.
601 2020-06-25 Iain Buclaw <ibuclaw@gdcproject.org>
603 * libdruntime/MERGE: Merge upstream druntime d05ebaad.
604 * src/MERGE: Merge upstream phobos 021ae0df7.
605 * testsuite/libphobos.typeinfo/struct-align.d: Remove empty statement.
607 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
610 * configure: Regenerated.
612 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
615 * configure: Regenerated.
617 2020-05-08 H.J. Lu <hongjiu.lu@intel.com>
619 * libdruntime/config/x86/switchcontext.S: Include <cet.h> if
621 (_CET_ENDBR): New. Define if __CET__ is not defined.
622 (fiber_switchContext): Add _CET_ENDBR after .cfi_startproc.
624 2020-05-08 H.J. Lu <hongjiu.lu@intel.com>
626 * Makefile.am (AM_MAKEFLAGS): Add $(CET_FLAGS) to GCC FLAGS.
627 * configure.ac (CET_FLAGS): Add GCC_CET_FLAGS and AC_SUBST.
628 * Makefile.in: Regenerated.
629 * aclocal.m4: Likewise.
630 * configure.ac: Likewise.
632 2020-04-30 Iain Buclaw <ibuclaw@gdcproject.org>
634 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Remove
635 config/powerpc/switchcontext.S
636 * libdruntime/Makefile.in: Regenerate.
637 * libdruntime/config/powerpc/callwithstack.S: Remove.
638 * libdruntime/config/powerpc/switchcontext.S: Fix symbol name of
640 * libdruntime/core/thread.d: Disable fiber migration tests on PPC.
641 * testsuite/libphobos.thread/fiber_guard_page.d: Set guardPageSize
644 2020-04-29 Iain Buclaw <ibuclaw@gdcproject.org>
646 * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
647 Fix KERNEL_VERSION condition.
649 2020-04-28 Iain Buclaw <ibuclaw@gdcproject.org>
652 * configure: Regenerate.
653 * libdruntime/Makefile.am (DRUNTIME_SOURCES_CONFIGURED): Add both
654 switchcontext.S and callwithstack.S if DRUNTIME_CPU_POWERPC.
655 * libdruntime/Makefile.in: Regenerate.
656 * libdruntime/config/powerpc/switchcontext.S: Add !__PPC64__ guards.
657 * libdruntime/config/powerpc64/callwithstack.S: Add __PPC64__ guards.
658 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Define DRUNTIME_CPU_POWER
659 for all powerpc biarchs. Remove DRUNTIME_CPU_POWER64 conditional.
661 2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
663 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
664 core/sys/linux/sys/netinet/tcp.d.
665 * libdruntime/Makefile.in: Regenerate.
667 2020-04-27 Iain Buclaw <ibuclaw@gdcproject.org>
669 * configure.tgt: Add hppa-*-linux* as a supported target.
671 2020-04-26 Iain Buclaw <ibuclaw@gdcproject.org>
673 * configure: Regenerate.
674 * configure.tgt: Add power*-*-linux* as a supported target, only
675 building libdruntime.
676 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Add cases for powerpcle
677 and powerpc64le target cpus.
679 2020-04-21 Mathias Lang <pro.mathias.lang@gmail.com>
680 Iain Buclaw <ibuclaw@gdcproject.org>
682 * configure: Regenerate.
683 * configure.ac: Call DRUNTIME_LIBRARIES_UCONTEXT.
684 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_UCONTEXT): Define to
685 search libraries for swapcontext.
686 * libdruntime/gcc/sections/elf_shared.d (getTLSRange): Always use
687 __tls_get_addr on Musl.
689 2020-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
691 * configure: Regenerate.
692 * configure.ac: Fix option name for --with-libphobos-druntime-only.
694 2020-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
696 * configure: Regenerate.
697 * configure.ac: Remove DRUNTIME_GC.
699 2020-04-18 Iain Buclaw <ibuclaw@gdcproject.org>
702 * configure: Regenerate.
703 * configure.ac: Add --with-libphobos-druntime-only option and the
704 conditional ENABLE_LIBDRUNTIME_ONLY.
705 * configure.tgt: Define LIBDRUNTIME_ONLY.
706 * src/Makefile.am: Add phobos sources if not ENABLE_LIBDRUNTIME_ONLY.
707 * src/Makefile.in: Regenerate.
708 * testsuite/testsuite_flags.in: Add phobos path if compiling phobos.
710 2020-04-18 Iain Buclaw <ibuclaw@gdcproject.org>
712 * testsuite/libphobos.phobos/phobos.exp: Skip if effective target is
713 not d_runtime_has_std_library.
714 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
716 2020-04-13 Iain Buclaw <ibuclaw@gdcproject.org>
718 * libdruntime/core/stdc/stdarg.d: Remove run-time va_list template.
720 2020-04-10 Iain Buclaw <ibuclaw@gdcproject.org>
722 * d_rules.am (libdgruntime_la_LINK): Move to libdruntime/Makefile.am.
723 (libgphobos_la_LINK): Move to src/Makefile.am
724 * libdruntime/Makefile.am: Add libgdruntime_convenience library.
725 * libdruntime/Makefile.in: Regenerate.
726 * src/Makefile.am (libgphobos_la_LIBADD): Add libgdruntime_convenience
728 (libgphobos_la_DEPENDENCIES): Likewise.
729 * src/Makefile.in: Regenerate.
730 * testsuite/lib/libphobos.exp: Remove libdruntime library paths.
731 * testsuite/testsuite_flags.in: Likewise.
733 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
735 * configure: Regenerate.
736 * libdruntime/Makefile.am (ALL_DRUNTIME_INSTALL_DSOURCES): Remove
737 DRUNTIME_DSOURCES_GC and DRUNTIME_DSOURCES_GCSTUB.
738 (DRUNTIME_DSOURCES): Add gc/*.d sources.
739 (DRUNTIME_DSOURCES_GC): Remove.
740 (DRUNTIME_DSOURCES_GCSTUB): Remove.
741 * libdruntime/Makefile.in: Regenerate.
742 * libdruntime/gcstub/gc.d: Remove.
743 * m4/druntime.m4 (DRUNTIME_GC): Remove.
745 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
748 * Makefile.in: Regenerate.
749 * configure: Regenerate.
750 * configure.ac: Add --enable-libphobos-checking and substitute
751 CHECKING_DFLAGS. Remove -frelease from GDCFLAGS.
752 * libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
753 * libdruntime/Makefile.in: Regenerate.
754 * src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
755 * src/Makefile.in: Regenerate.
756 * testsuite/Makefile.in: Regenerate.
757 * testsuite/testsuite_flags.in: Add -fno-release -funittest to
760 2020-04-09 Iain Buclaw <ibuclaw@gdcproject.org>
762 * configure: Regenerate.
763 * configure.ac: Use AC_SEARCH_LIBS for pthread_create.
764 * m4/druntime/libraries.m4: Remove DRUNTIME_LIBRARIES_THREAD.
766 2020-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
768 * configure: Regenerate.
769 * configure.ac: Remove DRUNTIME_OS_UNIX.
770 * libdruntime/Makefile.am: Add DRUNTIME_DSOURCES_POSIX if
771 DRUNTIME_OS_POSIX is true.
772 * libdruntime/Makefile.in: Regenerate.
773 * m4/druntime/os.m4 (DRUNTIME_OS_UNIX): Remove, move AM_CONDITIONAL
775 (DRUNTIME_OS_SOURCES): ...here. Rename conditional to
778 2020-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
780 * Makefile.in: Regenerate.
781 * configure: Regenerate.
782 * configure.ac: Substite WARN_DFLAGS independently of GDCFLAGS.
783 * libdruntime/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
784 * libdruntime/Makefile.in: Regenerate.
785 * src/Makefile.am: Add WARN_DFLAGS to AM_DFLAGS.
786 * src/Makefile.in: Regenerate.
787 * testsuite/Makefile.in: Regenerate.
788 * testsuite/testsuite_flags.in: Add WARN_DFLAGS to --gdcflags.
790 2020-04-07 Robin Dapp <rdapp@linux.ibm.com>
791 Stefan Liebler <stli@linux.ibm.com>
793 * configure: Regenerate.
794 * libdruntime/Makefile.am: Add s390x and s390.
795 * libdruntime/Makefile.in: Regenerate.
796 * libdruntime/config/s390/get_tls_offset.S: New file.
797 * libdruntime/config/systemz/get_tls_offset.S: New file.
798 * libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
799 * m4/druntime/cpu.m4: Add s390x and s390.
801 2020-04-07 Stefan Liebler <stli@linux.ibm.com>
803 * libdruntime/core/sys/posix/signal.d:
804 Add struct sigaction_t for SystemZ.
806 2020-03-16 Iain Buclaw <ibuclaw@gdcproject.org>
809 * Makefile.in: Regenerate.
810 * configure: Regenerate.
811 * configure.ac (libtool_VERSION): Reset to 1:0:0.
812 * libdruntime/Makefile.in: Regenerate.
814 2020-02-17 Martin Liska <mliska@suse.cz>
817 * src/std/algorithm/iteration.d: Fix typo.
819 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
821 * m4/druntime.m4: Handle `--with-toolexeclibdir='.
822 * m4/Makefile.in: Regenerate.
823 * libdruntime/Makefile.in: Regenerate.
824 * src/Makefile.in: Regenerate.
825 * testsuite/Makefile.in: Regenerate.
826 * Makefile.in: Regenerate.
827 * aclocal.m4: Regenerate.
828 * configure: Regenerate.
830 2020-01-01 Jakub Jelinek <jakub@redhat.com>
832 Update copyright years.
834 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
836 * configure: Regenerate.
838 2019-09-03 Bernd Edlinger <bernd.edlinger@hotmail.de>
840 * testsuite/lib/libphobos.exp (libphobos_init): Add multi-lib libgcc
841 dirs to the ld_library_path var.
843 2019-08-20 Iain Buclaw <ibuclaw@gdcproject.org>
845 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_BIONIC): Add
846 core/sys/bionic/string.d.
847 (DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/string.d.
848 (DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/string.d,
849 core/sys/dragonflybsd/sys/socket.d.
850 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/string.d.
851 (DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/string.d.
852 (DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/string.d,
853 core/sys/netbsd/sys/featuretest.d.
854 * libdruntime/Makefile.in: Regenerate.
856 2019-08-20 Iain Buclaw <ibuclaw@gdcproject.org>
858 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_OPENBSD): Add
859 core/sys/openbsd/sys/cdefs.d, core/sys/openbsd/sys/elf.d,
860 core/sys/openbsd/sys/elf32.d, core/sys/openbsd/sys/elf64.d,
861 core/sys/openbsd/sys/elf_common.d, core/sys/openbsd/sys/link_elf.d,
862 core/sys/openbsd/sys/mman.d, core/sys/openbsd/time.d.
863 * libdruntime/Makefile.in: Regenerate.
865 2019-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
867 * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): Only use -z
868 relax=transtls if linker supports it.
869 * configure.ac (enable_libphobos, LIBPHOBOS_SUPPORTED): Move down.
870 (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only
871 mark supported with either gld or ld -z relax=transtls.
872 * configure: Regenerate.
874 2019-05-02 Maciej W. Rozycki <macro@wdc.com>
876 * std/math.d (IeeeFlags.getIeeeFlags): Handle RISC-V soft-float ABI.
877 (IeeeFlags.resetIeeeFlags): Likewise.
878 (FloatingPointControl.getControlState): Likewise.
879 (FloatingPointControl.setControlState): Likewise.
881 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
884 * libdruntime/gcc/sections/elf_shared.d (initTLSRanges): Populate
885 _tlsRanges in every startup thread.
886 * testsuite/libphobos.thread/thread.exp: Load libphobos-dg.exp.
887 * testsuite/libphobos.thread/tlsgc_sections.d: New test.
889 2019-04-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
891 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): Quote brackets.
892 * configure: Regenerate.
894 2019-04-25 Johannes Pfau <johannespfau@gmail.com>
896 * libdruntime/Makefile.am: Add emutls and gthread files.
897 * libdruntime/Makefile.in: Regenerate.
898 * libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
899 * libdruntime/gcc/gthread.d: New file.
900 * libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
901 * testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.
903 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
905 * testsuite/Makefile.am: Set PWD_COMMAND.
906 * testsuite/Makefile.in: Regenerate.
908 2019-04-25 Iain Buclaw <ibuclaw@gdcproject.org>
911 * m4/druntime/cpu.m4 (DRUNTIME_CPU_SOURCES): New macro.
912 * configure.ac: Use it.
913 * configure: Regenerate.
914 * libdruntime/Makefile.am: Add new config sources to
915 DRUNTIME_SOURCES_CONFIGURED.
916 * libdruntime/Makefile.in: Regenerate.
917 * libdruntime/config/aarch64/switchcontext.S: New file.
918 * libdruntime/config/arm/switchcontext.S: New file.
919 * libdruntime/config/common/threadasm.S: New file.
920 * libdruntime/config/mingw/switchcontext.S: New file.
921 * libdruntime/config/mips/switchcontext.S: New file.
922 * libdruntime/config/powerpc/switchcontext.S: New file.
923 * libdruntime/config/powerpc64/callwithstack.S: New file.
924 * libdruntime/config/x86/switchcontext.S: New file.
925 * libdruntime/core/threadasm.S: Remove.
927 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
930 * testsuite/lib/libphobos.exp (check_effective_target_linux_pre_2639):
932 * testsuite/libphobos.druntime/druntime.exp: Add compiler flag
933 -fversion=Linux_Pre_2639 if target is linux_pre_2639.
934 * testsuite/libphobos.druntime_shared/druntime_shared.exp: Likewise.
936 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
939 * testsuite/lib/libphobos.exp (libphobos-dg-test): Check
940 libphobos_skipped_test_p before running test.
941 (libphobos-dg-prune): New proc.
942 (libphobos_init): Set libphobos_skip_tests.
943 (libphobos_skipped_test_p): New proc.
944 (check_effective_target_libcurl_available): New proc.
945 * testsuite/libphobos.phobos/phobos.exp: Skip curl tests if library
947 * testsuite/libphobos.phobos_shared/phobos_shared.exp: Likewise.
949 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
952 * configure: Regenerate.
953 * m4/libtool.m4 (lt_simple_compile_test_code): Update to not have
954 dependencies on libphobos.
955 (lt_simple_link_test_code): Likewise.
956 (GDCFLAGS): Don't override for D compiler tests.
958 2019-04-24 Iain Buclaw <ibuclaw@gdcproject.org>
960 * configure.tgt: Add aarch64*-*-linux* as a supported target.
962 2019-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
963 Robin Dapp <rdapp@linux.ibm.com>
965 * configure.tgt: Add s390*-linux* as a supported target.
966 * libdruntime/gcc/sections/elf_shared.d: import gcc.builtins.
967 (__tls_get_addr_internal): Declare.
968 (TLS_DTV_OFFSET): Define as zero on SystemZ.
969 (getTLSRange): Support getting TLS on SystemZ.
970 * testsuite/libphobos.typeinfo/struct-align.d: New test.
972 2019-04-23 Iain Buclaw <ibuclaw@gdcproject.org>
974 * configure.tgt: Add linux/riscv as supported target.
975 * libdruntime/gcc/sections/elf_shared.d (getDependencies): Adjust
976 dlpi_addr on RISCV32 and RISCV64.
977 * src/std/math.d: Add IEEE FPU control support for RISC-V.
979 2019-04-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
980 Bernd Edlinger <bernd.edlinger@hotmail.de>
981 Jakub Jelinek <jakub@redhat.com>
984 * libdruntime/gcc/deh.d: Import gcc.attribute.
985 (personality_fn_attributes): New enum.
986 (scanLSDA, CONTINUE_UNWINDING, gdc_personality, __gdc_personality):
987 Add @personality_fn_attributes.
989 2019-04-20 Iain Buclaw <ibuclaw@gdcproject.org>
992 * libdruntime/core/atomic.d (casImpl): Remove static assert for
993 GNU_Have_Atomics, add static path to handle missing atomic support.
994 (atomicLoad): Likewise.
995 (atomicStore): Likewise.
996 (atomicFence): Likewise.
997 (atomicMutexHandle, AtomicMutex): Declare types.
998 (_getAtomicMutex): New function.
999 (getAtomicMutex): Declare.
1001 2019-04-16 Iain Buclaw <ibuclaw@gdcproject.org>
1003 * config.h.in: Regenerate.
1004 * configure: Regenerate.
1005 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_BACKTRACE): Set
1006 CPPFLAGS correctly for backtrace support test.
1008 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1010 * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
1011 Set to yes explicitly.
1012 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
1013 * configure.ac: Handle --enable-libphobos.
1014 (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
1016 (ENABLE_LIBPHOBOS): New conditional.
1017 * configure: Regenerate.
1018 * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
1019 * Makefile.in: Regenerate.
1021 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1022 Iain Buclaw <ibuclaw@gdcproject.org>
1025 * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
1026 * configure.ac: Use it.
1027 Call AC_USE_SYSTEM_EXTENSIONS.
1028 * configure: Regenerate.
1029 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1030 testsuite/Makefile.in: Regenerate.
1031 * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
1032 * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
1033 (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
1035 [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
1036 Otherwise clear pdso._tlsMod, pdso._tlsSize.
1037 (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
1039 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1041 * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
1042 * configure.ac: Call it.
1043 * configure: Regenerate.
1044 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
1045 testsuite/Makefile.in: Regenerate.
1046 * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
1048 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1051 * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
1053 Import core.sys.solaris.dlfcn, core.sys.solaris.link,
1054 core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
1055 (dummy_ref): Declare.
1056 (initSections): Initialize dummy_ref.
1057 (getDependencies): Set strtab.
1058 (handleForName): Don't dlclose handle.
1059 (findDSOInfoForAddr): Set IterateManually.
1060 (getprogname): Declare.
1062 * libdruntime/gcc/sections/package.d [Solaris]: Import
1063 gcc.sections.elf_shared instead of gcc.sections.solaris.
1064 * libdruntime/gcc/sections/solaris.d: Remove.
1065 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
1066 gcc/sections/solaris.d.
1067 * libdruntime/Makefile.in: Regenerate.
1069 2019-04-13 Iain Buclaw <ibuclaw@gdcproject.org>
1071 * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
1072 (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
1073 * libdruntime/Makefile.in: Regenerate.
1074 * libdruntime/gcc/sections/android.d: New file.
1075 * libdruntime/gcc/sections/elf_shared.d: New file.
1076 * libdruntime/gcc/sections/osx.d: New file.
1077 * libdruntime/gcc/sections/package.d: New file.
1078 * libdruntime/gcc/sections/solaris.d: New file.
1079 * libdruntime/gcc/sections/win32.d: New file.
1080 * libdruntime/gcc/sections/win64.d: New file.
1081 * libdruntime/rt/bss_section.c: Remove.
1082 * libdruntime/rt/sections.d: Publicly import gcc.sections.
1083 * libdruntime/rt/sections_android.d: Remove.
1084 * libdruntime/rt/sections_elf_shared.d: Remove.
1085 * libdruntime/rt/sections_osx.d: Remove.
1086 * libdruntime/rt/sections_solaris.d: Remove.
1087 * libdruntime/rt/sections_win32.d: Remove.
1088 * libdruntime/rt/sections_win64.d: Remove.
1090 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1092 * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
1093 * configure: Regenerate.
1094 * libdruntime/Makefile.in: Regenerate.
1096 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1098 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
1099 libz_convenience.a if not using system zlib.
1100 * Makefile.in: Regenerate.
1101 * configure: Regenerate.
1102 * libdruntime/Makefile.in: Regenerate.
1103 * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
1104 * src/Makefile.in: Regenerate.
1105 * testsuite/Makefile.in: Regenerate.
1107 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1109 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
1110 (RUNTEST): Remove variable.
1111 (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
1112 check_p_numbers1, check_p_numbers2, check_p_numbers3,
1113 check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
1114 check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
1115 (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
1116 rules written so that all the *.exp files are ran parallelized.
1117 (CLEANFILES): Add *.exe, *.o, and site.exp.
1118 * testsuite/Makefile.in: Regenerate.
1120 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
1123 * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
1124 * configure: Regenerate.
1125 * d_rules.am (%.t.lo, %.t.o): Remove rules.
1126 (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
1127 libgphobos_t_la_LINK): Remove variables.
1128 * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
1129 DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1130 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1131 unittest_static_LDFLAGS, unittest_static_LDADD,
1132 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1133 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1134 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1135 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1136 unittest_LDADD): Remove variables.
1137 (clean-local): Remove rule.
1138 * libdruntime/Makefile.in: Regenerate.
1139 * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
1140 PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
1141 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
1142 unittest_static_LDFLAGS, unittest_static_LDADD,
1143 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
1144 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
1145 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
1146 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
1147 unittest_LDADD): Remove variables.
1148 (clean-local): Remove rule.
1149 * src/Makefile.in: Regenerate.
1150 * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
1151 (libphobos_init): Set libphobos_test_name.
1152 (libphobos-dg-test): Override name if libphobos_test_name is set.
1153 (filter_libphobos_unittests): New proc.
1154 * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
1155 * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
1156 * testsuite/libphobos.druntime/druntime.exp: New file.
1157 * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
1158 * testsuite/libphobos.phobos/phobos.exp: New file.
1159 * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
1160 * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
1161 * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
1162 * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
1163 * testsuite/libphobos.thread/thread.exp: Likewise.
1164 * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
1165 * testsuite/libphobos.unittests/unittests.exp: Remove.
1166 * testsuite/test_runner.d: Remove.
1167 * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
1169 2019-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
1171 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
1172 core/sys/darwin/crt_externs.d.
1173 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
1174 (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
1175 * libdruntime/Makefile.in: Regenerate.
1177 2019-03-23 Johannes Pfau <johannespfau@gmail.com>
1179 * configure.ac: Update autotool version comment.
1181 2019-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
1183 * src/Makefile.am: Avoid the -D option which is not available
1184 with the install-sh fallback. Use $(MKDIR_P) instead.
1185 * libdruntime/Makefile.am: Likewise.
1186 * src/Makefile.in: Regenerated.
1187 * libdruntime/Makefile.in: Regenerated.
1189 2019-02-19 Iain Buclaw <ibuclaw@gdcproject.org>
1191 * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
1192 [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
1193 RTLD_NOLOAD from core.sys.*.dlfcn.
1194 Assert RTLD_NOLOAD is available.
1196 2019-02-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1198 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
1199 * configure.ac: Invoke it.
1200 * configure: Regenerate.
1202 2019-02-19 Johannes Pfau <johannespfau@gmail.com>
1205 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
1206 * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
1207 * configure: Regenerate
1208 * Makefile.in: Regenerate
1209 * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
1210 * libdruntime/Makefile.in: Regenerate.
1211 * src/Makefile.in: Regenerate.
1212 * testsuite/Makefile.in: Regenerate.
1214 2019-02-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1216 * testsuite/lib/libphobos-dg.exp: Tabify.
1217 * testsuite/lib/libphobos.exp: Likewise.
1218 * testsuite/libphobos.cycles/cycles.exp: Likewise.
1219 * testsuite/libphobos.shared/shared.exp: Likewise.
1220 * testsuite/libphobos.unittests/unittests.exp: Likewise.
1222 2019-02-14 Maya Rashish <coypu@sdf.org>
1224 * configure.tgt: Add netbsd/x86 as supported target.
1226 2019-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1229 * configure.ac (DRTSTUFF_SPEC): New variable.
1231 * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
1232 New automake conditional.
1233 * configure: Regenerate.
1234 * libdruntime/gcc/drtstuff.c: New file.
1235 * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
1236 (DRTSTUFF, toolexeclib_DATA): New variables.
1237 (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
1238 (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
1239 Add -dstartfiles -B../src -Bgcc.
1240 (libgdruntime_la_DEPENDENCIES): New variable.
1241 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1242 (libgdruntime_t_la_LDFLAGS): Likewise.
1243 (unittest_LDFLAGS): Likewise.
1244 * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
1246 Add -dstartfiles -B../libdruntime/gcc.
1247 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
1248 (libgphobos_t_la_LDFLAGS): Likewise.
1249 (unittest_LDFLAGS): Likewise.
1250 * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
1251 * Makefile.in, testsuite/Makefile.in: Regenerate.
1252 * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
1254 * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
1255 * src/drtstuff.spec: New file.
1256 * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
1257 (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
1259 * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
1260 -B${BUILD_DIR}/libdruntime/gcc.
1262 2019-02-13 Iain Buclaw <ibuclaw@gdcproject.org>
1264 * libdruntime/core/runtime.d (defaultTraceHandler): Give
1265 UnwindBacktrace handler precedence over backtrace.
1267 2019-02-10 Iain Buclaw <ibuclaw@gdcproject.org>
1269 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
1270 * libdruntime/Makefile.in: Rebuild.
1271 * testsuite/libphobos.aa/aa.exp: New file.
1272 * testsuite/libphobos.aa/test_aa.d: New test.
1273 * testsuite/libphobos.hash/hash.exp: New file.
1274 * testsuite/libphobos.hash/test_hash.d: New test.
1276 2019-01-12 Iain Buclaw <ibuclaw@gdcproject.org>
1278 * README.gcc: New file.
1280 2019-01-01 Jakub Jelinek <jakub@redhat.com>
1282 Update copyright years.
1284 2018-12-14 Iain Buclaw <ibuclaw@gdcproject.org>
1286 * src/std/internal/digest: Remove empty directory.
1288 2018-12-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1290 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
1291 * Makefile.in: Regenerate.
1293 2018-11-28 Iain Buclaw <ibuclaw@gdcproject.org>
1295 * Makefile.in: Rebuild.
1296 * configure: Rebuild.
1297 * configure.ac (DRUNTIME_SOVERSION): Remove.
1298 (PHOBOS_SOVERSION): Remove.
1299 (libtool_VERSION): Add.
1300 * libdruntime/Makefile.am: Use libtool_VERSION.
1301 * libdruntime/Makefile.in: Rebuild.
1302 * src/Makefile.am: Use libtool_VERSION.
1303 * src/Makefile.in: Rebuild.
1304 * testsuite/Makefile.in: Rebuild.
1306 2018-11-22 Johannes Pfau <johannespfau@gmail.com>
1309 * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
1310 library for multilib builds.
1312 2018-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
1314 * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
1315 std.internal.math.biguintx86 modules.
1316 * src/Makefile.in: Rebuild.
1317 * src/std/internal/digest/sha_SSSE3.d: Remove.
1318 * src/std/internal/math/biguintx86.d: Remove.
1320 2018-11-02 Iain Buclaw <ibuclaw@gdcproject.org>
1323 * Makefile.in: Rebuild.
1324 * configure: Rebuild.
1325 * configure.ac: Properly set MULTISUBDIR.
1326 * d_rules.am: Set toolexecdir and toolexeclibdir.
1327 * libdruntime/Makefile.in: Rebuild.
1328 * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
1329 --enable-version-specific-runtime-libs.
1330 * src/Makefile.in: Rebuild.
1331 * testsuite/Makefile.in: Rebuild.
1333 2018-10-31 Joseph Myers <joseph@codesourcery.com>
1336 * Makefile.am: Include multilib.am.
1337 * configure.ac: Remove AC_PREREQ. Use -Wno-override in
1338 AM_INIT_AUTOMAKE call.
1339 * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
1340 * m4/druntime/os.m4: Use AC_LANG_SOURCE.
1341 * testsuite/Makefile.am (RUNTEST): Remove quotes.
1342 * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
1343 src/Makefile.in, testsuite/Makefile.in: Regenerate.
1345 2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
1350 * configure.tgt: New file.
1352 2018-10-28 Iain Buclaw <ibuclaw@gdcproject.org>
1354 * Makefile.am: New file.
1355 * Makefile.in: New file.
1356 * acinclude.m4: New file.
1357 * aclocal.m4: New file.
1358 * config.h.in: New file.
1359 * configure: New file.
1360 * configure.ac: New file.
1361 * d_rules.am: New file.
1362 * libdruntime/Makefile.am: New file.
1363 * libdruntime/Makefile.in: New file.
1364 * libdruntime/__entrypoint.di: New file.
1365 * libdruntime/__main.di: New file.
1366 * libdruntime/gcc/attribute.d: New file.
1367 * libdruntime/gcc/backtrace.d: New file.
1368 * libdruntime/gcc/builtins.d: New file.
1369 * libdruntime/gcc/config.d.in: New file.
1370 * libdruntime/gcc/deh.d: New file.
1371 * libdruntime/gcc/libbacktrace.d.in: New file.
1372 * libdruntime/gcc/unwind/arm.d: New file.
1373 * libdruntime/gcc/unwind/arm_common.d: New file.
1374 * libdruntime/gcc/unwind/c6x.d: New file.
1375 * libdruntime/gcc/unwind/generic.d: New file.
1376 * libdruntime/gcc/unwind/package.d: New file.
1377 * libdruntime/gcc/unwind/pe.d: New file.
1378 * m4/autoconf.m4: New file.
1379 * m4/druntime.m4: New file.
1380 * m4/druntime/cpu.m4: New file.
1381 * m4/druntime/libraries.m4: New file.
1382 * m4/druntime/os.m4: New file.
1383 * m4/gcc_support.m4: New file.
1384 * m4/gdc.m4: New file.
1385 * m4/libtool.m4: New file.
1386 * src/Makefile.am: New file.
1387 * src/Makefile.in: New file.
1388 * src/libgphobos.spec.in: New file.
1389 * testsuite/Makefile.am: New file.
1390 * testsuite/Makefile.in: New file.
1391 * testsuite/config/default.exp: New file.
1392 * testsuite/lib/libphobos-dg.exp: New file.
1393 * testsuite/lib/libphobos.exp: New file.
1394 * testsuite/testsuite_flags.in: New file.
1397 Copyright (C) 2018-2021 Free Software Foundation, Inc.
1399 Copying and distribution of this file, with or without modification,
1400 are permitted in any medium without royalty provided the copyright
1401 notice and this notice are preserved.