(print_operand_address): A patch for 2.5.8 ended up at the wrong place.
(print_operand_address): A patch for 2.5.8 ended up at the wrong place. Moved. From-SVN: r7881
This commit is contained in:
parent
879cad45f2
commit
6ce47c075f
@ -766,6 +766,25 @@ print_operand_address (file, addr)
|
||||
output_addr_const (file, offset);
|
||||
if (base)
|
||||
fprintf (file, "(%s)", reg_names[REGNO (base)]);
|
||||
#ifdef BASE_REG_NEEDED
|
||||
else if (TARGET_SB)
|
||||
fprintf (file, "(sb)");
|
||||
else
|
||||
abort ();
|
||||
#endif
|
||||
fprintf (file, ")");
|
||||
break;
|
||||
|
||||
default:
|
||||
abort ();
|
||||
}
|
||||
#ifdef PC_RELATIVE
|
||||
else if (GET_CODE (offset) == LABEL_REF
|
||||
|| GET_CODE (offset) == SYMBOL_REF
|
||||
|| GET_CODE (offset) == CONST
|
||||
|| GET_CODE (offset) == PLUS)
|
||||
fprintf (file, "(pc)");
|
||||
#endif
|
||||
#ifdef BASE_REG_NEEDED
|
||||
else
|
||||
{
|
||||
@ -785,26 +804,6 @@ print_operand_address (file, addr)
|
||||
abort ();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
fprintf (file, ")");
|
||||
break;
|
||||
|
||||
default:
|
||||
abort ();
|
||||
}
|
||||
#ifdef PC_RELATIVE
|
||||
else if (GET_CODE (offset) == LABEL_REF
|
||||
|| GET_CODE (offset) == SYMBOL_REF
|
||||
|| GET_CODE (offset) == CONST
|
||||
|| GET_CODE (offset) == PLUS)
|
||||
fprintf (file, "(pc)");
|
||||
#endif
|
||||
#ifdef BASE_REG_NEEDED /* this is defined if the assembler always
|
||||
needs a base register */
|
||||
else if (TARGET_SB)
|
||||
fprintf (file, "(sb)");
|
||||
else
|
||||
abort ();
|
||||
#endif
|
||||
/* now print index if we have one */
|
||||
if (indexexp)
|
||||
|
Loading…
Reference in New Issue
Block a user