From patchwork Thu Jan 13 06:18:55 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 78661 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id AF540B70A9 for ; Thu, 13 Jan 2011 17:19:16 +1100 (EST) Received: (qmail 20856 invoked by alias); 13 Jan 2011 06:19:10 -0000 Received: (qmail 20848 invoked by uid 22791); 13 Jan 2011 06:19:09 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, T_RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 13 Jan 2011 06:19:02 +0000 Received: from kpbe16.cbf.corp.google.com (kpbe16.cbf.corp.google.com [172.25.105.80]) by smtp-out.google.com with ESMTP id p0D6J0cH019048 for ; Wed, 12 Jan 2011 22:19:00 -0800 Received: from iyj21 (iyj21.prod.google.com [10.241.51.85]) by kpbe16.cbf.corp.google.com with ESMTP id p0D6IxOL015438 for ; Wed, 12 Jan 2011 22:18:59 -0800 Received: by iyj21 with SMTP id 21so1428754iyj.2 for ; Wed, 12 Jan 2011 22:18:59 -0800 (PST) Received: by 10.42.175.193 with SMTP id bb1mr2074579icb.486.1294899539018; Wed, 12 Jan 2011 22:18:59 -0800 (PST) Received: from coign.google.com ([216.239.45.130]) by mx.google.com with ESMTPS id ca7sm1134132icb.0.2011.01.12.22.18.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 22:18:58 -0800 (PST) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: libgo patch committed: Use sparc64 rather than sparcv9 Date: Wed, 12 Jan 2011 22:18:55 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 -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