Permit '-' in a mnemonic. This is needed for the new VIA C3 xmove-rng
and xcrypt-{ecb,cbc,cfb,ofb} instructions.
This commit is contained in:
parent
bde493e8d6
commit
f2a485d6fb
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-gas_config_tc-i386_c,v 1.1 2003/06/05 04:03:55 brad Exp $
|
||||
--- gas/config/tc-i386.c.orig Thu Apr 24 15:56:24 2003
|
||||
+++ gas/config/tc-i386.c Thu Apr 24 15:59:01 2003
|
||||
$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) \
|
||||
@ -11,3 +11,11 @@ $OpenBSD: patch-gas_config_tc-i386_c,v 1.1 2003/06/05 04:03:55 brad Exp $
|
||||
/* 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['.'] = '.';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user