[6/9,v2] Re-license the project to Apache v2 With LLVM Exception

Message ID 874kq8lsgz.fsf@redhat.com
State Committed
Headers
Series Relicensing Libabigail to Apache 2.0 + LLVM Exception |

Commit Message

Dodji Seketeli July 15, 2020, 3:15 p.m. UTC
  Thanks to the previous work done, changing the license is just a
matter of changing the SPDX identifer from "LGPL-3.0-or-later" to
"Apache-2.0 WITH LLVM-exception".  Note that for the abigail.m4,
tests/test-dot.cc and tests/test-svg.cc the change was from
"GPL-3.0-or-later WITH GCC-exception-3.1" to "Apache-2.0 WITH
LLVM-exception".  include/abg-cxx-compat.h was changed from
"LGPL-2.0-or-later" to "Apache-2.0 WITH LLVM-exception".  Source code
of programs (as opposed to source code of the library) where generally
licensed under GPL-3.0-or-later; they are also now licensed
"Apache-2.0 WITH LLVM-exception".

This is what this patch does.

	* abigail.m4: Change the SPDX identifier from "GPL-3.0-or-later
	WITH GCC-exception-3.1" to "Apache-2.0 WITH LLVM-exception"
	* include/abg-cxx-compat.h: Change the SPDX identifier from
	"LGPL-2.0-or-later" to "Apache-2.0 WITH LLVM-exception".
	* .clang-format: Change the SPDX identifier from
	  "LGPL-3.0-or-later" to "Apache-2.0 WITH LLVM-exception".
	* Makefile.am: Likewise.
	* bash-completion/Makefile.am: Likewise.
	* bash-completion/abicompat: Likewise.
	* bash-completion/abidiff: Likewise.
	* bash-completion/abidw: Likewise.
	* bash-completion/abilint: Likewise.
	* bash-completion/abinilint: Likewise.
	* bash-completion/abipkgdiff: Likewise.
	* bash-completion/abisym: Likewise.
	* bash-completion/fedabipkgdiff: Likewise.
	* configure.ac: Likewise.
	* default.abignore: Likewise.
	* doc/Makefile.am: Likewise.
	* doc/api/libabigail.doxy: Likewise.
	* doc/manuals/Makefile.am: Likewise.
	* doc/website/libabigail-website.doxy: Likewise.
	* include/Makefile.am: Likewise.
	* include/abg-comp-filter.h: Likewise.
	* include/abg-comparison.h: Likewise.
	* include/abg-config.h: Likewise.
	* include/abg-corpus.h: Likewise.
	* include/abg-diff-utils.h: Likewise.
	* include/abg-dwarf-reader.h: Likewise.
	* include/abg-fwd.h: Likewise.
	* include/abg-hash.h: Likewise.
	* include/abg-ini.h: Likewise.
	* include/abg-interned-str.h: Likewise.
	* include/abg-ir.h: Likewise.
	* include/abg-libxml-utils.h: Likewise.
	* include/abg-libzip-utils.h: Likewise.
	* include/abg-reader.h: Likewise.
	* include/abg-regex.h: Likewise.
	* include/abg-reporter.h: Likewise.
	* include/abg-sptr-utils.h: Likewise.
	* include/abg-suppression.h: Likewise.
	* include/abg-tools-utils.h: Likewise.
	* include/abg-traverse.h: Likewise.
	* include/abg-version.h.in: Likewise.
	* include/abg-viz-common.h: Likewise.
	* include/abg-viz-dot.h: Likewise.
	* include/abg-viz-svg.h: Likewise.
	* include/abg-workers.h: Likewise.
	* include/abg-writer.h: Likewise.
	* scripts/dot_to_png.sh: Likewise.
	* scripts/dot_to_svg.sh: Likewise.
	* scripts/make-verbose.sh: Likewise.
	* scripts/svg_to_plain_svg.sh: Likewise.
	* scripts/svg_to_png_and_pdf.sh: Likewise.
	* src/Makefile.am: Likewise.
	* src/abg-comp-filter.cc: Likewise.
	* src/abg-comparison-priv.h: Likewise.
	* src/abg-comparison.cc: Likewise.
	* src/abg-config.cc: Likewise.
	* src/abg-corpus-priv.h: Likewise.
	* src/abg-corpus.cc: Likewise.
	* src/abg-default-reporter.cc: Likewise.
	* src/abg-diff-utils.cc: Likewise.
	* src/abg-dwarf-reader.cc: Likewise.
	* src/abg-elf-helpers.cc: Likewise.
	* src/abg-elf-helpers.h: Likewise.
	* src/abg-hash.cc: Likewise.
	* src/abg-ini.cc: Likewise.
	* src/abg-internal.h: Likewise.
	* src/abg-ir-priv.h: Likewise.
	* src/abg-ir.cc: Likewise.
	* src/abg-leaf-reporter.cc: Likewise.
	* src/abg-libxml-utils.cc: Likewise.
	* src/abg-libzip-utils.cc: Likewise.
	* src/abg-reader.cc: Likewise.
	* src/abg-regex.cc: Likewise.
	* src/abg-reporter-priv.cc: Likewise.
	* src/abg-reporter-priv.h: Likewise.
	* src/abg-suppression-priv.h: Likewise.
	* src/abg-suppression.cc: Likewise.
	* src/abg-tools-utils.cc: Likewise.
	* src/abg-traverse.cc: Likewise.
	* src/abg-viz-common.cc: Likewise.
	* src/abg-viz-dot.cc: Likewise.
	* src/abg-viz-svg.cc: Likewise.
	* src/abg-workers.cc: Likewise.
	* src/abg-writer.cc: Likewise.
	* tests/Makefile.am: Likewise.
	* tests/data/Makefile.am: Likewise.
	* tests/lib/catch.cc: Likewise.
	* tests/mockfedabipkgdiff.in: Likewise.
	* tests/print-diff-tree.cc: Likewise.
	* tests/runtestcanonicalizetypes.sh.in: Likewise.
	* tests/runtestdefaultsupprs.py.in: Likewise.
	* tests/runtestdefaultsupprspy3.sh.in: Likewise.
	* tests/runtestfedabipkgdiff.py.in: Likewise.
	* tests/runtestfedabipkgdiffpy3.sh.in: Likewise.
	* tests/test-abicompat.cc: Likewise.
	* tests/test-abidiff-exit.cc: Likewise.
	* tests/test-abidiff.cc: Likewise.
	* tests/test-alt-dwarf-file.cc: Likewise.
	* tests/test-annotate.cc: Likewise.
	* tests/test-core-diff.cc: Likewise.
	* tests/test-cxx-compat.cc: Likewise.
	* tests/test-diff-dwarf-abixml.cc: Likewise.
	* tests/test-diff-dwarf.cc: Likewise.
	* tests/test-diff-filter.cc: Likewise.
	* tests/test-diff-pkg.cc: Likewise.
	* tests/test-diff-suppr.cc: Likewise.
	* tests/test-diff2.cc: Likewise.
	* tests/test-dot.cc: Change the SPDX identifier from
	"GPL-3.0-or-later WITH GCC-exception-3.1" to "Apache-2.0 WITH
	LLVM-exception"
	* tests/test-elf-helpers.cc: Change the SPDX identifier from
	"LGPL-3.0-or-later" to "Apache-2.0 WITH LLVM-exception"
	* tests/test-ini.cc: Likewise.
	* tests/test-ir-walker.cc: Likewise.
	* tests/test-kmi-whitelist.cc: Likewise.
	* tests/test-lookup-syms.cc: Likewise.
	* tests/test-read-dwarf.cc: Likewise.
	* tests/test-read-write.cc: Likewise.
	* tests/test-svg.cc: Change the SPDX identifier from
	"GPL-3.0-or-later WITH GCC-exception-3.1" to "Apache-2.0 WITH
	LLVM-exception".
	* tests/test-symtab.cc: Change the SPDX identifier from
	"LGPL-3.0-or-later" to "Apache-2.0 WITH LLVM-exception"
	* tests/test-tools-utils.cc: Likewise.
	* tests/test-types-stability.cc: Likewise.
	* tests/test-utils.cc: Likewise.
	* tests/test-utils.h: Likewise.
	* tests/test-write-read-archive.cc: Likewise.
	* tests/update-test-output.py: Likewise.
	* tools/Makefile.am: Likewise.
	* tools/abiar.cc: Likewise.
	* tools/abicompat.cc: Likewise.
	* tools/abidiff.cc: Likewise.
	* tools/abidw.cc: Likewise.
	* tools/abilint.cc: Likewise.
	* tools/abipkgdiff.cc: Likewise.
	* tools/abisym.cc: Likewise.
	* tools/binilint.cc: Likewise.
	* tools/fedabipkgdiff: Likewise.
	* tools/kmidiff.cc: Likewise.
	* update-copyright.sh: Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
