aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-i386.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-06-18 14:09:41 +0000
committerNick Clifton <nickc@redhat.com>2004-06-18 14:09:41 +0000
commit32137342ec784ec1255686b45956f7f2b1f8e037 (patch)
treeef10ee40754cfd631546b6d9e3f0201a758a6c84 /gas/config/tc-i386.c
parentd39ffabe00dcd404fc3e2ef95f0b87056066c030 (diff)
downloadgdb-32137342ec784ec1255686b45956f7f2b1f8e037.zip
gdb-32137342ec784ec1255686b45956f7f2b1f8e037.tar.gz
gdb-32137342ec784ec1255686b45956f7f2b1f8e037.tar.bz2
* config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
* config/te-netware.h: New file. * config/te-ppcnw.h: Delete: Obsolete. * configure.in: Eliminate ill NetWare targets. Make generic NetWare target use proper emulation. * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add reference to new te-netware.h. * configure: Regenerate. * Makefile.in: Regenerate.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r--gas/config/tc-i386.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index f37c259..823435f 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -182,15 +182,19 @@ typedef struct _i386_insn i386_insn;
/* List of chars besides those in app.c:symbol_chars that can start an
operand. Used to prevent the scrubber eating vital white-space. */
+const char extra_symbol_chars[] = "*%-(["
#ifdef LEX_AT
-const char extra_symbol_chars[] = "*%-(@[";
-#else
-const char extra_symbol_chars[] = "*%-([";
+ "@"
+#endif
+#ifdef LEX_QM
+ "?"
#endif
+ ;
#if (defined (TE_I386AIX) \
|| ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
&& !defined (TE_LINUX) \
+ && !defined (TE_NETWARE) \
&& !defined (TE_FreeBSD) \
&& !defined (TE_NetBSD)))
/* This array holds the chars that always start a comment. If the
@@ -972,6 +976,10 @@ md_begin ()
#ifdef LEX_AT
identifier_chars['@'] = '@';
#endif
+#ifdef LEX_QM
+ identifier_chars['?'] = '?';
+ operand_chars['?'] = '?';
+#endif
digit_chars['-'] = '-';
identifier_chars['_'] = '_';
identifier_chars['.'] = '.';