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