Commit 5143b5fc by Eric Christopher Committed by Eric Christopher

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
parent c6ba18c6
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.
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment