diff options
author | Clément Chigot <chigot@adacore.com> | 2022-11-09 17:21:03 +0100 |
---|---|---|
committer | Clément Chigot <chigot@adacore.com> | 2022-11-10 13:19:15 +0100 |
commit | 1b377e4960438810a137aaedc1ff16a2e2114e9d (patch) | |
tree | 8f138846e752dcfda42c0dd4086147af61708033 /ld | |
parent | ac71c620fd8584da5370d548d4a3d6820a2069d3 (diff) | |
download | fsf-binutils-gdb-1b377e4960438810a137aaedc1ff16a2e2114e9d.zip fsf-binutils-gdb-1b377e4960438810a137aaedc1ff16a2e2114e9d.tar.gz fsf-binutils-gdb-1b377e4960438810a137aaedc1ff16a2e2114e9d.tar.bz2 |
ld/testsuite: skip ld-size when -shared is not supported
ld/ChangeLog:
* testsuite/ld-size/size.exp: Skip when -shared is not
supported.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ld-size/size.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-size/size.exp b/ld/testsuite/ld-size/size.exp index e159628..64793c0 100644 --- 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*"] { |