diff mbox

[arm] Add GCC runtime library exceptions to files that go into libgcc

Message ID 536CDB14.90204@gjlay.de
State New
Headers show

Commit Message

Georg-Johann Lay May 9, 2014, 1:41 p.m. UTC
This patch adds GCC Runtime Library Exception to files that go into libgcc 
because libgcc2.c includes tm.h and libgcc_tm.h.

Most of these files contain much code, some used by libgcc, some not. Some 
potential users of (lib)gcc have objections that missing RLE might "infect" 
their target code.

Even though I know that this is actually not the case and the FSF is fine with 
target code linked against libgcc, it's pointless to argue in that direction. 
At least this is my personal experience with advocates.

I am aware that there was effort for better separation of libgcc and GCC, but 
obviously this separation has not yet been achieved.

This this ok for trunk?

And is there anything special about license changes w.r.t FSF that I have to 
take into account?  CCed Ian so that someone from the GCC steering committee 
can have a look.

Thanks.

Johann


gcc/
        * config/arm/arm.h (License): Add GCC Runtime Library Exception.
        * config/arm/aout.h (License): Same.
        * config/arm/bpabi.h (License): Same.
        * config/arm/elf.h (License): Same.
        * config/arm/linux-elf.h (License): Same.
        * config/arm/linux-gas.h (License): Same.
        * config/arm/netbsd-elf.h (License): Same.
        * config/arm/uclinux-eabi.h (License): Same.
        * config/arm/uclinux-elf.h (License): Same.
        * config/arm/vxworks.h (License): Same.

libgcc/
	* config/arm/bpabi-lib.h (License): Add GCC Runtime Library Exception.

Comments

Ian Lance Taylor May 10, 2014, 12:51 a.m. UTC | #1
Georg-Johann Lay <avr@gjlay.de> writes:

> This patch adds GCC Runtime Library Exception to files that go into
> libgcc because libgcc2.c includes tm.h and libgcc_tm.h.
>
> Most of these files contain much code, some used by libgcc, some
> not. Some potential users of (lib)gcc have objections that missing RLE
> might "infect" their target code.
>
> Even though I know that this is actually not the case and the FSF is
> fine with target code linked against libgcc, it's pointless to argue
> in that direction. At least this is my personal experience with
> advocates.
>
> I am aware that there was effort for better separation of libgcc and
> GCC, but obviously this separation has not yet been achieved.
>
> This this ok for trunk?
>
> And is there anything special about license changes w.r.t FSF that I
> have to take into account?  CCed Ian so that someone from the GCC
> steering committee can have a look.

I think this is unnecessary but fine.

Please wait a couple of days to see if there are any objections.

Ian
diff mbox

Patch

Index: gcc/config/arm/elf.h
===================================================================
--- gcc/config/arm/elf.h	(revision 210276)
+++ gcc/config/arm/elf.h	(working copy)
@@ -16,6 +16,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/bpabi.h
===================================================================
--- gcc/config/arm/bpabi.h	(revision 210276)
+++ gcc/config/arm/bpabi.h	(working copy)
@@ -14,6 +14,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/arm.h
===================================================================
--- gcc/config/arm/arm.h	(revision 210276)
+++ gcc/config/arm/arm.h	(working copy)
@@ -17,6 +17,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/netbsd-elf.h
===================================================================
--- gcc/config/arm/netbsd-elf.h	(revision 210276)
+++ gcc/config/arm/netbsd-elf.h	(working copy)
@@ -14,6 +14,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/linux-elf.h
===================================================================
--- gcc/config/arm/linux-elf.h	(revision 210276)
+++ gcc/config/arm/linux-elf.h	(working copy)
@@ -14,6 +14,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/linux-gas.h
===================================================================
--- gcc/config/arm/linux-gas.h	(revision 210276)
+++ gcc/config/arm/linux-gas.h	(working copy)
@@ -15,6 +15,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/aout.h
===================================================================
--- gcc/config/arm/aout.h	(revision 210276)
+++ gcc/config/arm/aout.h	(working copy)
@@ -14,6 +14,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/vxworks.h
===================================================================
--- gcc/config/arm/vxworks.h	(revision 210276)
+++ gcc/config/arm/vxworks.h	(working copy)
@@ -17,6 +17,10 @@  but WITHOUT ANY WARRANTY; without even t
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
+Under Section 7 of GPL version 3, you are granted additional
+permissions described in the GCC Runtime Library Exception, version
+3.1, as published by the Free Software Foundation.
+
 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/>.  */
Index: gcc/config/arm/uclinux-eabi.h
===================================================================
--- gcc/config/arm/uclinux-eabi.h	(revision 210276)
+++ gcc/config/arm/uclinux-eabi.h	(working copy)
@@ -14,6 +14,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: gcc/config/arm/uclinux-elf.h
===================================================================
--- gcc/config/arm/uclinux-elf.h	(revision 210276)
+++ gcc/config/arm/uclinux-elf.h	(working copy)
@@ -14,6 +14,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    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/>.  */
Index: libgcc/config/arm/bpabi-lib.h
===================================================================
--- libgcc/config/arm/bpabi-lib.h	(revision 210276)
+++ libgcc/config/arm/bpabi-lib.h	(working copy)
@@ -14,6 +14,10 @@ 
    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
    License for more details.
 
+   Under Section 7 of GPL version 3, you are granted additional
+   permissions described in the GCC Runtime Library Exception, version
+   3.1, as published by the Free Software Foundation.
+
    You should have received a copy of the GNU General Public License and
    a copy of the GCC Runtime Library Exception along with this program;
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see