1 2020-09-11 Tom de Vries <tdevries@suse.de>
4 * configure.tgt: Add nvptx.
5 * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
6 * config/nvptx/host-config.h: New file.
7 * config/nvptx/lock.c: New file.
9 2020-09-07 Tom de Vries <tdevries@suse.de>
11 * testsuite/libatomic.c/atomic-generic.c: Include string.h.
13 2020-07-14 David Edelsohn <dje.gcc@gmail.com>
15 * config/t-aix: Set BITS from compiler cpp macro.
17 2020-06-22 David Edelsohn <dje.gcc@gmail.com>
19 * Makefile.am: Use -include.
20 * Makefile.in: Regenerate.
22 2020-06-21 David Edelsohn <dje.gcc@gmail.com>
24 * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
25 * Makefile.in: Regenerate.
26 * configure.ac (tmake_file): Substitute.
27 * configure: Regenerate.
28 * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
29 * config/t-aix: New file.
31 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
33 * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
35 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
38 * configure: Regenerated.
40 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
43 * configure: Regenerated.
45 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
47 * configure: Regenerated.
49 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
51 * config/x86/fenv.c (__math_force_eval): Remove.
52 (__math_force_eval_div): New define.
53 (__atomic_deraiseexcept): Use __math_force_eval_div to use
54 generic division to generate INVALID, DIVZERO and INEXACT
57 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
59 * config/x86/fenv.c (__math_force_eval): New define.
60 (__atomic_feraiseexcept): Use __math_force_eval to evaluate
61 generic division to generate INVALID and DIVZERO exceptions.
63 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
65 * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
66 Remove unneeded assignments to volatile memory.
68 2020-04-06 Maciej W. Rozycki <macro@wdc.com>
70 * configure.ac: Add testsuite/libatomic-site-extra.exp to output
72 * configure: Regenerate.
73 * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
74 * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
76 * testsuite/Makefile.in: Regenerate.
78 2020-02-22 Jakub Jelinek <jakub@redhat.com>
81 * Makefile.am (M_DEPS): Guard the empty definition with
82 @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
83 * Makefile.in: Regenerated.
85 2020-02-22 Richard Purdie <rpurdie@rpsys.net>
88 * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
89 * Makefile.in: Regenerated.
91 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
93 * configure.ac: Handle `--with-toolexeclibdir='.
94 * Makefile.in: Regenerate.
95 * aclocal.m4: Regenerate.
96 * configure: Regenerate.
97 * testsuite/Makefile.in: Regenerate.
99 2020-01-01 Jakub Jelinek <jakub@redhat.com>
101 Update copyright years.
103 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
105 * configure: Regenerate.
107 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
109 * configure.tgt: Handle arm*-*-uclinux*.
110 * configure: Regenerate.
112 2019-09-03 Chung-Lin Tang <cltang@codesourcery.com>
115 * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
116 scanning to conform to the GNU Coding Standards.
117 * configure: Regenerate.
119 2019-06-14 Matt Thomas <matt@3am-software.com>
120 Matthew Green <mrg@eterna.com.au>
121 Nick Hudson <skrll@netbsd.org>
122 Maya Rashish <coypu@sdf.org>
124 * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
126 2019-01-01 Jakub Jelinek <jakub@redhat.com>
128 Update copyright years.
130 2018-10-31 Joseph Myers <joseph@codesourcery.com>
133 * Makefile.am: Include multilib.am.
134 * acinclude.m4: Use AC_LANG_SOURCE.
135 * configure.ac: Remove AC_PREREQ.
136 * testsuite/Makefile.am (RUNTEST): Remove quotes.
137 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
140 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
142 * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
143 __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
146 2018-05-23 Florian Weimer <fweimer@redhat.com>
149 x86: Do not assume ELF constructors run before IFUNC resolvers.
150 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
152 (__libat_feat1, __libat_feat1_init): Declare.
153 (FEAT1_REGISTER): Define.
154 (load_feat1): New function.
155 (IFUNC_COND_1): Adjust.
156 * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
157 (init_cpuid): Remove definitions.
158 (__libat_feat1): New variable.
159 (__libat_feat1_init): New function.
161 2018-05-02 Tom de Vries <tom@codesourcery.com>
164 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
166 2018-05-02 Tom de Vries <tom@codesourcery.com>
169 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
171 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
173 * configure: Regenerated.
175 2018-04-19 Jakub Jelinek <jakub@redhat.com>
177 * configure: Regenerated.
179 2018-04-18 David Malcolm <dmalcolm@redhat.com>
182 * configure: Regenerate.
184 2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
186 * config/s390/exch_n.c: New file.
187 * configure.tgt: Add the config directory for s390.
189 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
192 * configure: Regenerate.
194 2018-01-03 Jakub Jelinek <jakub@redhat.com>
196 Update copyright years.
198 2017-12-14 Steve Ellcey <sellcey@cavium.com>
200 * Makefile.am (IFUNC_OPTIONS): Change aarch64
201 option from -march=armv8.1-a to -march=armv8-a+lse.
202 * configure.ac (*aarch64*): Check to see if
203 compiler understands -march=armv8-a+lse option.
204 * configure.tgt (*aarch64*): Only set try_ifunc
205 if compiler understands -march=armv8-a+lse option.
206 * Makefile.in: Regenerate.
207 * testsuite/Makefile.in: Regenerate.
208 * configure: Regenerate.
209 * aclocal.m4: Regenerate.
211 2017-12-04 Steve Ellcey <sellcey@cavium.com>
213 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
215 * config/linux/aarch64/host-config.h: New file.
216 * configure.ac (IFUNC_RESOLVER_ARGS): Define.
217 (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
218 * configure.tgt (aarch64): Set ARCH and try_ifunc.
219 (aarch64*-*-linux*) Update config_path.
220 (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
221 * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
222 * Makefile.in: Regenerate.
223 * auto-config.h.in: Regenerate.
224 * configure: Regenerate.
226 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
228 * configure.ac: Set CET_FLAGS, update XCFLAGS.
229 * acinclude.m4: Add cet.m4 and enable.m4.
230 * configure: Regenerate.
231 * Makefile.in: Likewise.
232 * testsuite/Makefile.in: Likewise.
234 2017-10-20 Richard Earnshaw <rearnsha@arm.com>
236 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
237 -march=armv7-a+fp on Linux/Arm.
238 * Makefile.in: Regenerated.
240 2017-10-02 Martin Sebor <msebor@redhat.com>
243 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
244 a function pointer rather than void* to avoid GCC 8 warnings.
245 * configure: Regenerate.
246 * libatomic_i.h: Declare ifunc resolvers to return function
247 pointers rather than void*.
249 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
251 * testsuite/lib/libatomic.exp: Load scanlang.exp.
253 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
255 * configure.tgt: Add RISC-V tuple.
257 2017-02-01 Richard Henderson <rth@redhat.com>
258 Torvald Riegel <triegel@redhat.com>
260 * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
261 * auto-config.h.in: Regenerate.
262 * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
263 (atomic_compare_exchange_n): New.
264 * glfree.c (EXACT, LARGER): Change condition and add comments.
266 2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
269 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
271 2017-01-21 Jakub Jelinek <jakub@redhat.com>
274 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
275 of cat to get version from BASE-VER file.
276 * testsuite/Makefile.in: Regenerated.
278 2017-01-17 Jakub Jelinek <jakub@redhat.com>
281 * configure.ac: Add GCC_BASE_VER.
282 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
283 get version from BASE-VER file.
284 * testsuite/Makefile.in: Regenerated.
285 * configure: Regenerated.
286 * Makefile.in: Regenerated.
288 2017-01-01 Jakub Jelinek <jakub@redhat.com>
290 Update copyright years.
292 2016-11-15 Matthias Klose <doko@ubuntu.com>
294 * configure: Regenerate.
296 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
298 * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
299 (*-*-rtems*): New supported target.
300 * config/rtems/host-config.h: New file.
301 * config/rtems/lock.c: Likewise.
303 2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
306 * configure.tgt (XCFLAGS): Revert the last change.
308 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
311 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
312 32-bit x86 target library on x86-64.
314 2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
317 * Makefile.am (all-multi): Add dependency.
318 * Makefile.in: Regenerate.
320 2016-01-04 Jakub Jelinek <jakub@redhat.com>
322 Update copyright years.
324 2015-11-18 Joseph Myers <joseph@codesourcery.com>
327 * fence.c, flag.c: New files.
328 * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
329 * Makefile.in: Regenerate.
330 * configure.ac (libtool_VERSION): Change to 3:0:2.
331 * configure: Regenerate.
332 * libatomic.map (LIBATOMIC_1.2): New symbol version.
334 2015-10-09 David Malcolm <dmalcolm@redhat.com>
336 * testsuite/lib/libatomic.exp: Load multiline.exp before
337 prune.exp, using load_gcc_lib.
339 2015-07-14 John Marino <gnugcc@marino.st>
341 * configure.tgt: Add *-*-dragonfly to supported targets.
343 2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
345 * fop_n.c (libat_fetch_op): Align address to word boundary.
346 (libat_op_fetch): Likewise.
348 2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
351 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
352 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
354 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
356 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
358 2015-01-05 Jakub Jelinek <jakub@redhat.com>
360 Update copyright years.
362 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
364 * testsuite/lib/libatomic.exp: Load target-utils.exp
366 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
369 * configure: Regenerated.
371 2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
373 * cas_n.c (libat_compare_exchange): Add missing cast.
375 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
378 * configure: Regenerate.
380 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
382 * configure.tgt: Add cygwin to supported targets.
384 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
386 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
388 2014-06-17 Kai Tietz <ktietz@redhat.com>
390 * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
391 * configure.ac (ACX_LT_HOST_FLAGS): New.
392 (target_thread_file): New.
393 * configure.tgt (mingw): Add mingw support.
394 * config/mingw/host-config.h: New file.
395 * config/mingw/lock.c: Likewise.
396 * Makefile.in: Regenerated.
397 * configure: Likewise.
398 * aclocal.m4: Likewise.
399 * testsuite/Makefile.in: Likewise.
401 2014-02-20 Richard Henderson <rth@redhat.com>
404 * cas_n.c (libat_compare_exchange): Conditionalize on failure
405 the store back to EPTR.
407 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
409 Update copyright years
411 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
413 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
414 instructions when __SSE_MATH__ is defined.
416 2013-11-18 Joseph Myers <joseph@codesourcery.com>
418 * testsuite/libatomic.c/atomic-compare-exchange-1.c,
419 testsuite/libatomic.c/atomic-compare-exchange-2.c,
420 testsuite/libatomic.c/atomic-compare-exchange-3.c,
421 testsuite/libatomic.c/atomic-compare-exchange-4.c,
422 testsuite/libatomic.c/atomic-compare-exchange-5.c,
423 testsuite/libatomic.c/atomic-exchange-1.c,
424 testsuite/libatomic.c/atomic-exchange-2.c,
425 testsuite/libatomic.c/atomic-exchange-3.c,
426 testsuite/libatomic.c/atomic-exchange-4.c,
427 testsuite/libatomic.c/atomic-exchange-5.c,
428 testsuite/libatomic.c/atomic-generic.c,
429 testsuite/libatomic.c/atomic-load-1.c,
430 testsuite/libatomic.c/atomic-load-2.c,
431 testsuite/libatomic.c/atomic-load-3.c,
432 testsuite/libatomic.c/atomic-load-4.c,
433 testsuite/libatomic.c/atomic-load-5.c,
434 testsuite/libatomic.c/atomic-op-1.c,
435 testsuite/libatomic.c/atomic-op-2.c,
436 testsuite/libatomic.c/atomic-op-3.c,
437 testsuite/libatomic.c/atomic-op-4.c,
438 testsuite/libatomic.c/atomic-op-5.c,
439 testsuite/libatomic.c/atomic-store-1.c,
440 testsuite/libatomic.c/atomic-store-2.c,
441 testsuite/libatomic.c/atomic-store-3.c,
442 testsuite/libatomic.c/atomic-store-4.c,
443 testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
444 int. Do not require built-in sync support or add target-specific
446 * testsuite/libatomic.c/atomic-exchange-1.c,
447 testsuite/libatomic.c/atomic-exchange-2.c,
448 testsuite/libatomic.c/atomic-exchange-3.c,
449 testsuite/libatomic.c/atomic-exchange-4.c,
450 testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
451 count from expression using value of count.
453 2013-11-10 Uros Bizjak <ubizjak@gmail.com>
455 * config/x86/fenv.c: New file.
457 2013-11-07 Joseph Myers <joseph@codesourcery.com>
460 * libatomic.map (LIBATOMIC_1.1): New symbol version. Include
461 __atomic_feraiseexcept.
462 * configure.ac (libtool_VERSION): Change to 2:0:1.
463 (fenv.h): Test for header.
464 * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
465 * Makefile.in, auto-config.h.in, configure: Regenerate.
467 2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
469 * libatomic/configure.tgt (aarch64*): Remove code preventing
472 2013-09-20 Alan Modra <amodra@gmail.com>
474 * configure: Regenerate.
476 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
478 Update copyright years.
480 2012-12-18 Ian Lance Taylor <iant@google.com>
483 * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
484 (libatomic_convenience_la_SOURCES): Likewise.
485 (libatomic_convenience_la_LIBADD): Likewise.
486 * Makefile.in: Rebuild.
487 * testsuite/Makefile.in: Rebuild.
489 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
491 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
493 2012-11-21 Matthias Klose <doko@ubuntu.com>
495 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
497 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
499 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
500 * configure: Regenerate.
502 * configure: Regenerate.
504 2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
506 Mark libatomic unsupported in AArch64.
508 * configure.tgt: Mark libatomic unsupported.
510 2012-09-20 Jakub Jelinek <jakub@redhat.com>
513 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
514 * configure: Regenerate.
515 * Makefile.in: Regenerate.
517 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
519 * configure: Regenerated.
521 2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
524 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
526 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
528 * configure: Regenerated.
530 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
533 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
534 instead of overriding.
535 * configure: Regenerate.
537 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
539 * Makefile.am (libatomic.map-sun): Handle objects in
541 * aclocal.m4: Regenerate.
542 * Makefile.in: Regenerate.
544 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
546 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
547 * configure: Regenerate.
549 2012-05-03 Richard Henderson <rth@redhat.com>
551 * configure.ac (AM_MAINTAINER_MODE): New.
552 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
553 failure in gcc_no_link path.
554 * configure, aclocal.m4, Makefile.in: Rebuild.
556 2012-05-01 Richard Henderson <rth@redhat.com>
560 Copyright (C) 2012-2020 Free Software Foundation, Inc.
562 Copying and distribution of this file, with or without modification,
563 are permitted in any medium without royalty provided the copyright
564 notice and this notice are preserved.