summaryrefslogtreecommitdiff
path: root/system/binutils/vsb-hammer.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/binutils/vsb-hammer.patch')
-rw-r--r--system/binutils/vsb-hammer.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/binutils/vsb-hammer.patch b/system/binutils/vsb-hammer.patch
new file mode 100644
index 000000000..72446276d
--- /dev/null
+++ b/system/binutils/vsb-hammer.patch
@@ -0,0 +1,19 @@
+Disable protected visibility tests that are known to be "broken" / "a mess".
+
+Not reported upstream to binutils, as this is a musl thing.
+
+--- binutils-2.41/ld/testsuite/ld-vsb/vsb.exp.old 2023-07-02 23:00:00.000000000 +0000
++++ binutils-2.41/ld/testsuite/ld-vsb/vsb.exp 2023-09-30 11:21:09.367314546 +0000
+@@ -519,12 +519,8 @@
+
+ visibility_run hidden
+ visibility_run hidden_normal
+-visibility_run hidden_undef
+ visibility_run hidden_undef_def
+ visibility_run hidden_weak
+-visibility_run protected
+-visibility_run protected_undef
+-visibility_run protected_undef_def
+ visibility_run protected_weak
+ visibility_run normal
+