public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [RFC PATCH] sim: switch Cygnus Solutions copyrights to FSF
@ 2022-01-01 18:41 Mike Frysinger
  2022-01-08  8:36 ` Joel Brobecker
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Frysinger @ 2022-01-01 18:41 UTC (permalink / raw)
  To: gdb-patches; +Cc: Joel Brobecker

This was done for the vast majority of files in the sim tree, but looks
like these few were missed.  While Cygnus Solutions doesn't exist today,
it merged with RedHat who has FSF assignment in place.
---
 gdb/copyright.py        |  5 -----
 sim/arm/thumbemu.c      |  3 ++-
 sim/common/cgen-accfp.c | 18 ++++++++++++++++--
 sim/common/cgen-fpu.c   | 16 +++++++++++++++-
 sim/common/cgen-fpu.h   | 17 +++++++++++++++--
 sim/mips/sim-main.c     |  3 ++-
 6 files changed, 50 insertions(+), 12 deletions(-)

diff --git a/gdb/copyright.py b/gdb/copyright.py
index 918d2e473d49..2e167b984013 100755
--- a/gdb/copyright.py
+++ b/gdb/copyright.py
@@ -272,7 +272,6 @@ NOT_FSF_LIST = (
     "sim/arm/armcopro.c",
     "sim/arm/armemu.c",
     "sim/arm/kid.c",
-    "sim/arm/thumbemu.c",
     "sim/arm/armdefs.h",
     "sim/arm/armopts.h",
     "sim/arm/dbg_cp.h",
@@ -288,11 +287,7 @@ NOT_FSF_LIST = (
     "sim/arm/gdbhost.h",
     "sim/arm/armfpe.h",
     "sim/arm/arminit.c",
-    "sim/common/cgen-fpu.c",
-    "sim/common/cgen-fpu.h",
-    "sim/common/cgen-accfp.c",
     "sim/mips/m16run.c",
-    "sim/mips/sim-main.c",
     "sim/moxie/moxie-gdb.dts",
     # Not a single file in sim/ppc/ appears to be copyright FSF :-(.
     "sim/ppc/filter.h",
diff --git a/sim/arm/thumbemu.c b/sim/arm/thumbemu.c
index 6915d23ec4cc..b0886da0f396 100644
--- a/sim/arm/thumbemu.c
+++ b/sim/arm/thumbemu.c
@@ -1,5 +1,6 @@
 /*  thumbemu.c -- Thumb instruction emulation.
-    Copyright (C) 1996, Cygnus Software Technologies Ltd.
+    Copyright 1996-2022 Free Software Foundation, Inc.
+    Contributed by Cygnus Solutions.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
diff --git a/sim/common/cgen-accfp.c b/sim/common/cgen-accfp.c
index 345cfe81eb28..2db9c89b4b37 100644
--- a/sim/common/cgen-accfp.c
+++ b/sim/common/cgen-accfp.c
@@ -1,7 +1,21 @@
 /* Accurate fp support for CGEN-based simulators.
-   Copyright (C) 1999 Cygnus Solutions.
+   Copyright 1999-2022 Free Software Foundation, Inc.
+   Contributed by Cygnus Solutions.
 
-   This implemention assumes:
+   This program 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 of the License, or
+   (at your option) any later version.
+
+   This program 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 this program; if not, see <http://www.gnu.org/licenses/>. */
+
+/* This implemention assumes:
    typedef USI SF;
    typedef UDI DF;
 
diff --git a/sim/common/cgen-fpu.c b/sim/common/cgen-fpu.c
index 1b035eae3432..7b8a97a4a6b5 100644
--- a/sim/common/cgen-fpu.c
+++ b/sim/common/cgen-fpu.c
@@ -1,5 +1,19 @@
 /* CGEN fpu support
-   Copyright (C) 1999 Cygnus Solutions.  */
+   Copyright 1999-2022 Free Software Foundation, Inc.
+   Contributed by Cygnus Solutions.
+
+   This program 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 of the License, or
+   (at your option) any later version.
+
+   This program 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 this program; if not, see <http://www.gnu.org/licenses/>. */
 
 /* This must come before any other includes.  */
 #include "defs.h"
diff --git a/sim/common/cgen-fpu.h b/sim/common/cgen-fpu.h
index cc5d3569e180..f62cf6ace988 100644
--- a/sim/common/cgen-fpu.h
+++ b/sim/common/cgen-fpu.h
@@ -1,6 +1,19 @@
 /* CGEN fpu support
-   Copyright (C) 1999 Cygnus Solutions.
-   Copyright (C) 2010 Doug Evans.  */
+   Copyright 1999-2022 Free Software Foundation, Inc.
+   Contributed by Cygnus Solutions.
+
+   This program 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 of the License, or
+   (at your option) any later version.
+
+   This program 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 this program; if not, see <http://www.gnu.org/licenses/>. */
 
 #ifndef CGEN_FPU_H
 #define CGEN_FPU_H
diff --git a/sim/mips/sim-main.c b/sim/mips/sim-main.c
index 876593b33f83..e4883e1e2f90 100644
--- a/sim/mips/sim-main.c
+++ b/sim/mips/sim-main.c
@@ -1,4 +1,5 @@
-/*  Copyright (C) 1998, Cygnus Solutions
+/*  Copyright 1998-2022 Free Software Foundation, Inc.
+    Contributed by Cygnus Solutions.
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
-- 
2.33.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH] sim: switch Cygnus Solutions copyrights to FSF
  2022-01-01 18:41 [RFC PATCH] sim: switch Cygnus Solutions copyrights to FSF Mike Frysinger
@ 2022-01-08  8:36 ` Joel Brobecker
  2022-01-13 20:50   ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2022-01-08  8:36 UTC (permalink / raw)
  To: Mike Frysinger; +Cc: gdb-patches, Joel Brobecker

