Skip to content

Commit 6e6c61d

Browse files
KAGA-KOKOJonathan Corbet
authored and
Jonathan Corbet
committed
LICENSES: Add GCC runtime library exception text
A recent commit added SPDX identifiers to the SuperH low level library code which originates from GCC. This code is licensed under the GPL 2.0 or later with the GCC runtime library exception. Unfortunately the authors did not bother to add the exception text to the LICENSES directory so spdxcheck fails with: arch/sh/lib/ashiftrt.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/ashlsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/ashrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/lshrsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/movmem.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/udiv_qrnnd.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/udivsi3.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/udivsi3_i4i-Os.S: 1:42 Invalid Exception ID: GCC-exception-2.0 arch/sh/lib/udivsi3_i4i.S: 1:42 Invalid Exception ID: GCC-exception-2.0 Add the exception text along with the required tags which allow automated checking. Fixes: 4494ce4 ("sh: lib: convert to SPDX identifiers") Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Cc: Kuninori Morimoto <[email protected]> Cc: Simon Horman <[email protected]> Cc: Yoshinori Sato <[email protected]> Cc: Rich Felker <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Kate Stewart <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
1 parent 053bc56 commit 6e6c61d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

LICENSES/exceptions/GCC-exception-2.0

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
SPDX-Exception-Identifier: GCC-exception-2.0
2+
SPDX-URL: https://spdx.org/licenses/GCC-exception-2.0.html
3+
SPDX-Licenses: GPL-2.0, GPL-2.0+, GPL-2.0-only, GPL-2.0-or-later
4+
Usage-Guide:
5+
This exception is used together with one of the above SPDX-Licenses to
6+
allow linking the compiled version of code to non GPL compliant code.
7+
To use this exception add it with the keyword WITH to one of the
8+
identifiers in the SPDX-Licenses tag:
9+
SPDX-License-Identifier: <SPDX-License> WITH GCC-exception-2.0
10+
License-Text:
11+
12+
In addition to the permissions in the GNU Library General Public License,
13+
the Free Software Foundation gives you unlimited permission to link the
14+
compiled version of this file into combinations with other programs, and to
15+
distribute those programs without any restriction coming from the use of
16+
this file. (The General Public License restrictions do apply in other
17+
respects; for example, they cover modification of the file, and
18+
distribution when not linked into another program.)

0 commit comments

Comments
 (0)