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