diff options
author | Nick Clifton <nickc@redhat.com> | 2004-06-18 14:09:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-06-18 14:09:41 +0000 |
commit | 32137342ec784ec1255686b45956f7f2b1f8e037 (patch) | |
tree | ef10ee40754cfd631546b6d9e3f0201a758a6c84 /gas/config | |
parent | d39ffabe00dcd404fc3e2ef95f0b87056066c030 (diff) | |
download | gdb-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')
-rw-r--r-- | gas/config/tc-i386.c | 14 | ||||
-rw-r--r-- | gas/config/te-ppcnw.h | 32 |
2 files changed, 11 insertions, 35 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['.'] = '.'; diff --git a/gas/config/te-ppcnw.h b/gas/config/te-ppcnw.h deleted file mode 100644 index 1337591..0000000 --- a/gas/config/te-ppcnw.h +++ /dev/null @@ -1,32 +0,0 @@ -/* te-ppcnw.h -- Power PC running Netware environment declarations. - Copyright 1994, 1995, 2000 Free Software Foundation, Inc. - - This file is part of GAS, the GNU Assembler. - - GAS is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - GAS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with GAS; see the file COPYING. If not, write to - the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. */ - -/* Added these, because if we don't know what we're targeting we may - need an assembler version of libgcc, and that will use local - labels. */ -#define LOCAL_LABELS_DOLLAR 1 -#define LOCAL_LABELS_FB 1 - -/* these define interfaces */ -#include "obj-format.h" - -/* gcc uses escape sequences for ppc/netware. */ - -#undef NO_STRING_ESCAPES |