public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Richard Sandiford <rsandifo@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r10-10083] libgcc: Add missing runtime exception notices
Date: Tue, 31 Aug 2021 09:58:37 +0000 (GMT)	[thread overview]
Message-ID: <20210831095837.1DBDD3858401@sourceware.org> (raw)

https://gcc.gnu.org/g:93463633254245d8cc42c1b5996253668796f074

commit r10-10083-g93463633254245d8cc42c1b5996253668796f074
Author: Richard Sandiford <richard.sandiford@arm.com>
Date:   Tue Aug 31 10:58:26 2021 +0100

    libgcc: Add missing runtime exception notices
    
    Quoting from https://gcc.gnu.org/pipermail/gcc/2021-July/236716.html:
    
    --------------------------------------------------------------------
    It was pointed out to me off-list that config/aarch64/value-unwind.h
    is missing the runtime exception.  It looks like a few other files
    are too; a fuller list is:
    
    libgcc/config/aarch64/value-unwind.h
    libgcc/config/frv/frv-abi.h
    libgcc/config/i386/value-unwind.h
    libgcc/config/pa/pa64-hpux-lib.h
    
    Certainly for the aarch64 file this was simply a mistake;
    it seems to have been copied from the i386 version, both of which
    reference the runtime exception but don't actually include it.
    --------------------------------------------------------------------
    
    Similarly, frv-abi.h referenced the exception but didn't include it.
    pa64-hpux-lib.h was missing any reference to the exception.
    
    The decision was that this was simply a mistake
    [https://gcc.gnu.org/pipermail/gcc/2021-July/236717.html]:
    
    --------------------------------------------------------------------
    […] It generally is
    considered a textual omission.  The runtime library components of GCC
    are intended to be licensed under the runtime exception, which was
    granted and approved at the time of introduction.
    --------------------------------------------------------------------
    
    and that we should simply change all of the files above
    [https://gcc.gnu.org/pipermail/gcc/2021-July/236719.html]:
    
    --------------------------------------------------------------------
    Please correct the text in the files. The files in libgcc used in the
    GCC runtime are intended to be licensed with the runtime exception and
    GCC previously was granted approval for that licensing and purpose.
    
    […]
    
    The runtime exception explicitly was intended for this purpose and
    usage at the time that GCC received approval to apply the exception.
    --------------------------------------------------------------------
    
    libgcc/
            * config/aarch64/value-unwind.h: Add missing runtime exception
            paragraph.
            * config/frv/frv-abi.h: Likewise.
            * config/i386/value-unwind.h: Likewise.
            * config/pa/pa64-hpux-lib.h: Likewise.
    
    (cherry picked from commit de7a795c321e76826d123c92b99e73e144666b60)

Diff:
---
 libgcc/config/aarch64/value-unwind.h | 4 ++++
 libgcc/config/frv/frv-abi.h          | 4 ++++
 libgcc/config/i386/value-unwind.h    | 4 ++++
 libgcc/config/pa/pa64-hpux-lib.h     | 9 +++++++--
 4 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/libgcc/config/aarch64/value-unwind.h b/libgcc/config/aarch64/value-unwind.h
index e8b9d44cc58..bb35f416b94 100644
--- a/libgcc/config/aarch64/value-unwind.h
+++ b/libgcc/config/aarch64/value-unwind.h
@@ -13,6 +13,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
diff --git a/libgcc/config/frv/frv-abi.h b/libgcc/config/frv/frv-abi.h
index 1db8b35cfa5..2ba8916db8e 100644
--- a/libgcc/config/frv/frv-abi.h
+++ b/libgcc/config/frv/frv-abi.h
@@ -14,6 +14,10 @@
    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
diff --git a/libgcc/config/i386/value-unwind.h b/libgcc/config/i386/value-unwind.h
index 367c0dea777..208de15510b 100644
--- a/libgcc/config/i386/value-unwind.h
+++ b/libgcc/config/i386/value-unwind.h
@@ -13,6 +13,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
diff --git a/libgcc/config/pa/pa64-hpux-lib.h b/libgcc/config/pa/pa64-hpux-lib.h
index ebe1b51057e..ae1423fcb0e 100644
--- a/libgcc/config/pa/pa64-hpux-lib.h
+++ b/libgcc/config/pa/pa64-hpux-lib.h
@@ -14,8 +14,13 @@ 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
+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
 <http://www.gnu.org/licenses/>.  */
 
 /* We use DTOR_LIST_BEGIN to carry a bunch of hacks to allow us to use


                 reply	other threads:[~2021-08-31  9:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210831095837.1DBDD3858401@sourceware.org \
    --to=rsandifo@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).