aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2002-05-23 14:25:04 -0700
committerRichard Henderson <rth@gcc.gnu.org>2002-05-23 14:25:04 -0700
commit8e9fadc3146afaad9bf5217b853b377d0b5f1af1 (patch)
tree05989ffd9ae607bc04ad8f59e9411173803c6e32 /gcc
parent244c2241b8ef12958d1414f46ba6006554ebb9e6 (diff)
downloadgcc-8e9fadc3146afaad9bf5217b853b377d0b5f1af1.zip
gcc-8e9fadc3146afaad9bf5217b853b377d0b5f1af1.tar.gz
gcc-8e9fadc3146afaad9bf5217b853b377d0b5f1af1.tar.bz2
* config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
From-SVN: r53809
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 69160df..eb4c715 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2002-05-23 Richard Henderson <rth@redhat.com>
+ * config/i386/i386.c (output_set_got): Fix typo in pic no-deep case.
+
+2002-05-23 Richard Henderson <rth@redhat.com>
+
* doc/extend.texi (C++98 Thread-Local Edits): Update with
commentary from Mark.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index c4752e6..f76dbcf 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -3898,7 +3898,7 @@ output_set_got (dest)
if (!flag_pic || TARGET_DEEP_BRANCH_PREDICTION)
output_asm_insn ("add{l}\t{%1, %0|%0, %1}", xops);
else
- output_asm_insn ("add{l}\t{%1+[.-%X2], %0|%0, %a1+(.-%X2)}", xops);
+ output_asm_insn ("add{l}\t{%1+[.-%a2], %0|%0, %a1+(.-%a2)}", xops);
return "";
}