diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/x86-64.exp')
-rw-r--r-- | ld/testsuite/ld-x86-64/x86-64.exp | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp index 5409dff..6320999 100644 --- a/ld/testsuite/ld-x86-64/x86-64.exp +++ b/ld/testsuite/ld-x86-64/x86-64.exp @@ -476,6 +476,30 @@ if { [isnative] && [which $CC] != 0 } { {{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 \ @@ -522,6 +546,14 @@ if { [isnative] && [which $CC] != 0 } { "pr17689now" \ "pr17689.out" \ ] \ + [list \ + "Run pr18900" \ + "tmpdir/pr18900.so" \ + "" \ + { pr18900b.c pr18900c.c } \ + "pr18900" \ + "pr18900.out" \ + ] \ ] if { [istarget "x86_64-*-linux*"] \ |