Fix ld test case that assumes --enable-textrel-check
ld/ * testsuite/ld-x86-64/x86-64.exp (Build textrel-1): Use --warn-textrel.
This commit is contained in:
parent
7122377642
commit
dfe3b80549
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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"}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue