Skip to content
Snippets Groups Projects
Commit fff56af6 authored by Alan Modra's avatar Alan Modra
Browse files

Re: [RS6000] Power10 libffi fixes

Adding a nop broke ffi_closure_LINUX64!

	* src/powerpc/linux64_closure.S (ffi_closure_LINUX64): Correct
	location of .Lret.
parent 34cd8489
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment