diff options
Diffstat (limited to 'ld/testsuite/ld-i386/i386.exp')
-rw-r--r-- | ld/testsuite/ld-i386/i386.exp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp index 47911a6..6213dbe 100644 --- a/ld/testsuite/ld-i386/i386.exp +++ b/ld/testsuite/ld-i386/i386.exp @@ -466,6 +466,30 @@ if { [isnative] {{readelf {-Wr} pr17827.rd}} \ "pr17827" \ ] \ + [list \ + "Build pr18900.so" \ + "-shared" \ + "-fPIC" \ + { pr18900a.c } \ + "" \ + "pr18900.so" \ + ] \ + [list \ + "Build pr18900a" \ + "tmpdir/pr18900.so" \ + "" \ + { pr18900b.c pr18900c.c } \ + {{readelf {-Wrd} pr18900a.rd}} \ + "pr18900a" \ + ] \ + [list \ + "Build pr18900b" \ + "tmpdir/pr18900.so" \ + "" \ + { pr18900b.c pr18900c.c } \ + {{readelf {-Wrd} pr18900b.rd}} \ + "pr18900b" \ + ] \ ] run_ld_link_exec_tests [] [list \ @@ -520,6 +544,14 @@ if { [isnative] "pr17689ver" \ "pr17689.out" \ ] \ + [list \ + "Run pr18900" \ + "tmpdir/pr18900.so" \ + "" \ + { pr18900b.c pr18900c.c } \ + "pr18900" \ + "pr18900.out" \ + ] \ ] } |