mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-11 19:00:45 +08:00
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:
parent
4fd84e8c57
commit
4a8ce6ce04
@ -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
|
||||
|
@ -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 "";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user