summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-tcg-ppc-tcg_target.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-tcg-ppc-tcg_target.h')
-rw-r--r--emulators/qemu-devel/files/patch-tcg-ppc-tcg_target.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-tcg-ppc-tcg_target.h b/emulators/qemu-devel/files/patch-tcg-ppc-tcg_target.h
new file mode 100644
index 000000000000..1816317ac330
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-tcg-ppc-tcg_target.h
@@ -0,0 +1,11 @@
+--- a/tcg/ppc/tcg-target.h
++++ b/tcg/ppc/tcg-target.h
+@@ -69,7 +69,7 @@
+ #define TCG_TARGET_CALL_STACK_OFFSET 24
+ #elif defined _AIX
+ #define TCG_TARGET_CALL_STACK_OFFSET 52
+-#elif defined __linux__
++#elif defined __linux__ || defined __FreeBSD__
+ #define TCG_TARGET_CALL_ALIGN_ARGS 1
+ #define TCG_TARGET_CALL_STACK_OFFSET 8
+ #else