summaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorRoland McGrath <mcgrathr@google.com>2021-07-26 17:55:12 -0700
committerRoland McGrath <mcgrathr@google.com>2021-07-26 17:55:12 -0700
commitdfe3b80549206d364eb607a5ba62c2b86d421115 (patch)
treec28e115635601a8512d3bc055c9b47aacefb0cce /ld/testsuite
parent71223776429261c331bb7560e26ff0bfa49ef2f5 (diff)
downloadbinutils-gdb-dfe3b80549206d364eb607a5ba62c2b86d421115.tar.gz
Fix ld test case that assumes --enable-textrel-check
ld/ * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-x86-64/x86-64.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index a80f22c2453..064438a3f91 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -233,7 +233,7 @@ set x86_64tests {
{{readelf -SW pr27590.rd}} "pr27590.o"}
{"Build textrel-1.so" "-melf_x86_64 -shared" ""
"--64" { textrel-1a.s } {} "textrel-1.so"}
- {"Build textrel-1" "-no-pie -melf_x86_64 -z nocopyreloc"
+ {"Build textrel-1" "-no-pie -melf_x86_64 -z nocopyreloc --warn-textrel"
"tmpdir/textrel-1.so"
"--64" { textrel-1b.s } {{ld "textrel-1.err"}} "textrel-1"}
}