1 2018-05-23 Florian Weimer <fweimer@redhat.com>
4 x86: Do not assume ELF constructors run before IFUNC resolvers.
5 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
7 (__libat_feat1, __libat_feat1_init): Declare.
8 (FEAT1_REGISTER): Define.
9 (load_feat1): New function.
10 (IFUNC_COND_1): Adjust.
11 * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
12 (init_cpuid): Remove definitions.
13 (__libat_feat1): New variable.
14 (__libat_feat1_init): New function.
16 2018-05-02 Tom de Vries <tom@codesourcery.com>
19 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
21 2018-05-02 Tom de Vries <tom@codesourcery.com>
24 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
26 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
28 * configure: Regenerated.
30 2018-04-19 Jakub Jelinek <jakub@redhat.com>
32 * configure: Regenerated.
34 2018-04-18 David Malcolm <dmalcolm@redhat.com>
37 * configure: Regenerate.
39 2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
41 * config/s390/exch_n.c: New file.
42 * configure.tgt: Add the config directory for s390.
44 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
47 * configure: Regenerate.
49 2018-01-03 Jakub Jelinek <jakub@redhat.com>
51 Update copyright years.
53 2017-12-14 Steve Ellcey <sellcey@cavium.com>
55 * Makefile.am (IFUNC_OPTIONS): Change aarch64
56 option from -march=armv8.1-a to -march=armv8-a+lse.
57 * configure.ac (*aarch64*): Check to see if
58 compiler understands -march=armv8-a+lse option.
59 * configure.tgt (*aarch64*): Only set try_ifunc
60 if compiler understands -march=armv8-a+lse option.
61 * Makefile.in: Regenerate.
62 * testsuite/Makefile.in: Regenerate.
63 * configure: Regenerate.
64 * aclocal.m4: Regenerate.
66 2017-12-04 Steve Ellcey <sellcey@cavium.com>
68 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
70 * config/linux/aarch64/host-config.h: New file.
71 * configure.ac (IFUNC_RESOLVER_ARGS): Define.
72 (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
73 * configure.tgt (aarch64): Set ARCH and try_ifunc.
74 (aarch64*-*-linux*) Update config_path.
75 (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
76 * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
77 * Makefile.in: Regenerate.
78 * auto-config.h.in: Regenerate.
79 * configure: Regenerate.
81 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
83 * configure.ac: Set CET_FLAGS, update XCFLAGS.
84 * acinclude.m4: Add cet.m4 and enable.m4.
85 * configure: Regenerate.
86 * Makefile.in: Likewise.
87 * testsuite/Makefile.in: Likewise.
89 2017-10-20 Richard Earnshaw <rearnsha@arm.com>
91 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
92 -march=armv7-a+fp on Linux/Arm.
93 * Makefile.in: Regenerated.
95 2017-10-02 Martin Sebor <msebor@redhat.com>
98 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
99 a function pointer rather than void* to avoid GCC 8 warnings.
100 * configure: Regenerate.
101 * libatomic_i.h: Declare ifunc resolvers to return function
102 pointers rather than void*.
104 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
106 * testsuite/lib/libatomic.exp: Load scanlang.exp.
108 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
110 * configure.tgt: Add RISC-V tuple.
112 2017-02-01 Richard Henderson <rth@redhat.com>
113 Torvald Riegel <triegel@redhat.com>
115 * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
116 * auto-config.h.in: Regenerate.
117 * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
118 (atomic_compare_exchange_n): New.
119 * glfree.c (EXACT, LARGER): Change condition and add comments.
121 2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
124 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
126 2017-01-21 Jakub Jelinek <jakub@redhat.com>
129 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
130 of cat to get version from BASE-VER file.
131 * testsuite/Makefile.in: Regenerated.
133 2017-01-17 Jakub Jelinek <jakub@redhat.com>
136 * configure.ac: Add GCC_BASE_VER.
137 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
138 get version from BASE-VER file.
139 * testsuite/Makefile.in: Regenerated.
140 * configure: Regenerated.
141 * Makefile.in: Regenerated.
143 2017-01-01 Jakub Jelinek <jakub@redhat.com>
145 Update copyright years.
147 2016-11-15 Matthias Klose <doko@ubuntu.com>
149 * configure: Regenerate.
151 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
153 * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
154 (*-*-rtems*): New supported target.
155 * config/rtems/host-config.h: New file.
156 * config/rtems/lock.c: Likewise.
158 2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
161 * configure.tgt (XCFLAGS): Revert the last change.
163 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
166 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
167 32-bit x86 target library on x86-64.
169 2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
172 * Makefile.am (all-multi): Add dependency.
173 * Makefile.in: Regenerate.
175 2016-01-04 Jakub Jelinek <jakub@redhat.com>
177 Update copyright years.
179 2015-11-18 Joseph Myers <joseph@codesourcery.com>
182 * fence.c, flag.c: New files.
183 * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
184 * Makefile.in: Regenerate.
185 * configure.ac (libtool_VERSION): Change to 3:0:2.
186 * configure: Regenerate.
187 * libatomic.map (LIBATOMIC_1.2): New symbol version.
189 2015-10-09 David Malcolm <dmalcolm@redhat.com>
191 * testsuite/lib/libatomic.exp: Load multiline.exp before
192 prune.exp, using load_gcc_lib.
194 2015-07-14 John Marino <gnugcc@marino.st>
196 * configure.tgt: Add *-*-dragonfly to supported targets.
198 2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
200 * fop_n.c (libat_fetch_op): Align address to word boundary.
201 (libat_op_fetch): Likewise.
203 2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
206 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
207 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
209 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
211 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
213 2015-01-05 Jakub Jelinek <jakub@redhat.com>
215 Update copyright years.
217 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
219 * testsuite/lib/libatomic.exp: Load target-utils.exp
221 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
224 * configure: Regenerated.
226 2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
228 * cas_n.c (libat_compare_exchange): Add missing cast.
230 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
233 * configure: Regenerate.
235 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
237 * configure.tgt: Add cygwin to supported targets.
239 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
241 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
243 2014-06-17 Kai Tietz <ktietz@redhat.com>
245 * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
246 * configure.ac (ACX_LT_HOST_FLAGS): New.
247 (target_thread_file): New.
248 * configure.tgt (mingw): Add mingw support.
249 * config/mingw/host-config.h: New file.
250 * config/mingw/lock.c: Likewise.
251 * Makefile.in: Regenerated.
252 * configure: Likewise.
253 * aclocal.m4: Likewise.
254 * testsuite/Makefile.in: Likewise.
256 2014-02-20 Richard Henderson <rth@redhat.com>
259 * cas_n.c (libat_compare_exchange): Conditionalize on failure
260 the store back to EPTR.
262 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
264 Update copyright years
266 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
268 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
269 instructions when __SSE_MATH__ is defined.
271 2013-11-18 Joseph Myers <joseph@codesourcery.com>
273 * testsuite/libatomic.c/atomic-compare-exchange-1.c,
274 testsuite/libatomic.c/atomic-compare-exchange-2.c,
275 testsuite/libatomic.c/atomic-compare-exchange-3.c,
276 testsuite/libatomic.c/atomic-compare-exchange-4.c,
277 testsuite/libatomic.c/atomic-compare-exchange-5.c,
278 testsuite/libatomic.c/atomic-exchange-1.c,
279 testsuite/libatomic.c/atomic-exchange-2.c,
280 testsuite/libatomic.c/atomic-exchange-3.c,
281 testsuite/libatomic.c/atomic-exchange-4.c,
282 testsuite/libatomic.c/atomic-exchange-5.c,
283 testsuite/libatomic.c/atomic-generic.c,
284 testsuite/libatomic.c/atomic-load-1.c,
285 testsuite/libatomic.c/atomic-load-2.c,
286 testsuite/libatomic.c/atomic-load-3.c,
287 testsuite/libatomic.c/atomic-load-4.c,
288 testsuite/libatomic.c/atomic-load-5.c,
289 testsuite/libatomic.c/atomic-op-1.c,
290 testsuite/libatomic.c/atomic-op-2.c,
291 testsuite/libatomic.c/atomic-op-3.c,
292 testsuite/libatomic.c/atomic-op-4.c,
293 testsuite/libatomic.c/atomic-op-5.c,
294 testsuite/libatomic.c/atomic-store-1.c,
295 testsuite/libatomic.c/atomic-store-2.c,
296 testsuite/libatomic.c/atomic-store-3.c,
297 testsuite/libatomic.c/atomic-store-4.c,
298 testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
299 int. Do not require built-in sync support or add target-specific
301 * testsuite/libatomic.c/atomic-exchange-1.c,
302 testsuite/libatomic.c/atomic-exchange-2.c,
303 testsuite/libatomic.c/atomic-exchange-3.c,
304 testsuite/libatomic.c/atomic-exchange-4.c,
305 testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
306 count from expression using value of count.
308 2013-11-10 Uros Bizjak <ubizjak@gmail.com>
310 * config/x86/fenv.c: New file.
312 2013-11-07 Joseph Myers <joseph@codesourcery.com>
315 * libatomic.map (LIBATOMIC_1.1): New symbol version. Include
316 __atomic_feraiseexcept.
317 * configure.ac (libtool_VERSION): Change to 2:0:1.
318 (fenv.h): Test for header.
319 * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
320 * Makefile.in, auto-config.h.in, configure: Regenerate.
322 2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
324 * libatomic/configure.tgt (aarch64*): Remove code preventing
327 2013-09-20 Alan Modra <amodra@gmail.com>
329 * configure: Regenerate.
331 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
333 Update copyright years.
335 2012-12-18 Ian Lance Taylor <iant@google.com>
338 * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
339 (libatomic_convenience_la_SOURCES): Likewise.
340 (libatomic_convenience_la_LIBADD): Likewise.
341 * Makefile.in: Rebuild.
342 * testsuite/Makefile.in: Rebuild.
344 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
346 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
348 2012-11-21 Matthias Klose <doko@ubuntu.com>
350 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
352 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
354 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
355 * configure: Regenerate.
357 * configure: Regenerate.
359 2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
361 Mark libatomic unsupported in AArch64.
363 * configure.tgt: Mark libatomic unsupported.
365 2012-09-20 Jakub Jelinek <jakub@redhat.com>
368 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
369 * configure: Regenerate.
370 * Makefile.in: Regenerate.
372 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
374 * configure: Regenerated.
376 2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
379 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
381 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
383 * configure: Regenerated.
385 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
388 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
389 instead of overriding.
390 * configure: Regenerate.
392 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
394 * Makefile.am (libatomic.map-sun): Handle objects in
396 * aclocal.m4: Regenerate.
397 * Makefile.in: Regenerate.
399 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
401 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
402 * configure: Regenerate.
404 2012-05-03 Richard Henderson <rth@redhat.com>
406 * configure.ac (AM_MAINTAINER_MODE): New.
407 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
408 failure in gcc_no_link path.
409 * configure, aclocal.m4, Makefile.in: Rebuild.
411 2012-05-01 Richard Henderson <rth@redhat.com>
415 Copyright (C) 2012-2018 Free Software Foundation, Inc.
417 Copying and distribution of this file, with or without modification,
418 are permitted in any medium without royalty provided the copyright
419 notice and this notice are preserved.