2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (set_intel_syntax): Update set_intel_syntax depending on allow_naked_reg.
This commit is contained in:
parent
ebe8b99135
commit
e4a3b5a47e
@ -1,3 +1,8 @@
|
||||
2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
|
||||
depending on allow_naked_reg.
|
||||
|
||||
2007-01-04 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
|
||||
|
@ -1105,14 +1105,9 @@ set_intel_syntax (int syntax_flag)
|
||||
else
|
||||
allow_naked_reg = (ask_naked_reg < 0);
|
||||
|
||||
if (intel_syntax && allow_naked_reg)
|
||||
{
|
||||
identifier_chars['%'] = '%';
|
||||
register_prefix = "";
|
||||
}
|
||||
else
|
||||
identifier_chars['%'] = 0;
|
||||
identifier_chars['%'] = intel_syntax && allow_naked_reg ? '%' : 0;
|
||||
identifier_chars['$'] = intel_syntax ? '$' : 0;
|
||||
register_prefix = allow_naked_reg ? "" : "%";
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user