ld-dynamic test fixes
[deliverable/binutils-gdb.git] / ld / testsuite / ld-dynamic / export-dynamic-symbol.exp
index ae530361fb14ba24c0581834783fb7cd93bf18ff..44bd762863382d510975a8e89316802eb95ccc10 100644 (file)
@@ -23,9 +23,16 @@ if ![is_elf_format] {
     return
 }
 
-# Skip targets where -shared is not supported
+# Skip targets where -shared or -pie is not supported
+if { ![check_shared_lib_support] || ![check_pie_support] } {
+    return
+}
 
-if ![check_shared_lib_support] {
+# Skip targets that have poor PIE support, resulting in failures due to
+# PHDR segment not covered by LOAD segment errors.
+if { ([istarget "bfin-*-*"] && ![istarget "bfin-*-linux*"])
+     || [istarget "mn10300-*-*"]
+     || [istarget "score-*-*"] } {
     return
 }
 
This page took 0.023815 seconds and 4 git commands to generate.