aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-nds32.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-nds32.h')
-rw-r--r--gas/config/tc-nds32.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/config/tc-nds32.h b/gas/config/tc-nds32.h
index fb4e03b..b6c32e4 100644
--- a/gas/config/tc-nds32.h
+++ b/gas/config/tc-nds32.h
@@ -131,7 +131,8 @@ extern void nds32_do_align (int);
#define md_macro_start() nds32_macro_start ()
#define md_macro_end() nds32_macro_end ()
#define md_macro_info(args) nds32_macro_info (args)
-#define TC_START_LABEL(C, S, STR) (C == ':' && nds32_start_label (0, 0))
+#define TC_START_LABEL(STR, NUL_CHAR, NEXT_CHAR) \
+ (NEXT_CHAR == ':' && nds32_start_label (0, 0))
#define tc_check_label(label) nds32_check_label (label)
#define tc_frob_label(label) nds32_frob_label (label)
#define md_end md_end