diff options
author | Mike Pall <mike> | 2012-06-10 16:34:18 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-06-10 16:34:18 +0200 |
commit | d5a915ccf58bff38f932de752771cd650809787e (patch) | |
tree | 86e3c8cd87edc0229e90e4bf0db3c787b9569e31 /src/host | |
parent | b8f5727ab4ab5656b19cdb2c71a92611836b5458 (diff) | |
download | luajit-d5a915ccf58bff38f932de752771cd650809787e.tar.gz luajit-d5a915ccf58bff38f932de752771cd650809787e.tar.bz2 luajit-d5a915ccf58bff38f932de752771cd650809787e.zip |
CONSOLE: Minor PS3 build fixes.
Diffstat (limited to 'src/host')
-rw-r--r-- | src/host/buildvm_asm.c | 2 |
1 files changed, 2 insertions, 0 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"); |