From patchwork Wed Nov 3 18:32:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 70050 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 7FE85B6EED for ; Thu, 4 Nov 2010 05:32:53 +1100 (EST) Received: (qmail 14298 invoked by alias); 3 Nov 2010 18:32:50 -0000 Received: (qmail 14278 invoked by uid 22791); 3 Nov 2010 18:32:46 -0000 X-SWARE-Spam-Status: No, hits=-4.6 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, TW_CC, 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) (74.125.121.35) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 03 Nov 2010 18:32:39 +0000 Received: from hpaq2.eem.corp.google.com (hpaq2.eem.corp.google.com [172.25.149.2]) by smtp-out.google.com with ESMTP id oA3IWaGF002772 for ; Wed, 3 Nov 2010 11:32:36 -0700 Received: from ywc21 (ywc21.prod.google.com [10.192.3.21]) by hpaq2.eem.corp.google.com with ESMTP id oA3IW9fJ015330 for ; Wed, 3 Nov 2010 11:32:35 -0700 Received: by ywc21 with SMTP id 21so810900ywc.5 for ; Wed, 03 Nov 2010 11:32:35 -0700 (PDT) Received: by 10.42.211.9 with SMTP id gm9mr13900015icb.497.1288809154994; Wed, 03 Nov 2010 11:32:34 -0700 (PDT) Received: from coign.google.com (dhcp-172-22-125-232.mtv.corp.google.com [172.22.125.232]) by mx.google.com with ESMTPS id d21sm8341986ibg.9.2010.11.03.11.32.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 03 Nov 2010 11:32:34 -0700 (PDT) From: Ian Lance Taylor To: gcc-patches@gcc.gnu.org, gofrontend-dev@googlegroups.com Subject: [gccgo] Change gcc-specific files to GPL Date: Wed, 03 Nov 2010 11:32:32 -0700 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 Another step in the separation of the gcc-specific part of the Go frontend. This patch changes the gcc-specific files from the Go BSD-style license to the GPL. This only changes the gcc repository, as these files are no longer in the gofrontend repository. Committed to gccgo branch. Ian Index: Make-lang.in =================================================================== --- Make-lang.in (revision 166266) +++ Make-lang.in (working copy) @@ -1,8 +1,22 @@ # Make-lang.in -- Top level -*- makefile -*- fragment for gcc Go frontend. -# Copyright 2009, 2010 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. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. + +# This file is part of GCC. + +# GCC is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. + +# GCC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# . # This file provides the language dependent support in the main Makefile. Index: gospec.c =================================================================== --- gospec.c (revision 166230) +++ gospec.c (working copy) @@ -1,8 +1,21 @@ /* gospec.c -- Specific flags and argument handling of the gcc Go front end. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. - Copyright 2009 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. */ +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ #include "config.h" #include "system.h" Index: lang-specs.h =================================================================== --- lang-specs.h (revision 166230) +++ lang-specs.h (working copy) @@ -1,8 +1,21 @@ /* lang-specs.h -- gcc driver specs for Go frontend. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. - Copyright 2009 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. */ +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ /* This is the contribution to the `default_compilers' array in gcc.c for the Go language. */ Index: lang.opt =================================================================== --- lang.opt (revision 166230) +++ lang.opt (working copy) @@ -1,8 +1,22 @@ ; lang.opt -- Options for the gcc Go front end. -; Copyright 2009 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. +; Copyright (C) 2009, 2010 Free Software Foundation, Inc. +; +; This file is part of GCC. +; +; GCC is free software; you can redistribute it and/or modify it under +; the terms of the GNU General Public License as published by the Free +; Software Foundation; either version 3, or (at your option) any later +; version. +; +; GCC is distributed in the hope that it will be useful, but WITHOUT ANY +; WARRANTY; without even the implied warranty of MERCHANTABILITY or +; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +; for more details. +; +; You should have received a copy of the GNU General Public License +; along with GCC; see the file COPYING3. If not see +; . ; See the GCC internals manual for a description of this file's format. Index: go-lang.c =================================================================== --- go-lang.c (revision 166230) +++ go-lang.c (working copy) @@ -1,8 +1,21 @@ /* go-lang.c -- Go frontend gcc interface. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. - Copyright 2009 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. */ +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ #include "config.h" #include "system.h" Index: README.gcc =================================================================== --- README.gcc (revision 166230) +++ README.gcc (working copy) @@ -1,3 +1,3 @@ -The files in this directory are mirrored from the gofrontend project -hosted at http://code.google.com/p/gofrontend. These files are the -ones in the go subdirectory of that project. +The files in the gofrontend subdirectory are mirrored from the +gofrontend project hosted at http://code.google.com/p/gofrontend. +These files are the ones in the go subdirectory of that project. Index: config-lang.in =================================================================== --- config-lang.in (revision 166230) +++ config-lang.in (working copy) @@ -1,8 +1,22 @@ # config-lang.in -- Top level configure fragment for gcc Go frontend. -# Copyright 2009 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. +# Copyright (C) 2009, 2010 Free Software Foundation, Inc. + +# This file is part of GCC. + +# GCC is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3, or (at your option) +# any later version. + +# GCC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with GCC; see the file COPYING3. If not see +# . # Configure looks for the existence of this file to auto-config each language. # We define several parameters used by configure: Index: go-c.h =================================================================== --- go-c.h (revision 166230) +++ go-c.h (working copy) @@ -1,8 +1,21 @@ /* go-c.h -- Header file for go frontend gcc C interface. + Copyright (C) 2009, 2010 Free Software Foundation, Inc. - Copyright 2009 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. */ +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 3, or (at your option) any later +version. + +GCC is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with GCC; see the file COPYING3. If not see +. */ #ifndef GO_GO_C_H #define GO_GO_C_H Index: go-system.h =================================================================== --- go-system.h (revision 166230) +++ go-system.h (working copy) @@ -1,8 +1,21 @@ // go-system.h -- Go frontend inclusion of gcc header files -*- C++ -*- +// Copyright (C) 2009, 2010 Free Software Foundation, Inc. -// Copyright 2009 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. +// This file is part of GCC. + +// GCC is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 3, or (at your option) any later +// version. + +// GCC is distributed in the hope that it will be useful, but WITHOUT ANY +// WARRANTY; without even the implied warranty of MERCHANTABILITY or +// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +// for more details. + +// You should have received a copy of the GNU General Public License +// along with GCC; see the file COPYING3. If not see +// . #ifndef GO_SYSTEM_H #define GO_SYSTEM_H