# Expect script for .tls_common tests
-# Copyright (C) 2006-2017 Free Software Foundation, Inc.
+# Copyright (C) 2006-2019 Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
# Make sure that binutils can correctly handle ld output in ELF.
if { ![istarget *-*-linux*]
+ && ![istarget arm*-*-uclinuxfdpiceabi]
&& ![istarget *-*-nacl*]
&& ![istarget *-*-gnu*] } {
return
}
-if { [istarget *-*-linux*aout*]
- || [istarget *-*-linux*oldld*] } {
- return
-}
-
global as
global ld
global READELF
if { [string match "*not supported*" $link_output]
|| [string match "*unrecognized option*" $link_output] } {
unsupported "$ld_options is not supported by this target"
- } elseif { [string match "*Warning*alignment*of common symbol*" $link_output] } {
+ } elseif { [string match "*warning*alignment*of common symbol*" $link_output] } {
fail "tls_common"
} else {
unresolved "tls_common"
if { [string match "*not supported*" $link_output]
|| [string match "*unrecognized option*" $link_output] } {
unsupported "$ld_options is not supported by this target"
- } elseif { [string match "*Warning*alignment*of common symbol*" $link_output] } {
+ } elseif { [string match "*warning*alignment*of common symbol*" $link_output] } {
fail "tls_common"
} else {
unresolved "tls_common"