aboutsummaryrefslogtreecommitdiff
path: root/src/host
diff options
context:
space:
mode:
authorMike Pall <mike>2017-07-26 09:52:19 +0200
committerMike Pall <mike>2017-07-26 09:52:19 +0200
commitfd37da0d586c331b0008fbfd653a9659344fe76f (patch)
tree2ae660cbdbe316ac4affecf5d4f4cf6e013f2b69 /src/host
parent7e662e4f87134f1e84f7bea80933e033c5bf53a3 (diff)
downloadluajit-fd37da0d586c331b0008fbfd653a9659344fe76f.tar.gz
luajit-fd37da0d586c331b0008fbfd653a9659344fe76f.tar.bz2
luajit-fd37da0d586c331b0008fbfd653a9659344fe76f.zip
PPC: Add soft-float support to interpreter.
Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com. Sponsored by Cisco Systems, Inc.
Diffstat (limited to 'src/host')
-rw-r--r--src/host/buildvm_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/buildvm_asm.c b/src/host/buildvm_asm.c
index ffd14903..43595b31 100644
--- a/src/host/buildvm_asm.c
+++ b/src/host/buildvm_asm.c
@@ -338,7 +338,7 @@ void emit_asm(BuildCtx *ctx)
338#if !(LJ_TARGET_PS3 || LJ_TARGET_PSVITA) 338#if !(LJ_TARGET_PS3 || LJ_TARGET_PSVITA)
339 fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n"); 339 fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n");
340#endif 340#endif
341#if LJ_TARGET_PPC && !LJ_TARGET_PS3 341#if LJ_TARGET_PPC && !LJ_TARGET_PS3 && !LJ_ABI_SOFTFP
342 /* Hard-float ABI. */ 342 /* Hard-float ABI. */
343 fprintf(ctx->fp, "\t.gnu_attribute 4, 1\n"); 343 fprintf(ctx->fp, "\t.gnu_attribute 4, 1\n");
344#endif 344#endif