projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac71c62
)
ld/testsuite: skip ld-size when -shared is not supported
author
Clément Chigot
<chigot@adacore.com>
Wed, 9 Nov 2022 16:21:03 +0000
(17:21 +0100)
committer
Clément Chigot
<chigot@adacore.com>
Thu, 10 Nov 2022 12:19:15 +0000
(13:19 +0100)
ld/ChangeLog:
* testsuite/ld-size/size.exp: Skip when -shared is not
supported.
ld/testsuite/ld-size/size.exp
patch
|
blob
|
history
diff --git
a/ld/testsuite/ld-size/size.exp
b/ld/testsuite/ld-size/size.exp
index e15962886cdb5ee2f3408406aa4e17bb5e6a8c90..64793c009484609d3ea384c51cc31be908fc9a8a 100644
(file)
--- a/
ld/testsuite/ld-size/size.exp
+++ b/
ld/testsuite/ld-size/size.exp
@@
-33,6
+33,12
@@
if {!(([istarget "i?86-*-*"]
return
}
+# Skip when -shared is not supported
+if { ![check_shared_lib_support] } {
+ verbose "Size relocation tests not run - shared support disabled"
+ return
+}
+
# So as to avoid rewriting every last test case here in a nacl variant,
# we use black magic to massage the generic cases into nacl-variant cases.
if [istarget "*-*-nacl*"] {