Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
f56c5dd1
Commit
f56c5dd1
authored
Jan 22, 2014
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libgo/configure: Test for gold with gccgo -Wl,--help, not ld --help.
From-SVN: r206937
parent
88d7c4b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
libgo/configure
+1
-1
libgo/configure.ac
+3
-3
No files found.
libgo/configure
View file @
f56c5dd1
...
...
@@ -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
...
...
libgo/configure.ac
View file @
f56c5dd1
...
...
@@ -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])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment