diff --git a/libffi/src/powerpc/linux64_closure.S b/libffi/src/powerpc/linux64_closure.S index 3e30db361905b41e236c59769dbe68f70c116e30..5663bb4022361a4d10749e4efb5623c1ca2cf107 100644 --- a/libffi/src/powerpc/linux64_closure.S +++ b/libffi/src/powerpc/linux64_closure.S @@ -159,15 +159,17 @@ ffi_closure_LINUX64: # if defined _CALL_LINUX || _CALL_ELF == 2 # ifdef __PCREL__ bl ffi_closure_helper_LINUX64@notoc +.Lret: # else bl ffi_closure_helper_LINUX64 +.Lret: nop # endif # else bl .ffi_closure_helper_LINUX64 +.Lret: nop # endif -.Lret: # now r3 contains the return type # so use it to look up in a table