ARM: Disable C++ exception catching on Symbian.

This commit is contained in:
Mike Pall
2011-06-03 12:23:43 +02:00
parent 84e33332a7
commit 77bb8de93d
2 changed files with 5 additions and 5 deletions

View File

@@ -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"