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
/
shared.exp
diff --git
a/ld/testsuite/ld-elf/shared.exp
b/ld/testsuite/ld-elf/shared.exp
index aac3accd8559cf493f1504c2b9d9878a039cdae9..f38cd7b013d479f5fc86f5af53ddd62388e29a63 100644
(file)
--- a/
ld/testsuite/ld-elf/shared.exp
+++ b/
ld/testsuite/ld-elf/shared.exp
@@
-25,6
+25,12
@@
if ![is_elf_format] {
return
}
+# Skip targets where -shared is not supported
+
+if ![check_shared_lib_support] {
+ return
+}
+
# Check to see if the C compiler works
if { [which $CC] == 0 } {
return
This page took
0.023125 seconds
and
4
git commands to generate.