Skip to content

Commit

Permalink
[wip] Update to GCC 14.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kartatz committed May 11, 2024
1 parent 6aa3caf commit ba11106
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches/ato.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From d39769c1ba06ea04dde5f259c70b9b110bb7d4d9 Mon Sep 17 00:00:00 2001
From df2234c7c84ef5a4b6335265d6ae763337eafc31 Mon Sep 17 00:00:00 2001
From: Your Name <[email protected]>
Date: Sat, 11 May 2024 18:48:20 +0200
Subject: [PATCH] x
Expand All @@ -8,14 +8,14 @@ Subject: [PATCH] x
1 file changed, 2 insertions(+)

diff --git a/libatomic/libatomic_i.h b/libatomic/libatomic_i.h
index 861a22d..0435e2a 100644
index 861a22d..3fd6620 100644
--- a/libatomic/libatomic_i.h
+++ b/libatomic/libatomic_i.h
@@ -292,4 +292,6 @@ bool libat_is_lock_free (size_t, void *) MAN(is_lock_free);
# define EXPORT_ALIAS(X) /* original symbol is exported */
#endif

+int libat_test_and_set (volatile void*, int) __asm__("__atomic_test_and_set");
+bool libat_test_and_set (volatile void*, int) __asm__("__atomic_test_and_set");
+
#endif /* LIBATOMIC_H */
--
Expand Down

0 comments on commit ba11106

Please sign in to comment.