CONSOLE: Minor PS3 build fixes.

This commit is contained in:
Mike Pall 2012-06-10 16:34:18 +02:00
parent b8f5727ab4
commit d5a915ccf5
2 changed files with 3 additions and 1 deletions

View File

@ -275,7 +275,9 @@ void emit_asm(BuildCtx *ctx)
fprintf(ctx->fp, "\n"); fprintf(ctx->fp, "\n");
switch (ctx->mode) { switch (ctx->mode) {
case BUILD_elfasm: case BUILD_elfasm:
#if !LJ_TARGET_PS3
fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n"); fprintf(ctx->fp, "\t.section .note.GNU-stack,\"\"," ELFASM_PX "progbits\n");
#endif
#if LJ_TARGET_PPCSPE #if LJ_TARGET_PPCSPE
/* Soft-float ABI + SPE. */ /* Soft-float ABI + SPE. */
fprintf(ctx->fp, "\t.gnu_attribute 4, 2\n\t.gnu_attribute 8, 3\n"); fprintf(ctx->fp, "\t.gnu_attribute 4, 2\n\t.gnu_attribute 8, 3\n");

View File

@ -204,7 +204,7 @@
#if _ARCH_PPCSQ #if _ARCH_PPCSQ
#define LJ_ARCH_SQRT 1 #define LJ_ARCH_SQRT 1
#endif #endif
#if _ARCH_PPC5X #if _ARCH_PWR5X
#define LJ_ARCH_ROUND 1 #define LJ_ARCH_ROUND 1
#endif #endif
#if __PPU__ #if __PPU__