aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-11-07 06:01:18 +0000
committerAlan Modra <amodra@gmail.com>2005-11-07 06:01:18 +0000
commitb3b91714e232061888a000aa811cebbcf1cb61b7 (patch)
treea056ccfa72f0959aa37997f7d153fb14f58041b8 /gas/config/tc-i386.h
parentfb7ccfc159511562e051e679bf046cdee0d995a7 (diff)
downloadgdb-b3b91714e232061888a000aa811cebbcf1cb61b7.zip
gdb-b3b91714e232061888a000aa811cebbcf1cb61b7.tar.gz
gdb-b3b91714e232061888a000aa811cebbcf1cb61b7.tar.bz2
* config/tc-i386.h (tc_comment_chars): Define.
* config/tc-i386.c (line_comment_chars): Use '/' unconditionally. (i386_comment_chars): Add. (md_parse_options): Process OPTION_DIVIDE. (md_show_usage): Describe --divide option. * doc/c-i386.texi: Document --divide option.
Diffstat (limited to 'gas/config/tc-i386.h')
-rw-r--r--gas/config/tc-i386.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 40b92b0..0a9cd1c 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -88,6 +88,9 @@ extern void i386_elf_emit_arch_note PARAMS ((void));
extern const char extra_symbol_chars[];
#define tc_symbol_chars extra_symbol_chars
+extern const char *i386_comment_chars;
+#define tc_comment_chars i386_comment_chars
+
#define MAX_OPERANDS 3 /* max operands per insn */
#define MAX_IMMEDIATE_OPERANDS 2/* max immediates per insn (lcall, ljmp) */
#define MAX_MEMORY_OPERANDS 2 /* max memory refs per insn (string ops) */