Signed-off-by: Matthias Maennich <maennich@google.com>
---
 .clang-format                        | 2 +-
 Makefile.am                          | 2 +-
 abigail.m4                           | 2 +-
 bash-completion/Makefile.am          | 2 +-
 bash-completion/abicompat            | 2 +-
 bash-completion/abidiff              | 2 +-
 bash-completion/abidw                | 2 +-
 bash-completion/abilint              | 2 +-
 bash-completion/abinilint            | 2 +-
 bash-completion/abipkgdiff           | 2 +-
 bash-completion/abisym               | 2 +-
 bash-completion/fedabipkgdiff        | 2 +-
 configure.ac                         | 2 +-
 default.abignore                     | 2 +-
 doc/Makefile.am                      | 2 +-
 doc/api/libabigail.doxy              | 2 +-
 doc/manuals/Makefile.am              | 2 +-
 doc/website/libabigail-website.doxy  | 2 +-
 include/Makefile.am                  | 2 +-
 include/abg-comp-filter.h            | 2 +-
 include/abg-comparison.h             | 2 +-
 include/abg-config.h                 | 2 +-
 include/abg-corpus.h                 | 2 +-
 include/abg-cxx-compat.h             | 2 +-
 include/abg-diff-utils.h             | 2 +-
 include/abg-dwarf-reader.h           | 2 +-
 include/abg-fwd.h                    | 2 +-
 include/abg-hash.h                   | 2 +-
 include/abg-ini.h                    | 2 +-
 include/abg-interned-str.h           | 2 +-
 include/abg-ir.h                     | 2 +-
 include/abg-libxml-utils.h           | 2 +-
 include/abg-libzip-utils.h           | 2 +-
 include/abg-reader.h                 | 2 +-
 include/abg-regex.h                  | 2 +-
 include/abg-reporter.h               | 2 +-
 include/abg-sptr-utils.h             | 2 +-
 include/abg-suppression.h            | 2 +-
 include/abg-tools-utils.h            | 2 +-
 include/abg-traverse.h               | 2 +-
 include/abg-version.h.in             | 2 +-
 include/abg-viz-common.h             | 2 +-
 include/abg-viz-dot.h                | 2 +-
 include/abg-viz-svg.h                | 2 +-
 include/abg-workers.h                | 2 +-
 include/abg-writer.h                 | 2 +-
 scripts/dot_to_png.sh                | 2 +-
 scripts/dot_to_svg.sh                | 2 +-
 scripts/make-verbose.sh              | 2 +-
 scripts/svg_to_plain_svg.sh          | 2 +-
 scripts/svg_to_png_and_pdf.sh        | 2 +-
 src/Makefile.am                      | 2 +-
 src/abg-comp-filter.cc               | 2 +-
 src/abg-comparison-priv.h            | 2 +-
 src/abg-comparison.cc                | 2 +-
 src/abg-config.cc                    | 2 +-
 src/abg-corpus-priv.h                | 2 +-
 src/abg-corpus.cc                    | 2 +-
 src/abg-default-reporter.cc          | 2 +-
 src/abg-diff-utils.cc                | 2 +-
 src/abg-dwarf-reader.cc              | 2 +-
 src/abg-elf-helpers.cc               | 2 +-
 src/abg-elf-helpers.h                | 2 +-
 src/abg-hash.cc                      | 2 +-
 src/abg-ini.cc                       | 2 +-
 src/abg-internal.h                   | 2 +-
 src/abg-ir-priv.h                    | 2 +-
 src/abg-ir.cc                        | 2 +-
 src/abg-leaf-reporter.cc             | 2 +-
 src/abg-libxml-utils.cc              | 2 +-
 src/abg-libzip-utils.cc              | 2 +-
 src/abg-reader.cc                    | 2 +-
 src/abg-regex.cc                     | 2 +-
 src/abg-reporter-priv.cc             | 2 +-
 src/abg-reporter-priv.h              | 2 +-
 src/abg-suppression-priv.h           | 2 +-
 src/abg-suppression.cc               | 2 +-
 src/abg-tools-utils.cc               | 2 +-
 src/abg-traverse.cc                  | 2 +-
 src/abg-viz-common.cc                | 2 +-
 src/abg-viz-dot.cc                   | 2 +-
 src/abg-viz-svg.cc                   | 2 +-
 src/abg-workers.cc                   | 2 +-
 src/abg-writer.cc                    | 2 +-
 tests/Makefile.am                    | 2 +-
 tests/data/Makefile.am               | 2 +-
 tests/lib/catch.cc                   | 2 +-
 tests/mockfedabipkgdiff.in           | 2 +-
 tests/print-diff-tree.cc             | 2 +-
 tests/runtestcanonicalizetypes.sh.in | 2 +-
 tests/runtestdefaultsupprs.py.in     | 2 +-
 tests/runtestdefaultsupprspy3.sh.in  | 2 +-
 tests/runtestfedabipkgdiff.py.in     | 2 +-
 tests/runtestfedabipkgdiffpy3.sh.in  | 2 +-
 tests/test-abicompat.cc              | 2 +-
 tests/test-abidiff-exit.cc           | 2 +-
 tests/test-abidiff.cc                | 2 +-
 tests/test-alt-dwarf-file.cc         | 2 +-
 tests/test-annotate.cc               | 2 +-
 tests/test-core-diff.cc              | 2 +-
 tests/test-cxx-compat.cc             | 2 +-
 tests/test-diff-dwarf-abixml.cc      | 2 +-
 tests/test-diff-dwarf.cc             | 2 +-
 tests/test-diff-filter.cc            | 2 +-
 tests/test-diff-pkg.cc               | 2 +-
 tests/test-diff-suppr.cc             | 2 +-
 tests/test-diff2.cc                  | 2 +-
 tests/test-dot.cc                    | 2 +-
 tests/test-elf-helpers.cc            | 2 +-
 tests/test-ini.cc                    | 2 +-
 tests/test-ir-walker.cc              | 2 +-
 tests/test-kmi-whitelist.cc          | 2 +-
 tests/test-lookup-syms.cc            | 2 +-
 tests/test-read-dwarf.cc             | 2 +-
 tests/test-read-write.cc             | 2 +-
 tests/test-svg.cc                    | 2 +-
 tests/test-symtab.cc                 | 2 +-
 tests/test-tools-utils.cc            | 2 +-
 tests/test-types-stability.cc        | 2 +-
 tests/test-utils.cc                  | 2 +-
 tests/test-utils.h                   | 2 +-
 tests/test-write-read-archive.cc     | 2 +-
 tests/update-test-output.py          | 2 +-
 tools/Makefile.am                    | 2 +-
 tools/abiar.cc                       | 2 +-
 tools/abicompat.cc                   | 2 +-
 tools/abidiff.cc                     | 2 +-
 tools/abidw.cc                       | 2 +-
 tools/abilint.cc                     | 2 +-
 tools/abipkgdiff.cc                  | 2 +-
 tools/abisym.cc                      | 2 +-
 tools/binilint.cc                    | 2 +-
 tools/fedabipkgdiff                  | 2 +-
 tools/kmidiff.cc                     | 2 +-
 update-copyright.sh                  | 2 +-
 135 files changed, 135 insertions(+), 135 deletions(-)
  

