On 9/20/21 1:04 AM, WANG Xuerui wrote:
Currently nothing special is needed for LoongArch hosts to work, so only
leave a placeholder there.
Signed-off-by: WANG Xuerui <g...@xen0n.name>
---
linux-user/host/loongarch64/hostdep.h | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 linux-user/host/loongarch64/hostdep.h
diff --git a/linux-user/host/loongarch64/hostdep.h
b/linux-user/host/loongarch64/hostdep.h
new file mode 100644
index 0000000000..4e55695155
--- /dev/null
+++ b/linux-user/host/loongarch64/hostdep.h
@@ -0,0 +1,11 @@
+/*
+ * hostdep.h : things which are dependent on the host architecture
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#ifndef LOONGARCH64_HOSTDEP_H
+#define LOONGARCH64_HOSTDEP_H
+
+#endif
This is not true. You'll need to write safe-syscall.inc.S for loongarch. Currently we
have a fallback, in linux-user/safe-syscall.h, but this is clearly marked as a bug. I
plan to drop this fallback very shortly, as all supported hosts have now filled this in.
r~