summaryrefslogtreecommitdiff
path: root/system/binutils/disable-relr-glibc-tests.patch
blob: afefe593a73fc01772bdafadd5a9e9be0bb6e296 (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
@@ -23,6 +23,10 @@
     return
 }
 
+if { [istarget *-*-musl*] } {
+    return
+}
+
 run_cc_link_tests [list \
     [list \
 	"Build dt-relr-glibc-1a.so" \