aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2006-03-03 00:02:49 +0000
committerEric Christopher <echristo@gcc.gnu.org>2006-03-03 00:02:49 +0000
commit5143b5fcfec76fb0529eb9c591f930df810eeb58 (patch)
treee14a88fc1b5d2b40a13b8e098490882051bbec33
parentc6ba18c6e5ea966182351570f6c1043c854437f2 (diff)
downloadgcc-5143b5fcfec76fb0529eb9c591f930df810eeb58.zip
gcc-5143b5fcfec76fb0529eb9c591f930df810eeb58.tar.gz
gcc-5143b5fcfec76fb0529eb9c591f930df810eeb58.tar.bz2
i386.c (machopic_output_stub): Add indirection to jump.
2006-03-02 Eric Christopher <echristo@apple.com> * config/i386/i386.c (machopic_output_stub): Add indirection to jump. From-SVN: r111652
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9c30db4..38c8414 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-02 Eric Christopher <echristo@apple.com>
+
+ * config/i386/i386.c (machopic_output_stub): Add indirection to
+ jump.
+
2006-03-02 Zdenek Dvorak <dvorakz@suse.cz>
* loop.c: Removed.
@@ -37,7 +42,7 @@
just like v9/ultrasparc/ultrasparc3.
* doc/invoke.texi: Add documentation for "niagara" and improve
existing documentation for ultrasparc variants.
-
+
2006-03-02 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-operands.c (update_stmt_operands): Update documentation.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index fae111e..262c006 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -17120,7 +17120,7 @@ machopic_output_stub (FILE *file, const char *symb, const char *stub)
{
fprintf (file, "\tcall LPC$%d\nLPC$%d:\tpopl %%eax\n", label, label);
fprintf (file, "\tmovl %s-LPC$%d(%%eax),%%edx\n", lazy_ptr_name, label);
- fprintf (file, "\tjmp %%edx\n");
+ fprintf (file, "\tjmp *%%edx\n");
}
else
fprintf (file, "\tjmp *%s\n", lazy_ptr_name);