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