Comments

Jonathan Wakely July 16, 2020, 10:33 a.m. UTC | #1
On 15/07/20 17:15 +0200, Dodji Seketeli wrote:
>Thanks to the previous work done, changing the license is just a
>matter of changing the SPDX identifer from "LGPL-3.0-or-later" to
>"Apache-2.0 WITH LLVM-exception".  Note that for the abigail.m4,
>tests/test-dot.cc and tests/test-svg.cc the change was from
>"GPL-3.0-or-later WITH GCC-exception-3.1" to "Apache-2.0 WITH
>LLVM-exception".  include/abg-cxx-compat.h was changed from
>"LGPL-2.0-or-later" to "Apache-2.0 WITH LLVM-exception".  Source code
>of programs (as opposed to source code of the library) where generally
>licensed under GPL-3.0-or-later; they are also now licensed
>"Apache-2.0 WITH LLVM-exception".
>
>This is what this patch does.
>
>	* abigail.m4: Change the SPDX identifier from "GPL-3.0-or-later
>	WITH GCC-exception-3.1" to "Apache-2.0 WITH LLVM-exception"
>	* include/abg-cxx-compat.h: Change the SPDX identifier from
>	"LGPL-2.0-or-later" to "Apache-2.0 WITH LLVM-exception".
>	* .clang-format: Change the SPDX identifier from
>	  "LGPL-3.0-or-later" to "Apache-2.0 WITH LLVM-exception".
>	* Makefile.am: Likewise.
>	* bash-completion/Makefile.am: Likewise.
>	* bash-completion/abicompat: Likewise.
>	* bash-completion/abidiff: Likewise.
>	* bash-completion/abidw: Likewise.
>	* bash-completion/abilint: Likewise.
>	* bash-completion/abinilint: Likewise.
>	* bash-completion/abipkgdiff: Likewise.
>	* bash-completion/abisym: Likewise.
>	* bash-completion/fedabipkgdiff: Likewise.
>	* configure.ac: Likewise.
>	* default.abignore: Likewise.
>	* doc/Makefile.am: Likewise.
>	* doc/api/libabigail.doxy: Likewise.
>	* doc/manuals/Makefile.am: Likewise.
>	* doc/website/libabigail-website.doxy: Likewise.
>	* include/Makefile.am: Likewise.
>	* include/abg-comp-filter.h: Likewise.
>	* include/abg-comparison.h: Likewise.
>	* include/abg-config.h: Likewise.
>	* include/abg-corpus.h: Likewise.
>	* include/abg-diff-utils.h: Likewise.
>	* include/abg-dwarf-reader.h: Likewise.
>	* include/abg-fwd.h: Likewise.
>	* include/abg-hash.h: Likewise.
>	* include/abg-ini.h: Likewise.
>	* include/abg-interned-str.h: Likewise.
>	* include/abg-ir.h: Likewise.
>	* include/abg-libxml-utils.h: Likewise.
>	* include/abg-libzip-utils.h: Likewise.
>	* include/abg-reader.h: Likewise.
>	* include/abg-regex.h: Likewise.
>	* include/abg-reporter.h: Likewise.
>	* include/abg-sptr-utils.h: Likewise.
>	* include/abg-suppression.h: Likewise.
>	* include/abg-tools-utils.h: Likewise.
>	* include/abg-traverse.h: Likewise.
>	* include/abg-version.h.in: Likewise.
>	* include/abg-viz-common.h: Likewise.
>	* include/abg-viz-dot.h: Likewise.
>	* include/abg-viz-svg.h: Likewise.
>	* include/abg-workers.h: Likewise.
>	* include/abg-writer.h: Likewise.
>	* scripts/dot_to_png.sh: Likewise.
>	* scripts/dot_to_svg.sh: Likewise.
>	* scripts/make-verbose.sh: Likewise.
>	* scripts/svg_to_plain_svg.sh: Likewise.
>	* scripts/svg_to_png_and_pdf.sh: Likewise.
>	* src/Makefile.am: Likewise.
>	* src/abg-comp-filter.cc: Likewise.
>	* src/abg-comparison-priv.h: Likewise.
>	* src/abg-comparison.cc: Likewise.
>	* src/abg-config.cc: Likewise.
>	* src/abg-corpus-priv.h: Likewise.
>	* src/abg-corpus.cc: Likewise.
>	* src/abg-default-reporter.cc: Likewise.
>	* src/abg-diff-utils.cc: Likewise.
>	* src/abg-dwarf-reader.cc: Likewise.
>	* src/abg-elf-helpers.cc: Likewise.
>	* src/abg-elf-helpers.h: Likewise.
>	* src/abg-hash.cc: Likewise.
>	* src/abg-ini.cc: Likewise.
>	* src/abg-internal.h: Likewise.
>	* src/abg-ir-priv.h: Likewise.
>	* src/abg-ir.cc: Likewise.
>	* src/abg-leaf-reporter.cc: Likewise.
>	* src/abg-libxml-utils.cc: Likewise.
>	* src/abg-libzip-utils.cc: Likewise.
>	* src/abg-reader.cc: Likewise.
>	* src/abg-regex.cc: Likewise.
>	* src/abg-reporter-priv.cc: Likewise.
>	* src/abg-reporter-priv.h: Likewise.
>	* src/abg-suppression-priv.h: Likewise.
>	* src/abg-suppression.cc: Likewise.
>	* src/abg-tools-utils.cc: Likewise.
>	* src/abg-traverse.cc: Likewise.
>	* src/abg-viz-common.cc: Likewise.
>	* src/abg-viz-dot.cc: Likewise.
>	* src/abg-viz-svg.cc: Likewise.
>	* src/abg-workers.cc: Likewise.
>	* src/abg-writer.cc: Likewise.
>	* tests/Makefile.am: Likewise.
>	* tests/data/Makefile.am: Likewise.
>	* tests/lib/catch.cc: Likewise.
>	* tests/mockfedabipkgdiff.in: Likewise.
>	* tests/print-diff-tree.cc: Likewise.
>	* tests/runtestcanonicalizetypes.sh.in: Likewise.
>	* tests/runtestdefaultsupprs.py.in: Likewise.
>	* tests/runtestdefaultsupprspy3.sh.in: Likewise.
>	* tests/runtestfedabipkgdiff.py.in: Likewise.
>	* tests/runtestfedabipkgdiffpy3.sh.in: Likewise.
>	* tests/test-abicompat.cc: Likewise.
>	* tests/test-abidiff-exit.cc: Likewise.
>	* tests/test-abidiff.cc: Likewise.
>	* tests/test-alt-dwarf-file.cc: Likewise.
>	* tests/test-annotate.cc: Likewise.
>	* tests/test-core-diff.cc: Likewise.
>	* tests/test-cxx-compat.cc: Likewise.
>	* tests/test-diff-dwarf-abixml.cc: Likewise.
>	* tests/test-diff-dwarf.cc: Likewise.
>	* tests/test-diff-filter.cc: Likewise.
>	* tests/test-diff-pkg.cc: Likewise.
>	* tests/test-diff-suppr.cc: Likewise.
>	* tests/test-diff2.cc: Likewise.
>	* tests/test-dot.cc: Change the SPDX identifier from
>	"GPL-3.0-or-later WITH GCC-exception-3.1" to "Apache-2.0 WITH
>	LLVM-exception"
>	* tests/test-elf-helpers.cc: Change the SPDX identifier from
>	"LGPL-3.0-or-later" to "Apache-2.0 WITH LLVM-exception"
>	* tests/test-ini.cc: Likewise.
>	* tests/test-ir-walker.cc: Likewise.
>	* tests/test-kmi-whitelist.cc: Likewise.
>	* tests/test-lookup-syms.cc: Likewise.
>	* tests/test-read-dwarf.cc: Likewise.
>	* tests/test-read-write.cc: Likewise.
>	* tests/test-svg.cc: Change the SPDX identifier from
>	"GPL-3.0-or-later WITH GCC-exception-3.1" to "Apache-2.0 WITH
>	LLVM-exception".
>	* tests/test-symtab.cc: Change the SPDX identifier from
>	"LGPL-3.0-or-later" to "Apache-2.0 WITH LLVM-exception"
>	* tests/test-tools-utils.cc: Likewise.
>	* tests/test-types-stability.cc: Likewise.
>	* tests/test-utils.cc: Likewise.
>	* tests/test-utils.h: Likewise.
>	* tests/test-write-read-archive.cc: Likewise.
>	* tests/update-test-output.py: Likewise.
>	* tools/Makefile.am: Likewise.
>	* tools/abiar.cc: Likewise.
>	* tools/abicompat.cc: Likewise.
>	* tools/abidiff.cc: Likewise.
>	* tools/abidw.cc: Likewise.
>	* tools/abilint.cc: Likewise.
>	* tools/abipkgdiff.cc: Likewise.
>	* tools/abisym.cc: Likewise.
>	* tools/binilint.cc: Likewise.
>	* tools/fedabipkgdiff: Likewise.
>	* tools/kmidiff.cc: Likewise.
>	* update-copyright.sh: Likewise.
>
>Signed-off-by: Dodji Seketeli <dodji@redhat.com>
>Signed-off-by: Giuliano Procida <gprocida@google.com>
>Signed-off-by: Matthias Maennich <maennich@google.com>

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
  
