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 cc4a292 commit 2f14ac6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ if ! [ -f "${gcc_tarball}" ]; then
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/0001-Fix-issues-with-fenv.patch"
# patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/0001-Revert___atomic_test_and_set_Fall_back_to_library,_not_non-atomic_code.patch"
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/pk.patch"
patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/ato.patch"
#patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/ato.patch"


#patch --directory="${gcc_directory}" --strip='1' --input="${workdir}/patches/pk2.patch"
Expand Down
6 changes: 3 additions & 3 deletions patches/pk.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 10c444207201f931f9a54963ae6f1b1d6ab0bc27 Mon Sep 17 00:00:00 2001
From 99f789e459ce6574d2fb53dddb541342ff33bb9c Mon Sep 17 00:00:00 2001
From: Your Name <[email protected]>
Date: Sat, 11 May 2024 20:03:45 +0200
Subject: [PATCH] x
Expand All @@ -8,7 +8,7 @@ Subject: [PATCH] x
1 file changed, 9 insertions(+)

diff --git a/libatomic/tas_n.c b/libatomic/tas_n.c
index 4a01cd2..1857067 100644
index 4a01cd2..ea6b3a9 100644
--- a/libatomic/tas_n.c
+++ b/libatomic/tas_n.c
@@ -24,6 +24,15 @@
Expand All @@ -21,7 +21,7 @@ index 4a01cd2..1857067 100644
+ return 0;
+}
+
+EXPORT_ALIAS(libat_test_and_set)
+extern typeof(libat_test_and_set) export_libat_test_and_set __asm__("__atomic_test_and_set") __attribute__((alias("libat_test_and_set")));
+
+#endif

Expand Down

0 comments on commit 2f14ac6

Please sign in to comment.