diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-07-09 10:47:38 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2005-07-09 10:47:38 +0200 |
commit | 4a8ce6ce048eee4d123115c63423c7a0aefafeea (patch) | |
tree | 301ce7bade759a3831e7b0296056f777bd127093 /gcc | |
parent | 4fd84e8c578af80460ddeb7db4f3a546ec8ba11b (diff) | |
download | gcc-4a8ce6ce048eee4d123115c63423c7a0aefafeea.zip gcc-4a8ce6ce048eee4d123115c63423c7a0aefafeea.tar.gz gcc-4a8ce6ce048eee4d123115c63423c7a0aefafeea.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 03c3f5eb..f84455d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index f3d4376..673acd5 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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 ""; } |