summaryrefslogtreecommitdiff
path: root/system/binutils/visibility-musl.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-09-22 23:51:50 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-03 21:56:52 -0500
commit2c9ea8d0ea3c4510b5a4c9314c84c4444c933726 (patch)
tree856b85bc2e61dd819f3e9a77d2331338cf290561 /system/binutils/visibility-musl.patch
parentb7807f42fbd231b0783eb0d26fd60b63153ca6d9 (diff)
downloadpackages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.tar.gz
packages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.tar.bz2
packages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.tar.xz
packages-2c9ea8d0ea3c4510b5a4c9314c84c4444c933726.zip
system/binutils: Update to 2.41
* Vastly updated with significant features and target support. * All tests are enabled now and passing! Note: ARMv7 tests require the commit directly before this to be applied to system/gcc. Fixes: #652, #668, #1070
Diffstat (limited to 'system/binutils/visibility-musl.patch')
-rw-r--r--system/binutils/visibility-musl.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/binutils/visibility-musl.patch b/system/binutils/visibility-musl.patch
new file mode 100644
index 000000000..4b833ffd3
--- /dev/null
+++ b/system/binutils/visibility-musl.patch
@@ -0,0 +1,19 @@
+The tests need to know musl can support symbol visibility.
+
+Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30915
+
+--- binutils-2.41/ld/testsuite/ld-vsb/main.c.old 2023-07-02 18:00:00.000000000 -0500
++++ binutils-2.41/ld/testsuite/ld-vsb/main.c 2023-09-29 03:03:53.103603661 -0500
+@@ -5,9 +5,9 @@
+ int
+ main (void)
+ {
+-#if defined (__GLIBC__) && (__GLIBC__ > 2 \
+- || (__GLIBC__ == 2 \
+- && __GLIBC_MINOR__ >= 2))
++#if !defined (__GLIBC__) || (__GLIBC__ > 2 \
++ || (__GLIBC__ == 2 \
++ && __GLIBC_MINOR__ >= 2))
+ puts ("yes");
+ #else
+ puts ("no");