]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
linux-user: Create target/elfload.c files
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 29 Jul 2025 18:03:41 +0000 (08:03 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 27 Aug 2025 20:39:25 +0000 (06:39 +1000)
Prepare to split the main linux-user/elfload.c.
Create empty files for each target, and add the common build rule.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
20 files changed:
linux-user/aarch64/elfload.c [new file with mode: 0644]
linux-user/alpha/elfload.c [new file with mode: 0644]
linux-user/arm/elfload.c [new file with mode: 0644]
linux-user/hexagon/elfload.c [new file with mode: 0644]
linux-user/hppa/elfload.c [new file with mode: 0644]
linux-user/i386/elfload.c [new file with mode: 0644]
linux-user/loongarch64/elfload.c [new file with mode: 0644]
linux-user/m68k/elfload.c [new file with mode: 0644]
linux-user/microblaze/elfload.c [new file with mode: 0644]
linux-user/mips/elfload.c [new file with mode: 0644]
linux-user/mips64/elfload.c [new file with mode: 0644]
linux-user/openrisc/elfload.c [new file with mode: 0644]
linux-user/ppc/elfload.c [new file with mode: 0644]
linux-user/riscv/elfload.c [new file with mode: 0644]
linux-user/s390x/elfload.c [new file with mode: 0644]
linux-user/sh4/elfload.c [new file with mode: 0644]
linux-user/sparc/elfload.c [new file with mode: 0644]
linux-user/x86_64/elfload.c [new file with mode: 0644]
linux-user/xtensa/elfload.c [new file with mode: 0644]
meson.build

diff --git a/linux-user/aarch64/elfload.c b/linux-user/aarch64/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/alpha/elfload.c b/linux-user/alpha/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/arm/elfload.c b/linux-user/arm/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/hexagon/elfload.c b/linux-user/hexagon/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/hppa/elfload.c b/linux-user/hppa/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/i386/elfload.c b/linux-user/i386/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/loongarch64/elfload.c b/linux-user/loongarch64/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/m68k/elfload.c b/linux-user/m68k/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/microblaze/elfload.c b/linux-user/microblaze/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/mips/elfload.c b/linux-user/mips/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/mips64/elfload.c b/linux-user/mips64/elfload.c
new file mode 100644 (file)
index 0000000..b719555
--- /dev/null
@@ -0,0 +1 @@
+#include "../mips/elfload.c"
diff --git a/linux-user/openrisc/elfload.c b/linux-user/openrisc/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/ppc/elfload.c b/linux-user/ppc/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/riscv/elfload.c b/linux-user/riscv/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/s390x/elfload.c b/linux-user/s390x/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/sh4/elfload.c b/linux-user/sh4/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/sparc/elfload.c b/linux-user/sparc/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/x86_64/elfload.c b/linux-user/x86_64/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
diff --git a/linux-user/xtensa/elfload.c b/linux-user/xtensa/elfload.c
new file mode 100644 (file)
index 0000000..73fa78e
--- /dev/null
@@ -0,0 +1 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
index 50c774a19557a01897ab959c548a65879147b15f..0d42de61ae6c6b02dd14f539e16c4a5eba2739f2 100644 (file)
@@ -4327,7 +4327,11 @@ foreach target : target_dirs
     )
     if 'CONFIG_LINUX_USER' in config_target
       dir = base_dir / abi
-      arch_srcs += files(dir / 'signal.c', dir / 'cpu_loop.c')
+      arch_srcs += files(
+        dir / 'cpu_loop.c',
+        dir / 'elfload.c',
+        dir / 'signal.c',
+      )
       if config_target.has_key('TARGET_SYSTBL_ABI')
         arch_srcs += \
           syscall_nr_generators[abi].process(base_dir / abi / config_target['TARGET_SYSTBL'],