From dfe3b80549206d364eb607a5ba62c2b86d421115 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 26 Jul 2021 17:55:12 -0700 Subject: Fix ld test case that assumes --enable-textrel-check ld/ * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel. --- ld/ChangeLog | 4 ++++ ld/testsuite/ld-x86-64/x86-64.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 22e751e..28deefc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2021-07-26 Roland McGrath + + * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel. + 2021-07-06 Michael Matz PR ld/28021 diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index a80f22c..064438a 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"} } -- cgit v1.1