projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check for shared lib support before running ld tests with -shared
[deliverable/binutils-gdb.git]
/
ld
/
testsuite
/
ld-elf
/
dwarf.exp
diff --git
a/ld/testsuite/ld-elf/dwarf.exp
b/ld/testsuite/ld-elf/dwarf.exp
index 572c704979a64413599e3ab3bd8a29b2a5bf1f4c..529ebccd505d73d2bf4b9e27b516742e0c353cf8 100644
(file)
--- a/
ld/testsuite/ld-elf/dwarf.exp
+++ b/
ld/testsuite/ld-elf/dwarf.exp
@@
-29,6
+29,12
@@
if ![is_elf_format] {
return
}
+# Skip targets where -shared is not supported
+
+if ![check_shared_lib_support] {
+ return
+}
+
# Check if compiler works
if { [which $CC] == 0 } {
return
This page took
0.023763 seconds
and
4
git commands to generate.