Commit 200bcf7e by Jan Hubicka Committed by Jan Hubicka

i386.c (print_operand_address): Use RIP addressing for offsetted label refs too.

	* i386.c (print_operand_address): Use RIP addressing for offsetted
	label refs too.

From-SVN: r57740
parent e5ec43ac
Wed Oct 2 17:01:36 CEST 2002 Jan Hubicka <jh@suse.cz>
* i386.c (print_operand_address): Use RIP addressing for offsetted
label refs too.
2002-09-30 David S. Miller <davem@redhat.com>
PR middle-end/7151
......
......@@ -6795,7 +6795,8 @@ print_operand_address (file, addr)
|| GET_CODE (addr) == LABEL_REF
|| (GET_CODE (addr) == CONST
&& GET_CODE (XEXP (addr, 0)) == PLUS
&& GET_CODE (XEXP (XEXP (addr, 0), 0)) == SYMBOL_REF
&& (GET_CODE (XEXP (XEXP (addr, 0), 0)) == SYMBOL_REF
|| GET_CODE (XEXP (XEXP (addr, 0), 0)) == LABEL_REF)
&& GET_CODE (XEXP (XEXP (addr, 0), 1)) == CONST_INT)))
fputs ("(%rip)", file);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment