]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
CONSOLE: Minor PS3 build fixes.
authorMike Pall <mike>
Sun, 10 Jun 2012 14:34:18 +0000 (16:34 +0200)
committerMike Pall <mike>
Sun, 10 Jun 2012 14:34:18 +0000 (16:34 +0200)
src/host/buildvm_asm.c
src/lj_arch.h

index 5fc3128788957ca799aa2c73de807774b22118c2..992c3509ecef97b894a151b9feb1d0bb401828fa 100644 (file)
@@ -275,7 +275,9 @@ void emit_asm(BuildCtx *ctx)
   fprintf(ctx->fp, "\n");
   switch (ctx->mode) {
   case BUILD_elfasm:
+#if !LJ_TARGET_PS3
     fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n");
+#endif
 #if LJ_TARGET_PPCSPE
     /* Soft-float ABI + SPE. */
     fprintf(ctx->fp, "\t.gnu_attribute 4, 2\n\t.gnu_attribute 8, 3\n");
index 8d6830a35d16b34d96c1daed21396680e9c8d98c..7604d84b9957992e379a288f600880ed568e8c66 100644 (file)
 #if _ARCH_PPCSQ
 #define LJ_ARCH_SQRT           1
 #endif
-#if _ARCH_PPC5X
+#if _ARCH_PWR5X
 #define LJ_ARCH_ROUND          1
 #endif
 #if __PPU__