aix_closure.S (libffi_closure_ASM): Fix tablejump typo.

* src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
        typo.

From-SVN: r155070
This commit is contained in:
David Edelsohn 2009-12-08 00:41:10 +00:00 committed by David Edelsohn
parent 61961c617d
commit 9e7e65a08b
2 changed files with 7 additions and 2 deletions

View File

@ -1,8 +1,13 @@
2009-12-07 David Edelsohn <edelsohn@gnu.org>
* src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
typo.
2009-12-05 David Edelsohn <edelsohn@gnu.org>
* src/powerpc/aix.S: Update AIX32 code to be consistent with AIX64
code.
* src/powerpc/aix_closure.s: Same.
* src/powerpc/aix_closure.S: Same.
2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

View File

@ -340,7 +340,7 @@ L..finish:
lwz r4, LC..60(2) /* get address of jump table */
slwi r3, r3, 4 /* now multiply return type by 4 */
lwz r0, 176+8(r1) /* load return address */
lwzx r3, r4, r3 /* get the contents of that table value */
add r3, r3, r4 /* add contents of table to table address */
mtctr r3
bctr /* jump to it */