parent
0b43fd9a14
commit
6a8c88c8a4
|
@ -499,18 +499,15 @@ print_operand_address (file, addr)
|
||||||
offset = const0_rtx;
|
offset = const0_rtx;
|
||||||
/* now, offset, base and indexexp are set */
|
/* now, offset, base and indexexp are set */
|
||||||
if (! base)
|
if (! base)
|
||||||
#ifdef PC_RELATIVE
|
|
||||||
{
|
{
|
||||||
if (GET_CODE (offset) == LABEL_REF || GET_CODE (offset) == SYMBOL_REF)
|
#if defined (PC_RELATIVE) || defined (NO_ABSOLUTE_PREFIX_IF_SYMBOLIC)
|
||||||
;
|
if (! (GET_CODE (offset) == LABEL_REF
|
||||||
else
|
|| GET_CODE (offset) == SYMBOL_REF))
|
||||||
#endif
|
#endif
|
||||||
PUT_ABSOLUTE_PREFIX (file);
|
PUT_ABSOLUTE_PREFIX (file);
|
||||||
#ifdef PC_RELATIVE
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
output_addr_const (file,offset);
|
output_addr_const (file, offset);
|
||||||
if (base) /* base can be (REG ...) or (MEM ...) */
|
if (base) /* base can be (REG ...) or (MEM ...) */
|
||||||
switch (GET_CODE (base))
|
switch (GET_CODE (base))
|
||||||
{
|
{
|
||||||
|
@ -574,10 +571,12 @@ print_operand_address (file, addr)
|
||||||
output_addr_const (file, offset);
|
output_addr_const (file, offset);
|
||||||
if (base)
|
if (base)
|
||||||
fprintf (file, "(%s)", reg_names[REGNO (base)]);
|
fprintf (file, "(%s)", reg_names[REGNO (base)]);
|
||||||
|
#ifdef BASE_REG_NEEDED
|
||||||
else if (TARGET_SB)
|
else if (TARGET_SB)
|
||||||
fprintf (file, "(sb)");
|
fprintf (file, "(sb)");
|
||||||
else
|
else
|
||||||
abort ();
|
abort ();
|
||||||
|
#endif
|
||||||
fprintf (file, ")");
|
fprintf (file, ")");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue