init.c (build_new): Add location_t parameter and use it throughout.
[official-gcc.git] / libatomic / ChangeLog
blobd03442965811dd9dc76ccd93e5a76726562866cf
1 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
3         Update copyright years.
5 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
7         * configure: Regenerate.
9 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
11         * configure.tgt: Handle arm*-*-uclinux*.
12         * configure: Regenerate.
14 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
16         PR other/79543
17         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
18         scanning to conform to the GNU Coding Standards.
19         * configure: Regenerate.
21 2019-06-14  Matt Thomas  <matt@3am-software.com>
22             Matthew Green  <mrg@eterna.com.au>
23             Nick Hudson  <skrll@netbsd.org>
24             Maya Rashish  <coypu@sdf.org>
26         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
28 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
30         Update copyright years.
32 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
34         PR bootstrap/82856
35         * Makefile.am: Include multilib.am.
36         * acinclude.m4: Use AC_LANG_SOURCE.
37         * configure.ac: Remove AC_PREREQ.
38         * testsuite/Makefile.am (RUNTEST): Remove quotes.
39         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
40         Regenerate.
42 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
44         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
45         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
46         and HAVE_STREXBHD
48 2018-05-23  Florian Weimer  <fweimer@redhat.com>
50         PR libgcc/60790
51         x86: Do not assume ELF constructors run before IFUNC resolvers.
52         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
53         Remove declarations.
54         (__libat_feat1, __libat_feat1_init): Declare.
55         (FEAT1_REGISTER): Define.
56         (load_feat1): New function.
57         (IFUNC_COND_1): Adjust.
58         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
59         (init_cpuid): Remove definitions.
60         (__libat_feat1): New variable.
61         (__libat_feat1_init): New function.
63 2018-05-02  Tom de Vries  <tom@codesourcery.com>
65         PR testsuite/85106
66         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
68 2018-05-02  Tom de Vries  <tom@codesourcery.com>
70         PR testsuite/85106
71         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
73 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
75         * configure: Regenerated.
77 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
79         * configure: Regenerated.
81 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
83         PR jit/85384
84         * configure: Regenerate.
86 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
88         * config/s390/exch_n.c: New file.
89         * configure.tgt: Add the config directory for s390.
91 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
93         PR target/84148
94         * configure: Regenerate.
96 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
98         Update copyright years.
100 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
102         * Makefile.am (IFUNC_OPTIONS): Change aarch64
103         option from -march=armv8.1-a to -march=armv8-a+lse.
104         * configure.ac (*aarch64*): Check to see if
105         compiler understands -march=armv8-a+lse option.
106         * configure.tgt (*aarch64*): Only set try_ifunc
107         if compiler understands -march=armv8-a+lse option.
108         * Makefile.in: Regenerate.
109         * testsuite/Makefile.in: Regenerate.
110         * configure: Regenerate.
111         * aclocal.m4: Regenerate.
113 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
115         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
116         libatomic_la_LIBADD.
117         * config/linux/aarch64/host-config.h: New file.
118         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
119         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
120         * configure.tgt (aarch64): Set ARCH and try_ifunc.
121         (aarch64*-*-linux*) Update config_path.
122         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
123         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
124         * Makefile.in: Regenerate.
125         * auto-config.h.in: Regenerate.
126         * configure: Regenerate.
128 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
130         * configure.ac: Set CET_FLAGS, update XCFLAGS.
131         * acinclude.m4: Add cet.m4 and enable.m4.
132         * configure: Regenerate.
133         * Makefile.in: Likewise.
134         * testsuite/Makefile.in: Likewise.
136 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
138         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
139         -march=armv7-a+fp on Linux/Arm.
140         * Makefile.in: Regenerated.
142 2017-10-02  Martin Sebor  <msebor@redhat.com>
144         PR c/81854
145         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
146         a function pointer rather than void* to avoid GCC 8 warnings.
147         * configure: Regenerate.
148         * libatomic_i.h: Declare ifunc resolvers to return function
149         pointers rather than void*.
151 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
153         * testsuite/lib/libatomic.exp: Load scanlang.exp.
155 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
157         * configure.tgt: Add RISC-V tuple.
159 2017-02-01  Richard Henderson  <rth@redhat.com>
160             Torvald Riegel  <triegel@redhat.com>
162         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
163         * auto-config.h.in: Regenerate.
164         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
165         (atomic_compare_exchange_n): New.
166         * glfree.c (EXACT, LARGER): Change condition and add comments.
168 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
170         PR target/78945
171         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
173 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
175         PR other/79046
176         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
177         of cat to get version from BASE-VER file.
178         * testsuite/Makefile.in: Regenerated.
180 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
182         PR other/79046
183         * configure.ac: Add GCC_BASE_VER.
184         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
185         get version from BASE-VER file.
186         * testsuite/Makefile.in: Regenerated.
187         * configure: Regenerated.
188         * Makefile.in: Regenerated.
190 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
192         Update copyright years.
194 2016-11-15  Matthias Klose  <doko@ubuntu.com>
196         * configure: Regenerate.
198 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
200         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
201         (*-*-rtems*): New supported target.
202         * config/rtems/host-config.h: New file.
203         * config/rtems/lock.c: Likewise.
205 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
207         PR target/70454
208         * configure.tgt (XCFLAGS): Revert the last change.
210 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
212         PR target/70454
213         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
214         32-bit x86 target library on x86-64.
216 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
218         PR other/67627
219         * Makefile.am (all-multi): Add dependency.
220         * Makefile.in: Regenerate.
222 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
224         Update copyright years.
226 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
228         PR c/65083
229         * fence.c, flag.c: New files.
230         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
231         * Makefile.in: Regenerate.
232         * configure.ac (libtool_VERSION): Change to 3:0:2.
233         * configure: Regenerate.
234         * libatomic.map (LIBATOMIC_1.2): New symbol version.
236 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
238         * testsuite/lib/libatomic.exp: Load multiline.exp before
239         prune.exp, using load_gcc_lib.
241 2015-07-14  John Marino  <gnugcc@marino.st>
243         * configure.tgt: Add *-*-dragonfly to supported targets.
245 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
247         * fop_n.c (libat_fetch_op): Align address to word boundary.
248         (libat_op_fetch): Likewise.
250 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
252         PR testsuite/64605
253         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
254         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
256 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
258         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
260 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
262         Update copyright years.
264 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
266         * testsuite/lib/libatomic.exp: Load target-utils.exp
268 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
270         PR bootstrap/63784
271         * configure: Regenerated.
273 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
275         * cas_n.c (libat_compare_exchange): Add missing cast.
277 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
279         PR target/63610
280         * configure: Regenerate.
282 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
284         * configure.tgt: Add cygwin to supported targets.
286 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
288         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
290 2014-06-17  Kai Tietz  <ktietz@redhat.com>
292         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
293         * configure.ac (ACX_LT_HOST_FLAGS): New.
294         (target_thread_file): New.
295         * configure.tgt (mingw): Add mingw support.
296         * config/mingw/host-config.h: New file.
297         * config/mingw/lock.c: Likewise.
298         * Makefile.in: Regenerated.
299         * configure: Likewise.
300         * aclocal.m4: Likewise.
301         * testsuite/Makefile.in: Likewise.
303 2014-02-20  Richard Henderson <rth@redhat.com>
305         PR c++/60272
306         * cas_n.c (libat_compare_exchange): Conditionalize on failure
307         the store back to EPTR.
309 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
311         Update copyright years
313 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
315         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
316         instructions when __SSE_MATH__ is defined.
318 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
320         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
321         testsuite/libatomic.c/atomic-compare-exchange-2.c,
322         testsuite/libatomic.c/atomic-compare-exchange-3.c,
323         testsuite/libatomic.c/atomic-compare-exchange-4.c,
324         testsuite/libatomic.c/atomic-compare-exchange-5.c,
325         testsuite/libatomic.c/atomic-exchange-1.c,
326         testsuite/libatomic.c/atomic-exchange-2.c,
327         testsuite/libatomic.c/atomic-exchange-3.c,
328         testsuite/libatomic.c/atomic-exchange-4.c,
329         testsuite/libatomic.c/atomic-exchange-5.c,
330         testsuite/libatomic.c/atomic-generic.c,
331         testsuite/libatomic.c/atomic-load-1.c,
332         testsuite/libatomic.c/atomic-load-2.c,
333         testsuite/libatomic.c/atomic-load-3.c,
334         testsuite/libatomic.c/atomic-load-4.c,
335         testsuite/libatomic.c/atomic-load-5.c,
336         testsuite/libatomic.c/atomic-op-1.c,
337         testsuite/libatomic.c/atomic-op-2.c,
338         testsuite/libatomic.c/atomic-op-3.c,
339         testsuite/libatomic.c/atomic-op-4.c,
340         testsuite/libatomic.c/atomic-op-5.c,
341         testsuite/libatomic.c/atomic-store-1.c,
342         testsuite/libatomic.c/atomic-store-2.c,
343         testsuite/libatomic.c/atomic-store-3.c,
344         testsuite/libatomic.c/atomic-store-4.c,
345         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
346         int.  Do not require built-in sync support or add target-specific
347         options.
348         * testsuite/libatomic.c/atomic-exchange-1.c,
349         testsuite/libatomic.c/atomic-exchange-2.c,
350         testsuite/libatomic.c/atomic-exchange-3.c,
351         testsuite/libatomic.c/atomic-exchange-4.c,
352         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
353         count from expression using value of count.
355 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
357         * config/x86/fenv.c: New file.
359 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
361         * fenv.c: New file.
362         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
363         __atomic_feraiseexcept.
364         * configure.ac (libtool_VERSION): Change to 2:0:1.
365         (fenv.h): Test for header.
366         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
367         * Makefile.in, auto-config.h.in, configure: Regenerate.
369 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
371         * libatomic/configure.tgt (aarch64*): Remove code preventing
372         build.
374 2013-09-20  Alan Modra  <amodra@gmail.com>
376         * configure: Regenerate.
378 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
380         Update copyright years.
382 2012-12-18  Ian Lance Taylor  <iant@google.com>
384         PR go/55201
385         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
386         (libatomic_convenience_la_SOURCES): Likewise.
387         (libatomic_convenience_la_LIBADD): Likewise.
388         * Makefile.in: Rebuild.
389         * testsuite/Makefile.in: Rebuild.
391 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
393         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
395 2012-11-21  Matthias Klose  <doko@ubuntu.com>
397         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
399 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
401         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
402         * configure: Regenerate.
404         * configure: Regenerate.
406 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
408         Mark libatomic unsupported in AArch64.
410         * configure.tgt: Mark libatomic unsupported.
412 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
414         PR other/43620
415         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
416         * configure: Regenerate.
417         * Makefile.in: Regenerate.
419 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
421         * configure: Regenerated.
423 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
425         PR other/53231
426         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
428 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
430         * configure: Regenerated.
432 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
434         PR other/53284
435         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
436         instead of overriding.
437         * configure: Regenerate.
439 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
441         * Makefile.am (libatomic.map-sun): Handle objects in
442         libatomic_la_LIBADD.
443         * aclocal.m4: Regenerate.
444         * Makefile.in: Regenerate.
446 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
448         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
449         * configure: Regenerate.
451 2012-05-03  Richard Henderson  <rth@redhat.com>
453         * configure.ac (AM_MAINTAINER_MODE): New.
454         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
455         failure in gcc_no_link path.
456         * configure, aclocal.m4, Makefile.in: Rebuild.
458 2012-05-01  Richard Henderson  <rth@redhat.com>
460         * Initial commit.
462 Copyright (C) 2012-2020 Free Software Foundation, Inc.
464 Copying and distribution of this file, with or without modification,
465 are permitted in any medium without royalty provided the copyright
466 notice and this notice are preserved.