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

@@ -61,7 +61,7 @@
#define N r4
#define K r5
#ifdef linux
#if defined(linux) || defined(__FreeBSD__)
#ifndef __64BIT__
#define A r6
#define B r7
@@ -172,7 +172,7 @@
stw r0, FZERO
#ifdef linux
#if defined(linux) || defined(__FreeBSD__)
#ifdef __64BIT__
ld LDC, FRAMESLOT(0) + STACKSIZE(SP)
#endif
@@ -192,7 +192,7 @@
#endif
#endif
#if defined(linux) && defined(__64BIT__)
#if (defined(linux) || defined(__FreeBSD__)) && defined(__64BIT__)
ld OFFSET, FRAMESLOT(1) + STACKSIZE(SP)
#endif