$OpenBSD: patch-gas_config_tc-i386_c,v 1.2 2004/02/06 08:46:11 brad Exp $
--- gas/config/tc-i386.c.orig	2003-01-29 05:05:52.000000000 -0500
+++ gas/config/tc-i386.c	2004-02-06 03:25:15.000000000 -0500
@@ -193,7 +193,8 @@ const char extra_symbol_chars[] = "*%-([
      || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
 	 && !defined (TE_LINUX)				\
 	 && !defined (TE_FreeBSD)			\
-	 && !defined (TE_NetBSD)))
+	 && !defined (TE_NetBSD)			\
+	 && !defined (TE_OpenBSD)))
 /* This array holds the chars that always start a comment.  If the
    pre-processor is disabled, these aren't very useful.  */
 const char comment_chars[] = "#/";
@@ -971,6 +972,7 @@ md_begin ()
     identifier_chars['@'] = '@';
 #endif
     digit_chars['-'] = '-';
+    mnemonic_chars['-'] = '-';
     identifier_chars['_'] = '_';
     identifier_chars['.'] = '.';
 
