mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
CONSOLE: Minor PS3 build fixes.
This commit is contained in:
parent
b8f5727ab4
commit
d5a915ccf5
@ -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");
|
||||||
|
@ -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__
|
||||||
|
Loading…
Reference in New Issue
Block a user