From: David Edelsohn Date: Tue, 8 Dec 2009 00:41:10 +0000 (+0000) Subject: aix_closure.S (libffi_closure_ASM): Fix tablejump typo. X-Git-Tag: upstream/12.2.0~95607 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e7e65a08b1bac45dff11d676bc49a845d4b438e;p=platform%2Fupstream%2Fgcc.git aix_closure.S (libffi_closure_ASM): Fix tablejump typo. * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump typo. From-SVN: r155070 --- diff --git a/libffi/ChangeLog b/libffi/ChangeLog index 966b3d8..9782b69 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,8 +1,13 @@ +2009-12-07 David Edelsohn + + * src/powerpc/aix_closure.S (libffi_closure_ASM): Fix tablejump + typo. + 2009-12-05 David Edelsohn * 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 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 */