> This was done for the vast majority of files in the sim tree, but looks
> like these few were missed.  While Cygnus Solutions doesn't exist today,
> it merged with RedHat who has FSF assignment in place.

I would ask the copyright clerk at the FSF (copyright-clerk@fsf.org)
about that. Intuitively, even though Cygnus has been merged into
RedHat, and RedHat has a copyright assignment on file for *past*
and future changes, I don't know that it means *any* past changes
contributed by an entity which became part of RH after the change
was contributed can see its copyright be re-assigned. I'm wondering
if someone at RedHat must give permission or rather express the
desire to assign this code's copyright to the FSF?

> ---
>  gdb/copyright.py        |  5 -----
>  sim/arm/thumbemu.c      |  3 ++-
>  sim/common/cgen-accfp.c | 18 ++++++++++++++++--
>  sim/common/cgen-fpu.c   | 16 +++++++++++++++-
>  sim/common/cgen-fpu.h   | 17 +++++++++++++++--
>  sim/mips/sim-main.c     |  3 ++-
>  6 files changed, 50 insertions(+), 12 deletions(-)
> 
> diff --git a/gdb/copyright.py b/gdb/copyright.py
> index 918d2e473d49..2e167b984013 100755
> --- a/gdb/copyright.py
> +++ b/gdb/copyright.py
> @@ -272,7 +272,6 @@ NOT_FSF_LIST = (
>      "sim/arm/armcopro.c",
>      "sim/arm/armemu.c",
>      "sim/arm/kid.c",
> -    "sim/arm/thumbemu.c",
>      "sim/arm/armdefs.h",
>      "sim/arm/armopts.h",
>      "sim/arm/dbg_cp.h",
> @@ -288,11 +287,7 @@ NOT_FSF_LIST = (
>      "sim/arm/gdbhost.h",
>      "sim/arm/armfpe.h",
>      "sim/arm/arminit.c",
> -    "sim/common/cgen-fpu.c",
> -    "sim/common/cgen-fpu.h",
> -    "sim/common/cgen-accfp.c",
>      "sim/mips/m16run.c",
> -    "sim/mips/sim-main.c",
>      "sim/moxie/moxie-gdb.dts",
>      # Not a single file in sim/ppc/ appears to be copyright FSF :-(.
>      "sim/ppc/filter.h",
> diff --git a/sim/arm/thumbemu.c b/sim/arm/thumbemu.c
> index 6915d23ec4cc..b0886da0f396 100644
> --- a/sim/arm/thumbemu.c
> +++ b/sim/arm/thumbemu.c
> @@ -1,5 +1,6 @@
>  /*  thumbemu.c -- Thumb instruction emulation.
> -    Copyright (C) 1996, Cygnus Software Technologies Ltd.
> +    Copyright 1996-2022 Free Software Foundation, Inc.
> +    Contributed by Cygnus Solutions.
>  
>      This program is free software; you can redistribute it and/or modify
>      it under the terms of the GNU General Public License as published by
> diff --git a/sim/common/cgen-accfp.c b/sim/common/cgen-accfp.c
> index 345cfe81eb28..2db9c89b4b37 100644
> --- a/sim/common/cgen-accfp.c
> +++ b/sim/common/cgen-accfp.c
> @@ -1,7 +1,21 @@
>  /* Accurate fp support for CGEN-based simulators.
> -   Copyright (C) 1999 Cygnus Solutions.
> +   Copyright 1999-2022 Free Software Foundation, Inc.
> +   Contributed by Cygnus Solutions.
>  
> -   This implemention assumes:
> +   This program 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 of the License, or
> +   (at your option) any later version.
> +
> +   This program 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 this program; if not, see <http://www.gnu.org/licenses/>. */
> +
> +/* This implemention assumes:
>     typedef USI SF;
>     typedef UDI DF;
>  
> diff --git a/sim/common/cgen-fpu.c b/sim/common/cgen-fpu.c
> index 1b035eae3432..7b8a97a4a6b5 100644
> --- a/sim/common/cgen-fpu.c
> +++ b/sim/common/cgen-fpu.c
> @@ -1,5 +1,19 @@
>  /* CGEN fpu support
> -   Copyright (C) 1999 Cygnus Solutions.  */
> +   Copyright 1999-2022 Free Software Foundation, Inc.
> +   Contributed by Cygnus Solutions.
> +
> +   This program 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 of the License, or
> +   (at your option) any later version.
> +
> +   This program 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 this program; if not, see <http://www.gnu.org/licenses/>. */
>  
>  /* This must come before any other includes.  */
>  #include "defs.h"
> diff --git a/sim/common/cgen-fpu.h b/sim/common/cgen-fpu.h
> index cc5d3569e180..f62cf6ace988 100644
> --- a/sim/common/cgen-fpu.h
> +++ b/sim/common/cgen-fpu.h
> @@ -1,6 +1,19 @@
>  /* CGEN fpu support
> -   Copyright (C) 1999 Cygnus Solutions.
> -   Copyright (C) 2010 Doug Evans.  */
> +   Copyright 1999-2022 Free Software Foundation, Inc.
> +   Contributed by Cygnus Solutions.
> +
> +   This program 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 of the License, or
> +   (at your option) any later version.
> +
> +   This program 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 this program; if not, see <http://www.gnu.org/licenses/>. */
>  
>  #ifndef CGEN_FPU_H
>  #define CGEN_FPU_H
> diff --git a/sim/mips/sim-main.c b/sim/mips/sim-main.c
> index 876593b33f83..e4883e1e2f90 100644
> --- a/sim/mips/sim-main.c
> +++ b/sim/mips/sim-main.c
> @@ -1,4 +1,5 @@
> -/*  Copyright (C) 1998, Cygnus Solutions
> +/*  Copyright 1998-2022 Free Software Foundation, Inc.
> +    Contributed by Cygnus Solutions.
>  
>      This program is free software; you can redistribute it and/or modify
>      it under the terms of the GNU General Public License as published by
> -- 
> 2.33.0
> 

-- 
Joel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [RFC PATCH] sim: switch Cygnus Solutions copyrights to FSF
  2022-01-08  8:36 ` Joel Brobecker
@ 2022-01-13 20:50   ` Mike Frysinger
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2022-01-13 20:50 UTC (permalink / raw)
  To: Joel Brobecker; +Cc: gdb-patches

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

On 08 Jan 2022 12:36, Joel Brobecker wrote:
> > This was done for the vast majority of files in the sim tree, but looks
> > like these few were missed.  While Cygnus Solutions doesn't exist today,
> > it merged with RedHat who has FSF assignment in place.
> 
> I would ask the copyright clerk at the FSF (copyright-clerk@fsf.org)
> about that. Intuitively, even though Cygnus has been merged into
> RedHat, and RedHat has a copyright assignment on file for *past*
> and future changes, I don't know that it means *any* past changes
> contributed by an entity which became part of RH after the change
> was contributed can see its copyright be re-assigned. I'm wondering
> if someone at RedHat must give permission or rather express the
> desire to assign this code's copyright to the FSF?

thanks, i'll reach out to the FSF.  these old copyrights are annoying
because it's easy to miss when refactoring or writing new code when the
rest of the code base is FSF.
-mike

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-13 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-01 18:41 [RFC PATCH] sim: switch Cygnus Solutions copyrights to FSF Mike Frysinger
2022-01-08  8:36 ` Joel Brobecker
2022-01-13 20:50   ` Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).