* 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.
+2004-06-17 Jan Beulich <jbeulich@novell.com>
+
+ * 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.
+
2004-06-15 Martin Schwidefsky <schwidefsky@de.ibm.com>
* config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
config/te-macos.h \
config/te-nbsd.h \
config/te-nbsd532.h \
+ config/te-netware.h \
config/te-pc532mach.h \
config/te-pe.h \
- config/te-ppcnw.h \
config/te-psos.h \
config/te-riscix.h \
config/te-sparcaout.h \
config/te-macos.h \
config/te-nbsd.h \
config/te-nbsd532.h \
+ config/te-netware.h \
config/te-pc532mach.h \
config/te-pe.h \
- config/te-ppcnw.h \
config/te-psos.h \
config/te-riscix.h \
config/te-sparcaout.h \
/* 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
#ifdef LEX_AT
identifier_chars['@'] = '@';
#endif
+#ifdef LEX_QM
+ identifier_chars['?'] = '?';
+ operand_chars['?'] = '?';
+#endif
digit_chars['-'] = '-';
identifier_chars['_'] = '_';
identifier_chars['.'] = '.';
-/* te-ppcnw.h -- Power PC running Netware environment declarations.
- Copyright 1994, 1995, 2000 Free Software Foundation, Inc.
+/* te-netware.h -- NetWare target environment declarations.
+ Copyright 2004 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
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
+ 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 TE_NETWARE
#define LOCAL_LABELS_FB 1
-/* these define interfaces */
-#include "obj-format.h"
-
-/* gcc uses escape sequences for ppc/netware. */
+#define LEX_AT (LEX_NAME | LEX_BEGIN_NAME) /* Can have @'s inside labels. */
+#define LEX_PCT (LEX_NAME | LEX_BEGIN_NAME) /* Can have %'s inside labels. */
+#define LEX_QM (LEX_NAME | LEX_BEGIN_NAME) /* Can have ?'s inside labels. */
-#undef NO_STRING_ESCAPES
+#include "obj-format.h"
a29k-*-vxworks*) fmt=coff ;;
alpha*-*-*vms*) fmt=evax ;;
- alpha*-*-netware*) fmt=ecoff ;;
alpha*-*-osf*) fmt=ecoff ;;
alpha*-*-linuxecoff*) fmt=ecoff ;;
alpha*-*-linux-gnu*) fmt=elf em=linux ;;
fi ;;
ppc-*-rtems*) fmt=elf ;;
ppc-*-macos*) fmt=coff em=macos ;;
- ppc-*-netware*) fmt=elf em=ppcnw ;;
ppc-*-nto*) fmt=elf ;;
ppc-*-kaos*) fmt=elf ;;
ppc-*-lynxos*) fmt=elf em=lynx bfd_gas=yes ;;
*-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;;
*-*-aros*) fmt=elf em=linux bfd_gas=yes ;;
*-*-vxworks | *-*-windiss) fmt=elf ;;
- *-*-netware) fmt=elf ;;
+ *-*-netware) fmt=elf em=netware ;;
esac
if test ${this_target} = $target ; then
a29k-*-vxworks*) fmt=coff ;;
alpha*-*-*vms*) fmt=evax ;;
- alpha*-*-netware*) fmt=ecoff ;;
alpha*-*-osf*) fmt=ecoff ;;
alpha*-*-linuxecoff*) fmt=ecoff ;;
alpha*-*-linux-gnu*) fmt=elf em=linux ;;
fi ;;
ppc-*-rtems*) fmt=elf ;;
ppc-*-macos*) fmt=coff em=macos ;;
- ppc-*-netware*) fmt=elf em=ppcnw ;;
ppc-*-nto*) fmt=elf ;;
ppc-*-kaos*) fmt=elf ;;
ppc-*-lynxos*) fmt=elf em=lynx bfd_gas=yes ;;
*-*-elf | *-*-sysv4* | *-*-solaris*) fmt=elf dev=yes ;;
*-*-aros*) fmt=elf em=linux bfd_gas=yes ;;
*-*-vxworks | *-*-windiss) fmt=elf ;;
- *-*-netware) fmt=elf ;;
+ *-*-netware) fmt=elf em=netware ;;
esac
if test ${this_target} = $target ; then