mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-18 04:30:26 +08:00
libgo/configure: Test for gold with gccgo -Wl,--help, not ld --help.
From-SVN: r206937
This commit is contained in:
parent
88d7c4b9c3
commit
f56c5dd19c
2
libgo/configure
vendored
2
libgo/configure
vendored
@ -13948,7 +13948,7 @@ if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
libgo_cv_c_linker_supports_split_stack=no
|
||||
if $LD --help 2>/dev/null | grep split-stack-adjust-size >/dev/null 2>&1; then
|
||||
if $GOC -Wl,--help 2>/dev/null | grep split-stack-adjust-size >/dev/null 2>&1; then
|
||||
libgo_cv_c_linker_supports_split_stack=yes
|
||||
fi
|
||||
fi
|
||||
|
@ -357,10 +357,10 @@ dnl possible for the linker to support this for some targets but not
|
||||
dnl others.
|
||||
AC_CACHE_CHECK([whether linker supports split stack],
|
||||
[libgo_cv_c_linker_supports_split_stack],
|
||||
libgo_cv_c_linker_supports_split_stack=no
|
||||
if $LD --help 2>/dev/null | grep split-stack-adjust-size >/dev/null 2>&1; then
|
||||
[libgo_cv_c_linker_supports_split_stack=no
|
||||
if $GOC -Wl,--help 2>/dev/null | grep split-stack-adjust-size >/dev/null 2>&1; then
|
||||
libgo_cv_c_linker_supports_split_stack=yes
|
||||
fi)
|
||||
fi])
|
||||
if test "$libgo_cv_c_linker_supports_split_stack" = yes; then
|
||||
AC_DEFINE(LINKER_SUPPORTS_SPLIT_STACK, 1,
|
||||
[Define if the linker support split stack adjustments])
|
||||
|
Loading…
x
Reference in New Issue
Block a user