Fix build on FreeBSD/powerpc64.

Signed-off-by: Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Piotr Kubaj
2019-06-25 10:58:56 +02:00
parent 7faf42b7bb
commit eebfeba768
87 changed files with 193 additions and 193 deletions

View File

@@ -59,7 +59,7 @@
#define N r4
#define K r5
#ifdef linux
#if defined(linux) || defined(__FreeBSD__)
#ifndef __64BIT__
#define A r6
#define B r7
@@ -180,7 +180,7 @@
slwi LDC, LDC, BASE_SHIFT
#if defined(linux) && defined(__64BIT__)
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
ld OFFSET, FRAMESLOT(0) + STACKSIZE(SP)
#endif
@@ -254,7 +254,7 @@
#else
#ifdef linux
#if defined(linux) || defined(__FreeBSD__)
#ifndef __64BIT__
mr PREA, r10
lwz PREB, FRAMESLOT(0) + STACKSIZE(SP)