From: Jiajie Chen <[email protected]>
The correct ilp32 macro name is __loongarch_ilp32.
libitm/ChangeLog:
* config/loongarch/asm.h: Fix ilp32 detection.
---
libitm/config/loongarch/asm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libitm/config/loongarch/asm.h b/libitm/config/loongarch/asm.h
index f05b0159417..677c9b747ed 100644
--- a/libitm/config/loongarch/asm.h
+++ b/libitm/config/loongarch/asm.h
@@ -30,7 +30,7 @@
# define GPR_S st.d
# define SZ_GPR 8
# define ADDSP(si) addi.d $sp, $sp, si
-#elif defined(__loongarch64_ilp32)
+#elif defined(__loongarch_ilp32)
# define GPR_L ld.w
# define GPR_S st.w
# define SZ_GPR 4
--
2.34.1