Dodji Seketeli July 16, 2020, 4:23 p.m. UTC | #2
Jonathan Wakely <jwakely@redhat.com> writes:

[...]

>>Signed-off-by: Dodji Seketeli <dodji@redhat.com>
>>Signed-off-by: Giuliano Procida <gprocida@google.com>
>>Signed-off-by: Matthias Maennich <maennich@google.com>
>
> Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
>

Applied, thanks.  It's going to show up in the v3 set of patches.  Until
then you can see this in the relicensing branch that can be browsed at
https://sourceware.org/git/?p=libabigail.git;a=shortlog;h=refs/heads/relicensing.

Cheers,
  

Patch

diff --git a/.clang-format b/.clang-format
index 234be76..ef39428 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 ---
 BasedOnStyle: GNU
 AlignConsecutiveDeclarations: true
diff --git a/Makefile.am b/Makefile.am
index a73df46..541f41d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 SUBDIRS = include src tools tests doc bash-completion
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 headers = config.h
diff --git a/abigail.m4 b/abigail.m4
index 2c7626d..352e13a 100644
--- a/abigail.m4
+++ b/abigail.m4
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: GPL-3.0-or-later WITH GCC-exception-3.1
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 #
 # Copyright (C) 2013-2020 Red Hat, Inc
 #
diff --git a/bash-completion/Makefile.am b/bash-completion/Makefile.am
index e7027ee..26d995e 100644
--- a/bash-completion/Makefile.am
+++ b/bash-completion/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 #if ENABLE_BASH_COMPLETION
 EXTRA_DIST = \
 abicompat \
