aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arm.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-05-08 17:28:26 +0100
committerNick Clifton <nickc@redhat.com>2015-05-08 17:28:26 +0100
commitae8714c2712ef9a179cfa9158a289bd400c0ad97 (patch)
tree1b2ce963d4100fc1c99a6267f458e3ab16a09c40 /gas/config/tc-arm.h
parentdd9f02a0ca7a9873717933345e393edb3d5da6bc (diff)
downloadgdb-ae8714c2712ef9a179cfa9158a289bd400c0ad97.zip
gdb-ae8714c2712ef9a179cfa9158a289bd400c0ad97.tar.gz
gdb-ae8714c2712ef9a179cfa9158a289bd400c0ad97.tar.bz2
Change ARM symbol name verification code so that it only triggers when the form "name = val" is used.
PR gas/18347 * config/tc-arm.h (TC_EQUAL_IN_INSN): Define. * config/tc-arm.c (arm_tc_equal_in_insn): New function. Move the symbol name checking code to here from... (md_undefined_symbo): ... here.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r--gas/config/tc-arm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h
index 2216267..22e9027 100644
--- a/gas/config/tc-arm.h
+++ b/gas/config/tc-arm.h
@@ -389,3 +389,6 @@ extern char arm_comment_chars[];
#define tc_line_separator_chars arm_line_separator_chars
extern char arm_line_separator_chars[];
+
+#define TC_EQUAL_IN_INSN(c, s) arm_tc_equal_in_insn ((c), (s))
+extern bfd_boolean arm_tc_equal_in_insn (int, char *);