From 94f2cc1ef3e0d49fbaa3b6ad60866d16caa6a68e Mon Sep 17 00:00:00 2001 From: znley 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 0f72f53a0..7ed49848e 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