aboutsummaryrefslogtreecommitdiff
path: root/gas/read.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-05-02 02:41:45 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-05-02 02:41:45 +0000
commita645d1eb84aab42ff0586f42a0191cda3128632f (patch)
tree8d99e504130e10c4a0ad8977da8fde6f2c014133 /gas/read.c
parentdf12615d919cb6b436e8b190c0ec63658e2b4097 (diff)
downloadgdb-a645d1eb84aab42ff0586f42a0191cda3128632f.zip
gdb-a645d1eb84aab42ff0586f42a0191cda3128632f.tar.gz
gdb-a645d1eb84aab42ff0586f42a0191cda3128632f.tar.bz2
2003-05-01 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.c (ia64_check_label): New. * config/tc-ia64.h (tc_check_label): New. * read.c (read_a_source_file): Call tc_check_label after creating a user-defined label if defined.
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 ();
}