1 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3 * configure.tgt (LIBPHOBOS_SUPPORTED): Default to no.
5 (x86_64-*-solaris2.11* | i?86-*-solaris2.11*): Mark supported.
6 * configure.ac: Handle --enable-libphobos.
7 (x86_64-*-solaris2.* | i?86-*-solaris2.*): Only mark supported
9 (ENABLE_LIBPHOBOS): New conditional.
10 * configure: Regenerate.
11 * Makefile.am (SUBDIRS): Only set if ENABLE_LIBPHOBOS.
12 * Makefile.in: Regenerate.
14 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
15 Iain Buclaw <ibuclaw@gdcproject.org>
18 * m4/druntime/os.m4 (DRUNTIME_OS_DLPI_TLS_MODID): New macro.
19 * configure.ac: Use it.
20 Call AC_USE_SYSTEM_EXTENSIONS.
21 * configure: Regenerate.
22 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
23 testsuite/Makefile.in: Regenerate.
24 * libdruntime/gcc/config.d.in (OS_Have_Dlpi_Tls_Modid): Define.
25 * libdruntime/gcc/sections/elf_shared.d: Import gcc.config.
26 (scanSegments) <PT_TLS> [OS_Have_Dlpi_Tls_Modid]: Use
28 [Solaris]: Use dlinfo(RTLD_DI_LINKMAP) to get rt_tlsmodid.
29 Otherwise clear pdso._tlsMod, pdso._tlsSize.
30 (getTLSRange) [Solaris && !OS_Have_Dlpi_Tls_Modid]: Readjust mod.
32 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
34 * m4/druntime/os.m4 (DRUNTIME_OS_LINK_SPEC): New macro.
35 * configure.ac: Call it.
36 * configure: Regenerate.
37 * Makefile.in, libdruntime/Makefile.in, src/Makefile.in,
38 testsuite/Makefile.in: Regenerate.
39 * src/libgphobos.spec.in (*link): Append OS_LINK_SPEC.
41 2019-04-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
44 * libdruntime/gcc/sections/elf_shared.d [Solaris] (SharedELF): Set
46 Import core.sys.solaris.dlfcn, core.sys.solaris.link,
47 core.sys.solaris.sys.elf, core.sys.solaris.sys.link.
49 (initSections): Initialize dummy_ref.
50 (getDependencies): Set strtab.
51 (handleForName): Don't dlclose handle.
52 (findDSOInfoForAddr): Set IterateManually.
53 (getprogname): Declare.
55 * libdruntime/gcc/sections/package.d [Solaris]: Import
56 gcc.sections.elf_shared instead of gcc.sections.solaris.
57 * libdruntime/gcc/sections/solaris.d: Remove.
58 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove
59 gcc/sections/solaris.d.
60 * libdruntime/Makefile.in: Regenerate.
62 2019-04-13 Iain Buclaw <ibuclaw@gdcproject.org>
64 * libdruntime/Makefile.am (DRUNTIME_CSOURCES): Remove bss_sections.c.
65 (DRUNTIME_DSOURCES): Rename rt/sections_* modules to gcc/sections/*.
66 * libdruntime/Makefile.in: Regenerate.
67 * libdruntime/gcc/sections/android.d: New file.
68 * libdruntime/gcc/sections/elf_shared.d: New file.
69 * libdruntime/gcc/sections/osx.d: New file.
70 * libdruntime/gcc/sections/package.d: New file.
71 * libdruntime/gcc/sections/solaris.d: New file.
72 * libdruntime/gcc/sections/win32.d: New file.
73 * libdruntime/gcc/sections/win64.d: New file.
74 * libdruntime/rt/bss_section.c: Remove.
75 * libdruntime/rt/sections.d: Publicly import gcc.sections.
76 * libdruntime/rt/sections_android.d: Remove.
77 * libdruntime/rt/sections_elf_shared.d: Remove.
78 * libdruntime/rt/sections_osx.d: Remove.
79 * libdruntime/rt/sections_solaris.d: Remove.
80 * libdruntime/rt/sections_win32.d: Remove.
81 * libdruntime/rt/sections_win64.d: Remove.
83 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
85 * configure.ac (AM_INIT_AUTOMAKE): Add subdir-objects.
86 * configure: Regenerate.
87 * libdruntime/Makefile.in: Regenerate.
89 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
91 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_ZLIB): Use
92 libz_convenience.a if not using system zlib.
93 * Makefile.in: Regenerate.
94 * configure: Regenerate.
95 * libdruntime/Makefile.in: Regenerate.
96 * src/Makefile.am: Remove ZLIB_CSOURCES and AM_CFLAGS.
97 * src/Makefile.in: Regenerate.
98 * testsuite/Makefile.in: Regenerate.
100 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
102 * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Remove dejagnu.
103 (RUNTEST): Remove variable.
104 (RUNTESTDEFAULTFLAGS, check_p_subno, check_p_numbers0,
105 check_p_numbers1, check_p_numbers2, check_p_numbers3,
106 check_p_numbers4, check_p_numbers5, check_p_numbers6, check_p_numbers,
107 check_p_subdirs, check_DEJAGNU_libphobos_targets): New variables.
108 (site.exp, %/site.exp, check-DEJAGNU, check-am, clean-local): New
109 rules written so that all the *.exp files are ran parallelized.
110 (CLEANFILES): Add *.exe, *.o, and site.exp.
111 * testsuite/Makefile.in: Regenerate.
113 2019-04-12 Iain Buclaw <ibuclaw@gdcproject.org>
116 * configure.ac (ENABLE_SHARED, ENABLE_STATIC): Remove conditionals.
117 * configure: Regenerate.
118 * d_rules.am (%.t.lo, %.t.o): Remove rules.
119 (unittest_static_LINK, unittest_LINK, libgdruntime_t_la_LINK,
120 libgphobos_t_la_LINK): Remove variables.
121 * libdruntime/Makefile.am (DRUNTIME_TEST_LOBJECTS,
122 DRUNTIME_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
123 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
124 unittest_static_LDFLAGS, unittest_static_LDADD,
125 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
126 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
127 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
128 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
129 unittest_LDADD): Remove variables.
130 (clean-local): Remove rule.
131 * libdruntime/Makefile.in: Regenerate.
132 * src/Makefile.am (PHOBOS_TEST_LOBJECTS,
133 PHOBOS_TEST_OBJECTS, check_PROGRAMS, check_LTLIBRARIES,
134 unittest_static_SOURCES, unittest_static_LIBTOOLFLAGS,
135 unittest_static_LDFLAGS, unittest_static_LDADD,
136 EXTRA_unittest_static_DEPENDENCIES, libgdruntime_t_la_SOURCES,
137 libgdruntime_t_la_LIBTOOLFLAGS, libgdruntime_t_la_LDFLAGS,
138 libgdruntime_t_la_LIBADD, EXTRA_libgdruntime_t_la_DEPENDENCIES,
139 unittest_SOURCES, unittest_LIBTOOLFLAGS, unittest_LDFLAGS,
140 unittest_LDADD): Remove variables.
141 (clean-local): Remove rule.
142 * src/Makefile.in: Regenerate.
143 * testsuite/lib/libphobos.exp (libphobos_test_name): New global.
144 (libphobos_init): Set libphobos_test_name.
145 (libphobos-dg-test): Override name if libphobos_test_name is set.
146 (filter_libphobos_unittests): New proc.
147 * testsuite/libphobos.aa/aa.exp: Don't load libphobos-dg.exp.
148 * testsuite/libphobos.cycles/cycles.exp: Set libphobos_test_name.
149 * testsuite/libphobos.druntime/druntime.exp: New file.
150 * testsuite/libphobos.druntime_shared/druntime_shared.exp: New file.
151 * testsuite/libphobos.phobos/phobos.exp: New file.
152 * testsuite/libphobos.phobos_shared/phobos_shared.exp: New file.
153 * testsuite/libphobos.shared/shared.exp: Use dg-runtest to run tests.
154 * testsuite/libphobos.hash/hash.exp: Don't load libphobos-dg.exp
155 * testsuite/libphobos.init_fini/init_fini.exp: Likewise.
156 * testsuite/libphobos.thread/thread.exp: Likewise.
157 * testsuite/libphobos.typeinfo/typeinfo.exp: Likewise.
158 * testsuite/libphobos.unittests/unittests.exp: Remove.
159 * testsuite/test_runner.d: Remove.
160 * testsuite/testsuite_flags.in: Add phobos to --gdcpaths.
162 2019-03-26 Iain Buclaw <ibuclaw@gdcproject.org>
164 * libdruntime/Makefile.am (DRUNTIME_DSOURCES_DARWIN): Add
165 core/sys/darwin/crt_externs.d.
166 (DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/unistd.d.
167 (DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/spawn.d.
168 * libdruntime/Makefile.in: Regenerate.
170 2019-03-23 Johannes Pfau <johannespfau@gmail.com>
172 * configure.ac: Update autotool version comment.
174 2019-02-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
176 * src/Makefile.am: Avoid the -D option which is not available
177 with the install-sh fallback. Use $(MKDIR_P) instead.
178 * libdruntime/Makefile.am: Likewise.
179 * src/Makefile.in: Regenerated.
180 * libdruntime/Makefile.in: Regenerated.
182 2019-02-19 Iain Buclaw <ibuclaw@gdcproject.org>
184 * testsuite/libphobos.shared/load.d: Import core.sys.posix.dlfcn.
185 [DragonFlyBSD, FreeBSD, linux, NetBSD, OSX, Solaris]: Import only
186 RTLD_NOLOAD from core.sys.*.dlfcn.
187 Assert RTLD_NOLOAD is available.
189 2019-02-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
191 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_NET): New macro.
192 * configure.ac: Invoke it.
193 * configure: Regenerate.
195 2019-02-19 Johannes Pfau <johannespfau@gmail.com>
198 * m4/druntime/libraries.m4 (DRUNTIME_LIBRARIES_CLIB): Add new macro.
199 * configure.ac: Use DRUNTIME_LIBRARIES_CLIB.
200 * configure: Regenerate
201 * Makefile.in: Regenerate
202 * libdruntime/gcc/config.d.in: Add Have_Qsort_R.
203 * libdruntime/Makefile.in: Regenerate.
204 * src/Makefile.in: Regenerate.
205 * testsuite/Makefile.in: Regenerate.
207 2019-02-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
209 * testsuite/lib/libphobos-dg.exp: Tabify.
210 * testsuite/lib/libphobos.exp: Likewise.
211 * testsuite/libphobos.cycles/cycles.exp: Likewise.
212 * testsuite/libphobos.shared/shared.exp: Likewise.
213 * testsuite/libphobos.unittests/unittests.exp: Likewise.
215 2019-02-14 Maya Rashish <coypu@sdf.org>
217 * configure.tgt: Add netbsd/x86 as supported target.
219 2019-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
222 * configure.ac (DRTSTUFF_SPEC): New variable.
224 * libdruntime/m4/druntime/os.m4 (DRUNTIME_OS_MINFO_BRACKETING):
225 New automake conditional.
226 * configure: Regenerate.
227 * libdruntime/gcc/drtstuff.c: New file.
228 * libdruntime/Makefile.am [!DRUNTIME_OS_MINFO_BRACKETING]
229 (DRTSTUFF, toolexeclib_DATA): New variables.
230 (gcc/drtbegin.lo, gcc/drtend.lo): New rules.
231 (libgdruntime_la_LDFLAGS): Use -Wc instead of -Xcompiler.
232 Add -dstartfiles -B../src -Bgcc.
233 (libgdruntime_la_DEPENDENCIES): New variable.
234 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
235 (libgdruntime_t_la_LDFLAGS): Likewise.
236 (unittest_LDFLAGS): Likewise.
237 * src/Makefile.am (libgphobos_la_LDFLAGS): Use -Wc instead of
239 Add -dstartfiles -B../libdruntime/gcc.
240 (unittest_static_LDFLAGS): Use -Wc instead of -Xcompiler.
241 (libgphobos_t_la_LDFLAGS): Likewise.
242 (unittest_LDFLAGS): Likewise.
243 * libdruntime/Makefile.in, src/Makefile.in: Regenerate.
244 * Makefile.in, testsuite/Makefile.in: Regenerate.
245 * libdruntime/rt/sections_elf_shared.d (Minfo_Bracketing): Don't
247 * libdruntime/gcc/config.d.in (Minfo_Bracketing): Remove.
248 * src/drtstuff.spec: New file.
249 * src/libgphobos.spec.in (DRTSTUFF_SPEC): Substitute.
250 (*lib): Only pass SPEC_PHOBOS_DEPS without -debuglib, -defaultlib,
252 * testsuite/testsuite_flags.in <--gdcldflags> (GDCLDFLAGS): Add
253 -B${BUILD_DIR}/libdruntime/gcc.
255 2019-02-13 Iain Buclaw <ibuclaw@gdcproject.org>
257 * libdruntime/core/runtime.d (defaultTraceHandler): Give
258 UnwindBacktrace handler precedence over backtrace.
260 2019-02-10 Iain Buclaw <ibuclaw@gdcproject.org>
262 * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Remove rt/util/hash.d
263 * libdruntime/Makefile.in: Rebuild.
264 * testsuite/libphobos.aa/aa.exp: New file.
265 * testsuite/libphobos.aa/test_aa.d: New test.
266 * testsuite/libphobos.hash/hash.exp: New file.
267 * testsuite/libphobos.hash/test_hash.d: New test.
269 2019-01-12 Iain Buclaw <ibuclaw@gdcproject.org>
271 * README.gcc: New file.
273 2019-01-01 Jakub Jelinek <jakub@redhat.com>
275 Update copyright years.
277 2018-12-14 Iain Buclaw <ibuclaw@gdcproject.org>
279 * src/std/internal/digest: Remove empty directory.
281 2018-12-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
283 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS, GDCFLAGS.
284 * Makefile.in: Regenerate.
286 2018-11-28 Iain Buclaw <ibuclaw@gdcproject.org>
288 * Makefile.in: Rebuild.
289 * configure: Rebuild.
290 * configure.ac (DRUNTIME_SOVERSION): Remove.
291 (PHOBOS_SOVERSION): Remove.
292 (libtool_VERSION): Add.
293 * libdruntime/Makefile.am: Use libtool_VERSION.
294 * libdruntime/Makefile.in: Rebuild.
295 * src/Makefile.am: Use libtool_VERSION.
296 * src/Makefile.in: Rebuild.
297 * testsuite/Makefile.in: Rebuild.
299 2018-11-22 Johannes Pfau <johannespfau@gmail.com>
302 * testsuite/libphobos.shared/shared.exp: Set proper path to phobos
303 library for multilib builds.
305 2018-11-19 Iain Buclaw <ibuclaw@gdcproject.org>
307 * src/Makefile.am: Remove std.internal.digest.sha_SSSE3 and
308 std.internal.math.biguintx86 modules.
309 * src/Makefile.in: Rebuild.
310 * src/std/internal/digest/sha_SSSE3.d: Remove.
311 * src/std/internal/math/biguintx86.d: Remove.
313 2018-11-02 Iain Buclaw <ibuclaw@gdcproject.org>
316 * Makefile.in: Rebuild.
317 * configure: Rebuild.
318 * configure.ac: Properly set MULTISUBDIR.
319 * d_rules.am: Set toolexecdir and toolexeclibdir.
320 * libdruntime/Makefile.in: Rebuild.
321 * m4/druntime.m4 (DRUNTIME_INSTALL_DIRECTORIES): Add
322 --enable-version-specific-runtime-libs.
323 * src/Makefile.in: Rebuild.
324 * testsuite/Makefile.in: Rebuild.
326 2018-10-31 Joseph Myers <joseph@codesourcery.com>
329 * Makefile.am: Include multilib.am.
330 * configure.ac: Remove AC_PREREQ. Use -Wno-override in
331 AM_INIT_AUTOMAKE call.
332 * m4/autoconf.m4: Add extra argument to AC_LANG_DEFINE call.
333 * m4/druntime/os.m4: Use AC_LANG_SOURCE.
334 * testsuite/Makefile.am (RUNTEST): Remove quotes.
335 * Makefile.in, aclocal.m4, configure, libdruntime/Makefile.in,
336 src/Makefile.in, testsuite/Makefile.in: Regenerate.
338 2018-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
343 * configure.tgt: New file.
345 2018-10-28 Iain Buclaw <ibuclaw@gdcproject.org>
347 * Makefile.am: New file.
348 * Makefile.in: New file.
349 * acinclude.m4: New file.
350 * aclocal.m4: New file.
351 * config.h.in: New file.
352 * configure: New file.
353 * configure.ac: New file.
354 * d_rules.am: New file.
355 * libdruntime/Makefile.am: New file.
356 * libdruntime/Makefile.in: New file.
357 * libdruntime/__entrypoint.di: New file.
358 * libdruntime/__main.di: New file.
359 * libdruntime/gcc/attribute.d: New file.
360 * libdruntime/gcc/backtrace.d: New file.
361 * libdruntime/gcc/builtins.d: New file.
362 * libdruntime/gcc/config.d.in: New file.
363 * libdruntime/gcc/deh.d: New file.
364 * libdruntime/gcc/libbacktrace.d.in: New file.
365 * libdruntime/gcc/unwind/arm.d: New file.
366 * libdruntime/gcc/unwind/arm_common.d: New file.
367 * libdruntime/gcc/unwind/c6x.d: New file.
368 * libdruntime/gcc/unwind/generic.d: New file.
369 * libdruntime/gcc/unwind/package.d: New file.
370 * libdruntime/gcc/unwind/pe.d: New file.
371 * m4/autoconf.m4: New file.
372 * m4/druntime.m4: New file.
373 * m4/druntime/cpu.m4: New file.
374 * m4/druntime/libraries.m4: New file.
375 * m4/druntime/os.m4: New file.
376 * m4/gcc_support.m4: New file.
377 * m4/gdc.m4: New file.
378 * m4/libtool.m4: New file.
379 * src/Makefile.am: New file.
380 * src/Makefile.in: New file.
381 * src/libgphobos.spec.in: New file.
382 * testsuite/Makefile.am: New file.
383 * testsuite/Makefile.in: New file.
384 * testsuite/config/default.exp: New file.
385 * testsuite/lib/libphobos-dg.exp: New file.
386 * testsuite/lib/libphobos.exp: New file.
387 * testsuite/testsuite_flags.in: New file.
390 Copyright (C) 2018-2019 Free Software Foundation, Inc.
392 Copying and distribution of this file, with or without modification,
393 are permitted in any medium without royalty provided the copyright
394 notice and this notice are preserved.