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