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
545d1aa1
Commit
545d1aa1
authored
Jan 13, 2011
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use GOARCH value of sparc64 rather than sparcv9.
From-SVN: r168740
parent
5fd58e56
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
18 deletions
+18
-18
libgo/configure
+13
-13
libgo/configure.ac
+5
-5
libgo/go/debug/proc/regs_solaris_sparc64.go
+0
-0
libgo/syscalls/syscall_solaris_sparc64.go
+0
-0
No files found.
libgo/configure
View file @
545d1aa1
...
...
@@ -615,8 +615,8 @@ SPLIT_STACK
GOARCH
LIBGO_IS_X86_64_FALSE
LIBGO_IS_X86_64_TRUE
LIBGO_IS_SPARC
V9
_FALSE
LIBGO_IS_SPARC
V9
_TRUE
LIBGO_IS_SPARC
64
_FALSE
LIBGO_IS_SPARC
64
_TRUE
LIBGO_IS_SPARC_FALSE
LIBGO_IS_SPARC_TRUE
LIBGO_IS_ARM_FALSE
...
...
@@ -13253,7 +13253,7 @@ fi
is_386
=
no
is_arm
=
no
is_sparc
=
no
is_sparc
v9
=
no
is_sparc
64
=
no
is_x86_64
=
no
GOARCH
=
unknown
case
${
host
}
in
...
...
@@ -13294,15 +13294,15 @@ _ACEOF
if
ac_fn_c_try_cpp
"
$LINENO
"
;
then
:
is_sparc
=
yes
else
is_sparc
v9
=
yes
is_sparc
64
=
yes
fi
rm
-f
conftest.err conftest.
$ac_ext
if
test
"
$is_sparc
"
=
"yes"
;
then
is_sparc
=
yes
GOARCH
=
sparc
else
is_sparc
v9
=
yes
GOARCH
=
sparc
v9
is_sparc
64
=
yes
GOARCH
=
sparc
64
fi
;;
esac
...
...
@@ -13330,12 +13330,12 @@ else
LIBGO_IS_SPARC_FALSE
=
fi
if
test
$is
v_sparcv9
=
yes
;
then
LIBGO_IS_SPARC
V9
_TRUE
=
LIBGO_IS_SPARC
V9
_FALSE
=
'#'
if
test
$is
_sparc64
=
yes
;
then
LIBGO_IS_SPARC
64
_TRUE
=
LIBGO_IS_SPARC
64
_FALSE
=
'#'
else
LIBGO_IS_SPARC
V9
_TRUE
=
'#'
LIBGO_IS_SPARC
V9
_FALSE
=
LIBGO_IS_SPARC
64
_TRUE
=
'#'
LIBGO_IS_SPARC
64
_FALSE
=
fi
if
test
$is_x86_64
=
yes
;
then
...
...
@@ -14210,8 +14210,8 @@ if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
as_fn_error
"conditional
\"
LIBGO_IS_SPARC
\"
was never defined.
Usually this means the macro was only invoked conditionally."
"
$LINENO
"
5
fi
if
test
-z
"
${
LIBGO_IS_SPARC
V9_TRUE
}
"
&&
test
-z
"
${
LIBGO_IS_SPARCV9
_FALSE
}
"
;
then
as_fn_error
"conditional
\"
LIBGO_IS_SPARC
V9
\"
was never defined.
if
test
-z
"
${
LIBGO_IS_SPARC
64_TRUE
}
"
&&
test
-z
"
${
LIBGO_IS_SPARC64
_FALSE
}
"
;
then
as_fn_error
"conditional
\"
LIBGO_IS_SPARC
64
\"
was never defined.
Usually this means the macro was only invoked conditionally."
"
$LINENO
"
5
fi
if
test
-z
"
${
LIBGO_IS_X86_64_TRUE
}
"
&&
test
-z
"
${
LIBGO_IS_X86_64_FALSE
}
"
;
then
...
...
libgo/configure.ac
View file @
545d1aa1
...
...
@@ -136,7 +136,7 @@ dnl N.B. Keep in sync with gcc/testsuite/go.test/go-test.exp (go-set-goarch).
is_386=no
is_arm=no
is_sparc=no
is_sparc
v9
=no
is_sparc
64
=no
is_x86_64=no
GOARCH=unknown
case ${host} in
...
...
@@ -165,20 +165,20 @@ changequote([,])dnl
#if defined(__sparcv9) || defined(__arch64__)
#error 64-bit
#endif],
[is_sparc=yes], [is_sparc
v9
=yes])
[is_sparc=yes], [is_sparc
64
=yes])
if test "$is_sparc" = "yes"; then
is_sparc=yes
GOARCH=sparc
else
is_sparc
v9
=yes
GOARCH=sparc
v9
is_sparc
64
=yes
GOARCH=sparc
64
fi
;;
esac
AM_CONDITIONAL(LIBGO_IS_386, test $is_386 = yes)
AM_CONDITIONAL(LIBGO_IS_ARM, test $is_arm = yes)
AM_CONDITIONAL(LIBGO_IS_SPARC, test $is_sparc = yes)
AM_CONDITIONAL(LIBGO_IS_SPARC
V9, test $isv_sparcv9
= yes)
AM_CONDITIONAL(LIBGO_IS_SPARC
64, test $is_sparc64
= yes)
AM_CONDITIONAL(LIBGO_IS_X86_64, test $is_x86_64 = yes)
AC_SUBST(GOARCH)
...
...
libgo/go/debug/proc/regs_solaris_sparc
v9
.go
→
libgo/go/debug/proc/regs_solaris_sparc
64
.go
View file @
545d1aa1
File moved
libgo/syscalls/syscall_solaris_sparc
v9
.go
→
libgo/syscalls/syscall_solaris_sparc
64
.go
View file @
545d1aa1
File moved
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