aix: Fix building fat library for AIX
[official-gcc.git] / libatomic / ChangeLog
blob6056af6a0d674a0edbafd854b2111e00c41052c0
1 2024-04-26  Wilco Dijkstra  <wilco.dijkstra@arm.com>
3         * config/linux/aarch64/atomic_16.S: Add __libat_ prefix in the
4         LSE2/LSE128/CORE macros, remove elsewhere.  Add ATOMIC macro.
6 2024-04-05  Jakub Jelinek  <jakub@redhat.com>
8         * configure: Regenerate.
10 2024-04-04  Wilco Dijkstra  <wilco.dijkstra@arm.com>
12         PR target/113986
13         * Makefile.in: Regenerated.
14         * Makefile.am: Make atomic_16.S not depend on HAVE_IFUNC.
15         Remove predefine of HAVE_FEAT_LSE128.
16         * acinclude.m4: Remove ARCH_AARCH64_HAVE_LSE128.
17         * configure: Regenerated.
18         * config/linux/aarch64/atomic_16.S: Add __atomic_ alias if !HAVE_IFUNC.
19         * config/linux/aarch64/host-config.h: Correctly handle !HAVE_IFUNC.
20         Add defines for HWCAP_ATOMICS and HWCAP_CPUID.
22 2024-02-14  Roger Sayle  <roger@nextmovesoftware.com>
23             Victor Do Nascimento  <victor.donascimento@arm.com>
25         PR other/113336
26         * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX
27         * Makefile.in: Regenerate.
29 2024-02-03  John David Anglin  <danglin@gcc.gnu.org>
31         PR target/59778
32         * configure.tgt (hppa*): Set ARCH.
33         * config/pa/fenv.c: New file.
35 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
37         * config/linux/aarch64/host-config.h (has_lse2): Add test for LSE.
38         (has_lse128): Add test for LSE2.
40 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
42         * Makefile.am (AM_CPPFLAGS): add conditional setting of
43         -DHAVE_FEAT_LSE128.
44         * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): New.
45         * config/linux/aarch64/atomic_16.S (LSE128): New macro
46         definition.
47         (libat_exchange_16): New LSE128 variant.
48         (libat_fetch_or_16): Likewise.
49         (libat_or_fetch_16): Likewise.
50         (libat_fetch_and_16): Likewise.
51         (libat_and_fetch_16): Likewise.
52         * config/linux/aarch64/host-config.h (IFUNC_COND_2): New.
53         (IFUNC_NCOND): Add operand size checking.
54         (has_lse2): Renamed from `ifunc1`.
55         (has_lse128): New.
56         (HWCAP2_LSE128): Likewise.
57         * configure.ac: Add call to
58         LIBAT_TEST_FEAT_AARCH64_LSE128.
59         * configure (ac_subst_vars): Regenerated via autoreconf.
60         * Makefile.in: Likewise.
61         * auto-config.h.in: Likewise.
63 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
65         * config/linux/aarch64/host-config.h (__ifunc_arg_t):
66         Conditionally-defined if `sys/ifunc.h' not found.
67         (_IFUNC_ARG_HWCAP): Likewise.
68         (IFUNC_COND_1): Pass __ifunc_arg_t argument to ifunc.
69         (ifunc1): Modify function signature to accept __ifunc_arg_t
70         argument.
71         * configure.tgt: Add second `const __ifunc_arg_t *features'
72         argument to IFUNC_RESOLVER_ARGS.
74 2024-01-28  Victor Do Nascimento  <victor.donascimento@arm.com>
76         * config/linux/aarch64/atomic_16.S (CORE): New macro.
77         (LSE2): Likewise.
78         (ENTRY_FEAT): Likewise.
79         (ENTRY_FEAT1): Likewise.
80         (END_FEAT): Likewise.
81         (END_FEAT1): Likewise.
82         (ALIAS): Modify macro to take in `arch' arguments.
83         (ALIAS1): New.
85 2023-12-15  Wilco Dijkstra  <wilco.dijkstra@arm.com>
87         * config/linux/aarch64/atomic_16.S: Implement lock-free ARMv8.0 atomics.
88         (libat_exchange_16): Merge RELEASE and ACQ_REL/SEQ_CST cases.
89         * config/linux/aarch64/host-config.h: Use atomic_16.S for baseline v8.0.
91 2023-11-10  Wilco Dijkstra  <wilco.dijkstra@arm.com>
93         * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc
94         selection.
96 2023-10-26  Thomas Schwinge  <thomas@codesourcery.com>
98         PR testsuite/109951
99         * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'.
100         * Makefile.in: Regenerate.
101         * configure: Likewise.
102         * testsuite/Makefile.in: Likewise.
103         * testsuite/lib/libatomic.exp (libatomic_init): If
104         '--with-build-sysroot=[...]' was specified, use it for build-tree
105         testing.
106         * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't
107         set.
108         (SYSROOT_CFLAGS_FOR_TARGET): Set.
110 2023-10-23  Jan Beulich  <jbeulich@suse.com>
112         * Makefile.am (all-multi): Drop commands.
113         * Makefile.in: Update accordingly.
115 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
117         * testsuite/lib/libatomic.exp: Pass correct flags on darwin.
119 2023-10-22  Iain Sandoe  <iain@sandoe.co.uk>
121         * Makefile.am: Handle Darwin rpaths.
122         * Makefile.in: Regenerate.
123         * configure: Regenerate.
124         * configure.ac: Handle Darwin rpaths.
126 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
128         * configure: Regenerate.
130 2023-08-07  Alexander von Gluck IV  <kallisti5@unixzen.com>
132         * configure: Regenerate.
134 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
136         * configure: Regenerate.
138 2023-08-07  Nick Alcock  <nick.alcock@oracle.com>
140         * configure: Regenerate.
142 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
144         * configure: Regenerate.
146 2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
148         * configure: Regenerate.
150 2023-06-10  Xi Ruoyao  <xry111@xry111.site>
152         * configure.tgt: For x86_64, always set try_ifunc=yes.
154 2023-06-02  Thomas Schwinge  <thomas@codesourcery.com>
156         * configure.ac (PERL): Remove.
157         * configure: Regenerate.
158         * Makefile.in: Likewise.
159         * testsuite/Makefile.in: Likewise.
161 2023-03-24  Wilco Dijkstra  <wilco.dijkstra@arm.com>
163         PR libgcc/108891
164         * config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1.
165         Add comments describing the memory order.
167 2023-03-03  Stefan Schulze Frielinghaus  <stefansf@linux.ibm.com>
169         * config/s390/cas_n.c: New file.
170         * config/s390/load_n.c: New file.
171         * config/s390/store_n.c: New file.
173 2023-01-16  Jonathan Wakely  <jwakely@redhat.com>
175         * configure.tgt (config_path) [target_thread_file=single]:
176         Use 'mingw' config.
178 2023-01-07  LIU Hao  <lh_mouse@126.com>
180         PR middle-end/108300
181         * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before
182         <windows.h>.
184 2022-11-16  Martin Liska  <mliska@suse.cz>
186         * Makefile.in: Re-generate.
188 2022-11-15  Wilco Dijkstra  <wilco.dijkstra@arm.com>
190         * Makefile.in: Regenerated with automake 1.15.1.
191         * Makefile.am: Add atomic_16.S for AArch64.
192         * configure.tgt: Disable outline atomics in AArch64 build.
193         * config/linux/aarch64/atomic_16.S: New file - implementation of
194         ifuncs for 16-byte atomics.
195         * config/linux/aarch64/host-config.h: Enable ifuncs, use LSE
196         (HWCAP_ATOMICS) for 1-8-byte atomics and LSE2 (HWCAP_USCAT) for
197         16-byte atomics.
199 2022-11-15  Jakub Jelinek  <jakub@redhat.com>
201         PR target/104688
202         * config/x86/init.c (__libat_feat1_init): Don't clear
203         bit_AVX on AMD CPUs.
205 2022-10-19  LIU Hao  <lh_mouse@126.com>
207         * configure.tgt: Add new case for `mcf` thread model
209 2022-10-12  Martin Liska  <mliska@suse.cz>
211         * configure: Regenerate.
213 2022-10-11  Olivier Hainque  <hainque@adacore.com>
214             Olivier Hainque  <hainque@adacore.com>
216         * configure: Regenerate.
218 2022-08-30  Martin Liska  <mliska@suse.cz>
220         * testsuite/Makefile.in: Regenerate.
222 2022-08-08  Tamar Christina  <tamar.christina@arm.com>
224         PR target/102218
225         * config/arm/host-config.h (pre_seq_barrier, post_seq_barrier,
226         pre_post_seq_barrier): Require barrier on __ATOMIC_SEQ_CST.
228 2022-08-08  Tamar Christina  <tamar.christina@arm.com>
230         PR target/102218
231         * config/aarch64/aarch64-config.h: New file.
232         * config/aarch64/host-config.h: New file.
234 2022-06-02  David Malcolm  <dmalcolm@redhat.com>
236         * testsuite/lib/libatomic.exp: Add load_gcc_lib of scansarif.exp.
238 2022-03-24  Tom de Vries  <tdevries@suse.de>
240         PR target/105011
241         * tas_n.c (libat_test_and_set): Fix return value.
243 2022-03-17  Jakub Jelinek  <jakub@redhat.com>
245         PR target/104688
246         * Makefile.am (IFUNC_OPTIONS): Change on x86_64 to -mcx16 -mcx16.
247         (libatomic_la_LIBADD): Add $(addsuffix _16_2_.lo,$(SIZEOBJS)) for
248         x86_64.
249         * Makefile.in: Regenerated.
250         * config/x86/host-config.h (IFUNC_COND_1): For x86_64 define to
251         both AVX and CMPXCHG16B bits.
252         (IFUNC_COND_2): Define.
253         (IFUNC_NCOND): For x86_64 define to 2 * (N == 16).
254         (MAYBE_HAVE_ATOMIC_CAS_16, MAYBE_HAVE_ATOMIC_EXCHANGE_16,
255         MAYBE_HAVE_ATOMIC_LDST_16): Define to IFUNC_COND_2 rather than
256         IFUNC_COND_1.
257         (HAVE_ATOMIC_CAS_16): Redefine to 1 whenever IFUNC_ALT != 0.
258         (HAVE_ATOMIC_LDST_16): Redefine to 1 whenever IFUNC_ALT == 1.
259         (atomic_compare_exchange_n): Define whenever IFUNC_ALT != 0
260         on x86_64 for N == 16.
261         (__atomic_load_n, __atomic_store_n): Redefine whenever IFUNC_ALT == 1
262         on x86_64 for N == 16.
263         (atomic_load_n, atomic_store_n): New functions.
264         * config/x86/init.c (__libat_feat1_init): On x86_64 clear bit_AVX
265         if CPU vendor is not Intel.
267 2022-02-03  David Seifert  <soap@gentoo.org>
268             Jakub Jelinek  <jakub@redhat.com>
270         * configure.ac: Support --disable-werror.
271         * configure: Regenerate.
273 2022-01-31  Martin Liska  <mliska@suse.cz>
275         * acinclude.m4: Detect *_ld_is_mold and use it.
276         * configure: Regenerate.
278 2022-01-24  Martin Liska  <mliska@suse.cz>
280         * acinclude.m4: Remove duplicate
281         LIBAT_CHECK_LINKER_FEATURES.
282         * configure: Regenerate.
284 2021-07-21  Martin Sebor  <msebor@redhat.com>
286         PR bootstrap/101379
287         * config/linux/arm/host-config.h (__kernel_helper_version): New
288         function.  Adjust shadow macro.
290 2021-01-15  Jakub Jelinek  <jakub@redhat.com>
292         PR target/70454
293         * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
294         be added through preprocessor check on
295         __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4.  Determine if try_ifunc is needed
296         based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
297         or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
299 2021-01-05  Samuel Thibault  <samuel.thibault@ens-lyon.org>
301         * configure: Re-generate.
303 2020-12-05  Iain Sandoe  <iain@sandoe.co.uk>
305         PR target/97865
306         * configure: Regenerate.
308 2020-11-29  John David Anglin  <danglin@gcc.gnu.org>
310         * configure: Regenerate.
312 2020-10-11  Clement Chigot  <clement.chigot@atos.net>
314         * config/t-aix: Delete and recreate libatomic before creating
315         FAT library.
317 2020-09-27  Clement Chigot  <clement.chigot@atos.net>
319         * config/t-aix: Use $(AR) without -X32_64.
321 2020-09-11  Tom de Vries  <tdevries@suse.de>
323         PR target/96898
324         * configure.tgt: Add nvptx.
325         * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
326         * config/nvptx/host-config.h: New file.
327         * config/nvptx/lock.c: New file.
329 2020-09-07  Tom de Vries  <tdevries@suse.de>
331         * testsuite/libatomic.c/atomic-generic.c: Include string.h.
333 2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
335         * config/t-aix: Set BITS from compiler cpp macro.
337 2020-06-22  David Edelsohn  <dje.gcc@gmail.com>
339         * Makefile.am: Use -include.
340         * Makefile.in: Regenerate.
342 2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
344         * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
345         * Makefile.in: Regenerate.
346         * configure.ac (tmake_file): Substitute.
347         * configure: Regenerate.
348         * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
349         * config/t-aix: New file.
351 2020-06-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
353         * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
355 2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
357         PR bootstrap/95413
358         * configure: Regenerated.
360 2020-05-15  H.J. Lu  <hongjiu.lu@intel.com>
362         PR bootstrap/95147
363         * configure: Regenerated.
365 2020-05-14  H.J. Lu  <hongjiu.lu@intel.com>
367         * configure: Regenerated.
369 2020-05-06  UroÅ¡ Bizjak  <ubizjak@gmail.com>
371         * config/x86/fenv.c (__math_force_eval): Remove.
372         (__math_force_eval_div): New define.
373         (__atomic_deraiseexcept): Use __math_force_eval_div to use
374         generic division to generate INVALID, DIVZERO and INEXACT
375         exceptions.
377 2020-05-01  UroÅ¡ Bizjak  <ubizjak@gmail.com>
379         * config/x86/fenv.c (__math_force_eval): New define.
380         (__atomic_feraiseexcept): Use __math_force_eval to evaluate
381         generic division to generate INVALID and DIVZERO exceptions.
383 2020-04-19  UroÅ¡ Bizjak  <ubizjak@gmail.com>
385         * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
386         Remove unneeded assignments to volatile memory.
388 2020-04-06  Maciej W. Rozycki  <macro@wdc.com>
390         * configure.ac: Add testsuite/libatomic-site-extra.exp to output
391         files.
392         * configure: Regenerate.
393         * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
394         * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
395         variable.
396         * testsuite/Makefile.in: Regenerate.
398 2020-02-22  Jakub Jelinek  <jakub@redhat.com>
400         PR other/55930
401         * Makefile.am (M_DEPS): Guard the empty definition with
402         @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
403         * Makefile.in: Regenerated.
405 2020-02-22  Richard Purdie  <rpurdie@rpsys.net>
407         PR other/55930
408         * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
409         * Makefile.in: Regenerated.
411 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
413         * configure.ac: Handle `--with-toolexeclibdir='.
414         * Makefile.in: Regenerate.
415         * aclocal.m4: Regenerate.
416         * configure: Regenerate.
417         * testsuite/Makefile.in: Regenerate.
419 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
421         Update copyright years.
423 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
425         * configure: Regenerate.
427 2019-09-10  Christophe Lyon  <christophe.lyon@st.com>
429         * configure.tgt: Handle arm*-*-uclinux*.
430         * configure: Regenerate.
432 2019-09-03  Chung-Lin Tang  <cltang@codesourcery.com>
434         PR other/79543
435         * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
436         scanning to conform to the GNU Coding Standards.
437         * configure: Regenerate.
439 2019-06-14  Matt Thomas  <matt@3am-software.com>
440             Matthew Green  <mrg@eterna.com.au>
441             Nick Hudson  <skrll@netbsd.org>
442             Maya Rashish  <coypu@sdf.org>
444         * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
446 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
448         Update copyright years.
450 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
452         PR bootstrap/82856
453         * Makefile.am: Include multilib.am.
454         * acinclude.m4: Use AC_LANG_SOURCE.
455         * configure.ac: Remove AC_PREREQ.
456         * testsuite/Makefile.am (RUNTEST): Remove quotes.
457         * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
458         Regenerate.
460 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
462         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
463         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
464         and HAVE_STREXBHD
466 2018-05-23  Florian Weimer  <fweimer@redhat.com>
468         PR libgcc/60790
469         x86: Do not assume ELF constructors run before IFUNC resolvers.
470         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
471         Remove declarations.
472         (__libat_feat1, __libat_feat1_init): Declare.
473         (FEAT1_REGISTER): Define.
474         (load_feat1): New function.
475         (IFUNC_COND_1): Adjust.
476         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
477         (init_cpuid): Remove definitions.
478         (__libat_feat1): New variable.
479         (__libat_feat1_init): New function.
481 2018-05-02  Tom de Vries  <tom@codesourcery.com>
483         PR testsuite/85106
484         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
486 2018-05-02  Tom de Vries  <tom@codesourcery.com>
488         PR testsuite/85106
489         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
491 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
493         * configure: Regenerated.
495 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
497         * configure: Regenerated.
499 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
501         PR jit/85384
502         * configure: Regenerate.
504 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
506         * config/s390/exch_n.c: New file.
507         * configure.tgt: Add the config directory for s390.
509 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
511         PR target/84148
512         * configure: Regenerate.
514 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
516         Update copyright years.
518 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
520         * Makefile.am (IFUNC_OPTIONS): Change aarch64
521         option from -march=armv8.1-a to -march=armv8-a+lse.
522         * configure.ac (*aarch64*): Check to see if
523         compiler understands -march=armv8-a+lse option.
524         * configure.tgt (*aarch64*): Only set try_ifunc
525         if compiler understands -march=armv8-a+lse option.
526         * Makefile.in: Regenerate.
527         * testsuite/Makefile.in: Regenerate.
528         * configure: Regenerate.
529         * aclocal.m4: Regenerate.
531 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
533         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
534         libatomic_la_LIBADD.
535         * config/linux/aarch64/host-config.h: New file.
536         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
537         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
538         * configure.tgt (aarch64): Set ARCH and try_ifunc.
539         (aarch64*-*-linux*) Update config_path.
540         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
541         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
542         * Makefile.in: Regenerate.
543         * auto-config.h.in: Regenerate.
544         * configure: Regenerate.
546 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
548         * configure.ac: Set CET_FLAGS, update XCFLAGS.
549         * acinclude.m4: Add cet.m4 and enable.m4.
550         * configure: Regenerate.
551         * Makefile.in: Likewise.
552         * testsuite/Makefile.in: Likewise.
554 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
556         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
557         -march=armv7-a+fp on Linux/Arm.
558         * Makefile.in: Regenerated.
560 2017-10-02  Martin Sebor  <msebor@redhat.com>
562         PR c/81854
563         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
564         a function pointer rather than void* to avoid GCC 8 warnings.
565         * configure: Regenerate.
566         * libatomic_i.h: Declare ifunc resolvers to return function
567         pointers rather than void*.
569 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
571         * testsuite/lib/libatomic.exp: Load scanlang.exp.
573 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
575         * configure.tgt: Add RISC-V tuple.
577 2017-02-01  Richard Henderson  <rth@redhat.com>
578             Torvald Riegel  <triegel@redhat.com>
580         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
581         * auto-config.h.in: Regenerate.
582         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
583         (atomic_compare_exchange_n): New.
584         * glfree.c (EXACT, LARGER): Change condition and add comments.
586 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
588         PR target/78945
589         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
591 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
593         PR other/79046
594         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
595         of cat to get version from BASE-VER file.
596         * testsuite/Makefile.in: Regenerated.
598 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
600         PR other/79046
601         * configure.ac: Add GCC_BASE_VER.
602         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
603         get version from BASE-VER file.
604         * testsuite/Makefile.in: Regenerated.
605         * configure: Regenerated.
606         * Makefile.in: Regenerated.
608 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
610         Update copyright years.
612 2016-11-15  Matthias Klose  <doko@ubuntu.com>
614         * configure: Regenerate.
616 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
618         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
619         (*-*-rtems*): New supported target.
620         * config/rtems/host-config.h: New file.
621         * config/rtems/lock.c: Likewise.
623 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
625         PR target/70454
626         * configure.tgt (XCFLAGS): Revert the last change.
628 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
630         PR target/70454
631         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
632         32-bit x86 target library on x86-64.
634 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
636         PR other/67627
637         * Makefile.am (all-multi): Add dependency.
638         * Makefile.in: Regenerate.
640 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
642         Update copyright years.
644 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
646         PR c/65083
647         * fence.c, flag.c: New files.
648         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
649         * Makefile.in: Regenerate.
650         * configure.ac (libtool_VERSION): Change to 3:0:2.
651         * configure: Regenerate.
652         * libatomic.map (LIBATOMIC_1.2): New symbol version.
654 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
656         * testsuite/lib/libatomic.exp: Load multiline.exp before
657         prune.exp, using load_gcc_lib.
659 2015-07-14  John Marino  <gnugcc@marino.st>
661         * configure.tgt: Add *-*-dragonfly to supported targets.
663 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
665         * fop_n.c (libat_fetch_op): Align address to word boundary.
666         (libat_op_fetch): Likewise.
668 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
670         PR testsuite/64605
671         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
672         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
674 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
676         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
678 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
680         Update copyright years.
682 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
684         * testsuite/lib/libatomic.exp: Load target-utils.exp
686 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
688         PR bootstrap/63784
689         * configure: Regenerated.
691 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
693         * cas_n.c (libat_compare_exchange): Add missing cast.
695 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
697         PR target/63610
698         * configure: Regenerate.
700 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
702         * configure.tgt: Add cygwin to supported targets.
704 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
706         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
708 2014-06-17  Kai Tietz  <ktietz@redhat.com>
710         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
711         * configure.ac (ACX_LT_HOST_FLAGS): New.
712         (target_thread_file): New.
713         * configure.tgt (mingw): Add mingw support.
714         * config/mingw/host-config.h: New file.
715         * config/mingw/lock.c: Likewise.
716         * Makefile.in: Regenerated.
717         * configure: Likewise.
718         * aclocal.m4: Likewise.
719         * testsuite/Makefile.in: Likewise.
721 2014-02-20  Richard Henderson <rth@redhat.com>
723         PR c++/60272
724         * cas_n.c (libat_compare_exchange): Conditionalize on failure
725         the store back to EPTR.
727 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
729         Update copyright years
731 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
733         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
734         instructions when __SSE_MATH__ is defined.
736 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
738         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
739         testsuite/libatomic.c/atomic-compare-exchange-2.c,
740         testsuite/libatomic.c/atomic-compare-exchange-3.c,
741         testsuite/libatomic.c/atomic-compare-exchange-4.c,
742         testsuite/libatomic.c/atomic-compare-exchange-5.c,
743         testsuite/libatomic.c/atomic-exchange-1.c,
744         testsuite/libatomic.c/atomic-exchange-2.c,
745         testsuite/libatomic.c/atomic-exchange-3.c,
746         testsuite/libatomic.c/atomic-exchange-4.c,
747         testsuite/libatomic.c/atomic-exchange-5.c,
748         testsuite/libatomic.c/atomic-generic.c,
749         testsuite/libatomic.c/atomic-load-1.c,
750         testsuite/libatomic.c/atomic-load-2.c,
751         testsuite/libatomic.c/atomic-load-3.c,
752         testsuite/libatomic.c/atomic-load-4.c,
753         testsuite/libatomic.c/atomic-load-5.c,
754         testsuite/libatomic.c/atomic-op-1.c,
755         testsuite/libatomic.c/atomic-op-2.c,
756         testsuite/libatomic.c/atomic-op-3.c,
757         testsuite/libatomic.c/atomic-op-4.c,
758         testsuite/libatomic.c/atomic-op-5.c,
759         testsuite/libatomic.c/atomic-store-1.c,
760         testsuite/libatomic.c/atomic-store-2.c,
761         testsuite/libatomic.c/atomic-store-3.c,
762         testsuite/libatomic.c/atomic-store-4.c,
763         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
764         int.  Do not require built-in sync support or add target-specific
765         options.
766         * testsuite/libatomic.c/atomic-exchange-1.c,
767         testsuite/libatomic.c/atomic-exchange-2.c,
768         testsuite/libatomic.c/atomic-exchange-3.c,
769         testsuite/libatomic.c/atomic-exchange-4.c,
770         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
771         count from expression using value of count.
773 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
775         * config/x86/fenv.c: New file.
777 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
779         * fenv.c: New file.
780         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
781         __atomic_feraiseexcept.
782         * configure.ac (libtool_VERSION): Change to 2:0:1.
783         (fenv.h): Test for header.
784         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
785         * Makefile.in, auto-config.h.in, configure: Regenerate.
787 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
789         * libatomic/configure.tgt (aarch64*): Remove code preventing
790         build.
792 2013-09-20  Alan Modra  <amodra@gmail.com>
794         * configure: Regenerate.
796 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
798         Update copyright years.
800 2012-12-18  Ian Lance Taylor  <iant@google.com>
802         PR go/55201
803         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
804         (libatomic_convenience_la_SOURCES): Likewise.
805         (libatomic_convenience_la_LIBADD): Likewise.
806         * Makefile.in: Rebuild.
807         * testsuite/Makefile.in: Rebuild.
809 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
811         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
813 2012-11-21  Matthias Klose  <doko@ubuntu.com>
815         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
817 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
819         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
820         * configure: Regenerate.
822         * configure: Regenerate.
824 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
826         Mark libatomic unsupported in AArch64.
828         * configure.tgt: Mark libatomic unsupported.
830 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
832         PR other/43620
833         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
834         * configure: Regenerate.
835         * Makefile.in: Regenerate.
837 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
839         * configure: Regenerated.
841 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
843         PR other/53231
844         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
846 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
848         * configure: Regenerated.
850 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
852         PR other/53284
853         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
854         instead of overriding.
855         * configure: Regenerate.
857 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
859         * Makefile.am (libatomic.map-sun): Handle objects in
860         libatomic_la_LIBADD.
861         * aclocal.m4: Regenerate.
862         * Makefile.in: Regenerate.
864 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
866         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
867         * configure: Regenerate.
869 2012-05-03  Richard Henderson  <rth@redhat.com>
871         * configure.ac (AM_MAINTAINER_MODE): New.
872         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
873         failure in gcc_no_link path.
874         * configure, aclocal.m4, Makefile.in: Rebuild.
876 2012-05-01  Richard Henderson  <rth@redhat.com>
878         * Initial commit.
880 Copyright (C) 2012-2024 Free Software Foundation, Inc.
882 Copying and distribution of this file, with or without modification,
883 are permitted in any medium without royalty provided the copyright
884 notice and this notice are preserved.