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> 2006-03-02 Zdenek Dvorak <dvorakz@suse.cz>
* loop.c: Removed. * loop.c: Removed.
...@@ -37,7 +42,7 @@ ...@@ -37,7 +42,7 @@
just like v9/ultrasparc/ultrasparc3. just like v9/ultrasparc/ultrasparc3.
* doc/invoke.texi: Add documentation for "niagara" and improve * doc/invoke.texi: Add documentation for "niagara" and improve
existing documentation for ultrasparc variants. existing documentation for ultrasparc variants.
2006-03-02 Diego Novillo <dnovillo@redhat.com> 2006-03-02 Diego Novillo <dnovillo@redhat.com>
* tree-ssa-operands.c (update_stmt_operands): Update documentation. * tree-ssa-operands.c (update_stmt_operands): Update documentation.
......
...@@ -17120,7 +17120,7 @@ machopic_output_stub (FILE *file, const char *symb, const char *stub) ...@@ -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, "\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, "\tmovl %s-LPC$%d(%%eax),%%edx\n", lazy_ptr_name, label);
fprintf (file, "\tjmp %%edx\n"); fprintf (file, "\tjmp *%%edx\n");
} }
else else
fprintf (file, "\tjmp *%s\n", lazy_ptr_name); 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