summaryrefslogtreecommitdiff
path: root/system/binutils/disable-textrel-test.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/binutils/disable-textrel-test.patch')
-rw-r--r--system/binutils/disable-textrel-test.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/system/binutils/disable-textrel-test.patch b/system/binutils/disable-textrel-test.patch
deleted file mode 100644
index f01921996..000000000
--- a/system/binutils/disable-textrel-test.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-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" \