mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
26 lines
686 B
Diff
26 lines
686 B
Diff
From 94f2cc1ef3e0d49fbaa3b6ad60866d16caa6a68e Mon Sep 17 00:00:00 2001
|
|
From: znley <shanjiantao@loongson.cn>
|
|
Date: Wed, 8 May 2024 07:55:24 +0000
|
|
Subject: [PATCH] Add loongarch64 support
|
|
|
|
---
|
|
common/dynamips_common.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/common/dynamips_common.h b/common/dynamips_common.h
|
|
index 0f72f53..7ed4984 100644
|
|
--- a/common/dynamips_common.h
|
|
+++ b/common/dynamips_common.h
|
|
@@ -71,6 +71,8 @@
|
|
#define ARCH_BYTE_ORDER ARCH_BIG_ENDIAN
|
|
#elif defined(__riscv) || defined(__riscv__)
|
|
#define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
|
|
+#elif defined(__loongarch64)
|
|
+#define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
|
|
#endif
|
|
|
|
#ifndef ARCH_BYTE_ORDER
|
|
--
|
|
2.44.0
|
|
|