i386.c (output_set_got): Don't omit OFFSET FLAT...

* config/i386/i386.c (output_set_got): Don't omit OFFSET FLAT:
	in Intel syntax add %reg, OFFSET FLAT:_GLOBAL_OFFSET_TABLE_+(.-.Lx).

From-SVN: r101819
This commit is contained in:
Jakub Jelinek 2005-07-09 10:47:38 +02:00 committed by Jakub Jelinek
parent 4fd84e8c57
commit 4a8ce6ce04
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-07-09 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (output_set_got): Don't omit OFFSET FLAT:
in Intel syntax add %reg, OFFSET FLAT:_GLOBAL_OFFSET_TABLE_+(.-.Lx).
2005-07-09 Richard SAndiford <richard@codesourcery.com>
PR target/21656

View File

@ -4175,7 +4175,7 @@ output_set_got (rtx dest)
if (!flag_pic || TARGET_DEEP_BRANCH_PREDICTION)
output_asm_insn ("add{l}\t{%1, %0|%0, %1}", xops);
else if (!TARGET_MACHO)
output_asm_insn ("add{l}\t{%1+[.-%a2], %0|%0, %a1+(.-%a2)}", xops);
output_asm_insn ("add{l}\t{%1+[.-%a2], %0|%0, %1+(.-%a2)}", xops);
return "";
}