diff options
author | David Edelsohn <edelsohn@gnu.org> | 2009-12-08 00:41:10 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2009-12-07 19:41:10 -0500 |
commit | 9e7e65a08b1bac45dff11d676bc49a845d4b438e (patch) | |
tree | bd5237712d452b4f5815af6e0fac5af9dce7e756 /libffi/src/powerpc/aix_closure.S | |
parent | 61961c617d26944d1c757d814059543ec170f9f6 (diff) | |
download | gcc-9e7e65a08b1bac45dff11d676bc49a845d4b438e.zip gcc-9e7e65a08b1bac45dff11d676bc49a845d4b438e.tar.gz gcc-9e7e65a08b1bac45dff11d676bc49a845d4b438e.tar.bz2 |
aix_closure.S (libffi_closure_ASM): Fix tablejump typo.
* src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump
typo.
From-SVN: r155070
Diffstat (limited to 'libffi/src/powerpc/aix_closure.S')
-rw-r--r-- | libffi/src/powerpc/aix_closure.S | 2 |
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 */ |