aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/i386.c
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 /gcc/config/i386/i386.c
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
Diffstat (limited to 'gcc/config/i386/i386.c')
-rw-r--r--gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
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);