aboutsummaryrefslogtreecommitdiff
path: root/linux-user/loongarch64/target_elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/loongarch64/target_elf.h')
-rw-r--r--linux-user/loongarch64/target_elf.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-user/loongarch64/target_elf.h b/linux-user/loongarch64/target_elf.h
new file mode 100644
index 0000000..95c3f05
--- /dev/null
+++ b/linux-user/loongarch64/target_elf.h
@@ -0,0 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+/*
+ * Copyright (c) 2021 Loongson Technology Corporation Limited
+ */
+
+#ifndef LOONGARCH_TARGET_ELF_H
+#define LOONGARCH_TARGET_ELF_H
+static inline const char *cpu_get_model(uint32_t eflags)
+{
+ return "la464";
+}
+#endif