1 2019-06-14 Matt Thomas <matt@3am-software.com>
2 Matthew Green <mrg@eterna.com.au>
3 Nick Hudson <skrll@netbsd.org>
4 Maya Rashish <coypu@sdf.org>
6 * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
8 2019-01-01 Jakub Jelinek <jakub@redhat.com>
10 Update copyright years.
12 2018-10-31 Joseph Myers <joseph@codesourcery.com>
15 * Makefile.am: Include multilib.am.
16 * acinclude.m4: Use AC_LANG_SOURCE.
17 * configure.ac: Remove AC_PREREQ.
18 * testsuite/Makefile.am (RUNTEST): Remove quotes.
19 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
22 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
24 * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
25 __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
28 2018-05-23 Florian Weimer <fweimer@redhat.com>
31 x86: Do not assume ELF constructors run before IFUNC resolvers.
32 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
34 (__libat_feat1, __libat_feat1_init): Declare.
35 (FEAT1_REGISTER): Define.
36 (load_feat1): New function.
37 (IFUNC_COND_1): Adjust.
38 * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
39 (init_cpuid): Remove definitions.
40 (__libat_feat1): New variable.
41 (__libat_feat1_init): New function.
43 2018-05-02 Tom de Vries <tom@codesourcery.com>
46 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
48 2018-05-02 Tom de Vries <tom@codesourcery.com>
51 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
53 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
55 * configure: Regenerated.
57 2018-04-19 Jakub Jelinek <jakub@redhat.com>
59 * configure: Regenerated.
61 2018-04-18 David Malcolm <dmalcolm@redhat.com>
64 * configure: Regenerate.
66 2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
68 * config/s390/exch_n.c: New file.
69 * configure.tgt: Add the config directory for s390.
71 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
74 * configure: Regenerate.
76 2018-01-03 Jakub Jelinek <jakub@redhat.com>
78 Update copyright years.
80 2017-12-14 Steve Ellcey <sellcey@cavium.com>
82 * Makefile.am (IFUNC_OPTIONS): Change aarch64
83 option from -march=armv8.1-a to -march=armv8-a+lse.
84 * configure.ac (*aarch64*): Check to see if
85 compiler understands -march=armv8-a+lse option.
86 * configure.tgt (*aarch64*): Only set try_ifunc
87 if compiler understands -march=armv8-a+lse option.
88 * Makefile.in: Regenerate.
89 * testsuite/Makefile.in: Regenerate.
90 * configure: Regenerate.
91 * aclocal.m4: Regenerate.
93 2017-12-04 Steve Ellcey <sellcey@cavium.com>
95 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
97 * config/linux/aarch64/host-config.h: New file.
98 * configure.ac (IFUNC_RESOLVER_ARGS): Define.
99 (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
100 * configure.tgt (aarch64): Set ARCH and try_ifunc.
101 (aarch64*-*-linux*) Update config_path.
102 (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
103 * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
104 * Makefile.in: Regenerate.
105 * auto-config.h.in: Regenerate.
106 * configure: Regenerate.
108 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
110 * configure.ac: Set CET_FLAGS, update XCFLAGS.
111 * acinclude.m4: Add cet.m4 and enable.m4.
112 * configure: Regenerate.
113 * Makefile.in: Likewise.
114 * testsuite/Makefile.in: Likewise.
116 2017-10-20 Richard Earnshaw <rearnsha@arm.com>
118 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
119 -march=armv7-a+fp on Linux/Arm.
120 * Makefile.in: Regenerated.
122 2017-10-02 Martin Sebor <msebor@redhat.com>
125 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
126 a function pointer rather than void* to avoid GCC 8 warnings.
127 * configure: Regenerate.
128 * libatomic_i.h: Declare ifunc resolvers to return function
129 pointers rather than void*.
131 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
133 * testsuite/lib/libatomic.exp: Load scanlang.exp.
135 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
137 * configure.tgt: Add RISC-V tuple.
139 2017-02-01 Richard Henderson <rth@redhat.com>
140 Torvald Riegel <triegel@redhat.com>
142 * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
143 * auto-config.h.in: Regenerate.
144 * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
145 (atomic_compare_exchange_n): New.
146 * glfree.c (EXACT, LARGER): Change condition and add comments.
148 2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
151 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
153 2017-01-21 Jakub Jelinek <jakub@redhat.com>
156 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
157 of cat to get version from BASE-VER file.
158 * testsuite/Makefile.in: Regenerated.
160 2017-01-17 Jakub Jelinek <jakub@redhat.com>
163 * configure.ac: Add GCC_BASE_VER.
164 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
165 get version from BASE-VER file.
166 * testsuite/Makefile.in: Regenerated.
167 * configure: Regenerated.
168 * Makefile.in: Regenerated.
170 2017-01-01 Jakub Jelinek <jakub@redhat.com>
172 Update copyright years.
174 2016-11-15 Matthias Klose <doko@ubuntu.com>
176 * configure: Regenerate.
178 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
180 * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
181 (*-*-rtems*): New supported target.
182 * config/rtems/host-config.h: New file.
183 * config/rtems/lock.c: Likewise.
185 2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
188 * configure.tgt (XCFLAGS): Revert the last change.
190 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
193 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
194 32-bit x86 target library on x86-64.
196 2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
199 * Makefile.am (all-multi): Add dependency.
200 * Makefile.in: Regenerate.
202 2016-01-04 Jakub Jelinek <jakub@redhat.com>
204 Update copyright years.
206 2015-11-18 Joseph Myers <joseph@codesourcery.com>
209 * fence.c, flag.c: New files.
210 * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
211 * Makefile.in: Regenerate.
212 * configure.ac (libtool_VERSION): Change to 3:0:2.
213 * configure: Regenerate.
214 * libatomic.map (LIBATOMIC_1.2): New symbol version.
216 2015-10-09 David Malcolm <dmalcolm@redhat.com>
218 * testsuite/lib/libatomic.exp: Load multiline.exp before
219 prune.exp, using load_gcc_lib.
221 2015-07-14 John Marino <gnugcc@marino.st>
223 * configure.tgt: Add *-*-dragonfly to supported targets.
225 2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
227 * fop_n.c (libat_fetch_op): Align address to word boundary.
228 (libat_op_fetch): Likewise.
230 2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
233 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
234 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
236 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
238 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
240 2015-01-05 Jakub Jelinek <jakub@redhat.com>
242 Update copyright years.
244 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
246 * testsuite/lib/libatomic.exp: Load target-utils.exp
248 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
251 * configure: Regenerated.
253 2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
255 * cas_n.c (libat_compare_exchange): Add missing cast.
257 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
260 * configure: Regenerate.
262 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
264 * configure.tgt: Add cygwin to supported targets.
266 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
268 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
270 2014-06-17 Kai Tietz <ktietz@redhat.com>
272 * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
273 * configure.ac (ACX_LT_HOST_FLAGS): New.
274 (target_thread_file): New.
275 * configure.tgt (mingw): Add mingw support.
276 * config/mingw/host-config.h: New file.
277 * config/mingw/lock.c: Likewise.
278 * Makefile.in: Regenerated.
279 * configure: Likewise.
280 * aclocal.m4: Likewise.
281 * testsuite/Makefile.in: Likewise.
283 2014-02-20 Richard Henderson <rth@redhat.com>
286 * cas_n.c (libat_compare_exchange): Conditionalize on failure
287 the store back to EPTR.
289 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
291 Update copyright years
293 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
295 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
296 instructions when __SSE_MATH__ is defined.
298 2013-11-18 Joseph Myers <joseph@codesourcery.com>
300 * testsuite/libatomic.c/atomic-compare-exchange-1.c,
301 testsuite/libatomic.c/atomic-compare-exchange-2.c,
302 testsuite/libatomic.c/atomic-compare-exchange-3.c,
303 testsuite/libatomic.c/atomic-compare-exchange-4.c,
304 testsuite/libatomic.c/atomic-compare-exchange-5.c,
305 testsuite/libatomic.c/atomic-exchange-1.c,
306 testsuite/libatomic.c/atomic-exchange-2.c,
307 testsuite/libatomic.c/atomic-exchange-3.c,
308 testsuite/libatomic.c/atomic-exchange-4.c,
309 testsuite/libatomic.c/atomic-exchange-5.c,
310 testsuite/libatomic.c/atomic-generic.c,
311 testsuite/libatomic.c/atomic-load-1.c,
312 testsuite/libatomic.c/atomic-load-2.c,
313 testsuite/libatomic.c/atomic-load-3.c,
314 testsuite/libatomic.c/atomic-load-4.c,
315 testsuite/libatomic.c/atomic-load-5.c,
316 testsuite/libatomic.c/atomic-op-1.c,
317 testsuite/libatomic.c/atomic-op-2.c,
318 testsuite/libatomic.c/atomic-op-3.c,
319 testsuite/libatomic.c/atomic-op-4.c,
320 testsuite/libatomic.c/atomic-op-5.c,
321 testsuite/libatomic.c/atomic-store-1.c,
322 testsuite/libatomic.c/atomic-store-2.c,
323 testsuite/libatomic.c/atomic-store-3.c,
324 testsuite/libatomic.c/atomic-store-4.c,
325 testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
326 int. Do not require built-in sync support or add target-specific
328 * testsuite/libatomic.c/atomic-exchange-1.c,
329 testsuite/libatomic.c/atomic-exchange-2.c,
330 testsuite/libatomic.c/atomic-exchange-3.c,
331 testsuite/libatomic.c/atomic-exchange-4.c,
332 testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
333 count from expression using value of count.
335 2013-11-10 Uros Bizjak <ubizjak@gmail.com>
337 * config/x86/fenv.c: New file.
339 2013-11-07 Joseph Myers <joseph@codesourcery.com>
342 * libatomic.map (LIBATOMIC_1.1): New symbol version. Include
343 __atomic_feraiseexcept.
344 * configure.ac (libtool_VERSION): Change to 2:0:1.
345 (fenv.h): Test for header.
346 * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
347 * Makefile.in, auto-config.h.in, configure: Regenerate.
349 2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
351 * libatomic/configure.tgt (aarch64*): Remove code preventing
354 2013-09-20 Alan Modra <amodra@gmail.com>
356 * configure: Regenerate.
358 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
360 Update copyright years.
362 2012-12-18 Ian Lance Taylor <iant@google.com>
365 * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
366 (libatomic_convenience_la_SOURCES): Likewise.
367 (libatomic_convenience_la_LIBADD): Likewise.
368 * Makefile.in: Rebuild.
369 * testsuite/Makefile.in: Rebuild.
371 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
373 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
375 2012-11-21 Matthias Klose <doko@ubuntu.com>
377 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
379 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
381 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
382 * configure: Regenerate.
384 * configure: Regenerate.
386 2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
388 Mark libatomic unsupported in AArch64.
390 * configure.tgt: Mark libatomic unsupported.
392 2012-09-20 Jakub Jelinek <jakub@redhat.com>
395 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
396 * configure: Regenerate.
397 * Makefile.in: Regenerate.
399 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
401 * configure: Regenerated.
403 2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
406 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
408 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
410 * configure: Regenerated.
412 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
415 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
416 instead of overriding.
417 * configure: Regenerate.
419 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
421 * Makefile.am (libatomic.map-sun): Handle objects in
423 * aclocal.m4: Regenerate.
424 * Makefile.in: Regenerate.
426 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
428 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
429 * configure: Regenerate.
431 2012-05-03 Richard Henderson <rth@redhat.com>
433 * configure.ac (AM_MAINTAINER_MODE): New.
434 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
435 failure in gcc_no_link path.
436 * configure, aclocal.m4, Makefile.in: Rebuild.
438 2012-05-01 Richard Henderson <rth@redhat.com>
442 Copyright (C) 2012-2019 Free Software Foundation, Inc.
444 Copying and distribution of this file, with or without modification,
445 are permitted in any medium without royalty provided the copyright
446 notice and this notice are preserved.