Daily bump.
[official-gcc.git] / libatomic / ChangeLog
blob04b53ef17e5f6d583f47011021bc9b241335bff0
1 2021-07-21  Martin Sebor  <msebor@redhat.com>
3         PR bootstrap/101379
4         * config/linux/arm/host-config.h (__kernel_helper_version): New
5         function.  Adjust shadow macro.
7 2021-01-15  Jakub Jelinek  <jakub@redhat.com>
9         PR target/70454
10         * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
11         be added through preprocessor check on
12         __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
13         based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
14         or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
16 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18         * configure: Re-generate.
20 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
22         PR target/97865
23         * configure: Regenerate.
25 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
27         * configure: Regenerate.
29 2020-10-11  Clement Chigot  <clement.chigot@atos.net>
31         * config/t-aix: Delete and recreate libatomic before creating
32         FAT library.
34 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
36         * config/t-aix: Use $(AR) without -X32_64.
38 2020-09-11  Tom de Vries  <tdevries@suse.de>
40         PR target/96898
41         * configure.tgt: Add nvptx.
42         * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
43         * config/nvptx/host-config.h: New file.
44         * config/nvptx/lock.c: New file.
46 2020-09-07  Tom de Vries  <tdevries@suse.de>
48         * testsuite/libatomic.c/atomic-generic.c: Include string.h.
50 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
52         * config/t-aix: Set BITS from compiler cpp macro.
54 2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
56         * Makefile.am: Use -include.
57         * Makefile.in: Regenerate.
59 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
61         * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
62         * Makefile.in: Regenerate.
63         * configure.ac (tmake_file): Substitute.
64         * configure: Regenerate.
65         * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
66         * config/t-aix: New file.
68 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
70         * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
72 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
74         PR bootstrap/95413
75         * configure: Regenerated.
77 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79         PR bootstrap/95147
80         * configure: Regenerated.
82 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
84         * configure: Regenerated.
86 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
88         * config/x86/fenv.c (__math_force_eval): Remove.
89         (__math_force_eval_div): New define.
90         (__atomic_deraiseexcept): Use __math_force_eval_div to use
91         generic division to generate INVALID, DIVZERO and INEXACT
92         exceptions.
94 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
96         * config/x86/fenv.c (__math_force_eval): New define.
97         (__atomic_feraiseexcept): Use __math_force_eval to evaluate
98         generic division to generate INVALID and DIVZERO exceptions.
100 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
102         * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
103         Remove unneeded assignments to volatile memory.
105 2020-04-06  Maciej W. Rozycki  <macro@wdc.com>
107         * configure.ac: Add testsuite/libatomic-site-extra.exp to output
108         files.
109         * configure: Regenerate.
110         * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
111         * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
112         variable.
113         * testsuite/Makefile.in: Regenerate.
115 2020-02-22  Jakub Jelinek  <jakub@redhat.com>
117         PR other/55930
118         * Makefile.am (M_DEPS): Guard the empty definition with
119         @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
120         * Makefile.in: Regenerated.
122 2020-02-22  Richard Purdie  <rpurdie@rpsys.net>
124         PR other/55930
125         * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
126         * Makefile.in: Regenerated.
128 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
130         * configure.ac: Handle `--with-toolexeclibdir='.
131         * Makefile.in: Regenerate.
132         * aclocal.m4: Regenerate.
133         * configure: Regenerate.
134         * testsuite/Makefile.in: Regenerate.
136 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
138         Update copyright years.
140 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
142         * configure: Regenerate.
144 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
146         * configure.tgt: Handle arm*-*-uclinux*.
147         * configure: Regenerate.
149 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
151         PR other/79543
152         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
153         scanning to conform to the GNU Coding Standards.
154         * configure: Regenerate.
156 2019-06-14  Matt Thomas  <matt@3am-software.com>
157             Matthew Green  <mrg@eterna.com.au>
158             Nick Hudson  <skrll@netbsd.org>
159             Maya Rashish  <coypu@sdf.org>
161         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
163 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
165         Update copyright years.
167 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
169         PR bootstrap/82856
170         * Makefile.am: Include multilib.am.
171         * acinclude.m4: Use AC_LANG_SOURCE.
172         * configure.ac: Remove AC_PREREQ.
173         * testsuite/Makefile.am (RUNTEST): Remove quotes.
174         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
175         Regenerate.
177 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
179         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
180         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
181         and HAVE_STREXBHD
183 2018-05-23  Florian Weimer  <fweimer@redhat.com>
185         PR libgcc/60790
186         x86: Do not assume ELF constructors run before IFUNC resolvers.
187         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
188         Remove declarations.
189         (__libat_feat1, __libat_feat1_init): Declare.
190         (FEAT1_REGISTER): Define.
191         (load_feat1): New function.
192         (IFUNC_COND_1): Adjust.
193         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
194         (init_cpuid): Remove definitions.
195         (__libat_feat1): New variable.
196         (__libat_feat1_init): New function.
198 2018-05-02  Tom de Vries  <tom@codesourcery.com>
200         PR testsuite/85106
201         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
203 2018-05-02  Tom de Vries  <tom@codesourcery.com>
205         PR testsuite/85106
206         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
208 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
210         * configure: Regenerated.
212 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
214         * configure: Regenerated.
216 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
218         PR jit/85384
219         * configure: Regenerate.
221 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
223         * config/s390/exch_n.c: New file.
224         * configure.tgt: Add the config directory for s390.
226 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
228         PR target/84148
229         * configure: Regenerate.
231 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
233         Update copyright years.
235 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
237         * Makefile.am (IFUNC_OPTIONS): Change aarch64
238         option from -march=armv8.1-a to -march=armv8-a+lse.
239         * configure.ac (*aarch64*): Check to see if
240         compiler understands -march=armv8-a+lse option.
241         * configure.tgt (*aarch64*): Only set try_ifunc
242         if compiler understands -march=armv8-a+lse option.
243         * Makefile.in: Regenerate.
244         * testsuite/Makefile.in: Regenerate.
245         * configure: Regenerate.
246         * aclocal.m4: Regenerate.
248 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
250         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
251         libatomic_la_LIBADD.
252         * config/linux/aarch64/host-config.h: New file.
253         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
254         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
255         * configure.tgt (aarch64): Set ARCH and try_ifunc.
256         (aarch64*-*-linux*) Update config_path.
257         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
258         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
259         * Makefile.in: Regenerate.
260         * auto-config.h.in: Regenerate.
261         * configure: Regenerate.
263 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
265         * configure.ac: Set CET_FLAGS, update XCFLAGS.
266         * acinclude.m4: Add cet.m4 and enable.m4.
267         * configure: Regenerate.
268         * Makefile.in: Likewise.
269         * testsuite/Makefile.in: Likewise.
271 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
273         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
274         -march=armv7-a+fp on Linux/Arm.
275         * Makefile.in: Regenerated.
277 2017-10-02  Martin Sebor  <msebor@redhat.com>
279         PR c/81854
280         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
281         a function pointer rather than void* to avoid GCC 8 warnings.
282         * configure: Regenerate.
283         * libatomic_i.h: Declare ifunc resolvers to return function
284         pointers rather than void*.
286 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
288         * testsuite/lib/libatomic.exp: Load scanlang.exp.
290 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
292         * configure.tgt: Add RISC-V tuple.
294 2017-02-01  Richard Henderson  <rth@redhat.com>
295             Torvald Riegel  <triegel@redhat.com>
297         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
298         * auto-config.h.in: Regenerate.
299         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
300         (atomic_compare_exchange_n): New.
301         * glfree.c (EXACT, LARGER): Change condition and add comments.
303 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
305         PR target/78945
306         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
308 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
310         PR other/79046
311         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
312         of cat to get version from BASE-VER file.
313         * testsuite/Makefile.in: Regenerated.
315 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
317         PR other/79046
318         * configure.ac: Add GCC_BASE_VER.
319         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
320         get version from BASE-VER file.
321         * testsuite/Makefile.in: Regenerated.
322         * configure: Regenerated.
323         * Makefile.in: Regenerated.
325 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
327         Update copyright years.
329 2016-11-15  Matthias Klose  <doko@ubuntu.com>
331         * configure: Regenerate.
333 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
335         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
336         (*-*-rtems*): New supported target.
337         * config/rtems/host-config.h: New file.
338         * config/rtems/lock.c: Likewise.
340 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
342         PR target/70454
343         * configure.tgt (XCFLAGS): Revert the last change.
345 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
347         PR target/70454
348         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
349         32-bit x86 target library on x86-64.
351 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
353         PR other/67627
354         * Makefile.am (all-multi): Add dependency.
355         * Makefile.in: Regenerate.
357 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
359         Update copyright years.
361 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
363         PR c/65083
364         * fence.c, flag.c: New files.
365         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
366         * Makefile.in: Regenerate.
367         * configure.ac (libtool_VERSION): Change to 3:0:2.
368         * configure: Regenerate.
369         * libatomic.map (LIBATOMIC_1.2): New symbol version.
371 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
373         * testsuite/lib/libatomic.exp: Load multiline.exp before
374         prune.exp, using load_gcc_lib.
376 2015-07-14  John Marino  <gnugcc@marino.st>
378         * configure.tgt: Add *-*-dragonfly to supported targets.
380 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
382         * fop_n.c (libat_fetch_op): Align address to word boundary.
383         (libat_op_fetch): Likewise.
385 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
387         PR testsuite/64605
388         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
389         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
391 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
393         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
395 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
397         Update copyright years.
399 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
401         * testsuite/lib/libatomic.exp: Load target-utils.exp
403 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
405         PR bootstrap/63784
406         * configure: Regenerated.
408 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
410         * cas_n.c (libat_compare_exchange): Add missing cast.
412 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
414         PR target/63610
415         * configure: Regenerate.
417 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
419         * configure.tgt: Add cygwin to supported targets.
421 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
423         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
425 2014-06-17  Kai Tietz  <ktietz@redhat.com>
427         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
428         * configure.ac (ACX_LT_HOST_FLAGS): New.
429         (target_thread_file): New.
430         * configure.tgt (mingw): Add mingw support.
431         * config/mingw/host-config.h: New file.
432         * config/mingw/lock.c: Likewise.
433         * Makefile.in: Regenerated.
434         * configure: Likewise.
435         * aclocal.m4: Likewise.
436         * testsuite/Makefile.in: Likewise.
438 2014-02-20  Richard Henderson <rth@redhat.com>
440         PR c++/60272
441         * cas_n.c (libat_compare_exchange): Conditionalize on failure
442         the store back to EPTR.
444 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
446         Update copyright years
448 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
450         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
451         instructions when __SSE_MATH__ is defined.
453 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
455         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
456         testsuite/libatomic.c/atomic-compare-exchange-2.c,
457         testsuite/libatomic.c/atomic-compare-exchange-3.c,
458         testsuite/libatomic.c/atomic-compare-exchange-4.c,
459         testsuite/libatomic.c/atomic-compare-exchange-5.c,
460         testsuite/libatomic.c/atomic-exchange-1.c,
461         testsuite/libatomic.c/atomic-exchange-2.c,
462         testsuite/libatomic.c/atomic-exchange-3.c,
463         testsuite/libatomic.c/atomic-exchange-4.c,
464         testsuite/libatomic.c/atomic-exchange-5.c,
465         testsuite/libatomic.c/atomic-generic.c,
466         testsuite/libatomic.c/atomic-load-1.c,
467         testsuite/libatomic.c/atomic-load-2.c,
468         testsuite/libatomic.c/atomic-load-3.c,
469         testsuite/libatomic.c/atomic-load-4.c,
470         testsuite/libatomic.c/atomic-load-5.c,
471         testsuite/libatomic.c/atomic-op-1.c,
472         testsuite/libatomic.c/atomic-op-2.c,
473         testsuite/libatomic.c/atomic-op-3.c,
474         testsuite/libatomic.c/atomic-op-4.c,
475         testsuite/libatomic.c/atomic-op-5.c,
476         testsuite/libatomic.c/atomic-store-1.c,
477         testsuite/libatomic.c/atomic-store-2.c,
478         testsuite/libatomic.c/atomic-store-3.c,
479         testsuite/libatomic.c/atomic-store-4.c,
480         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
481         int.  Do not require built-in sync support or add target-specific
482         options.
483         * testsuite/libatomic.c/atomic-exchange-1.c,
484         testsuite/libatomic.c/atomic-exchange-2.c,
485         testsuite/libatomic.c/atomic-exchange-3.c,
486         testsuite/libatomic.c/atomic-exchange-4.c,
487         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
488         count from expression using value of count.
490 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
492         * config/x86/fenv.c: New file.
494 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
496         * fenv.c: New file.
497         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
498         __atomic_feraiseexcept.
499         * configure.ac (libtool_VERSION): Change to 2:0:1.
500         (fenv.h): Test for header.
501         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
502         * Makefile.in, auto-config.h.in, configure: Regenerate.
504 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
506         * libatomic/configure.tgt (aarch64*): Remove code preventing
507         build.
509 2013-09-20  Alan Modra  <amodra@gmail.com>
511         * configure: Regenerate.
513 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
515         Update copyright years.
517 2012-12-18  Ian Lance Taylor  <iant@google.com>
519         PR go/55201
520         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
521         (libatomic_convenience_la_SOURCES): Likewise.
522         (libatomic_convenience_la_LIBADD): Likewise.
523         * Makefile.in: Rebuild.
524         * testsuite/Makefile.in: Rebuild.
526 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
528         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
530 2012-11-21  Matthias Klose  <doko@ubuntu.com>
532         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
534 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
536         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
537         * configure: Regenerate.
539         * configure: Regenerate.
541 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
543         Mark libatomic unsupported in AArch64.
545         * configure.tgt: Mark libatomic unsupported.
547 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
549         PR other/43620
550         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
551         * configure: Regenerate.
552         * Makefile.in: Regenerate.
554 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
556         * configure: Regenerated.
558 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
560         PR other/53231
561         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
565         * configure: Regenerated.
567 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
569         PR other/53284
570         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
571         instead of overriding.
572         * configure: Regenerate.
574 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
576         * Makefile.am (libatomic.map-sun): Handle objects in
577         libatomic_la_LIBADD.
578         * aclocal.m4: Regenerate.
579         * Makefile.in: Regenerate.
581 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
583         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
584         * configure: Regenerate.
586 2012-05-03  Richard Henderson  <rth@redhat.com>
588         * configure.ac (AM_MAINTAINER_MODE): New.
589         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
590         failure in gcc_no_link path.
591         * configure, aclocal.m4, Makefile.in: Rebuild.
593 2012-05-01  Richard Henderson  <rth@redhat.com>
595         * Initial commit.
597 Copyright (C) 2012-2021 Free Software Foundation, Inc.
599 Copying and distribution of this file, with or without modification,
600 are permitted in any medium without royalty provided the copyright
601 notice and this notice are preserved.