ld/testsuite: skip ld-elf/exclude when -shared is not supported

ld/ChangeLog:

	* testsuite/ld-elf/exclude.exp: Call check_shared_lib_support.
	to skip for all targets without shared lib support.
This commit is contained in:
Clément Chigot 2022-10-20 15:31:24 +02:00
parent 05bb930a05
commit 13b87bbf0d

View File

@ -26,8 +26,8 @@ if ![is_elf_format] {
return
}
# No shared lib support on this target.
if { [istarget "mcore-*-*"] } {
# Skip targets where -shared is not supported
if { ![check_shared_lib_support] } {
return
}