Re: [RS6000] Power10 libffi fixes

Adding a nop broke ffi_closure_LINUX64!

	* src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
	location of .Lret.
This commit is contained in:
Alan Modra 2020-09-24 14:58:53 +09:30
parent 34cd848904
commit fff56af642

View File

@ -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