aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/read.c')
-rw-r--r--gas/read.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/read.c b/gas/read.c
index 90ef367..3c4c244 100644
--- a/gas/read.c
+++ b/gas/read.c
@@ -710,6 +710,9 @@ read_a_source_file (name)
line_label = colon (s); /* User-defined label. */
/* Put ':' back for error messages' sake. */
*input_line_pointer++ = ':';
+#ifdef tc_check_label
+ tc_check_label (line_label);
+#endif
/* Input_line_pointer->after ':'. */
SKIP_WHITESPACE ();
}