This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 61a4ab8966 binfmt: migrate to SPDX identifier
61a4ab8966 is described below
commit 61a4ab8966c07c9dc9bd6f3a103478fe0a0379c4
Author: Alin Jerpelea <[email protected]>
AuthorDate: Mon Sep 9 09:12:59 2024 +0200
binfmt: migrate to SPDX identifier
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <[email protected]>
---
binfmt/CMakeLists.txt | 2 ++
binfmt/Makefile | 2 ++
binfmt/binfmt_copyactions.c | 2 ++
binfmt/binfmt_copyargv.c | 2 ++
binfmt/binfmt_coredump.c | 2 ++
binfmt/binfmt_dumpmodule.c | 2 ++
binfmt/binfmt_exec.c | 2 ++
binfmt/binfmt_execmodule.c | 2 ++
binfmt/binfmt_execsymtab.c | 2 ++
binfmt/binfmt_exit.c | 2 ++
binfmt/binfmt_globals.c | 2 ++
binfmt/binfmt_initialize.c | 2 ++
binfmt/binfmt_loadmodule.c | 2 ++
binfmt/binfmt_register.c | 2 ++
binfmt/binfmt_unloadmodule.c | 2 ++
binfmt/binfmt_unregister.c | 2 ++
binfmt/libelf/CMakeLists.txt | 2 ++
binfmt/libelf/Make.defs | 2 ++
binfmt/libelf/gnu-elf.ld | 2 ++
binfmt/libelf/libelf.h | 2 ++
binfmt/libelf/libelf_addrenv.c | 2 ++
binfmt/libelf/libelf_bind.c | 2 ++
binfmt/libelf/libelf_coredump.c | 2 ++
binfmt/libelf/libelf_ctors.c | 2 ++
binfmt/libelf/libelf_dtors.c | 2 ++
binfmt/libelf/libelf_init.c | 2 ++
binfmt/libelf/libelf_iobuffer.c | 2 ++
binfmt/libelf/libelf_load.c | 2 ++
binfmt/libelf/libelf_read.c | 2 ++
binfmt/libelf/libelf_sections.c | 2 ++
binfmt/libelf/libelf_symbols.c | 2 ++
binfmt/libelf/libelf_uninit.c | 2 ++
binfmt/libelf/libelf_unload.c | 2 ++
binfmt/libelf/libelf_verify.c | 2 ++
binfmt/libnxflat/CMakeLists.txt | 2 ++
binfmt/libnxflat/Make.defs | 2 ++
binfmt/libnxflat/gnu-nxflat-gotoff.ld | 2 ++
binfmt/libnxflat/gnu-nxflat-pcrel.ld | 2 ++
binfmt/libnxflat/libnxflat.h | 2 ++
binfmt/libnxflat/libnxflat_addrenv.c | 2 ++
binfmt/libnxflat/libnxflat_bind.c | 2 ++
binfmt/libnxflat/libnxflat_init.c | 2 ++
binfmt/libnxflat/libnxflat_load.c | 2 ++
binfmt/libnxflat/libnxflat_read.c | 2 ++
binfmt/libnxflat/libnxflat_uninit.c | 2 ++
binfmt/libnxflat/libnxflat_unload.c | 2 ++
binfmt/libnxflat/libnxflat_verify.c | 2 ++
47 files changed, 94 insertions(+)
diff --git a/binfmt/CMakeLists.txt b/binfmt/CMakeLists.txt
index 20a780fbea..35f8f9cdb3 100644
--- a/binfmt/CMakeLists.txt
+++ b/binfmt/CMakeLists.txt
@@ -1,6 +1,8 @@
#
##############################################################################
# binfmt/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/binfmt/Makefile b/binfmt/Makefile
index f4356319f4..8916865990 100644
--- a/binfmt/Makefile
+++ b/binfmt/Makefile
@@ -1,6 +1,8 @@
############################################################################
# binfmt/Makefile
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_copyactions.c b/binfmt/binfmt_copyactions.c
index cb941ea09e..36af683e8a 100644
--- a/binfmt/binfmt_copyactions.c
+++ b/binfmt/binfmt_copyactions.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_copyactions.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_copyargv.c b/binfmt/binfmt_copyargv.c
index 362afecf73..9973bca9b6 100644
--- a/binfmt/binfmt_copyargv.c
+++ b/binfmt/binfmt_copyargv.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_copyargv.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_coredump.c b/binfmt/binfmt_coredump.c
index 44266d4744..243a135b6f 100644
--- a/binfmt/binfmt_coredump.c
+++ b/binfmt/binfmt_coredump.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_coredump.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_dumpmodule.c b/binfmt/binfmt_dumpmodule.c
index b4ddf0a886..147a925d2d 100644
--- a/binfmt/binfmt_dumpmodule.c
+++ b/binfmt/binfmt_dumpmodule.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_dumpmodule.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_exec.c b/binfmt/binfmt_exec.c
index 448cc5005e..f607dc45b5 100644
--- a/binfmt/binfmt_exec.c
+++ b/binfmt/binfmt_exec.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_exec.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_execmodule.c b/binfmt/binfmt_execmodule.c
index e1813b7034..d333a8d446 100644
--- a/binfmt/binfmt_execmodule.c
+++ b/binfmt/binfmt_execmodule.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_execmodule.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_execsymtab.c b/binfmt/binfmt_execsymtab.c
index ef810f7a1e..ff83b16eb3 100644
--- a/binfmt/binfmt_execsymtab.c
+++ b/binfmt/binfmt_execsymtab.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_execsymtab.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_exit.c b/binfmt/binfmt_exit.c
index 552191dce5..3c6561060a 100644
--- a/binfmt/binfmt_exit.c
+++ b/binfmt/binfmt_exit.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_exit.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_globals.c b/binfmt/binfmt_globals.c
index 5140ff9624..41d1275950 100644
--- a/binfmt/binfmt_globals.c
+++ b/binfmt/binfmt_globals.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_globals.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_initialize.c b/binfmt/binfmt_initialize.c
index 0444fc9312..a3a5586ee3 100644
--- a/binfmt/binfmt_initialize.c
+++ b/binfmt/binfmt_initialize.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_initialize.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_loadmodule.c b/binfmt/binfmt_loadmodule.c
index 6537e6900c..65f92f751f 100644
--- a/binfmt/binfmt_loadmodule.c
+++ b/binfmt/binfmt_loadmodule.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_loadmodule.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_register.c b/binfmt/binfmt_register.c
index 88364dbe33..0c501e73f2 100644
--- a/binfmt/binfmt_register.c
+++ b/binfmt/binfmt_register.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_register.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_unloadmodule.c b/binfmt/binfmt_unloadmodule.c
index b3f89a9950..b15fc4c69c 100644
--- a/binfmt/binfmt_unloadmodule.c
+++ b/binfmt/binfmt_unloadmodule.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_unloadmodule.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/binfmt_unregister.c b/binfmt/binfmt_unregister.c
index 403f79bde9..2072f0d3fa 100644
--- a/binfmt/binfmt_unregister.c
+++ b/binfmt/binfmt_unregister.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/binfmt_unregister.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/CMakeLists.txt b/binfmt/libelf/CMakeLists.txt
index 5652f2bd38..aa6fedd582 100644
--- a/binfmt/libelf/CMakeLists.txt
+++ b/binfmt/libelf/CMakeLists.txt
@@ -1,6 +1,8 @@
#
##############################################################################
# binfmt/libelf/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/binfmt/libelf/Make.defs b/binfmt/libelf/Make.defs
index 0697ec1d5d..ee138761bc 100644
--- a/binfmt/libelf/Make.defs
+++ b/binfmt/libelf/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# binfmt/libelf/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/gnu-elf.ld b/binfmt/libelf/gnu-elf.ld
index 28e56f3403..55e689e9fe 100644
--- a/binfmt/libelf/gnu-elf.ld
+++ b/binfmt/libelf/gnu-elf.ld
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/gnu-elf.ld
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf.h b/binfmt/libelf/libelf.h
index fdc02c1ce2..57d3b525b8 100644
--- a/binfmt/libelf/libelf.h
+++ b/binfmt/libelf/libelf.h
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_addrenv.c b/binfmt/libelf/libelf_addrenv.c
index e1d1f2abd0..944981b408 100644
--- a/binfmt/libelf/libelf_addrenv.c
+++ b/binfmt/libelf/libelf_addrenv.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_addrenv.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_bind.c b/binfmt/libelf/libelf_bind.c
index 743ac71aeb..bd6830df92 100644
--- a/binfmt/libelf/libelf_bind.c
+++ b/binfmt/libelf/libelf_bind.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_bind.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_coredump.c b/binfmt/libelf/libelf_coredump.c
index 3de936cc40..15b42fb5a2 100644
--- a/binfmt/libelf/libelf_coredump.c
+++ b/binfmt/libelf/libelf_coredump.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_coredump.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_ctors.c b/binfmt/libelf/libelf_ctors.c
index d85f4df2de..3b1834c20f 100644
--- a/binfmt/libelf/libelf_ctors.c
+++ b/binfmt/libelf/libelf_ctors.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_ctors.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_dtors.c b/binfmt/libelf/libelf_dtors.c
index 5f593385aa..71c35280f6 100644
--- a/binfmt/libelf/libelf_dtors.c
+++ b/binfmt/libelf/libelf_dtors.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_dtors.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_init.c b/binfmt/libelf/libelf_init.c
index c08fe62172..d6e0e05d41 100644
--- a/binfmt/libelf/libelf_init.c
+++ b/binfmt/libelf/libelf_init.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_init.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_iobuffer.c b/binfmt/libelf/libelf_iobuffer.c
index b94034e3dd..fbdf8b89dd 100644
--- a/binfmt/libelf/libelf_iobuffer.c
+++ b/binfmt/libelf/libelf_iobuffer.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_iobuffer.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_load.c b/binfmt/libelf/libelf_load.c
index c066ac8d87..408fba0991 100644
--- a/binfmt/libelf/libelf_load.c
+++ b/binfmt/libelf/libelf_load.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_load.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_read.c b/binfmt/libelf/libelf_read.c
index 7dce05d06e..1ada634650 100644
--- a/binfmt/libelf/libelf_read.c
+++ b/binfmt/libelf/libelf_read.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_read.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_sections.c b/binfmt/libelf/libelf_sections.c
index c839b81086..d7d5ff16e0 100644
--- a/binfmt/libelf/libelf_sections.c
+++ b/binfmt/libelf/libelf_sections.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_sections.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_symbols.c b/binfmt/libelf/libelf_symbols.c
index bbc232cc76..bc865c61d8 100644
--- a/binfmt/libelf/libelf_symbols.c
+++ b/binfmt/libelf/libelf_symbols.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_symbols.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_uninit.c b/binfmt/libelf/libelf_uninit.c
index c94426d4cf..29de1d61f6 100644
--- a/binfmt/libelf/libelf_uninit.c
+++ b/binfmt/libelf/libelf_uninit.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_uninit.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_unload.c b/binfmt/libelf/libelf_unload.c
index 79476b2b4c..06bbebd365 100644
--- a/binfmt/libelf/libelf_unload.c
+++ b/binfmt/libelf/libelf_unload.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_unload.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libelf/libelf_verify.c b/binfmt/libelf/libelf_verify.c
index 08eb74b21c..2e005d516f 100644
--- a/binfmt/libelf/libelf_verify.c
+++ b/binfmt/libelf/libelf_verify.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libelf/libelf_verify.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/CMakeLists.txt b/binfmt/libnxflat/CMakeLists.txt
index 2189319f69..2845a81df8 100644
--- a/binfmt/libnxflat/CMakeLists.txt
+++ b/binfmt/libnxflat/CMakeLists.txt
@@ -1,6 +1,8 @@
#
##############################################################################
# binfmt/libnxflat/CMakeLists.txt
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
contributor
# license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this
diff --git a/binfmt/libnxflat/Make.defs b/binfmt/libnxflat/Make.defs
index 245b4dab36..5438992bfd 100644
--- a/binfmt/libnxflat/Make.defs
+++ b/binfmt/libnxflat/Make.defs
@@ -1,6 +1,8 @@
############################################################################
# binfmt/libnxflat/Make.defs
#
+# SPDX-License-Identifier: Apache-2.0
+#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/gnu-nxflat-gotoff.ld
b/binfmt/libnxflat/gnu-nxflat-gotoff.ld
index 39364c313f..6e34882d20 100644
--- a/binfmt/libnxflat/gnu-nxflat-gotoff.ld
+++ b/binfmt/libnxflat/gnu-nxflat-gotoff.ld
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/gnu-nxflat-gotoff.ld
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/gnu-nxflat-pcrel.ld
b/binfmt/libnxflat/gnu-nxflat-pcrel.ld
index 449f57b37a..670288077c 100644
--- a/binfmt/libnxflat/gnu-nxflat-pcrel.ld
+++ b/binfmt/libnxflat/gnu-nxflat-pcrel.ld
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/gnu-nxflat-pcrel.ld
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat.h b/binfmt/libnxflat/libnxflat.h
index 4ff27e6262..efcbbeb238 100644
--- a/binfmt/libnxflat/libnxflat.h
+++ b/binfmt/libnxflat/libnxflat.h
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat.h
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_addrenv.c
b/binfmt/libnxflat/libnxflat_addrenv.c
index d890456adb..7dc881da85 100644
--- a/binfmt/libnxflat/libnxflat_addrenv.c
+++ b/binfmt/libnxflat/libnxflat_addrenv.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_addrenv.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_bind.c
b/binfmt/libnxflat/libnxflat_bind.c
index 5b9f897043..7d14c98dbb 100644
--- a/binfmt/libnxflat/libnxflat_bind.c
+++ b/binfmt/libnxflat/libnxflat_bind.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_bind.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_init.c
b/binfmt/libnxflat/libnxflat_init.c
index d2f4cdb814..486b56c90c 100644
--- a/binfmt/libnxflat/libnxflat_init.c
+++ b/binfmt/libnxflat/libnxflat_init.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_init.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_load.c
b/binfmt/libnxflat/libnxflat_load.c
index 3a2c6c2063..6555d0945a 100644
--- a/binfmt/libnxflat/libnxflat_load.c
+++ b/binfmt/libnxflat/libnxflat_load.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_load.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_read.c
b/binfmt/libnxflat/libnxflat_read.c
index 0ac7bd994a..69de515d45 100644
--- a/binfmt/libnxflat/libnxflat_read.c
+++ b/binfmt/libnxflat/libnxflat_read.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_read.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_uninit.c
b/binfmt/libnxflat/libnxflat_uninit.c
index 3c2eb63c69..8b2b659494 100644
--- a/binfmt/libnxflat/libnxflat_uninit.c
+++ b/binfmt/libnxflat/libnxflat_uninit.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_uninit.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_unload.c
b/binfmt/libnxflat/libnxflat_unload.c
index cae6e3b217..21ba96d452 100644
--- a/binfmt/libnxflat/libnxflat_unload.c
+++ b/binfmt/libnxflat/libnxflat_unload.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_unload.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The
diff --git a/binfmt/libnxflat/libnxflat_verify.c
b/binfmt/libnxflat/libnxflat_verify.c
index 2bccacd1d2..f86eeac6d7 100644
--- a/binfmt/libnxflat/libnxflat_verify.c
+++ b/binfmt/libnxflat/libnxflat_verify.c
@@ -1,6 +1,8 @@
/****************************************************************************
* binfmt/libnxflat/libnxflat_verify.c
*
+ * SPDX-License-Identifier: Apache-2.0
+ *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The