Patchwork [gccgo] Change gcc-specific files to GPL

login
register
mail settings
Submitter Ian Taylor
Date Nov. 3, 2010, 6:32 p.m.
Message ID <mcrmxpql0lb.fsf@google.com>
Download mbox | patch
Permalink /patch/70050/
State New
Headers show

Comments

Ian Taylor - Nov. 3, 2010, 6:32 p.m.
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

Patch

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
+# <http://www.gnu.org/licenses/>.
 
 # 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
+<http://www.gnu.org/licenses/>.  */
 
 #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
+<http://www.gnu.org/licenses/>.  */
 
 /* 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
+; <http://www.gnu.org/licenses/>.
 
 ; 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
+<http://www.gnu.org/licenses/>.  */
 
 #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
+# <http://www.gnu.org/licenses/>.
 
 # 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
+<http://www.gnu.org/licenses/>.  */
 
 #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
+// <http://www.gnu.org/licenses/>.
 
 #ifndef GO_SYSTEM_H
 #define GO_SYSTEM_H