* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.

From-SVN: r65205
This commit is contained in:
Jan Hubicka 2003-04-03 17:40:47 +00:00
parent 70aadfcca2
commit d10f5ecf5c
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,8 @@
Thu Apr 3 17:57:59 2003 J"orn Rennecke <joern.rennecke@superh.com>
Thu Apr 3 18:57:19 CEST 2003 Jan Hubicka <jh@suse.cz>
* i386.c (print_operand): Do not bypass output_addr_const at flag_pic.
Thu Apr 3 17:08:09 2003 J"orn Rennecke <joern.rennecke@superh.com>
* sh.c (sh_function_ok_for_sibcall): Return 0 if the current
function is an interrupt handler.

View File

@ -7472,10 +7472,8 @@ print_operand (file, x, code)
}
x = XEXP (x, 0);
if (flag_pic && CONSTANT_ADDRESS_P (x))
output_pic_addr_const (file, x, code);
/* Avoid (%rip) for call operands. */
else if (CONSTANT_ADDRESS_P (x) && code == 'P'
if (CONSTANT_ADDRESS_P (x) && code == 'P'
&& GET_CODE (x) != CONST_INT)
output_addr_const (file, x);
else if (this_is_asm_operands && ! address_operand (x, VOIDmode))