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