testsuite: arg-pushing reqs -mno-accumulate-outgoing-args
[official-gcc.git] / libatomic / ChangeLog
blob9776a558dcef190ec3e3d24f302b6c07a6d4e7fc
1 2023-11-10  Wilco Dijkstra  <wilco.dijkstra@arm.com>
3         * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc
4         selection.
6 2023-10-26  Thomas Schwinge  <thomas@codesourcery.com>
8         PR testsuite/109951
9         * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'.
10         * Makefile.in: Regenerate.
11         * configure: Likewise.
12         * testsuite/Makefile.in: Likewise.
13         * testsuite/lib/libatomic.exp (libatomic_init): If
14         '--with-build-sysroot=[...]' was specified, use it for build-tree
15         testing.
16         * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't
17         set.
18         (SYSROOT_CFLAGS_FOR_TARGET): Set.
20 2023-10-23  Jan Beulich  <jbeulich@suse.com>
22         * Makefile.am (all-multi): Drop commands.
23         * Makefile.in: Update accordingly.
25 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
27         * testsuite/lib/libatomic.exp: Pass correct flags on darwin.
29 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
31         * Makefile.am: Handle Darwin rpaths.
32         * Makefile.in: Regenerate.
33         * configure: Regenerate.
34         * configure.ac: Handle Darwin rpaths.
36 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
38         * configure: Regenerate.
40 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
42         * configure: Regenerate.
44 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
46         * configure: Regenerate.
48 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
50         * configure: Regenerate.
52 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
54         * configure: Regenerate.
56 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
58         * configure: Regenerate.
60 2023-06-10  Xi Ruoyao  <xry111@xry111.site>
62         * configure.tgt: For x86_64, always set try_ifunc=yes.
64 2023-06-02  Thomas Schwinge  <thomas@codesourcery.com>
66         * configure.ac (PERL): Remove.
67         * configure: Regenerate.
68         * Makefile.in: Likewise.
69         * testsuite/Makefile.in: Likewise.
71 2023-03-24  Wilco Dijkstra  <wilco.dijkstra@arm.com>
73         PR libgcc/108891
74         * config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1.
75         Add comments describing the memory order.
77 2023-03-03  Stefan Schulze Frielinghaus  <stefansf@linux.ibm.com>
79         * config/s390/cas_n.c: New file.
80         * config/s390/load_n.c: New file.
81         * config/s390/store_n.c: New file.
83 2023-01-16  Jonathan Wakely  <jwakely@redhat.com>
85         * configure.tgt (config_path) [target_thread_file=single]:
86         Use 'mingw' config.
88 2023-01-07  LIU Hao  <lh_mouse@126.com>
90         PR middle-end/108300
91         * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before
92         <windows.h>.
94 2022-11-16  Martin Liska  <mliska@suse.cz>
96         * Makefile.in: Re-generate.
98 2022-11-15  Wilco Dijkstra  <wilco.dijkstra@arm.com>
100         * Makefile.in: Regenerated with automake 1.15.1.
101         * Makefile.am: Add atomic_16.S for AArch64.
102         * configure.tgt: Disable outline atomics in AArch64 build.
103         * config/linux/aarch64/atomic_16.S: New file - implementation of
104         ifuncs for 16-byte atomics.
105         * config/linux/aarch64/host-config.h: Enable ifuncs, use LSE
106         (HWCAP_ATOMICS) for 1-8-byte atomics and LSE2 (HWCAP_USCAT) for
107         16-byte atomics.
109 2022-11-15  Jakub Jelinek  <jakub@redhat.com>
111         PR target/104688
112         * config/x86/init.c (__libat_feat1_init): Don't clear
113         bit_AVX on AMD CPUs.
115 2022-10-19  LIU Hao  <lh_mouse@126.com>
117         * configure.tgt: Add new case for `mcf` thread model
119 2022-10-12  Martin Liska  <mliska@suse.cz>
121         * configure: Regenerate.
123 2022-10-11  Olivier Hainque  <hainque@adacore.com>
124             Olivier Hainque  <hainque@adacore.com>
126         * configure: Regenerate.
128 2022-08-30  Martin Liska  <mliska@suse.cz>
130         * testsuite/Makefile.in: Regenerate.
132 2022-08-08  Tamar Christina  <tamar.christina@arm.com>
134         PR target/102218
135         * config/arm/host-config.h (pre_seq_barrier, post_seq_barrier,
136         pre_post_seq_barrier): Require barrier on __ATOMIC_SEQ_CST.
138 2022-08-08  Tamar Christina  <tamar.christina@arm.com>
140         PR target/102218
141         * config/aarch64/aarch64-config.h: New file.
142         * config/aarch64/host-config.h: New file.
144 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
146         * testsuite/lib/libatomic.exp: Add load_gcc_lib of scansarif.exp.
148 2022-03-24  Tom de Vries  <tdevries@suse.de>
150         PR target/105011
151         * tas_n.c (libat_test_and_set): Fix return value.
153 2022-03-17  Jakub Jelinek  <jakub@redhat.com>
155         PR target/104688
156         * Makefile.am (IFUNC_OPTIONS): Change on x86_64 to -mcx16 -mcx16.
157         (libatomic_la_LIBADD): Add $(addsuffix _16_2_.lo,$(SIZEOBJS)) for
158         x86_64.
159         * Makefile.in: Regenerated.
160         * config/x86/host-config.h (IFUNC_COND_1): For x86_64 define to
161         both AVX and CMPXCHG16B bits.
162         (IFUNC_COND_2): Define.
163         (IFUNC_NCOND): For x86_64 define to 2 * (N == 16).
164         (MAYBE_HAVE_ATOMIC_CAS_16, MAYBE_HAVE_ATOMIC_EXCHANGE_16,
165         MAYBE_HAVE_ATOMIC_LDST_16): Define to IFUNC_COND_2 rather than
166         IFUNC_COND_1.
167         (HAVE_ATOMIC_CAS_16): Redefine to 1 whenever IFUNC_ALT != 0.
168         (HAVE_ATOMIC_LDST_16): Redefine to 1 whenever IFUNC_ALT == 1.
169         (atomic_compare_exchange_n): Define whenever IFUNC_ALT != 0
170         on x86_64 for N == 16.
171         (__atomic_load_n, __atomic_store_n): Redefine whenever IFUNC_ALT == 1
172         on x86_64 for N == 16.
173         (atomic_load_n, atomic_store_n): New functions.
174         * config/x86/init.c (__libat_feat1_init): On x86_64 clear bit_AVX
175         if CPU vendor is not Intel.
177 2022-02-03  David Seifert  <soap@gentoo.org>
178             Jakub Jelinek  <jakub@redhat.com>
180         * configure.ac: Support --disable-werror.
181         * configure: Regenerate.
183 2022-01-31  Martin Liska  <mliska@suse.cz>
185         * acinclude.m4: Detect *_ld_is_mold and use it.
186         * configure: Regenerate.
188 2022-01-24  Martin Liska  <mliska@suse.cz>
190         * acinclude.m4: Remove duplicate
191         LIBAT_CHECK_LINKER_FEATURES.
192         * configure: Regenerate.
194 2021-07-21  Martin Sebor  <msebor@redhat.com>
196         PR bootstrap/101379
197         * config/linux/arm/host-config.h (__kernel_helper_version): New
198         function.  Adjust shadow macro.
200 2021-01-15  Jakub Jelinek  <jakub@redhat.com>
202         PR target/70454
203         * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
204         be added through preprocessor check on
205         __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
206         based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
207         or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
209 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
211         * configure: Re-generate.
213 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
215         PR target/97865
216         * configure: Regenerate.
218 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
220         * configure: Regenerate.
222 2020-10-11  Clement Chigot  <clement.chigot@atos.net>
224         * config/t-aix: Delete and recreate libatomic before creating
225         FAT library.
227 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
229         * config/t-aix: Use $(AR) without -X32_64.
231 2020-09-11  Tom de Vries  <tdevries@suse.de>
233         PR target/96898
234         * configure.tgt: Add nvptx.
235         * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
236         * config/nvptx/host-config.h: New file.
237         * config/nvptx/lock.c: New file.
239 2020-09-07  Tom de Vries  <tdevries@suse.de>
241         * testsuite/libatomic.c/atomic-generic.c: Include string.h.
243 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
245         * config/t-aix: Set BITS from compiler cpp macro.
247 2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
249         * Makefile.am: Use -include.
250         * Makefile.in: Regenerate.
252 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
254         * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
255         * Makefile.in: Regenerate.
256         * configure.ac (tmake_file): Substitute.
257         * configure: Regenerate.
258         * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
259         * config/t-aix: New file.
261 2020-06-01  Uroš Bizjak  <ubizjak@gmail.com>
263         * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
265 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
267         PR bootstrap/95413
268         * configure: Regenerated.
270 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
272         PR bootstrap/95147
273         * configure: Regenerated.
275 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
277         * configure: Regenerated.
279 2020-05-06  Uroš Bizjak  <ubizjak@gmail.com>
281         * config/x86/fenv.c (__math_force_eval): Remove.
282         (__math_force_eval_div): New define.
283         (__atomic_deraiseexcept): Use __math_force_eval_div to use
284         generic division to generate INVALID, DIVZERO and INEXACT
285         exceptions.
287 2020-05-01  Uroš Bizjak  <ubizjak@gmail.com>
289         * config/x86/fenv.c (__math_force_eval): New define.
290         (__atomic_feraiseexcept): Use __math_force_eval to evaluate
291         generic division to generate INVALID and DIVZERO exceptions.
293 2020-04-19  Uroš Bizjak  <ubizjak@gmail.com>
295         * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
296         Remove unneeded assignments to volatile memory.
298 2020-04-06  Maciej W. Rozycki  <macro@wdc.com>
300         * configure.ac: Add testsuite/libatomic-site-extra.exp to output
301         files.
302         * configure: Regenerate.
303         * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
304         * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
305         variable.
306         * testsuite/Makefile.in: Regenerate.
308 2020-02-22  Jakub Jelinek  <jakub@redhat.com>
310         PR other/55930
311         * Makefile.am (M_DEPS): Guard the empty definition with
312         @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
313         * Makefile.in: Regenerated.
315 2020-02-22  Richard Purdie  <rpurdie@rpsys.net>
317         PR other/55930
318         * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
319         * Makefile.in: Regenerated.
321 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
323         * configure.ac: Handle `--with-toolexeclibdir='.
324         * Makefile.in: Regenerate.
325         * aclocal.m4: Regenerate.
326         * configure: Regenerate.
327         * testsuite/Makefile.in: Regenerate.
329 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
331         Update copyright years.
333 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
335         * configure: Regenerate.
337 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
339         * configure.tgt: Handle arm*-*-uclinux*.
340         * configure: Regenerate.
342 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
344         PR other/79543
345         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
346         scanning to conform to the GNU Coding Standards.
347         * configure: Regenerate.
349 2019-06-14  Matt Thomas  <matt@3am-software.com>
350             Matthew Green  <mrg@eterna.com.au>
351             Nick Hudson  <skrll@netbsd.org>
352             Maya Rashish  <coypu@sdf.org>
354         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
356 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
358         Update copyright years.
360 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
362         PR bootstrap/82856
363         * Makefile.am: Include multilib.am.
364         * acinclude.m4: Use AC_LANG_SOURCE.
365         * configure.ac: Remove AC_PREREQ.
366         * testsuite/Makefile.am (RUNTEST): Remove quotes.
367         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
368         Regenerate.
370 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
372         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
373         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
374         and HAVE_STREXBHD
376 2018-05-23  Florian Weimer  <fweimer@redhat.com>
378         PR libgcc/60790
379         x86: Do not assume ELF constructors run before IFUNC resolvers.
380         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
381         Remove declarations.
382         (__libat_feat1, __libat_feat1_init): Declare.
383         (FEAT1_REGISTER): Define.
384         (load_feat1): New function.
385         (IFUNC_COND_1): Adjust.
386         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
387         (init_cpuid): Remove definitions.
388         (__libat_feat1): New variable.
389         (__libat_feat1_init): New function.
391 2018-05-02  Tom de Vries  <tom@codesourcery.com>
393         PR testsuite/85106
394         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
396 2018-05-02  Tom de Vries  <tom@codesourcery.com>
398         PR testsuite/85106
399         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
401 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
403         * configure: Regenerated.
405 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
407         * configure: Regenerated.
409 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
411         PR jit/85384
412         * configure: Regenerate.
414 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
416         * config/s390/exch_n.c: New file.
417         * configure.tgt: Add the config directory for s390.
419 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
421         PR target/84148
422         * configure: Regenerate.
424 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
426         Update copyright years.
428 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
430         * Makefile.am (IFUNC_OPTIONS): Change aarch64
431         option from -march=armv8.1-a to -march=armv8-a+lse.
432         * configure.ac (*aarch64*): Check to see if
433         compiler understands -march=armv8-a+lse option.
434         * configure.tgt (*aarch64*): Only set try_ifunc
435         if compiler understands -march=armv8-a+lse option.
436         * Makefile.in: Regenerate.
437         * testsuite/Makefile.in: Regenerate.
438         * configure: Regenerate.
439         * aclocal.m4: Regenerate.
441 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
443         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
444         libatomic_la_LIBADD.
445         * config/linux/aarch64/host-config.h: New file.
446         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
447         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
448         * configure.tgt (aarch64): Set ARCH and try_ifunc.
449         (aarch64*-*-linux*) Update config_path.
450         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
451         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
452         * Makefile.in: Regenerate.
453         * auto-config.h.in: Regenerate.
454         * configure: Regenerate.
456 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
458         * configure.ac: Set CET_FLAGS, update XCFLAGS.
459         * acinclude.m4: Add cet.m4 and enable.m4.
460         * configure: Regenerate.
461         * Makefile.in: Likewise.
462         * testsuite/Makefile.in: Likewise.
464 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
466         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
467         -march=armv7-a+fp on Linux/Arm.
468         * Makefile.in: Regenerated.
470 2017-10-02  Martin Sebor  <msebor@redhat.com>
472         PR c/81854
473         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
474         a function pointer rather than void* to avoid GCC 8 warnings.
475         * configure: Regenerate.
476         * libatomic_i.h: Declare ifunc resolvers to return function
477         pointers rather than void*.
479 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
481         * testsuite/lib/libatomic.exp: Load scanlang.exp.
483 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
485         * configure.tgt: Add RISC-V tuple.
487 2017-02-01  Richard Henderson  <rth@redhat.com>
488             Torvald Riegel  <triegel@redhat.com>
490         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
491         * auto-config.h.in: Regenerate.
492         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
493         (atomic_compare_exchange_n): New.
494         * glfree.c (EXACT, LARGER): Change condition and add comments.
496 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
498         PR target/78945
499         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
501 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
503         PR other/79046
504         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
505         of cat to get version from BASE-VER file.
506         * testsuite/Makefile.in: Regenerated.
508 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
510         PR other/79046
511         * configure.ac: Add GCC_BASE_VER.
512         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
513         get version from BASE-VER file.
514         * testsuite/Makefile.in: Regenerated.
515         * configure: Regenerated.
516         * Makefile.in: Regenerated.
518 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
520         Update copyright years.
522 2016-11-15  Matthias Klose  <doko@ubuntu.com>
524         * configure: Regenerate.
526 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
528         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
529         (*-*-rtems*): New supported target.
530         * config/rtems/host-config.h: New file.
531         * config/rtems/lock.c: Likewise.
533 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
535         PR target/70454
536         * configure.tgt (XCFLAGS): Revert the last change.
538 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
540         PR target/70454
541         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
542         32-bit x86 target library on x86-64.
544 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
546         PR other/67627
547         * Makefile.am (all-multi): Add dependency.
548         * Makefile.in: Regenerate.
550 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
552         Update copyright years.
554 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
556         PR c/65083
557         * fence.c, flag.c: New files.
558         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
559         * Makefile.in: Regenerate.
560         * configure.ac (libtool_VERSION): Change to 3:0:2.
561         * configure: Regenerate.
562         * libatomic.map (LIBATOMIC_1.2): New symbol version.
564 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
566         * testsuite/lib/libatomic.exp: Load multiline.exp before
567         prune.exp, using load_gcc_lib.
569 2015-07-14  John Marino  <gnugcc@marino.st>
571         * configure.tgt: Add *-*-dragonfly to supported targets.
573 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
575         * fop_n.c (libat_fetch_op): Align address to word boundary.
576         (libat_op_fetch): Likewise.
578 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
580         PR testsuite/64605
581         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
582         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
584 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
586         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
588 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
590         Update copyright years.
592 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
594         * testsuite/lib/libatomic.exp: Load target-utils.exp
596 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
598         PR bootstrap/63784
599         * configure: Regenerated.
601 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
603         * cas_n.c (libat_compare_exchange): Add missing cast.
605 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
607         PR target/63610
608         * configure: Regenerate.
610 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
612         * configure.tgt: Add cygwin to supported targets.
614 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
616         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
618 2014-06-17  Kai Tietz  <ktietz@redhat.com>
620         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
621         * configure.ac (ACX_LT_HOST_FLAGS): New.
622         (target_thread_file): New.
623         * configure.tgt (mingw): Add mingw support.
624         * config/mingw/host-config.h: New file.
625         * config/mingw/lock.c: Likewise.
626         * Makefile.in: Regenerated.
627         * configure: Likewise.
628         * aclocal.m4: Likewise.
629         * testsuite/Makefile.in: Likewise.
631 2014-02-20  Richard Henderson <rth@redhat.com>
633         PR c++/60272
634         * cas_n.c (libat_compare_exchange): Conditionalize on failure
635         the store back to EPTR.
637 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
639         Update copyright years
641 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
643         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
644         instructions when __SSE_MATH__ is defined.
646 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
648         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
649         testsuite/libatomic.c/atomic-compare-exchange-2.c,
650         testsuite/libatomic.c/atomic-compare-exchange-3.c,
651         testsuite/libatomic.c/atomic-compare-exchange-4.c,
652         testsuite/libatomic.c/atomic-compare-exchange-5.c,
653         testsuite/libatomic.c/atomic-exchange-1.c,
654         testsuite/libatomic.c/atomic-exchange-2.c,
655         testsuite/libatomic.c/atomic-exchange-3.c,
656         testsuite/libatomic.c/atomic-exchange-4.c,
657         testsuite/libatomic.c/atomic-exchange-5.c,
658         testsuite/libatomic.c/atomic-generic.c,
659         testsuite/libatomic.c/atomic-load-1.c,
660         testsuite/libatomic.c/atomic-load-2.c,
661         testsuite/libatomic.c/atomic-load-3.c,
662         testsuite/libatomic.c/atomic-load-4.c,
663         testsuite/libatomic.c/atomic-load-5.c,
664         testsuite/libatomic.c/atomic-op-1.c,
665         testsuite/libatomic.c/atomic-op-2.c,
666         testsuite/libatomic.c/atomic-op-3.c,
667         testsuite/libatomic.c/atomic-op-4.c,
668         testsuite/libatomic.c/atomic-op-5.c,
669         testsuite/libatomic.c/atomic-store-1.c,
670         testsuite/libatomic.c/atomic-store-2.c,
671         testsuite/libatomic.c/atomic-store-3.c,
672         testsuite/libatomic.c/atomic-store-4.c,
673         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
674         int.  Do not require built-in sync support or add target-specific
675         options.
676         * testsuite/libatomic.c/atomic-exchange-1.c,
677         testsuite/libatomic.c/atomic-exchange-2.c,
678         testsuite/libatomic.c/atomic-exchange-3.c,
679         testsuite/libatomic.c/atomic-exchange-4.c,
680         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
681         count from expression using value of count.
683 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
685         * config/x86/fenv.c: New file.
687 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
689         * fenv.c: New file.
690         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
691         __atomic_feraiseexcept.
692         * configure.ac (libtool_VERSION): Change to 2:0:1.
693         (fenv.h): Test for header.
694         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
695         * Makefile.in, auto-config.h.in, configure: Regenerate.
697 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
699         * libatomic/configure.tgt (aarch64*): Remove code preventing
700         build.
702 2013-09-20  Alan Modra  <amodra@gmail.com>
704         * configure: Regenerate.
706 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
708         Update copyright years.
710 2012-12-18  Ian Lance Taylor  <iant@google.com>
712         PR go/55201
713         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
714         (libatomic_convenience_la_SOURCES): Likewise.
715         (libatomic_convenience_la_LIBADD): Likewise.
716         * Makefile.in: Rebuild.
717         * testsuite/Makefile.in: Rebuild.
719 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
721         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
723 2012-11-21  Matthias Klose  <doko@ubuntu.com>
725         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
727 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
729         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
730         * configure: Regenerate.
732         * configure: Regenerate.
734 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
736         Mark libatomic unsupported in AArch64.
738         * configure.tgt: Mark libatomic unsupported.
740 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
742         PR other/43620
743         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
744         * configure: Regenerate.
745         * Makefile.in: Regenerate.
747 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
749         * configure: Regenerated.
751 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
753         PR other/53231
754         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
756 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
758         * configure: Regenerated.
760 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
762         PR other/53284
763         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
764         instead of overriding.
765         * configure: Regenerate.
767 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
769         * Makefile.am (libatomic.map-sun): Handle objects in
770         libatomic_la_LIBADD.
771         * aclocal.m4: Regenerate.
772         * Makefile.in: Regenerate.
774 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
776         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
777         * configure: Regenerate.
779 2012-05-03  Richard Henderson  <rth@redhat.com>
781         * configure.ac (AM_MAINTAINER_MODE): New.
782         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
783         failure in gcc_no_link path.
784         * configure, aclocal.m4, Makefile.in: Rebuild.
786 2012-05-01  Richard Henderson  <rth@redhat.com>
788         * Initial commit.
790 Copyright (C) 2012-2023 Free Software Foundation, Inc.
792 Copying and distribution of this file, with or without modification,
793 are permitted in any medium without royalty provided the copyright
794 notice and this notice are preserved.