summaryrefslogtreecommitdiffstats
path: root/libffi/src/powerpc
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-08 00:41:10 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-08 00:41:10 +0000
commit514d705d0b28dda1f00a6e1eff779bfa70efa845 (patch)
treebd5237712d452b4f5815af6e0fac5af9dce7e756 /libffi/src/powerpc
parent5e071a5a2a189dea3c0f4294e67d2bc47c675e20 (diff)
downloadppe42-gcc-514d705d0b28dda1f00a6e1eff779bfa70efa845.tar.gz
ppe42-gcc-514d705d0b28dda1f00a6e1eff779bfa70efa845.zip
* src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
typo. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155070 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/src/powerpc')
-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 7fe5c83cdd8..5c74448f2b1 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 */
OpenPOWER on IntegriCloud