Introduce dump_location_t
[official-gcc.git] / libatomic / ChangeLog
blob41c5273141571d1c4e6ecad5771b5df6e1f4f7e2
1 2018-06-21  Christophe Lyon  <christophe.lyon@linaro.org>
3         * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
4         __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
5         and HAVE_STREXBHD
7 2018-05-23  Florian Weimer  <fweimer@redhat.com>
9         PR libgcc/60790
10         x86: Do not assume ELF constructors run before IFUNC resolvers.
11         * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
12         Remove declarations.
13         (__libat_feat1, __libat_feat1_init): Declare.
14         (FEAT1_REGISTER): Define.
15         (load_feat1): New function.
16         (IFUNC_COND_1): Adjust.
17         * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
18         (init_cpuid): Remove definitions.
19         (__libat_feat1): New variable.
20         (__libat_feat1_init): New function.
22 2018-05-02  Tom de Vries  <tom@codesourcery.com>
24         PR testsuite/85106
25         * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
27 2018-05-02  Tom de Vries  <tom@codesourcery.com>
29         PR testsuite/85106
30         * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
32 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
34         * configure: Regenerated.
36 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
38         * configure: Regenerated.
40 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
42         PR jit/85384
43         * configure: Regenerate.
45 2018-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
47         * config/s390/exch_n.c: New file.
48         * configure.tgt: Add the config directory for s390.
50 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
52         PR target/84148
53         * configure: Regenerate.
55 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
57         Update copyright years.
59 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
61         * Makefile.am (IFUNC_OPTIONS): Change aarch64
62         option from -march=armv8.1-a to -march=armv8-a+lse.
63         * configure.ac (*aarch64*): Check to see if
64         compiler understands -march=armv8-a+lse option.
65         * configure.tgt (*aarch64*): Only set try_ifunc
66         if compiler understands -march=armv8-a+lse option.
67         * Makefile.in: Regenerate.
68         * testsuite/Makefile.in: Regenerate.
69         * configure: Regenerate.
70         * aclocal.m4: Regenerate.
72 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
74         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
75         libatomic_la_LIBADD.
76         * config/linux/aarch64/host-config.h: New file.
77         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
78         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
79         * configure.tgt (aarch64): Set ARCH and try_ifunc.
80         (aarch64*-*-linux*) Update config_path.
81         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
82         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
83         * Makefile.in: Regenerate.
84         * auto-config.h.in: Regenerate.
85         * configure: Regenerate.
87 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
89         * configure.ac: Set CET_FLAGS, update XCFLAGS.
90         * acinclude.m4: Add cet.m4 and enable.m4.
91         * configure: Regenerate.
92         * Makefile.in: Likewise.
93         * testsuite/Makefile.in: Likewise.
95 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
97         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
98         -march=armv7-a+fp on Linux/Arm.
99         * Makefile.in: Regenerated.
101 2017-10-02  Martin Sebor  <msebor@redhat.com>
103         PR c/81854
104         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
105         a function pointer rather than void* to avoid GCC 8 warnings.
106         * configure: Regenerate.
107         * libatomic_i.h: Declare ifunc resolvers to return function
108         pointers rather than void*.
110 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
112         * testsuite/lib/libatomic.exp: Load scanlang.exp.
114 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
116         * configure.tgt: Add RISC-V tuple.
118 2017-02-01  Richard Henderson  <rth@redhat.com>
119             Torvald Riegel  <triegel@redhat.com>
121         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
122         * auto-config.h.in: Regenerate.
123         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
124         (atomic_compare_exchange_n): New.
125         * glfree.c (EXACT, LARGER): Change condition and add comments.
127 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
129         PR target/78945
130         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
132 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
134         PR other/79046
135         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
136         of cat to get version from BASE-VER file.
137         * testsuite/Makefile.in: Regenerated.
139 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
141         PR other/79046
142         * configure.ac: Add GCC_BASE_VER.
143         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
144         get version from BASE-VER file.
145         * testsuite/Makefile.in: Regenerated.
146         * configure: Regenerated.
147         * Makefile.in: Regenerated.
149 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
151         Update copyright years.
153 2016-11-15  Matthias Klose  <doko@ubuntu.com>
155         * configure: Regenerate.
157 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
159         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
160         (*-*-rtems*): New supported target.
161         * config/rtems/host-config.h: New file.
162         * config/rtems/lock.c: Likewise.
164 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
166         PR target/70454
167         * configure.tgt (XCFLAGS): Revert the last change.
169 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
171         PR target/70454
172         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
173         32-bit x86 target library on x86-64.
175 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
177         PR other/67627
178         * Makefile.am (all-multi): Add dependency.
179         * Makefile.in: Regenerate.
181 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
183         Update copyright years.
185 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
187         PR c/65083
188         * fence.c, flag.c: New files.
189         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
190         * Makefile.in: Regenerate.
191         * configure.ac (libtool_VERSION): Change to 3:0:2.
192         * configure: Regenerate.
193         * libatomic.map (LIBATOMIC_1.2): New symbol version.
195 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
197         * testsuite/lib/libatomic.exp: Load multiline.exp before
198         prune.exp, using load_gcc_lib.
200 2015-07-14  John Marino  <gnugcc@marino.st>
202         * configure.tgt: Add *-*-dragonfly to supported targets.
204 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
206         * fop_n.c (libat_fetch_op): Align address to word boundary.
207         (libat_op_fetch): Likewise.
209 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
211         PR testsuite/64605
212         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
213         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
215 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
217         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
219 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
221         Update copyright years.
223 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
225         * testsuite/lib/libatomic.exp: Load target-utils.exp
227 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
229         PR bootstrap/63784
230         * configure: Regenerated.
232 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
234         * cas_n.c (libat_compare_exchange): Add missing cast.
236 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
238         PR target/63610
239         * configure: Regenerate.
241 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
243         * configure.tgt: Add cygwin to supported targets.
245 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
247         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
249 2014-06-17  Kai Tietz  <ktietz@redhat.com>
251         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
252         * configure.ac (ACX_LT_HOST_FLAGS): New.
253         (target_thread_file): New.
254         * configure.tgt (mingw): Add mingw support.
255         * config/mingw/host-config.h: New file.
256         * config/mingw/lock.c: Likewise.
257         * Makefile.in: Regenerated.
258         * configure: Likewise.
259         * aclocal.m4: Likewise.
260         * testsuite/Makefile.in: Likewise.
262 2014-02-20  Richard Henderson <rth@redhat.com>
264         PR c++/60272
265         * cas_n.c (libat_compare_exchange): Conditionalize on failure
266         the store back to EPTR.
268 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
270         Update copyright years
272 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
274         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
275         instructions when __SSE_MATH__ is defined.
277 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
279         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
280         testsuite/libatomic.c/atomic-compare-exchange-2.c,
281         testsuite/libatomic.c/atomic-compare-exchange-3.c,
282         testsuite/libatomic.c/atomic-compare-exchange-4.c,
283         testsuite/libatomic.c/atomic-compare-exchange-5.c,
284         testsuite/libatomic.c/atomic-exchange-1.c,
285         testsuite/libatomic.c/atomic-exchange-2.c,
286         testsuite/libatomic.c/atomic-exchange-3.c,
287         testsuite/libatomic.c/atomic-exchange-4.c,
288         testsuite/libatomic.c/atomic-exchange-5.c,
289         testsuite/libatomic.c/atomic-generic.c,
290         testsuite/libatomic.c/atomic-load-1.c,
291         testsuite/libatomic.c/atomic-load-2.c,
292         testsuite/libatomic.c/atomic-load-3.c,
293         testsuite/libatomic.c/atomic-load-4.c,
294         testsuite/libatomic.c/atomic-load-5.c,
295         testsuite/libatomic.c/atomic-op-1.c,
296         testsuite/libatomic.c/atomic-op-2.c,
297         testsuite/libatomic.c/atomic-op-3.c,
298         testsuite/libatomic.c/atomic-op-4.c,
299         testsuite/libatomic.c/atomic-op-5.c,
300         testsuite/libatomic.c/atomic-store-1.c,
301         testsuite/libatomic.c/atomic-store-2.c,
302         testsuite/libatomic.c/atomic-store-3.c,
303         testsuite/libatomic.c/atomic-store-4.c,
304         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
305         int.  Do not require built-in sync support or add target-specific
306         options.
307         * testsuite/libatomic.c/atomic-exchange-1.c,
308         testsuite/libatomic.c/atomic-exchange-2.c,
309         testsuite/libatomic.c/atomic-exchange-3.c,
310         testsuite/libatomic.c/atomic-exchange-4.c,
311         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
312         count from expression using value of count.
314 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
316         * config/x86/fenv.c: New file.
318 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
320         * fenv.c: New file.
321         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
322         __atomic_feraiseexcept.
323         * configure.ac (libtool_VERSION): Change to 2:0:1.
324         (fenv.h): Test for header.
325         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
326         * Makefile.in, auto-config.h.in, configure: Regenerate.
328 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
330         * libatomic/configure.tgt (aarch64*): Remove code preventing
331         build.
333 2013-09-20  Alan Modra  <amodra@gmail.com>
335         * configure: Regenerate.
337 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
339         Update copyright years.
341 2012-12-18  Ian Lance Taylor  <iant@google.com>
343         PR go/55201
344         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
345         (libatomic_convenience_la_SOURCES): Likewise.
346         (libatomic_convenience_la_LIBADD): Likewise.
347         * Makefile.in: Rebuild.
348         * testsuite/Makefile.in: Rebuild.
350 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
352         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
354 2012-11-21  Matthias Klose  <doko@ubuntu.com>
356         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
358 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
360         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
361         * configure: Regenerate.
363         * configure: Regenerate.
365 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
367         Mark libatomic unsupported in AArch64.
369         * configure.tgt: Mark libatomic unsupported.
371 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
373         PR other/43620
374         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
375         * configure: Regenerate.
376         * Makefile.in: Regenerate.
378 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
380         * configure: Regenerated.
382 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
384         PR other/53231
385         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
387 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
389         * configure: Regenerated.
391 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
393         PR other/53284
394         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
395         instead of overriding.
396         * configure: Regenerate.
398 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
400         * Makefile.am (libatomic.map-sun): Handle objects in
401         libatomic_la_LIBADD.
402         * aclocal.m4: Regenerate.
403         * Makefile.in: Regenerate.
405 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
407         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
408         * configure: Regenerate.
410 2012-05-03  Richard Henderson  <rth@redhat.com>
412         * configure.ac (AM_MAINTAINER_MODE): New.
413         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
414         failure in gcc_no_link path.
415         * configure, aclocal.m4, Makefile.in: Rebuild.
417 2012-05-01  Richard Henderson  <rth@redhat.com>
419         * Initial commit.
421 Copyright (C) 2012-2018 Free Software Foundation, Inc.
423 Copying and distribution of this file, with or without modification,
424 are permitted in any medium without royalty provided the copyright
425 notice and this notice are preserved.