diff mbox

libgo patch committed: Use sparc64 rather than sparcv9

Message ID mcrtyhds4vk.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Jan. 13, 2011, 6:18 a.m. UTC
This patch to libgo changes from sparcv9 to sparc64 as the value for
syscall.ARCH.  Bootstrapped and ran libgo testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian
diff mbox

Patch

diff -r 634381668402 libgo/configure.ac
--- a/libgo/configure.ac	Wed Jan 12 21:39:32 2011 -0800
+++ b/libgo/configure.ac	Wed Jan 12 22:09:53 2011 -0800
@@ -136,7 +136,7 @@ 
 is_386=no
 is_arm=no
 is_sparc=no
-is_sparcv9=no
+is_sparc64=no
 is_x86_64=no
 GOARCH=unknown
 case ${host} in
@@ -165,20 +165,20 @@ 
 #if defined(__sparcv9) || defined(__arch64__)
 #error 64-bit
 #endif],
-[is_sparc=yes], [is_sparcv9=yes])
+[is_sparc=yes], [is_sparc64=yes])
     if test "$is_sparc" = "yes"; then
       is_sparc=yes
       GOARCH=sparc
     else
-      is_sparcv9=yes
-      GOARCH=sparcv9
+      is_sparc64=yes
+      GOARCH=sparc64
     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_SPARCV9, test $isv_sparcv9 = yes)
+AM_CONDITIONAL(LIBGO_IS_SPARC64, test $is_sparc64 = yes)
 AM_CONDITIONAL(LIBGO_IS_X86_64, test $is_x86_64 = yes)
 AC_SUBST(GOARCH)
 
diff -r 634381668402 libgo/go/debug/proc/regs_solaris_sparc64.go
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgo/go/debug/proc/regs_solaris_sparc64.go	Wed Jan 12 22:09:53 2011 -0800
@@ -0,0 +1,5 @@ 
+// Copyright 2011 The Go Authors.  All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package proc
diff -r 634381668402 libgo/go/debug/proc/regs_solaris_sparcv9.go
--- a/libgo/go/debug/proc/regs_solaris_sparcv9.go	Wed Jan 12 21:39:32 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@ 
-// Copyright 2011 The Go Authors.  All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package proc
diff -r 634381668402 libgo/syscalls/syscall_solaris_sparc64.go
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgo/syscalls/syscall_solaris_sparc64.go	Wed Jan 12 22:09:53 2011 -0800
@@ -0,0 +1,7 @@ 
+// syscall_solaris_v9.go -- Solaris sparc9v specific support
+
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package syscall
diff -r 634381668402 libgo/syscalls/syscall_solaris_sparcv9.go
--- a/libgo/syscalls/syscall_solaris_sparcv9.go	Wed Jan 12 21:39:32 2011 -0800
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@ 
-// syscall_solaris_v9.go -- Solaris sparc9v specific support
-
-// Copyright 2011 The Go Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style
-// license that can be found in the LICENSE file.
-
-package syscall