aboutsummaryrefslogtreecommitdiff
path: root/libffi/src
diff options
context:
space:
mode:
Diffstat (limited to 'libffi/src')
-rw-r--r--libffi/src/powerpc/aix_closure.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libffi/src/powerpc/aix_closure.S b/libffi/src/powerpc/aix_closure.S
index 7fe5c83..5c74448 100644
--- a/libffi/src/powerpc/aix_closure.S
+++ b/libffi/src/powerpc/aix_closure.S
@@ -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 */