aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/host/buildvm_asm.c2
-rw-r--r--src/lj_arch.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/host/buildvm_asm.c b/src/host/buildvm_asm.c
index 5fc31287..992c3509 100644
--- a/src/host/buildvm_asm.c
+++ b/src/host/buildvm_asm.c
@@ -275,7 +275,9 @@ void emit_asm(BuildCtx *ctx)
275 fprintf(ctx->fp, "\n"); 275 fprintf(ctx->fp, "\n");
276 switch (ctx->mode) { 276 switch (ctx->mode) {
277 case BUILD_elfasm: 277 case BUILD_elfasm:
278#if !LJ_TARGET_PS3
278 fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n"); 279 fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n");
280#endif
279#if LJ_TARGET_PPCSPE 281#if LJ_TARGET_PPCSPE
280 /* Soft-float ABI + SPE. */ 282 /* Soft-float ABI + SPE. */
281 fprintf(ctx->fp, "\t.gnu_attribute 4, 2\n\t.gnu_attribute 8, 3\n"); 283 fprintf(ctx->fp, "\t.gnu_attribute 4, 2\n\t.gnu_attribute 8, 3\n");
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 8d6830a3..7604d84b 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -204,7 +204,7 @@
204#if _ARCH_PPCSQ 204#if _ARCH_PPCSQ
205#define LJ_ARCH_SQRT 1 205#define LJ_ARCH_SQRT 1
206#endif 206#endif
207#if _ARCH_PPC5X 207#if _ARCH_PWR5X
208#define LJ_ARCH_ROUND 1 208#define LJ_ARCH_ROUND 1
209#endif 209#endif
210#if __PPU__ 210#if __PPU__