Debian Codegraph @

libatomic/ChangeLog

raw
1 2026-06-12 Release Manager
2
3 * GCC 15.3.0 released.
4
5 2025-08-08 Release Manager
6
7 * GCC 15.2.0 released.
8
9 2025-04-25 Release Manager
10
11 * GCC 15.1.0 released.
12
13 2025-04-16 Jakub Jelinek <[email protected]>
14
15 PR libgcc/101075
16 PR libgcc/119796
17 * config/mingw/lock.c (libat_lock_n, libat_unlock_n): Start with
18 computing how many locks will be needed and take into account
19 ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the
20 locks array and others from the start of it will be needed, first
21 lock the ones from the start followed by ones from the end.
22
23 2025-04-16 Jakub Jelinek <[email protected]>
24
25 PR libgcc/101075
26 PR libgcc/119796
27 * config/posix/lock.c (libat_lock_n, libat_unlock_n): Start with
28 computing how many locks will be needed and take into account
29 ((uintptr_t)ptr % WATCH_SIZE). If some locks from the end of the
30 locks array and others from the start of it will be needed, first
31 lock the ones from the start followed by ones from the end.
32
33 2025-01-10 Wilco Dijkstra <[email protected]>
34
35 * config/linux/aarch64/host-config.h (has_lse2): Cleanup.
36 (has_lse128): Likewise.
37 (has_rcpc3): Add early check for LSE2.
38
39 2024-12-18 Prathamesh Kulkarni <[email protected]>
40
41 Revert:
42 2024-12-18 Prathamesh Kulkarni <[email protected]>
43 Matthew Malcolmson <[email protected]>
44
45 PR driver/81358
46 * Makefile.am: Pass -fno-link-libatomic.
47 New rule all.
48 * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic.
49 * Makefile.in: Regenerate.
50 * configure: Regenerate.
51
52 2024-12-18 Prathamesh Kulkarni <[email protected]>
53 Matthew Malcolmson <[email protected]>
54
55 PR driver/81358
56 * Makefile.am: Pass -fno-link-libatomic.
57 New rule all.
58 * configure.ac: Assert that CFLAGS is set and pass -fno-link-libatomic.
59 * Makefile.in: Regenerate.
60 * configure: Regenerate.
61
62 2024-11-18 David Malcolm <[email protected]>
63
64 * testsuite/lib/libatomic.exp: Add
65 "load_gcc_lib dg-test-cleanup.exp".
66
67 2024-11-14 Szabolcs Nagy <[email protected]>
68
69 * config/linux/aarch64/atomic_16.S (FEATURE_1_GCS): Define.
70 (GCS_FLAG): Define if GCS is enabled.
71 (GNU_PROPERTY): Add GCS_FLAG.
72
73 2024-09-02 Alex Coplan <[email protected]>
74
75 * testsuite/lib/libatomic.exp: Load scanltrans.exp instead of
76 scanltranstree.exp.
77
78 2024-07-18 mayshao <[email protected]>
79
80 PR target/104688
81 * config/x86/init.c (__libat_feat1_init): Don't clear
82 bit_AVX on ZHAOXIN CPUs.
83
84 2024-07-18 Uros Bizjak <[email protected]>
85
86 * config/x86/init.c (__libat_feat1_init): Check the result of
87 __get_cpuid and process FEAT1_REGISTER only when __get_cpuid
88 returns success. Use __cpuid instead of nested __get_cpuid.
89
90 2024-06-25 Victor Do Nascimento <[email protected]>
91
92 * config/linux/aarch64/atomic_16.S (libat_load_16): Add LRCPC3
93 variant.
94 (libat_store_16): Likewise.
95 * config/linux/aarch64/host-config.h (HWCAP2_LRCPC3): New.
96 (LSE2_LRCPC3_ATOP): Previously LSE2_ATOP. New ifuncs guarded
97 under it.
98 (has_rcpc3): New.
99
100 2024-06-12 Victor Do Nascimento <[email protected]>
101
102 * config/linux/aarch64/atomic_16.S: Reorganize functions in
103 file.
104 (HAVE_FEAT_LSE2): Delete.
105
106 2024-06-12 Victor Do Nascimento <[email protected]>
107
108 * config/linux/aarch64/atomic_16.S: Remove unnecessary
109 aliasing.
110 (LSE): New.
111 (ENTRY_ALIASED): Likewise.
112 * config/linux/aarch64/host-config.h (LSE_ATOP): New.
113 (LSE2_ATOP): Likewise.
114 (LSE128_ATOP): Likewise.
115 (IFUNC_COND_1): Make its definition conditional on above 3
116 macros.
117 (IFUNC_NCOND): Likewise.
118
119 2024-06-12 Victor Do Nascimento <[email protected]>
120
121 * cas_n.c (LAT_CAS_N): New.
122 * exch_n.c (LAT_EXCH_N): Likewise.
123 * fadd_n.c (LAT_FADD_N): Likewise.
124 * fand_n.c (LAT_FAND_N): Likewise.
125 * fence.c (LAT_FENCE): Likewise.
126 * fenv.c (LAT_FENV): Likewise.
127 * fior_n.c (LAT_FIOR_N): Likewise.
128 * flag.c (LAT_FLAG): Likewise.
129 * fnand_n.c (LAT_FNAND_N): Likewise.
130 * fop_n.c (LAT_FOP_N): Likewise
131 * fsub_n.c (LAT_FSUB_N): Likewise.
132 * fxor_n.c (LAT_FXOR_N): Likewise.
133 * gcas.c (LAT_GCAS): Likewise.
134 * gexch.c (LAT_GEXCH): Likewise.
135 * glfree.c (LAT_GLFREE): Likewise.
136 * gload.c (LAT_GLOAD): Likewise.
137 * gstore.c (LAT_GSTORE): Likewise.
138 * load_n.c (LAT_LOAD_N): Likewise.
139 * store_n.c (LAT_STORE_N): Likewise.
140 * tas_n.c (LAT_TAS_N): Likewise.
141
142 2024-06-12 Victor Do Nascimento <[email protected]>
143
144 * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): Delete.
145 * auto-config.h.in (HAVE_FEAT_LSE128): Likewise
146 * config/linux/aarch64/atomic_16.S: Replace all LSE128
147 instructions with equivalent `.inst' directives.
148 (HAVE_FEAT_LSE128): Remove all references.
149 * configure: Regenerate.
150 * configure.ac: Remove call to LIBAT_TEST_FEAT_AARCH64_LSE128.
151
152 2024-05-31 Rainer Orth <[email protected]>
153
154 PR testsuite/115294
155 * testsuite/lib/libatomic.exp (libatomic_target_compile): Pass new
156 dg-additional-files-options args.
157
158 2024-05-07 Zac Walker <[email protected]>
159
160 * configure.tgt: Add aarch64-w64-mingw32 target.
161
162 2024-05-07 Rainer Orth <[email protected]>
163
164 * Makefile.am [LIBAT_BUILD_VERSIONED_SHLIB_SUN]
165 (libatomic.map-sun): Pass $(libatomic_la_OBJECTS),
166 $(libatomic_la_LIBADD) to make_sunver.pl unmodified.
167 * Makefile.in: Regenerate.
168
169 2024-04-26 Wilco Dijkstra <[email protected]>
170
171 * config/linux/aarch64/atomic_16.S: Add __libat_ prefix in the
172 LSE2/LSE128/CORE macros, remove elsewhere. Add ATOMIC macro.
173
174 2024-04-05 Jakub Jelinek <[email protected]>
175
176 * configure: Regenerate.
177
178 2024-04-04 Wilco Dijkstra <[email protected]>
179
180 PR target/113986
181 * Makefile.in: Regenerated.
182 * Makefile.am: Make atomic_16.S not depend on HAVE_IFUNC.
183 Remove predefine of HAVE_FEAT_LSE128.
184 * acinclude.m4: Remove ARCH_AARCH64_HAVE_LSE128.
185 * configure: Regenerated.
186 * config/linux/aarch64/atomic_16.S: Add __atomic_ alias if !HAVE_IFUNC.
187 * config/linux/aarch64/host-config.h: Correctly handle !HAVE_IFUNC.
188 Add defines for HWCAP_ATOMICS and HWCAP_CPUID.
189
190 2024-02-14 Roger Sayle <[email protected]>
191 Victor Do Nascimento <[email protected]>
192
193 PR other/113336
194 * Makefile.am: Build tas_1_2_.o on ARCH_ARM_LINUX
195 * Makefile.in: Regenerate.
196
197 2024-02-03 John David Anglin <[email protected]>
198
199 PR target/59778
200 * configure.tgt (hppa*): Set ARCH.
201 * config/pa/fenv.c: New file.
202
203 2024-01-28 Victor Do Nascimento <[email protected]>
204
205 * config/linux/aarch64/host-config.h (has_lse2): Add test for LSE.
206 (has_lse128): Add test for LSE2.
207
208 2024-01-28 Victor Do Nascimento <[email protected]>
209
210 * Makefile.am (AM_CPPFLAGS): add conditional setting of
211 -DHAVE_FEAT_LSE128.
212 * acinclude.m4 (LIBAT_TEST_FEAT_AARCH64_LSE128): New.
213 * config/linux/aarch64/atomic_16.S (LSE128): New macro
214 definition.
215 (libat_exchange_16): New LSE128 variant.
216 (libat_fetch_or_16): Likewise.
217 (libat_or_fetch_16): Likewise.
218 (libat_fetch_and_16): Likewise.
219 (libat_and_fetch_16): Likewise.
220 * config/linux/aarch64/host-config.h (IFUNC_COND_2): New.
221 (IFUNC_NCOND): Add operand size checking.
222 (has_lse2): Renamed from `ifunc1`.
223 (has_lse128): New.
224 (HWCAP2_LSE128): Likewise.
225 * configure.ac: Add call to
226 LIBAT_TEST_FEAT_AARCH64_LSE128.
227 * configure (ac_subst_vars): Regenerated via autoreconf.
228 * Makefile.in: Likewise.
229 * auto-config.h.in: Likewise.
230
231 2024-01-28 Victor Do Nascimento <[email protected]>
232
233 * config/linux/aarch64/host-config.h (__ifunc_arg_t):
234 Conditionally-defined if `sys/ifunc.h' not found.
235 (_IFUNC_ARG_HWCAP): Likewise.
236 (IFUNC_COND_1): Pass __ifunc_arg_t argument to ifunc.
237 (ifunc1): Modify function signature to accept __ifunc_arg_t
238 argument.
239 * configure.tgt: Add second `const __ifunc_arg_t *features'
240 argument to IFUNC_RESOLVER_ARGS.
241
242 2024-01-28 Victor Do Nascimento <[email protected]>
243
244 * config/linux/aarch64/atomic_16.S (CORE): New macro.
245 (LSE2): Likewise.
246 (ENTRY_FEAT): Likewise.
247 (ENTRY_FEAT1): Likewise.
248 (END_FEAT): Likewise.
249 (END_FEAT1): Likewise.
250 (ALIAS): Modify macro to take in `arch' arguments.
251 (ALIAS1): New.
252
253 2023-12-15 Wilco Dijkstra <[email protected]>
254
255 * config/linux/aarch64/atomic_16.S: Implement lock-free ARMv8.0 atomics.
256 (libat_exchange_16): Merge RELEASE and ACQ_REL/SEQ_CST cases.
257 * config/linux/aarch64/host-config.h: Use atomic_16.S for baseline v8.0.
258
259 2023-11-10 Wilco Dijkstra <[email protected]>
260
261 * config/linux/aarch64/host-config.h (ifunc1): Use CPUID in ifunc
262 selection.
263
264 2023-10-26 Thomas Schwinge <[email protected]>
265
266 PR testsuite/109951
267 * configure.ac: 'AC_SUBST(SYSROOT_CFLAGS_FOR_TARGET)'.
268 * Makefile.in: Regenerate.
269 * configure: Likewise.
270 * testsuite/Makefile.in: Likewise.
271 * testsuite/lib/libatomic.exp (libatomic_init): If
272 '--with-build-sysroot=[...]' was specified, use it for build-tree
273 testing.
274 * testsuite/libatomic-site-extra.exp.in (GCC_UNDER_TEST): Don't
275 set.
276 (SYSROOT_CFLAGS_FOR_TARGET): Set.
277
278 2023-10-23 Jan Beulich <[email protected]>
279
280 * Makefile.am (all-multi): Drop commands.
281 * Makefile.in: Update accordingly.
282
283 2023-10-22 Iain Sandoe <[email protected]>
284
285 * testsuite/lib/libatomic.exp: Pass correct flags on darwin.
286
287 2023-10-22 Iain Sandoe <[email protected]>
288
289 * Makefile.am: Handle Darwin rpaths.
290 * Makefile.in: Regenerate.
291 * configure: Regenerate.
292 * configure.ac: Handle Darwin rpaths.
293
294 2023-08-07 Nick Alcock <[email protected]>
295
296 * configure: Regenerate.
297
298 2023-08-07 Alexander von Gluck IV <[email protected]>
299
300 * configure: Regenerate.
301
302 2023-08-07 Nick Alcock <[email protected]>
303
304 * configure: Regenerate.
305
306 2023-08-07 Nick Alcock <[email protected]>
307
308 * configure: Regenerate.
309
310 2023-08-07 H.J. Lu <[email protected]>
311
312 * configure: Regenerate.
313
314 2023-08-07 H.J. Lu <[email protected]>
315
316 * configure: Regenerate.
317
318 2023-06-10 Xi Ruoyao <[email protected]>
319
320 * configure.tgt: For x86_64, always set try_ifunc=yes.
321
322 2023-06-02 Thomas Schwinge <[email protected]>
323
324 * configure.ac (PERL): Remove.
325 * configure: Regenerate.
326 * Makefile.in: Likewise.
327 * testsuite/Makefile.in: Likewise.
328
329 2023-03-24 Wilco Dijkstra <[email protected]>
330
331 PR libgcc/108891
332 * config/linux/aarch64/atomic_16.S: Fix libat_load_16_i1.
333 Add comments describing the memory order.
334
335 2023-03-03 Stefan Schulze Frielinghaus <[email protected]>
336
337 * config/s390/cas_n.c: New file.
338 * config/s390/load_n.c: New file.
339 * config/s390/store_n.c: New file.
340
341 2023-01-16 Jonathan Wakely <[email protected]>
342
343 * configure.tgt (config_path) [target_thread_file=single]:
344 Use 'mingw' config.
345
346 2023-01-07 LIU Hao <[email protected]>
347
348 PR middle-end/108300
349 * config/mingw/lock.c: Define `WIN32_LEAN_AND_MEAN` before
350 <windows.h>.
351
352 2022-11-16 Martin Liska <[email protected]>
353
354 * Makefile.in: Re-generate.
355
356 2022-11-15 Wilco Dijkstra <[email protected]>
357
358 * Makefile.in: Regenerated with automake 1.15.1.
359 * Makefile.am: Add atomic_16.S for AArch64.
360 * configure.tgt: Disable outline atomics in AArch64 build.
361 * config/linux/aarch64/atomic_16.S: New file - implementation of
362 ifuncs for 16-byte atomics.
363 * config/linux/aarch64/host-config.h: Enable ifuncs, use LSE
364 (HWCAP_ATOMICS) for 1-8-byte atomics and LSE2 (HWCAP_USCAT) for
365 16-byte atomics.
366
367 2022-11-15 Jakub Jelinek <[email protected]>
368
369 PR target/104688
370 * config/x86/init.c (__libat_feat1_init): Don't clear
371 bit_AVX on AMD CPUs.
372
373 2022-10-19 LIU Hao <[email protected]>
374
375 * configure.tgt: Add new case for `mcf` thread model
376
377 2022-10-12 Martin Liska <[email protected]>
378
379 * configure: Regenerate.
380
381 2022-10-11 Olivier Hainque <[email protected]>
382 Olivier Hainque <[email protected]>
383
384 * configure: Regenerate.
385
386 2022-08-30 Martin Liska <[email protected]>
387
388 * testsuite/Makefile.in: Regenerate.
389
390 2022-08-08 Tamar Christina <[email protected]>
391
392 PR target/102218
393 * config/arm/host-config.h (pre_seq_barrier, post_seq_barrier,
394 pre_post_seq_barrier): Require barrier on __ATOMIC_SEQ_CST.
395
396 2022-08-08 Tamar Christina <[email protected]>
397
398 PR target/102218
399 * config/aarch64/aarch64-config.h: New file.
400 * config/aarch64/host-config.h: New file.
401
402 2022-06-02 David Malcolm <[email protected]>
403
404 * testsuite/lib/libatomic.exp: Add load_gcc_lib of scansarif.exp.
405
406 2022-03-24 Tom de Vries <[email protected]>
407
408 PR target/105011
409 * tas_n.c (libat_test_and_set): Fix return value.
410
411 2022-03-17 Jakub Jelinek <[email protected]>
412
413 PR target/104688
414 * Makefile.am (IFUNC_OPTIONS): Change on x86_64 to -mcx16 -mcx16.
415 (libatomic_la_LIBADD): Add $(addsuffix _16_2_.lo,$(SIZEOBJS)) for
416 x86_64.
417 * Makefile.in: Regenerated.
418 * config/x86/host-config.h (IFUNC_COND_1): For x86_64 define to
419 both AVX and CMPXCHG16B bits.
420 (IFUNC_COND_2): Define.
421 (IFUNC_NCOND): For x86_64 define to 2 * (N == 16).
422 (MAYBE_HAVE_ATOMIC_CAS_16, MAYBE_HAVE_ATOMIC_EXCHANGE_16,
423 MAYBE_HAVE_ATOMIC_LDST_16): Define to IFUNC_COND_2 rather than
424 IFUNC_COND_1.
425 (HAVE_ATOMIC_CAS_16): Redefine to 1 whenever IFUNC_ALT != 0.
426 (HAVE_ATOMIC_LDST_16): Redefine to 1 whenever IFUNC_ALT == 1.
427 (atomic_compare_exchange_n): Define whenever IFUNC_ALT != 0
428 on x86_64 for N == 16.
429 (__atomic_load_n, __atomic_store_n): Redefine whenever IFUNC_ALT == 1
430 on x86_64 for N == 16.
431 (atomic_load_n, atomic_store_n): New functions.
432 * config/x86/init.c (__libat_feat1_init): On x86_64 clear bit_AVX
433 if CPU vendor is not Intel.
434
435 2022-02-03 David Seifert <[email protected]>
436 Jakub Jelinek <[email protected]>
437
438 * configure.ac: Support --disable-werror.
439 * configure: Regenerate.
440
441 2022-01-31 Martin Liska <[email protected]>
442
443 * acinclude.m4: Detect *_ld_is_mold and use it.
444 * configure: Regenerate.
445
446 2022-01-24 Martin Liska <[email protected]>
447
448 * acinclude.m4: Remove duplicate
449 LIBAT_CHECK_LINKER_FEATURES.
450 * configure: Regenerate.
451
452 2021-07-21 Martin Sebor <[email protected]>
453
454 PR bootstrap/101379
455 * config/linux/arm/host-config.h (__kernel_helper_version): New
456 function. Adjust shadow macro.
457
458 2021-01-15 Jakub Jelinek <[email protected]>
459
460 PR target/70454
461 * configure.tgt: For i?86 and x86_64 determine if -march=i486 needs to
462 be added through preprocessor check on
463 __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4. Determine if try_ifunc is needed
464 based on preprocessor check on __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16
465 or __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8.
466
467 2021-01-05 Samuel Thibault <[email protected]>
468
469 * configure: Re-generate.
470
471 2020-12-05 Iain Sandoe <[email protected]>
472
473 PR target/97865
474 * configure: Regenerate.
475
476 2020-11-29 John David Anglin <[email protected]>
477
478 * configure: Regenerate.
479
480 2020-10-11 Clement Chigot <[email protected]>
481
482 * config/t-aix: Delete and recreate libatomic before creating
483 FAT library.
484
485 2020-09-27 Clement Chigot <[email protected]>
486
487 * config/t-aix: Use $(AR) without -X32_64.
488
489 2020-09-11 Tom de Vries <[email protected]>
490
491 PR target/96898
492 * configure.tgt: Add nvptx.
493 * libatomic_i.h (MASK_8, INVERT_MASK_8): New macro definition.
494 * config/nvptx/host-config.h: New file.
495 * config/nvptx/lock.c: New file.
496
497 2020-09-07 Tom de Vries <[email protected]>
498
499 * testsuite/libatomic.c/atomic-generic.c: Include string.h.
500
501 2020-07-14 David Edelsohn <[email protected]>
502
503 * config/t-aix: Set BITS from compiler cpp macro.
504
505 2020-06-22 David Edelsohn <[email protected]>
506
507 * Makefile.am: Use -include.
508 * Makefile.in: Regenerate.
509
510 2020-06-21 David Edelsohn <[email protected]>
511
512 * Makefile.am (tmake_file): Build and install AIX-style FAT libraries.
513 * Makefile.in: Regenerate.
514 * configure.ac (tmake_file): Substitute.
515 * configure: Regenerate.
516 * configure.tgt (powerpc-ibm-aix*): Define tmake_file.
517 * config/t-aix: New file.
518
519 2020-06-01 UroÅ¡ Bizjak <[email protected]>
520
521 * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
522
523 2020-05-29 H.J. Lu <[email protected]>
524
525 PR bootstrap/95413
526 * configure: Regenerated.
527
528 2020-05-15 H.J. Lu <[email protected]>
529
530 PR bootstrap/95147
531 * configure: Regenerated.
532
533 2020-05-14 H.J. Lu <[email protected]>
534
535 * configure: Regenerated.
536
537 2020-05-06 UroÅ¡ Bizjak <[email protected]>
538
539 * config/x86/fenv.c (__math_force_eval): Remove.
540 (__math_force_eval_div): New define.
541 (__atomic_deraiseexcept): Use __math_force_eval_div to use
542 generic division to generate INVALID, DIVZERO and INEXACT
543 exceptions.
544
545 2020-05-01 UroÅ¡ Bizjak <[email protected]>
546
547 * config/x86/fenv.c (__math_force_eval): New define.
548 (__atomic_feraiseexcept): Use __math_force_eval to evaluate
549 generic division to generate INVALID and DIVZERO exceptions.
550
551 2020-04-19 UroÅ¡ Bizjak <[email protected]>
552
553 * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
554 Remove unneeded assignments to volatile memory.
555
556 2020-04-06 Maciej W. Rozycki <[email protected]>
557
558 * configure.ac: Add testsuite/libatomic-site-extra.exp to output
559 files.
560 * configure: Regenerate.
561 * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
562 * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
563 variable.
564 * testsuite/Makefile.in: Regenerate.
565
566 2020-02-22 Jakub Jelinek <[email protected]>
567
568 PR other/55930
569 * Makefile.am (M_DEPS): Guard the empty definition with
570 @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
571 * Makefile.in: Regenerated.
572
573 2020-02-22 Richard Purdie <[email protected]>
574
575 PR other/55930
576 * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
577 * Makefile.in: Regenerated.
578
579 2020-01-24 Maciej W. Rozycki <[email protected]>
580
581 * configure.ac: Handle `--with-toolexeclibdir='.
582 * Makefile.in: Regenerate.
583 * aclocal.m4: Regenerate.
584 * configure: Regenerate.
585 * testsuite/Makefile.in: Regenerate.
586
587 2020-01-01 Jakub Jelinek <[email protected]>
588
589 Update copyright years.
590
591 2019-09-27 Maciej W. Rozycki <[email protected]>
592
593 * configure: Regenerate.
594
595 2019-09-10 Christophe Lyon <[email protected]>
596
597 * configure.tgt: Handle arm*-*-uclinux*.
598 * configure: Regenerate.
599
600 2019-09-03 Chung-Lin Tang <[email protected]>
601
602 PR other/79543
603 * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
604 scanning to conform to the GNU Coding Standards.
605 * configure: Regenerate.
606
607 2019-06-14 Matt Thomas <[email protected]>
608 Matthew Green <[email protected]>
609 Nick Hudson <[email protected]>
610 Maya Rashish <[email protected]>
611
612 * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
613
614 2019-01-01 Jakub Jelinek <[email protected]>
615
616 Update copyright years.
617
618 2018-10-31 Joseph Myers <[email protected]>
619
620 PR bootstrap/82856
621 * Makefile.am: Include multilib.am.
622 * acinclude.m4: Use AC_LANG_SOURCE.
623 * configure.ac: Remove AC_PREREQ.
624 * testsuite/Makefile.am (RUNTEST): Remove quotes.
625 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
626 Regenerate.
627
628 2018-06-21 Christophe Lyon <[email protected]>
629
630 * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
631 __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
632 and HAVE_STREXBHD
633
634 2018-05-23 Florian Weimer <[email protected]>
635
636 PR libgcc/60790
637 x86: Do not assume ELF constructors run before IFUNC resolvers.
638 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
639 Remove declarations.
640 (__libat_feat1, __libat_feat1_init): Declare.
641 (FEAT1_REGISTER): Define.
642 (load_feat1): New function.
643 (IFUNC_COND_1): Adjust.
644 * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
645 (init_cpuid): Remove definitions.
646 (__libat_feat1): New variable.
647 (__libat_feat1_init): New function.
648
649 2018-05-02 Tom de Vries <[email protected]>
650
651 PR testsuite/85106
652 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
653
654 2018-05-02 Tom de Vries <[email protected]>
655
656 PR testsuite/85106
657 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
658
659 2018-04-24 H.J. Lu <[email protected]>
660
661 * configure: Regenerated.
662
663 2018-04-19 Jakub Jelinek <[email protected]>
664
665 * configure: Regenerated.
666
667 2018-04-18 David Malcolm <[email protected]>
668
669 PR jit/85384
670 * configure: Regenerate.
671
672 2018-03-09 Andreas Krebbel <[email protected]>
673
674 * config/s390/exch_n.c: New file.
675 * configure.tgt: Add the config directory for s390.
676
677 2018-02-14 Igor Tsimbalist <[email protected]>
678
679 PR target/84148
680 * configure: Regenerate.
681
682 2018-01-03 Jakub Jelinek <[email protected]>
683
684 Update copyright years.
685
686 2017-12-14 Steve Ellcey <[email protected]>
687
688 * Makefile.am (IFUNC_OPTIONS): Change aarch64
689 option from -march=armv8.1-a to -march=armv8-a+lse.
690 * configure.ac (*aarch64*): Check to see if
691 compiler understands -march=armv8-a+lse option.
692 * configure.tgt (*aarch64*): Only set try_ifunc
693 if compiler understands -march=armv8-a+lse option.
694 * Makefile.in: Regenerate.
695 * testsuite/Makefile.in: Regenerate.
696 * configure: Regenerate.
697 * aclocal.m4: Regenerate.
698
699 2017-12-04 Steve Ellcey <[email protected]>
700
701 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
702 libatomic_la_LIBADD.
703 * config/linux/aarch64/host-config.h: New file.
704 * configure.ac (IFUNC_RESOLVER_ARGS): Define.
705 (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
706 * configure.tgt (aarch64): Set ARCH and try_ifunc.
707 (aarch64*-*-linux*) Update config_path.
708 (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
709 * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
710 * Makefile.in: Regenerate.
711 * auto-config.h.in: Regenerate.
712 * configure: Regenerate.
713
714 2017-11-17 Igor Tsimbalist <[email protected]>
715
716 * configure.ac: Set CET_FLAGS, update XCFLAGS.
717 * acinclude.m4: Add cet.m4 and enable.m4.
718 * configure: Regenerate.
719 * Makefile.in: Likewise.
720 * testsuite/Makefile.in: Likewise.
721
722 2017-10-20 Richard Earnshaw <[email protected]>
723
724 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
725 -march=armv7-a+fp on Linux/Arm.
726 * Makefile.in: Regenerated.
727
728 2017-10-02 Martin Sebor <[email protected]>
729
730 PR c/81854
731 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
732 a function pointer rather than void* to avoid GCC 8 warnings.
733 * configure: Regenerate.
734 * libatomic_i.h: Declare ifunc resolvers to return function
735 pointers rather than void*.
736
737 2017-05-12 Rainer Orth <[email protected]>
738
739 * testsuite/lib/libatomic.exp: Load scanlang.exp.
740
741 2017-02-06 Palmer Dabbelt <[email protected]>
742
743 * configure.tgt: Add RISC-V tuple.
744
745 2017-02-01 Richard Henderson <[email protected]>
746 Torvald Riegel <[email protected]>
747
748 * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
749 * auto-config.h.in: Regenerate.
750 * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
751 (atomic_compare_exchange_n): New.
752 * glfree.c (EXACT, LARGER): Change condition and add comments.
753
754 2017-01-30 Szabolcs Nagy <[email protected]>
755
756 PR target/78945
757 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
758
759 2017-01-21 Jakub Jelinek <[email protected]>
760
761 PR other/79046
762 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
763 of cat to get version from BASE-VER file.
764 * testsuite/Makefile.in: Regenerated.
765
766 2017-01-17 Jakub Jelinek <[email protected]>
767
768 PR other/79046
769 * configure.ac: Add GCC_BASE_VER.
770 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
771 get version from BASE-VER file.
772 * testsuite/Makefile.in: Regenerated.
773 * configure: Regenerated.
774 * Makefile.in: Regenerated.
775
776 2017-01-01 Jakub Jelinek <[email protected]>
777
778 Update copyright years.
779
780 2016-11-15 Matthias Klose <[email protected]>
781
782 * configure: Regenerate.
783
784 2016-04-27 Sebastian Huber <[email protected]>
785
786 * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
787 (*-*-rtems*): New supported target.
788 * config/rtems/host-config.h: New file.
789 * config/rtems/lock.c: Likewise.
790
791 2016-04-25 H.J. Lu <[email protected]>
792
793 PR target/70454
794 * configure.tgt (XCFLAGS): Revert the last change.
795
796 2016-04-20 H.J. Lu <[email protected]>
797
798 PR target/70454
799 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
800 32-bit x86 target library on x86-64.
801
802 2016-01-06 Szabolcs Nagy <[email protected]>
803
804 PR other/67627
805 * Makefile.am (all-multi): Add dependency.
806 * Makefile.in: Regenerate.
807
808 2016-01-04 Jakub Jelinek <[email protected]>
809
810 Update copyright years.
811
812 2015-11-18 Joseph Myers <[email protected]>
813
814 PR c/65083
815 * fence.c, flag.c: New files.
816 * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
817 * Makefile.in: Regenerate.
818 * configure.ac (libtool_VERSION): Change to 3:0:2.
819 * configure: Regenerate.
820 * libatomic.map (LIBATOMIC_1.2): New symbol version.
821
822 2015-10-09 David Malcolm <[email protected]>
823
824 * testsuite/lib/libatomic.exp: Load multiline.exp before
825 prune.exp, using load_gcc_lib.
826
827 2015-07-14 John Marino <[email protected]>
828
829 * configure.tgt: Add *-*-dragonfly to supported targets.
830
831 2015-01-21 Andrew Waterman <[email protected]>
832
833 * fop_n.c (libat_fetch_op): Align address to word boundary.
834 (libat_op_fetch): Likewise.
835
836 2015-01-16 Ilya Verbin <[email protected]>
837
838 PR testsuite/64605
839 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
840 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
841
842 2015-01-09 Andreas Tobler <[email protected]>
843
844 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
845
846 2015-01-05 Jakub Jelinek <[email protected]>
847
848 Update copyright years.
849
850 2014-12-12 Kyrylo Tkachov <[email protected]>
851
852 * testsuite/lib/libatomic.exp: Load target-utils.exp
853
854 2014-11-21 H.J. Lu <[email protected]>
855
856 PR bootstrap/63784
857 * configure: Regenerated.
858
859 2014-11-13 Andrew Waterman <[email protected]>
860
861 * cas_n.c (libat_compare_exchange): Add missing cast.
862
863 2014-11-11 Francois-Xavier Coudert <[email protected]>
864
865 PR target/63610
866 * configure: Regenerate.
867
868 2014-08-19 Yaakov Selkowitz <[email protected]>
869
870 * configure.tgt: Add cygwin to supported targets.
871
872 2014-07-18 Uros Bizjak <[email protected]>
873
874 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
875
876 2014-06-17 Kai Tietz <[email protected]>
877
878 * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
879 * configure.ac (ACX_LT_HOST_FLAGS): New.
880 (target_thread_file): New.
881 * configure.tgt (mingw): Add mingw support.
882 * config/mingw/host-config.h: New file.
883 * config/mingw/lock.c: Likewise.
884 * Makefile.in: Regenerated.
885 * configure: Likewise.
886 * aclocal.m4: Likewise.
887 * testsuite/Makefile.in: Likewise.
888
889 2014-02-20 Richard Henderson <[email protected]>
890
891 PR c++/60272
892 * cas_n.c (libat_compare_exchange): Conditionalize on failure
893 the store back to EPTR.
894
895 2014-01-02 Richard Sandiford <[email protected]>
896
897 Update copyright years
898
899 2013-12-09 Uros Bizjak <[email protected]>
900
901 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
902 instructions when __SSE_MATH__ is defined.
903
904 2013-11-18 Joseph Myers <[email protected]>
905
906 * testsuite/libatomic.c/atomic-compare-exchange-1.c,
907 testsuite/libatomic.c/atomic-compare-exchange-2.c,
908 testsuite/libatomic.c/atomic-compare-exchange-3.c,
909 testsuite/libatomic.c/atomic-compare-exchange-4.c,
910 testsuite/libatomic.c/atomic-compare-exchange-5.c,
911 testsuite/libatomic.c/atomic-exchange-1.c,
912 testsuite/libatomic.c/atomic-exchange-2.c,
913 testsuite/libatomic.c/atomic-exchange-3.c,
914 testsuite/libatomic.c/atomic-exchange-4.c,
915 testsuite/libatomic.c/atomic-exchange-5.c,
916 testsuite/libatomic.c/atomic-generic.c,
917 testsuite/libatomic.c/atomic-load-1.c,
918 testsuite/libatomic.c/atomic-load-2.c,
919 testsuite/libatomic.c/atomic-load-3.c,
920 testsuite/libatomic.c/atomic-load-4.c,
921 testsuite/libatomic.c/atomic-load-5.c,
922 testsuite/libatomic.c/atomic-op-1.c,
923 testsuite/libatomic.c/atomic-op-2.c,
924 testsuite/libatomic.c/atomic-op-3.c,
925 testsuite/libatomic.c/atomic-op-4.c,
926 testsuite/libatomic.c/atomic-op-5.c,
927 testsuite/libatomic.c/atomic-store-1.c,
928 testsuite/libatomic.c/atomic-store-2.c,
929 testsuite/libatomic.c/atomic-store-3.c,
930 testsuite/libatomic.c/atomic-store-4.c,
931 testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
932 int. Do not require built-in sync support or add target-specific
933 options.
934 * testsuite/libatomic.c/atomic-exchange-1.c,
935 testsuite/libatomic.c/atomic-exchange-2.c,
936 testsuite/libatomic.c/atomic-exchange-3.c,
937 testsuite/libatomic.c/atomic-exchange-4.c,
938 testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
939 count from expression using value of count.
940
941 2013-11-10 Uros Bizjak <[email protected]>
942
943 * config/x86/fenv.c: New file.
944
945 2013-11-07 Joseph Myers <[email protected]>
946
947 * fenv.c: New file.
948 * libatomic.map (LIBATOMIC_1.1): New symbol version. Include
949 __atomic_feraiseexcept.
950 * configure.ac (libtool_VERSION): Change to 2:0:1.
951 (fenv.h): Test for header.
952 * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
953 * Makefile.in, auto-config.h.in, configure: Regenerate.
954
955 2013-10-17 Michael Hudson-Doyle <[email protected]>
956
957 * libatomic/configure.tgt (aarch64*): Remove code preventing
958 build.
959
960 2013-09-20 Alan Modra <[email protected]>
961
962 * configure: Regenerate.
963
964 2013-01-14 Richard Sandiford <[email protected]>
965
966 Update copyright years.
967
968 2012-12-18 Ian Lance Taylor <[email protected]>
969
970 PR go/55201
971 * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
972 (libatomic_convenience_la_SOURCES): Likewise.
973 (libatomic_convenience_la_LIBADD): Likewise.
974 * Makefile.in: Rebuild.
975 * testsuite/Makefile.in: Rebuild.
976
977 2012-12-04 Marcus Shawcroft <[email protected]>
978
979 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
980
981 2012-11-21 Matthias Klose <[email protected]>
982
983 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
984
985 2012-11-04 Thomas Schwinge <[email protected]>
986
987 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
988 * configure: Regenerate.
989
990 * configure: Regenerate.
991
992 2012-10-23 Sofiane Naci <[email protected]>
993
994 Mark libatomic unsupported in AArch64.
995
996 * configure.tgt: Mark libatomic unsupported.
997
998 2012-09-20 Jakub Jelinek <[email protected]>
999
1000 PR other/43620
1001 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
1002 * configure: Regenerate.
1003 * Makefile.in: Regenerate.
1004
1005 2012-09-14 David Edelsohn <[email protected]>
1006
1007 * configure: Regenerated.
1008
1009 2012-05-22 John David Anglin <[email protected]>
1010
1011 PR other/53231
1012 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
1013
1014 2012-05-16 H.J. Lu <[email protected]>
1015
1016 * configure: Regenerated.
1017
1018 2012-05-10 Rainer Orth <[email protected]>
1019
1020 PR other/53284
1021 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
1022 instead of overriding.
1023 * configure: Regenerate.
1024
1025 2012-05-07 Rainer Orth <[email protected]>
1026
1027 * Makefile.am (libatomic.map-sun): Handle objects in
1028 libatomic_la_LIBADD.
1029 * aclocal.m4: Regenerate.
1030 * Makefile.in: Regenerate.
1031
1032 2012-05-07 Rainer Orth <[email protected]>
1033
1034 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
1035 * configure: Regenerate.
1036
1037 2012-05-03 Richard Henderson <[email protected]>
1038
1039 * configure.ac (AM_MAINTAINER_MODE): New.
1040 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
1041 failure in gcc_no_link path.
1042 * configure, aclocal.m4, Makefile.in: Rebuild.
1043
1044 2012-05-01 Richard Henderson <[email protected]>
1045
1046 * Initial commit.
1047
1048 Copyright (C) 2012-2025 Free Software Foundation, Inc.
1049
1050 Copying and distribution of this file, with or without modification,
1051 are permitted in any medium without royalty provided the copyright
1052 notice and this notice are preserved.