]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (output_set_got): Don't omit OFFSET FLAT...
authorJakub Jelinek <jakub@redhat.com>
Sat, 9 Jul 2005 08:54:18 +0000 (10:54 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 9 Jul 2005 08:54:18 +0000 (10:54 +0200)
* 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: r101821

gcc/ChangeLog
gcc/config/i386/i386.c

index 3059b5fb255d1f3d1194b6568fa76120da52645f..59921879f4fab3282e8aff23a417277becd2fab2 100644 (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-08  David Edelsohn  <edelsohn@gnu.org>
 
        Backport from mainline:
index 9504583b85c09cae2f43b73939fbde9bc1ede37e..36a93009fe55584416a8218cddb5454ec70fb827 100644 (file)
@@ -4899,7 +4899,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 "";
 }