ARM: Disable C++ exception catching on Symbian.
This commit is contained in:
@@ -191,7 +191,7 @@ void emit_asm(BuildCtx *ctx)
|
||||
if (ctx->mode != BUILD_machasm)
|
||||
fprintf(ctx->fp, ".Lbegin:\n");
|
||||
|
||||
#if LJ_TARGET_ARM && defined(__GNUC__)
|
||||
#if LJ_TARGET_ARM && defined(__GNUC__) && !defined(__symbian__)
|
||||
/* This should really be moved into buildvm_arm.dasc. */
|
||||
fprintf(ctx->fp,
|
||||
".fnstart\n"
|
||||
@@ -227,7 +227,7 @@ void emit_asm(BuildCtx *ctx)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if LJ_TARGET_ARM && defined(__GNUC__)
|
||||
#if LJ_TARGET_ARM && defined(__GNUC__) && !defined(__symbian__)
|
||||
fprintf(ctx->fp,
|
||||
".globl lj_err_unwind_arm\n"
|
||||
".personality lj_err_unwind_arm\n"
|
||||
|
||||
Reference in New Issue
Block a user