Skip PLT for function pointer initialization
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / x86-64.exp
index d67ff2a346fcd543efeea6c300607c450495490d..6320999b6c87ca520e8fdabc7dffcdb3e4216d35 100644 (file)
@@ -325,6 +325,8 @@ run_dump_test "pr17935-1"
 run_dump_test "pr17935-2"
 run_dump_test "pr18160"
 run_dump_test "pr18176"
+run_dump_test "pr18801"
+run_dump_test "pr18815"
 
 # Add $PLT_CFLAGS if PLT is expected.
 global PLT_CFLAGS
@@ -474,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 \
@@ -520,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*"] \
This page took 0.023701 seconds and 4 git commands to generate.