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