elf: Correct DT_TEXTREL warning in PDE
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / x86-64.exp
index 21a4824e3d19c8405bdb4f332a7564035f8c2d59..3bf62504cf963b8e3a9f04cfcd87f842cb8db10f 100644 (file)
@@ -231,6 +231,11 @@ set x86_64tests {
      "" ""
      { pr27590a.obj.bz2 pr27590b.obj.bz2 }
      {{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"
+     "tmpdir/textrel-1.so"
+     "--64" { textrel-1b.s } {{ld "textrel-1.err"}} "textrel-1"}
 }
 
 run_ld_link_tests $x86_64tests
This page took 0.028634 seconds and 4 git commands to generate.