diff --git a/bash-completion/abicompat b/bash-completion/abicompat
index d4ff950..5f77229 100644
--- a/bash-completion/abicompat
+++ b/bash-completion/abicompat
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _abicompat_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abidiff b/bash-completion/abidiff
index 3e0ae5b..4326533 100644
--- a/bash-completion/abidiff
+++ b/bash-completion/abidiff
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _abidiff_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abidw b/bash-completion/abidw
index b83bc62..7dc08bf 100644
--- a/bash-completion/abidw
+++ b/bash-completion/abidw
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _abidw_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abilint b/bash-completion/abilint
index d34d243..c809676 100644
--- a/bash-completion/abilint
+++ b/bash-completion/abilint
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _abilint_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abinilint b/bash-completion/abinilint
index 0c24079..2863d00 100644
--- a/bash-completion/abinilint
+++ b/bash-completion/abinilint
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _abinilint_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abipkgdiff b/bash-completion/abipkgdiff
index 894798b..83096fa 100644
--- a/bash-completion/abipkgdiff
+++ b/bash-completion/abipkgdiff
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _abipkgdiff_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/abisym b/bash-completion/abisym
index 25bb075..6e57e9c 100644
--- a/bash-completion/abisym
+++ b/bash-completion/abisym
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _abisym_module()
 {
 	local cur prev OPTS
diff --git a/bash-completion/fedabipkgdiff b/bash-completion/fedabipkgdiff
index 2bfa468..8c3ffc7 100644
--- a/bash-completion/fedabipkgdiff
+++ b/bash-completion/fedabipkgdiff
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 _fedabipkgdiff_module()
 {
 	local cur OPTS
diff --git a/configure.ac b/configure.ac
index 73801aa..0cfa36d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 m4_define([version_major],   [1])
 m4_define([version_minor],   [8])
 
diff --git a/default.abignore b/default.abignore
index 3916f54..2df7f51 100644
--- a/default.abignore
+++ b/default.abignore
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 #
 # This file contains default system-wide suppression specifications to
 # be used by Abigail tools[1] to filter out specific ABI change
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 840fc7c..3cf76ec 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 SUBDIRS = manuals
 
 EXTRA_DIST = api/libabigail.doxy website/libabigail-website.doxy
diff --git a/doc/api/libabigail.doxy b/doc/api/libabigail.doxy
index a7cb987..e3136dd 100644
--- a/doc/api/libabigail.doxy
+++ b/doc/api/libabigail.doxy
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 #
 # Doxyfile 1.8.3.1
 
diff --git a/doc/manuals/Makefile.am b/doc/manuals/Makefile.am
index 342faf2..894b38f 100644
--- a/doc/manuals/Makefile.am
+++ b/doc/manuals/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 #
 # Makefile for Sphinx documentation
 
diff --git a/doc/website/libabigail-website.doxy b/doc/website/libabigail-website.doxy
index f86ff02..b1ecb9a 100644
--- a/doc/website/libabigail-website.doxy
+++ b/doc/website/libabigail-website.doxy
@@ -1,4 +1,4 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 # Doxyfile 1.8.3.1
 
 # This file describes the settings to be used by the documentation system
diff --git a/include/Makefile.am b/include/Makefile.am
index e707c62..1a4b64c 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 pkginclude_HEADERS =	\
 abg-sptr-utils.h	\
 abg-interned-str.h	\
diff --git a/include/abg-comp-filter.h b/include/abg-comp-filter.h
index e02b32a..f614ad6 100644
--- a/include/abg-comp-filter.h
+++ b/include/abg-comp-filter.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-comparison.h b/include/abg-comparison.h
index 91a2316..275a74a 100644
--- a/include/abg-comparison.h
+++ b/include/abg-comparison.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-config.h b/include/abg-config.h
index e7fecdb..f16f05b 100644
--- a/include/abg-config.h
+++ b/include/abg-config.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-corpus.h b/include/abg-corpus.h
index 4c2d6d9..1110f91 100644
--- a/include/abg-corpus.h
+++ b/include/abg-corpus.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-cxx-compat.h b/include/abg-cxx-compat.h
index d692464..46b2ac3 100644
--- a/include/abg-cxx-compat.h
+++ b/include/abg-cxx-compat.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-2.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2019-2020 Google, Inc.
diff --git a/include/abg-diff-utils.h b/include/abg-diff-utils.h
index 60937d1..06e953c 100644
--- a/include/abg-diff-utils.h
+++ b/include/abg-diff-utils.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-dwarf-reader.h b/include/abg-dwarf-reader.h
index 628cc33..c80956a 100644
--- a/include/abg-dwarf-reader.h
+++ b/include/abg-dwarf-reader.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-fwd.h b/include/abg-fwd.h
index 7968d73..7d03b64 100644
--- a/include/abg-fwd.h
+++ b/include/abg-fwd.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-hash.h b/include/abg-hash.h
index c698a96..60c4143 100644
--- a/include/abg-hash.h
+++ b/include/abg-hash.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-ini.h b/include/abg-ini.h
index 60d328d..f96c858 100644
--- a/include/abg-ini.h
+++ b/include/abg-ini.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-interned-str.h b/include/abg-interned-str.h
index 6ba4058..6967704 100644
--- a/include/abg-interned-str.h
+++ b/include/abg-interned-str.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/include/abg-ir.h b/include/abg-ir.h
index 25e916e..e9f9d97 100644
--- a/include/abg-ir.h
+++ b/include/abg-ir.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-libxml-utils.h b/include/abg-libxml-utils.h
index f127962..a8afff9 100644
--- a/include/abg-libxml-utils.h
+++ b/include/abg-libxml-utils.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-libzip-utils.h b/include/abg-libzip-utils.h
index 5e52e06..998b36b 100644
--- a/include/abg-libzip-utils.h
+++ b/include/abg-libzip-utils.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-reader.h b/include/abg-reader.h
index 39ff744..70851c8 100644
--- a/include/abg-reader.h
+++ b/include/abg-reader.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-regex.h b/include/abg-regex.h
index d9b5a28..c0b8e33 100644
--- a/include/abg-regex.h
+++ b/include/abg-regex.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-reporter.h b/include/abg-reporter.h
index a71ec40..44b7970 100644
--- a/include/abg-reporter.h
+++ b/include/abg-reporter.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2017-2020 Red Hat, Inc.
diff --git a/include/abg-sptr-utils.h b/include/abg-sptr-utils.h
index 6adf54b..8259c8e 100644
--- a/include/abg-sptr-utils.h
+++ b/include/abg-sptr-utils.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-suppression.h b/include/abg-suppression.h
index 65698c1..dd57591 100644
--- a/include/abg-suppression.h
+++ b/include/abg-suppression.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/include/abg-tools-utils.h b/include/abg-tools-utils.h
index 970b236..768b7f8 100644
--- a/include/abg-tools-utils.h
+++ b/include/abg-tools-utils.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-traverse.h b/include/abg-traverse.h
index c4a69b8..12126e2 100644
--- a/include/abg-traverse.h
+++ b/include/abg-traverse.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-version.h.in b/include/abg-version.h.in
index 5c56459..dc7531a 100644
--- a/include/abg-version.h.in
+++ b/include/abg-version.h.in
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 #ifndef __ABG_VERSION_H__
 #define __ABG_VERSION_H__
 #define ABIGAIL_VERSION_MAJOR "@VERSION_MAJOR@"
diff --git a/include/abg-viz-common.h b/include/abg-viz-common.h
index 5ab3718..e453ce0 100644
--- a/include/abg-viz-common.h
+++ b/include/abg-viz-common.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-viz-dot.h b/include/abg-viz-dot.h
index ceae3b1..9dd3679 100644
--- a/include/abg-viz-dot.h
+++ b/include/abg-viz-dot.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-viz-svg.h b/include/abg-viz-svg.h
index 601683a..5bd968a 100644
--- a/include/abg-viz-svg.h
+++ b/include/abg-viz-svg.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-workers.h b/include/abg-workers.h
index 2f3a238..f923a75 100644
--- a/include/abg-workers.h
+++ b/include/abg-workers.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/include/abg-writer.h b/include/abg-writer.h
index ddb1d2c..552a3b0 100644
--- a/include/abg-writer.h
+++ b/include/abg-writer.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/scripts/dot_to_png.sh b/scripts/dot_to_png.sh
index 8125d15..9f8273c 100755
--- a/scripts/dot_to_png.sh
+++ b/scripts/dot_to_png.sh
@@ -1,5 +1,5 @@ 
 #!/bin/bash
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 for i in *.gv
 do
diff --git a/scripts/dot_to_svg.sh b/scripts/dot_to_svg.sh
index 559cc55..e4da7e4 100755
--- a/scripts/dot_to_svg.sh
+++ b/scripts/dot_to_svg.sh
@@ -1,5 +1,5 @@ 
 #!/bin/bash
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 for i in *.gv
 do
diff --git a/scripts/make-verbose.sh b/scripts/make-verbose.sh
index f9bf4c8..af7498e 100644
--- a/scripts/make-verbose.sh
+++ b/scripts/make-verbose.sh
@@ -1,2 +1,2 @@ 
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 make V=1
diff --git a/scripts/svg_to_plain_svg.sh b/scripts/svg_to_plain_svg.sh
index 7e7d803..8354521 100755
--- a/scripts/svg_to_plain_svg.sh
+++ b/scripts/svg_to_plain_svg.sh
@@ -1,5 +1,5 @@ 
 #!/bin/bash
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 for i in *.svg;
   do inkscape "$i" --export-plain-svg="${i//svg/plain.svg}"
diff --git a/scripts/svg_to_png_and_pdf.sh b/scripts/svg_to_png_and_pdf.sh
index d9e53d5..84b635b 100755
--- a/scripts/svg_to_png_and_pdf.sh
+++ b/scripts/svg_to_png_and_pdf.sh
@@ -1,5 +1,5 @@ 
 #!/bin/bash
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 for i in *.svg;
   do inkscape "$i" --export-png="${i//svg/png}" --export-pdf="${i//svg/pdf}"
diff --git a/src/Makefile.am b/src/Makefile.am
index 73e63ce..d7990e3 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 lib_LTLIBRARIES=libabigail.la
 libabigaildir=$(libdir)
 
diff --git a/src/abg-comp-filter.cc b/src/abg-comp-filter.cc
index 49c4feb..b49ef9f 100644
--- a/src/abg-comp-filter.cc
+++ b/src/abg-comp-filter.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-comparison-priv.h b/src/abg-comparison-priv.h
index 9b9fc5d..d3de98f 100644
--- a/src/abg-comparison-priv.h
+++ b/src/abg-comparison-priv.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2017-2020 Red Hat, Inc.
diff --git a/src/abg-comparison.cc b/src/abg-comparison.cc
index a95f321..e337e74 100644
--- a/src/abg-comparison.cc
+++ b/src/abg-comparison.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-config.cc b/src/abg-config.cc
index ddde9d2..ac64c76 100644
--- a/src/abg-config.cc
+++ b/src/abg-config.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-corpus-priv.h b/src/abg-corpus-priv.h
index d5bab11..fdf0966 100644
--- a/src/abg-corpus-priv.h
+++ b/src/abg-corpus-priv.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/src/abg-corpus.cc b/src/abg-corpus.cc
index 4436ede..083f96d 100644
--- a/src/abg-corpus.cc
+++ b/src/abg-corpus.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-default-reporter.cc b/src/abg-default-reporter.cc
index 5891d08..28a8f4e 100644
--- a/src/abg-default-reporter.cc
+++ b/src/abg-default-reporter.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2017-2020 Red Hat, Inc.
diff --git a/src/abg-diff-utils.cc b/src/abg-diff-utils.cc
index 27519c0..b71a6cd 100644
--- a/src/abg-diff-utils.cc
+++ b/src/abg-diff-utils.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-dwarf-reader.cc b/src/abg-dwarf-reader.cc
index 15b1f91..c5efe75 100644
--- a/src/abg-dwarf-reader.cc
+++ b/src/abg-dwarf-reader.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-elf-helpers.cc b/src/abg-elf-helpers.cc
index 24bb678..5130e5b 100644
--- a/src/abg-elf-helpers.cc
+++ b/src/abg-elf-helpers.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2020 Google, Inc.
diff --git a/src/abg-elf-helpers.h b/src/abg-elf-helpers.h
index b0fe0c2..b4f3293 100644
--- a/src/abg-elf-helpers.h
+++ b/src/abg-elf-helpers.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2020 Google, Inc.
diff --git a/src/abg-hash.cc b/src/abg-hash.cc
index 184b556..bd7d583 100644
--- a/src/abg-hash.cc
+++ b/src/abg-hash.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-ini.cc b/src/abg-ini.cc
index 3603d95..26f6c74 100644
--- a/src/abg-ini.cc
+++ b/src/abg-ini.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-internal.h b/src/abg-internal.h
index b2e3a39..d665906 100644
--- a/src/abg-internal.h
+++ b/src/abg-internal.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/src/abg-ir-priv.h b/src/abg-ir-priv.h
index 62b1b72..9a2b387 100644
--- a/src/abg-ir-priv.h
+++ b/src/abg-ir-priv.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/src/abg-ir.cc b/src/abg-ir.cc
index 882e924..797a09c 100644
--- a/src/abg-ir.cc
+++ b/src/abg-ir.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-leaf-reporter.cc b/src/abg-leaf-reporter.cc
index a198e30..9f34778 100644
--- a/src/abg-leaf-reporter.cc
+++ b/src/abg-leaf-reporter.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2017-2020 Red Hat, Inc.
diff --git a/src/abg-libxml-utils.cc b/src/abg-libxml-utils.cc
index 3178862..a1acff1 100644
--- a/src/abg-libxml-utils.cc
+++ b/src/abg-libxml-utils.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-libzip-utils.cc b/src/abg-libzip-utils.cc
index f96741d..c56754a 100644
--- a/src/abg-libzip-utils.cc
+++ b/src/abg-libzip-utils.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-reader.cc b/src/abg-reader.cc
index 89a51c3..f1f3c2a 100644
--- a/src/abg-reader.cc
+++ b/src/abg-reader.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-regex.cc b/src/abg-regex.cc
index c124df8..adfd3d0 100644
--- a/src/abg-regex.cc
+++ b/src/abg-regex.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/src/abg-reporter-priv.cc b/src/abg-reporter-priv.cc
index 95b3556..4aa59a9 100644
--- a/src/abg-reporter-priv.cc
+++ b/src/abg-reporter-priv.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2017-2020 Red Hat, Inc.
diff --git a/src/abg-reporter-priv.h b/src/abg-reporter-priv.h
index 2b1cb3c..65786a0 100644
--- a/src/abg-reporter-priv.h
+++ b/src/abg-reporter-priv.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-suppression-priv.h b/src/abg-suppression-priv.h
index d0c16a8..82e44de 100644
--- a/src/abg-suppression-priv.h
+++ b/src/abg-suppression-priv.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/src/abg-suppression.cc b/src/abg-suppression.cc
index 3ca22bd..0f90784 100644
--- a/src/abg-suppression.cc
+++ b/src/abg-suppression.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/src/abg-tools-utils.cc b/src/abg-tools-utils.cc
index b8f461c..fb819ce 100644
--- a/src/abg-tools-utils.cc
+++ b/src/abg-tools-utils.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-traverse.cc b/src/abg-traverse.cc
index db5a967..1e8ee8a 100644
--- a/src/abg-traverse.cc
+++ b/src/abg-traverse.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-viz-common.cc b/src/abg-viz-common.cc
index 3473c5b..d91b6d1 100644
--- a/src/abg-viz-common.cc
+++ b/src/abg-viz-common.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-viz-dot.cc b/src/abg-viz-dot.cc
index 5fdeeea..fc45127 100644
--- a/src/abg-viz-dot.cc
+++ b/src/abg-viz-dot.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-viz-svg.cc b/src/abg-viz-svg.cc
index f510af6..46f80ce 100644
--- a/src/abg-viz-svg.cc
+++ b/src/abg-viz-svg.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-workers.cc b/src/abg-workers.cc
index 3ffd53d..f435208 100644
--- a/src/abg-workers.cc
+++ b/src/abg-workers.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/src/abg-writer.cc b/src/abg-writer.cc
index 35aa138..d538cdc 100644
--- a/src/abg-writer.cc
+++ b/src/abg-writer.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/Makefile.am b/tests/Makefile.am
index f614f30..eb4491d 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 SUBDIRS = data
 
 ZIP_ARCHIVE_TESTS =
diff --git a/tests/data/Makefile.am b/tests/data/Makefile.am
index 38cbfc3..409295d 100644
--- a/tests/data/Makefile.am
+++ b/tests/data/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 EXTRA_DIST = \
 test-read-write/test0.xml	\
 test-read-write/test1.xml	\
diff --git a/tests/lib/catch.cc b/tests/lib/catch.cc
index 0c56f12..bf0cb74 100644
--- a/tests/lib/catch.cc
+++ b/tests/lib/catch.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2020 Google, Inc.
diff --git a/tests/mockfedabipkgdiff.in b/tests/mockfedabipkgdiff.in
index ea8efc1..e775526 100644
--- a/tests/mockfedabipkgdiff.in
+++ b/tests/mockfedabipkgdiff.in
@@ -1,5 +1,5 @@ 
 #!/usr/bin/env python
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 # -*- coding: utf-8 -*-
 # -*- Mode: Python
 #
diff --git a/tests/print-diff-tree.cc b/tests/print-diff-tree.cc
index 662c954..1239096 100644
--- a/tests/print-diff-tree.cc
+++ b/tests/print-diff-tree.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/runtestcanonicalizetypes.sh.in b/tests/runtestcanonicalizetypes.sh.in
index 34753c2..ab58e25 100644
--- a/tests/runtestcanonicalizetypes.sh.in
+++ b/tests/runtestcanonicalizetypes.sh.in
@@ -1,5 +1,5 @@ 
 #!/bin/sh
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 # This program launches "abidiff $binary $binary" on multiple
 # instances of $binary.  The expect result is for the command to show
diff --git a/tests/runtestdefaultsupprs.py.in b/tests/runtestdefaultsupprs.py.in
index b8a5714..c1b58dc 100644
--- a/tests/runtestdefaultsupprs.py.in
+++ b/tests/runtestdefaultsupprs.py.in
@@ -1,5 +1,5 @@ 
 #!/usr/bin/env @PYTHON@
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 '''Runs tests for the default suppression specifications of libabigail.
 
diff --git a/tests/runtestdefaultsupprspy3.sh.in b/tests/runtestdefaultsupprspy3.sh.in
index 5ef5063..88c674f 100644
--- a/tests/runtestdefaultsupprspy3.sh.in
+++ b/tests/runtestdefaultsupprspy3.sh.in
@@ -1,3 +1,3 @@ 
 #!/bin/bash
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 @PYTHON3_INTERPRETER@ "@abs_top_builddir@/tests/runtestdefaultsupprs.py"
diff --git a/tests/runtestfedabipkgdiff.py.in b/tests/runtestfedabipkgdiff.py.in
index ac2d624..dd4e041 100755
--- a/tests/runtestfedabipkgdiff.py.in
+++ b/tests/runtestfedabipkgdiff.py.in
@@ -1,5 +1,5 @@ 
 #!/usr/bin/env python
-# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 # -*- coding: utf-8 -*-
 # -*- Mode: Python
 #
diff --git a/tests/runtestfedabipkgdiffpy3.sh.in b/tests/runtestfedabipkgdiffpy3.sh.in
index 5a41d50..37f8b5f 100644
--- a/tests/runtestfedabipkgdiffpy3.sh.in
+++ b/tests/runtestfedabipkgdiffpy3.sh.in
@@ -1,5 +1,5 @@ 
 #!/bin/bash -e
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 # Either tests runner script or the tools/fedabipkgdiff has shebang
 # `/usr/bin/env python`, as a result, to run tests in Python 3, we have to
diff --git a/tests/test-abicompat.cc b/tests/test-abicompat.cc
index 7f33c4b..49f1d5d 100644
--- a/tests/test-abicompat.cc
+++ b/tests/test-abicompat.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2014-2020 Red Hat, Inc.
diff --git a/tests/test-abidiff-exit.cc b/tests/test-abidiff-exit.cc
index 553ba33..a2fcded 100644
--- a/tests/test-abidiff-exit.cc
+++ b/tests/test-abidiff-exit.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2016-2020 Red Hat, Inc.
diff --git a/tests/test-abidiff.cc b/tests/test-abidiff.cc
index 625c141..82683f4 100644
--- a/tests/test-abidiff.cc
+++ b/tests/test-abidiff.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-alt-dwarf-file.cc b/tests/test-alt-dwarf-file.cc
index 2d78f4c..b997fab 100644
--- a/tests/test-alt-dwarf-file.cc
+++ b/tests/test-alt-dwarf-file.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-annotate.cc b/tests/test-annotate.cc
index c01e483..d6504dd 100644
--- a/tests/test-annotate.cc
+++ b/tests/test-annotate.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Author: Ondrej Oprala
diff --git a/tests/test-core-diff.cc b/tests/test-core-diff.cc
index 298ebc8..789dd3c 100644
--- a/tests/test-core-diff.cc
+++ b/tests/test-core-diff.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-cxx-compat.cc b/tests/test-cxx-compat.cc
index 4dfb41f..35dc4f6 100644
--- a/tests/test-cxx-compat.cc
+++ b/tests/test-cxx-compat.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2020 Google, Inc.
diff --git a/tests/test-diff-dwarf-abixml.cc b/tests/test-diff-dwarf-abixml.cc
index 02046d8..ba85415 100644
--- a/tests/test-diff-dwarf-abixml.cc
+++ b/tests/test-diff-dwarf-abixml.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-diff-dwarf.cc b/tests/test-diff-dwarf.cc
index d65d63a..02ec393 100644
--- a/tests/test-diff-dwarf.cc
+++ b/tests/test-diff-dwarf.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-diff-filter.cc b/tests/test-diff-filter.cc
index 2cb4841..8d3426a 100644
--- a/tests/test-diff-filter.cc
+++ b/tests/test-diff-filter.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-diff-pkg.cc b/tests/test-diff-pkg.cc
index 21c4f89..6a9eb4c 100644
--- a/tests/test-diff-pkg.cc
+++ b/tests/test-diff-pkg.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-diff-suppr.cc b/tests/test-diff-suppr.cc
index 95f287c..32800d4 100644
--- a/tests/test-diff-suppr.cc
+++ b/tests/test-diff-suppr.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-diff2.cc b/tests/test-diff2.cc
index 120ec27..91e2588 100644
--- a/tests/test-diff2.cc
+++ b/tests/test-diff2.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-dot.cc b/tests/test-dot.cc
index 4e3920a..0906c1d 100644
--- a/tests/test-dot.cc
+++ b/tests/test-dot.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-3.0-with-GCC-exception
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2019 Red Hat, Inc.
diff --git a/tests/test-elf-helpers.cc b/tests/test-elf-helpers.cc
index ca5d7eb..9065d81 100644
--- a/tests/test-elf-helpers.cc
+++ b/tests/test-elf-helpers.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2020 Google, Inc.
diff --git a/tests/test-ini.cc b/tests/test-ini.cc
index 441f0ee..f906e50 100644
--- a/tests/test-ini.cc
+++ b/tests/test-ini.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-ir-walker.cc b/tests/test-ir-walker.cc
index 6ebaeb2..ea93380 100644
--- a/tests/test-ir-walker.cc
+++ b/tests/test-ir-walker.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-kmi-whitelist.cc b/tests/test-kmi-whitelist.cc
index 7d45f15..e1366b0 100644
--- a/tests/test-kmi-whitelist.cc
+++ b/tests/test-kmi-whitelist.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2020 Google, Inc.
diff --git a/tests/test-lookup-syms.cc b/tests/test-lookup-syms.cc
index f2c1cb6..5c63868 100644
--- a/tests/test-lookup-syms.cc
+++ b/tests/test-lookup-syms.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-read-dwarf.cc b/tests/test-read-dwarf.cc
index b10d8b8..7b16530 100644
--- a/tests/test-read-dwarf.cc
+++ b/tests/test-read-dwarf.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-read-write.cc b/tests/test-read-write.cc
index d709aab..1884412 100644
--- a/tests/test-read-write.cc
+++ b/tests/test-read-write.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-svg.cc b/tests/test-svg.cc
index 71ec75d..003676f 100644
--- a/tests/test-svg.cc
+++ b/tests/test-svg.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: GPL-3.0-with-GCC-exception
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- mode: C++ -*-
 //
 // Copyright (C) 2013-2019 Red Hat, Inc.
diff --git a/tests/test-symtab.cc b/tests/test-symtab.cc
index 97e6cad..fcfde3a 100644
--- a/tests/test-symtab.cc
+++ b/tests/test-symtab.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2020 Google, Inc.
diff --git a/tests/test-tools-utils.cc b/tests/test-tools-utils.cc
index 5d8d1f5..d3d26f0 100644
--- a/tests/test-tools-utils.cc
+++ b/tests/test-tools-utils.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-types-stability.cc b/tests/test-types-stability.cc
index d0cf99c..7dd4231 100644
--- a/tests/test-types-stability.cc
+++ b/tests/test-types-stability.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-utils.cc b/tests/test-utils.cc
index efcdfb7..db169cc 100644
--- a/tests/test-utils.cc
+++ b/tests/test-utils.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-utils.h b/tests/test-utils.h
index ec33845..46d9b78 100644
--- a/tests/test-utils.h
+++ b/tests/test-utils.h
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/test-write-read-archive.cc b/tests/test-write-read-archive.cc
index 539a963..0a4492f 100644
--- a/tests/test-write-read-archive.cc
+++ b/tests/test-write-read-archive.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tests/update-test-output.py b/tests/update-test-output.py
index e582fb8..4176990 100755
--- a/tests/update-test-output.py
+++ b/tests/update-test-output.py
@@ -1,5 +1,5 @@ 
 #!/bin/python
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 # This program generates the copy commands you should use to update
 # the reference data for tests <build-dir>/tests/runtest* that emit an
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 937117d..e168bd6 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -1,4 +1,4 @@ 
-## SPDX-License-Identifier: LGPL-3.0-or-later
+## SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 h=$(abs_srcdir)
 
 if ENABLE_ZIP_ARCHIVE
diff --git a/tools/abiar.cc b/tools/abiar.cc
index b73de2f..4889c74 100644
--- a/tools/abiar.cc
+++ b/tools/abiar.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tools/abicompat.cc b/tools/abicompat.cc
index d7147c6..87fd2a0 100644
--- a/tools/abicompat.cc
+++ b/tools/abicompat.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2014-2020 Red Hat, Inc.
diff --git a/tools/abidiff.cc b/tools/abidiff.cc
index c7d4b1f..7a38c52 100644
--- a/tools/abidiff.cc
+++ b/tools/abidiff.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tools/abidw.cc b/tools/abidw.cc
index 93b4bc9..b6d4e43 100644
--- a/tools/abidw.cc
+++ b/tools/abidw.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tools/abilint.cc b/tools/abilint.cc
index fc397a7..54cbefd 100644
--- a/tools/abilint.cc
+++ b/tools/abilint.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tools/abipkgdiff.cc b/tools/abipkgdiff.cc
index ea79398..0c1d9f3 100644
--- a/tools/abipkgdiff.cc
+++ b/tools/abipkgdiff.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2015-2020 Red Hat, Inc.
diff --git a/tools/abisym.cc b/tools/abisym.cc
index d6089a8..5978fc9 100644
--- a/tools/abisym.cc
+++ b/tools/abisym.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tools/binilint.cc b/tools/binilint.cc
index 94d5595..9f392fd 100644
--- a/tools/binilint.cc
+++ b/tools/binilint.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2013-2020 Red Hat, Inc.
diff --git a/tools/fedabipkgdiff b/tools/fedabipkgdiff
index 644cc1c..0d43804 100755
--- a/tools/fedabipkgdiff
+++ b/tools/fedabipkgdiff
@@ -1,5 +1,5 @@ 
 #!/usr/bin/env python
-# SPDX-License-Identifier: GPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 # -*- coding: utf-8 -*-
 # -*- Mode: Python
 #
diff --git a/tools/kmidiff.cc b/tools/kmidiff.cc
index 7798cba..b802348 100644
--- a/tools/kmidiff.cc
+++ b/tools/kmidiff.cc
@@ -1,4 +1,4 @@ 
-// SPDX-License-Identifier: LGPL-3.0-or-later
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 // -*- Mode: C++ -*-
 //
 // Copyright (C) 2017-2020 Red Hat, Inc.
diff --git a/update-copyright.sh b/update-copyright.sh
index 3936cd8..31a34bf 100644
--- a/update-copyright.sh
+++ b/update-copyright.sh
@@ -1,5 +1,5 @@ 
 #!/bin/sh
-# SPDX-License-Identifier: LGPL-3.0-or-later
+# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 
 oldyear=2019
 newyear=2020