summaryrefslogtreecommitdiff
path: root/system/binutils/disable-relr-glibc-tests.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/disable-relr-glibc-tests.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/disable-relr-glibc-tests.patch')
-rw-r--r--system/binutils/disable-relr-glibc-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/binutils/disable-relr-glibc-tests.patch b/system/binutils/disable-relr-glibc-tests.patch
new file mode 100644
index 000000000..afefe593a
--- /dev/null
+++ b/system/binutils/disable-relr-glibc-tests.patch
@@ -0,0 +1,19 @@
+While musl does support DT_RELR, and other DT_RELR related tests *do* pass,
+these glibc-specific tests do not because they require the linker to output
+glibc-specific .version_info.
+
+Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30917
+
+--- binutils-2.41/ld/testsuite/ld-elf/dt-relr.exp.old 2023-07-02 18:00:00.000000000 -0500
++++ binutils-2.41/ld/testsuite/ld-elf/dt-relr.exp 2023-09-22 20:28:27.455427142 -0500
+@@ -23,6 +23,10 @@
+ return
+ }
+
++if { [istarget *-*-musl*] } {
++ return
++}
++
+ run_cc_link_tests [list \
+ [list \
+ "Build dt-relr-glibc-1a.so" \