]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix ld test case that assumes --enable-textrel-check
authorRoland McGrath <mcgrathr@google.com>
Tue, 27 Jul 2021 00:55:12 +0000 (17:55 -0700)
committerRoland McGrath <mcgrathr@google.com>
Tue, 27 Jul 2021 00:55:12 +0000 (17:55 -0700)
ld/
* testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.

ld/ChangeLog
ld/testsuite/ld-x86-64/x86-64.exp

index 22e751ed855027848ba60faa648edaa038afc06c..28deefc93fb56d36d2a250ec30d87ef572cac065 100644 (file)
@@ -1,3 +1,7 @@
+2021-07-26  Roland McGrath  <mcgrathr@google.com>
+
+       * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
+
 2021-07-06  Michael Matz  <matz@suse.de>
 
        PR ld/28021
index a80f22c2453e955f5f9ee6b106c39411a2c71249..064438a3f915571537cf0650ae6460828b55eb13 100644 (file)
@@ -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"}
 }