mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 14:59:31 +08:00
2003-08-05 Jason Eckhardt <jle@rice.edu>
* config/tc-i860.c (s_dual): Accept .dual directive only in the Intel syntax mode. (s_enddual): Likewise for .enddual. (s_atmp): Likewise for .atmp.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2003-08-05 Jason Eckhardt <jle@rice.edu>
|
||||||
|
|
||||||
|
* config/tc-i860.c (s_dual): Accept .dual directive only in
|
||||||
|
the Intel syntax mode.
|
||||||
|
(s_enddual): Likewise for .enddual.
|
||||||
|
(s_atmp): Likewise for .atmp.
|
||||||
|
|
||||||
2003-08-04 Alan Modra <amodra@bigpond.net.au>
|
2003-08-04 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* config/tc-i386.c (i386_intel_operand): Always call i386_index_check
|
* config/tc-i386.c (i386_intel_operand): Always call i386_index_check
|
||||||
|
@ -119,14 +119,20 @@ static enum dual dual_mode = DUAL_OFF;
|
|||||||
static void
|
static void
|
||||||
s_dual (int ignore ATTRIBUTE_UNUSED)
|
s_dual (int ignore ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
dual_mode = DUAL_ON;
|
if (target_intel_syntax)
|
||||||
|
dual_mode = DUAL_ON;
|
||||||
|
else
|
||||||
|
as_bad (_("Directive .dual available only with -mintel-syntax option"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Handle ".enddual" directive. */
|
/* Handle ".enddual" directive. */
|
||||||
static void
|
static void
|
||||||
s_enddual (int ignore ATTRIBUTE_UNUSED)
|
s_enddual (int ignore ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
dual_mode = DUAL_OFF;
|
if (target_intel_syntax)
|
||||||
|
dual_mode = DUAL_OFF;
|
||||||
|
else
|
||||||
|
as_bad (_("Directive .enddual available only with -mintel-syntax option"));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Temporary register used when expanding assembler pseudo operations. */
|
/* Temporary register used when expanding assembler pseudo operations. */
|
||||||
@ -135,7 +141,15 @@ static int atmp = 31;
|
|||||||
static void
|
static void
|
||||||
s_atmp (int ignore ATTRIBUTE_UNUSED)
|
s_atmp (int ignore ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
register int temp;
|
int temp;
|
||||||
|
|
||||||
|
if (! target_intel_syntax)
|
||||||
|
{
|
||||||
|
as_bad (_("Directive .atmp available only with -mintel-syntax option"));
|
||||||
|
demand_empty_rest_of_line ();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (strncmp (input_line_pointer, "sp", 2) == 0)
|
if (strncmp (input_line_pointer, "sp", 2) == 0)
|
||||||
{
|
{
|
||||||
input_line_pointer += 2;
|
input_line_pointer += 2;
|
||||||
|
Reference in New Issue
Block a user