summaryrefslogtreecommitdiff
path: root/system/binutils/disable-textrel-test.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-textrel-test.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-textrel-test.patch')
-rw-r--r--system/binutils/disable-textrel-test.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/system/binutils/disable-textrel-test.patch b/system/binutils/disable-textrel-test.patch
new file mode 100644
index 000000000..f01921996
--- /dev/null
+++ b/system/binutils/disable-textrel-test.patch
@@ -0,0 +1,43 @@
+musl doesn't support TEXTRELs, so the pr22001-1 test will always segfault.
+
+Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30925
+
+--- binutils-2.41/ld/testsuite/ld-i386/i386.exp.old 2023-07-02 23:00:00.000000000 +0000
++++ binutils-2.41/ld/testsuite/ld-i386/i386.exp 2023-09-30 12:34:46.594675721 +0000
+@@ -1318,6 +1318,20 @@
+ ] \
+ ]
+
++ if { ![istarget i?86-*-musl] } {
++ run_ld_link_exec_tests [list \
++ [list \
++ "Run pr22001-1" \
++ "$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed,-z,notext tmpdir/pr22001-1.so" \
++ "-Wa,-mx86-used-note=yes" \
++ { pr22001-1b.c } \
++ "pr22001-1" \
++ "pass.out" \
++ "$NOPIE_CFLAGS" \
++ ] \
++ ]
++ }
++
+ run_ld_link_exec_tests [list \
+ [list \
+ "Run weakundef1 without PIE" \
+@@ -1328,15 +1342,6 @@
+ "pass.out" \
+ "$NOPIE_CFLAGS" \
+ ] \
+- [list \
+- "Run pr22001-1" \
+- "$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed,-z,notext tmpdir/pr22001-1.so" \
+- "-Wa,-mx86-used-note=yes" \
+- { pr22001-1b.c } \
+- "pr22001-1" \
+- "pass.out" \
+- "$NOPIE_CFLAGS" \
+- ] \
+ [list \
+ "Run pr22001-1 (PIE 1)" \
+ "$NOPIE_LDFLAGS -Wl,-z,nocopyreloc,--no-as-needed tmpdir/pr22001-1.so" \