summaryrefslogtreecommitdiff
path: root/system/binutils/disable-sframe-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/binutils/disable-sframe-tests.patch')
-rw-r--r--system/binutils/disable-sframe-tests.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/binutils/disable-sframe-tests.patch b/system/binutils/disable-sframe-tests.patch
new file mode 100644
index 000000000..994349853
--- /dev/null
+++ b/system/binutils/disable-sframe-tests.patch
@@ -0,0 +1,17 @@
+SFrame tests fail due to incorrect PC offset in generated binary.
+
+Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30914
+
+--- binutils-2.41/ld/testsuite/lib/ld-lib.exp.old 2023-07-02 18:00:00.000000000 -0500
++++ binutils-2.41/ld/testsuite/lib/ld-lib.exp 2023-09-29 03:19:04.223613176 -0500
+@@ -1723,10 +1723,5 @@
+ # if {$enable_libsframe eq "no"} {
+ # return 1
+ # }
+-
+- if [check_as_sframe] {
+- return 0
+- }
+-
+ return 1
+ }