mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
MIPS: Backport workaround for compact unwind tables.
This commit is contained in:
parent
b93a1dd0c8
commit
1abd779907
@ -433,6 +433,11 @@
|
|||||||
#define LJ_NO_SYSTEM 1
|
#define LJ_NO_SYSTEM 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if !defined(LUAJIT_NO_UNWIND) && __GNU_COMPACT_EH__
|
||||||
|
/* NYI: no support for compact unwind specification, yet. */
|
||||||
|
#define LUAJIT_NO_UNWIND 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(LUAJIT_NO_UNWIND) || defined(__symbian__) || LJ_TARGET_IOS || LJ_TARGET_PS3 || LJ_TARGET_PS4
|
#if defined(LUAJIT_NO_UNWIND) || defined(__symbian__) || LJ_TARGET_IOS || LJ_TARGET_PS3 || LJ_TARGET_PS4
|
||||||
#define LJ_NO_UNWIND 1
|
#define LJ_NO_UNWIND 1
|
||||||
#endif
|
#endif
|
||||||
|
@ -4170,6 +4170,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
"\t.align 2\n"
|
"\t.align 2\n"
|
||||||
".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
|
".LEFDE1:\n\n", (int)ctx->codesz - fcofs);
|
||||||
#endif
|
#endif
|
||||||
|
#if !LJ_NO_UNWIND
|
||||||
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
|
fprintf(ctx->fp, "\t.section .eh_frame,\"aw\",@progbits\n");
|
||||||
fprintf(ctx->fp,
|
fprintf(ctx->fp,
|
||||||
"\t.globl lj_err_unwind_dwarf\n"
|
"\t.globl lj_err_unwind_dwarf\n"
|
||||||
@ -4237,6 +4238,7 @@ static void emit_asm_debug(BuildCtx *ctx)
|
|||||||
"\t.byte 0xd\n\t.uleb128 0x10\n"
|
"\t.byte 0xd\n\t.uleb128 0x10\n"
|
||||||
"\t.align 2\n"
|
"\t.align 2\n"
|
||||||
".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
|
".LEFDE3:\n\n", (int)ctx->codesz - fcofs);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user