summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/libffi/clang-powerpc-3.2.1.patch
blob: b6749cc26f8f78345060dc8a619fbcaeb85c5e48 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/src/powerpc/linux64.S b/src/powerpc/linux64.S
index d2acb70..921e9cb 100644
--- a/src/powerpc/linux64.S
+++ b/src/powerpc/linux64.S
@@ -83,6 +83,7 @@ ffi_call_LINUX64:
 	mr	%r4, %r1
 # if defined _CALL_LINUX || _CALL_ELF == 2
 	bl	ffi_prep_args64
+	nop
 # else
 	bl	.ffi_prep_args64
 # endif
diff --git a/src/powerpc/linux64_closure.S b/src/powerpc/linux64_closure.S
index 97421a4..3c62d5f 100644
--- a/src/powerpc/linux64_closure.S
+++ b/src/powerpc/linux64_closure.S
@@ -152,6 +152,7 @@ ffi_closure_LINUX64:
 	# make the call
 # if defined _CALL_LINUX || _CALL_ELF == 2
 	bl ffi_closure_helper_LINUX64
+	nop
 # else
 	bl .ffi_closure_helper_LINUX64
 # endif