c64a1aaa22560757e8221d0f020ade05381d1395
[platform/upstream/gcc.git] / libatomic / ChangeLog
1 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
2
3         Update copyright years.
4
5 2017-12-14  Steve Ellcey  <sellcey@cavium.com>
6
7         * Makefile.am (IFUNC_OPTIONS): Change aarch64
8         option from -march=armv8.1-a to -march=armv8-a+lse.
9         * configure.ac (*aarch64*): Check to see if
10         compiler understands -march=armv8-a+lse option.
11         * configure.tgt (*aarch64*): Only set try_ifunc
12         if compiler understands -march=armv8-a+lse option.
13         * Makefile.in: Regenerate.
14         * testsuite/Makefile.in: Regenerate.
15         * configure: Regenerate.
16         * aclocal.m4: Regenerate.
17
18 2017-12-04  Steve Ellcey  <sellcey@cavium.com>
19
20         * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
21         libatomic_la_LIBADD.
22         * config/linux/aarch64/host-config.h: New file.
23         * configure.ac (IFUNC_RESOLVER_ARGS): Define.
24         (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
25         * configure.tgt (aarch64): Set ARCH and try_ifunc.
26         (aarch64*-*-linux*) Update config_path.
27         (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
28         * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
29         * Makefile.in: Regenerate.
30         * auto-config.h.in: Regenerate.
31         * configure: Regenerate.
32
33 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
34
35         * configure.ac: Set CET_FLAGS, update XCFLAGS.
36         * acinclude.m4: Add cet.m4 and enable.m4.
37         * configure: Regenerate.
38         * Makefile.in: Likewise.
39         * testsuite/Makefile.in: Likewise.
40
41 2017-10-20  Richard Earnshaw  <rearnsha@arm.com>
42
43         * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
44         -march=armv7-a+fp on Linux/Arm.
45         * Makefile.in: Regenerated.
46
47 2017-10-02  Martin Sebor  <msebor@redhat.com>
48
49         PR c/81854
50         * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
51         a function pointer rather than void* to avoid GCC 8 warnings.
52         * configure: Regenerate.
53         * libatomic_i.h: Declare ifunc resolvers to return function
54         pointers rather than void*.
55
56 2017-05-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
57
58         * testsuite/lib/libatomic.exp: Load scanlang.exp.
59
60 2017-02-06  Palmer Dabbelt <palmer@dabbelt.com>
61
62         * configure.tgt: Add RISC-V tuple.
63
64 2017-02-01  Richard Henderson  <rth@redhat.com>
65             Torvald Riegel  <triegel@redhat.com>
66
67         * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
68         * auto-config.h.in: Regenerate.
69         * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
70         (atomic_compare_exchange_n): New.
71         * glfree.c (EXACT, LARGER): Change condition and add comments.
72
73 2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>
74
75         PR target/78945
76         * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
77
78 2017-01-21  Jakub Jelinek  <jakub@redhat.com>
79
80         PR other/79046
81         * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
82         of cat to get version from BASE-VER file.
83         * testsuite/Makefile.in: Regenerated.
84
85 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
86
87         PR other/79046
88         * configure.ac: Add GCC_BASE_VER.
89         * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
90         get version from BASE-VER file.
91         * testsuite/Makefile.in: Regenerated.
92         * configure: Regenerated.
93         * Makefile.in: Regenerated.
94
95 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
96
97         Update copyright years.
98
99 2016-11-15  Matthias Klose  <doko@ubuntu.com>
100
101         * configure: Regenerate.
102
103 2016-04-27  Sebastian Huber  <sebastian.huber@embedded-brains.de>
104
105         * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
106         (*-*-rtems*): New supported target.
107         * config/rtems/host-config.h: New file.
108         * config/rtems/lock.c: Likewise.
109
110 2016-04-25  H.J. Lu  <hongjiu.lu@intel.com>
111
112         PR target/70454
113         * configure.tgt (XCFLAGS): Revert the last change.
114
115 2016-04-20  H.J. Lu  <hongjiu.lu@intel.com>
116
117         PR target/70454
118         * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
119         32-bit x86 target library on x86-64.
120
121 2016-01-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
122
123         PR other/67627
124         * Makefile.am (all-multi): Add dependency.
125         * Makefile.in: Regenerate.
126
127 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
128
129         Update copyright years.
130
131 2015-11-18  Joseph Myers  <joseph@codesourcery.com>
132
133         PR c/65083
134         * fence.c, flag.c: New files.
135         * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
136         * Makefile.in: Regenerate.
137         * configure.ac (libtool_VERSION): Change to 3:0:2.
138         * configure: Regenerate.
139         * libatomic.map (LIBATOMIC_1.2): New symbol version.
140
141 2015-10-09  David Malcolm  <dmalcolm@redhat.com>
142
143         * testsuite/lib/libatomic.exp: Load multiline.exp before
144         prune.exp, using load_gcc_lib.
145
146 2015-07-14  John Marino  <gnugcc@marino.st>
147
148         * configure.tgt: Add *-*-dragonfly to supported targets.
149
150 2015-01-21  Andrew Waterman <waterman@cs.berkeley.edu>
151
152         * fop_n.c (libat_fetch_op): Align address to word boundary.
153         (libat_op_fetch): Likewise.
154
155 2015-01-16  Ilya Verbin  <ilya.verbin@intel.com>
156
157         PR testsuite/64605
158         * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
159         * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
160
161 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
162
163         * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
164
165 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
166
167         Update copyright years.
168
169 2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
170
171         * testsuite/lib/libatomic.exp: Load target-utils.exp
172
173 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
174
175         PR bootstrap/63784
176         * configure: Regenerated.
177
178 2014-11-13  Andrew Waterman <waterman@cs.berkeley.edu>
179
180         * cas_n.c (libat_compare_exchange): Add missing cast.
181
182 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
183
184         PR target/63610
185         * configure: Regenerate.
186
187 2014-08-19  Yaakov Selkowitz  <yselkowi@redhat.com>
188
189         * configure.tgt: Add cygwin to supported targets.
190
191 2014-07-18  Uros Bizjak  <ubizjak@gmail.com>
192
193         * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
194
195 2014-06-17  Kai Tietz  <ktietz@redhat.com>
196
197         * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
198         * configure.ac (ACX_LT_HOST_FLAGS): New.
199         (target_thread_file): New.
200         * configure.tgt (mingw): Add mingw support.
201         * config/mingw/host-config.h: New file.
202         * config/mingw/lock.c: Likewise.
203         * Makefile.in: Regenerated.
204         * configure: Likewise.
205         * aclocal.m4: Likewise.
206         * testsuite/Makefile.in: Likewise.
207
208 2014-02-20  Richard Henderson <rth@redhat.com>
209
210         PR c++/60272
211         * cas_n.c (libat_compare_exchange): Conditionalize on failure
212         the store back to EPTR.
213
214 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
215
216         Update copyright years
217
218 2013-12-09  Uros Bizjak  <ubizjak@gmail.com>
219
220         * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
221         instructions when __SSE_MATH__ is defined.
222
223 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
224
225         * testsuite/libatomic.c/atomic-compare-exchange-1.c,
226         testsuite/libatomic.c/atomic-compare-exchange-2.c,
227         testsuite/libatomic.c/atomic-compare-exchange-3.c,
228         testsuite/libatomic.c/atomic-compare-exchange-4.c,
229         testsuite/libatomic.c/atomic-compare-exchange-5.c,
230         testsuite/libatomic.c/atomic-exchange-1.c,
231         testsuite/libatomic.c/atomic-exchange-2.c,
232         testsuite/libatomic.c/atomic-exchange-3.c,
233         testsuite/libatomic.c/atomic-exchange-4.c,
234         testsuite/libatomic.c/atomic-exchange-5.c,
235         testsuite/libatomic.c/atomic-generic.c,
236         testsuite/libatomic.c/atomic-load-1.c,
237         testsuite/libatomic.c/atomic-load-2.c,
238         testsuite/libatomic.c/atomic-load-3.c,
239         testsuite/libatomic.c/atomic-load-4.c,
240         testsuite/libatomic.c/atomic-load-5.c,
241         testsuite/libatomic.c/atomic-op-1.c,
242         testsuite/libatomic.c/atomic-op-2.c,
243         testsuite/libatomic.c/atomic-op-3.c,
244         testsuite/libatomic.c/atomic-op-4.c,
245         testsuite/libatomic.c/atomic-op-5.c,
246         testsuite/libatomic.c/atomic-store-1.c,
247         testsuite/libatomic.c/atomic-store-2.c,
248         testsuite/libatomic.c/atomic-store-3.c,
249         testsuite/libatomic.c/atomic-store-4.c,
250         testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
251         int.  Do not require built-in sync support or add target-specific
252         options.
253         * testsuite/libatomic.c/atomic-exchange-1.c,
254         testsuite/libatomic.c/atomic-exchange-2.c,
255         testsuite/libatomic.c/atomic-exchange-3.c,
256         testsuite/libatomic.c/atomic-exchange-4.c,
257         testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
258         count from expression using value of count.
259
260 2013-11-10  Uros Bizjak  <ubizjak@gmail.com>
261
262         * config/x86/fenv.c: New file.
263
264 2013-11-07  Joseph Myers  <joseph@codesourcery.com>
265
266         * fenv.c: New file.
267         * libatomic.map (LIBATOMIC_1.1): New symbol version.  Include
268         __atomic_feraiseexcept.
269         * configure.ac (libtool_VERSION): Change to 2:0:1.
270         (fenv.h): Test for header.
271         * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
272         * Makefile.in, auto-config.h.in, configure: Regenerate.
273
274 2013-10-17  Michael Hudson-Doyle  <michael.hudson@linaro.org>
275
276         * libatomic/configure.tgt (aarch64*): Remove code preventing
277         build.
278
279 2013-09-20  Alan Modra  <amodra@gmail.com>
280
281         * configure: Regenerate.
282
283 2013-01-14  Richard Sandiford  <rdsandiford@googlemail.com>
284
285         Update copyright years.
286
287 2012-12-18  Ian Lance Taylor  <iant@google.com>
288
289         PR go/55201
290         * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
291         (libatomic_convenience_la_SOURCES): Likewise.
292         (libatomic_convenience_la_LIBADD): Likewise.
293         * Makefile.in: Rebuild.
294         * testsuite/Makefile.in: Rebuild.
295
296 2012-12-04  Marcus Shawcroft  <marcus.shawcroft@arm.com>
297
298         * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
299
300 2012-11-21  Matthias Klose  <doko@ubuntu.com>
301
302         * configure.tgt (i[3456]86): Handle -mx32 like -m64.
303
304 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
305
306         * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
307         * configure: Regenerate.
308
309         * configure: Regenerate.
310
311 2012-10-23  Sofiane Naci <sofiane.naci@arm.com>
312
313         Mark libatomic unsupported in AArch64.
314
315         * configure.tgt: Mark libatomic unsupported.
316
317 2012-09-20  Jakub Jelinek  <jakub@redhat.com>
318
319         PR other/43620
320         * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
321         * configure: Regenerate.
322         * Makefile.in: Regenerate.
323
324 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
325
326         * configure: Regenerated.
327
328 2012-05-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
329
330         PR other/53231
331         * tas_n.c (libat_test_and_set): Correct return.  Remove unused variable.
332
333 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
334
335         * configure: Regenerated.
336
337 2012-05-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
338
339         PR other/53284
340         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
341         instead of overriding.
342         * configure: Regenerate.
343
344 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
345
346         * Makefile.am (libatomic.map-sun): Handle objects in
347         libatomic_la_LIBADD.
348         * aclocal.m4: Regenerate.
349         * Makefile.in: Regenerate.
350
351 2012-05-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
352
353         * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
354         * configure: Regenerate.
355
356 2012-05-03  Richard Henderson  <rth@redhat.com>
357
358         * configure.ac (AM_MAINTAINER_MODE): New.
359         * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
360         failure in gcc_no_link path.
361         * configure, aclocal.m4, Makefile.in: Rebuild.
362
363 2012-05-01  Richard Henderson  <rth@redhat.com>
364
365         * Initial commit.
366 \f
367 Copyright (C) 2012-2018 Free Software Foundation, Inc.
368
369 Copying and distribution of this file, with or without modification,
370 are permitted in any medium without royalty provided the copyright
371 notice and this notice are preserved.