summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2015-11-29 07:16:08 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2015-11-29 07:16:08 +0000
commit25ef2e53c976d01ffd90c9d2091d5cc562993e6b (patch)
tree077c419550d7a3ffb86e03720bd4f886e967013d /sys/powerpc/aim
parent30151e3525326f123feec03d52cb20e7fd25e4c3 (diff)
downloadFreeBSD-src-25ef2e53c976d01ffd90c9d2091d5cc562993e6b.zip
FreeBSD-src-25ef2e53c976d01ffd90c9d2091d5cc562993e6b.tar.gz
Make ELFv2 powerpc64 kernels build and run. Loader support will come in a
separate commit.
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/locore64.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/powerpc/aim/locore64.S b/sys/powerpc/aim/locore64.S
index e1fcd3a..fc2fa8d 100644
--- a/sys/powerpc/aim/locore64.S
+++ b/sys/powerpc/aim/locore64.S
@@ -65,6 +65,10 @@
#include <machine/spr.h>
#include <machine/asm.h>
+#ifdef _CALL_ELF
+.abiversion _CALL_ELF
+#endif
+
/* Locate the per-CPU data structure */
#define GET_CPUINFO(r) \
mfsprg0 r
OpenPOWER on IntegriCloud