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