summaryrefslogtreecommitdiff
path: root/gas/config/tc-loongarch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-loongarch.h')
-rw-r--r--gas/config/tc-loongarch.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-loongarch.h b/gas/config/tc-loongarch.h
index 705d45a4517..2664da59f51 100644
--- a/gas/config/tc-loongarch.h
+++ b/gas/config/tc-loongarch.h
@@ -24,6 +24,9 @@
#define TARGET_BYTES_BIG_ENDIAN 0
#define TARGET_ARCH bfd_arch_loongarch
+#define TARGET_MACH (loongarch_mach ())
+extern unsigned long loongarch_mach (void);
+
#define WORKING_DOT_WORD 1
#define REPEAT_CONS_EXPRESSIONS