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