summaryrefslogtreecommitdiff
path: root/system/binutils/disable-relr-glibc-tests.patch
blob: 1edf30acbfe79308ca9a2e57487a66182d98f0fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
@@ -27,6 +27,10 @@
     return
 }
 
+if { [istarget *-*-musl*] } {
+    return
+}
+
 run_cc_link_tests [list \
     [list \
 	"Build dt-relr-glibc-1a.so" \