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