summaryrefslogtreecommitdiff
path: root/src/buildvm_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildvm_asm.c')
-rw-r--r--src/buildvm_asm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/buildvm_asm.c b/src/buildvm_asm.c
index 94e62ce7..6a860c9f 100644
--- a/src/buildvm_asm.c
+++ b/src/buildvm_asm.c
@@ -191,8 +191,7 @@ void emit_asm(BuildCtx *ctx)
191 if (ctx->mode != BUILD_machasm) 191 if (ctx->mode != BUILD_machasm)
192 fprintf(ctx->fp, ".Lbegin:\n"); 192 fprintf(ctx->fp, ".Lbegin:\n");
193 193
194#if LJ_TARGET_ARM && defined(__GNUC__) && !defined(__symbian__) && \ 194#if LJ_TARGET_ARM && defined(__GNUC__) && !defined(LUAJIT_NO_UNWIND)
195 !LJ_TARGET_OSX
196 /* This should really be moved into buildvm_arm.dasc. */ 195 /* This should really be moved into buildvm_arm.dasc. */
197 fprintf(ctx->fp, 196 fprintf(ctx->fp,
198 ".fnstart\n" 197 ".fnstart\n"
@@ -228,8 +227,7 @@ void emit_asm(BuildCtx *ctx)
228#endif 227#endif
229 } 228 }
230 229
231#if LJ_TARGET_ARM && defined(__GNUC__) && !defined(__symbian__) && \ 230#if LJ_TARGET_ARM && defined(__GNUC__) && !defined(LUAJIT_NO_UNWIND)
232 !LJ_TARGET_OSX
233 fprintf(ctx->fp, 231 fprintf(ctx->fp,
234 ".globl lj_err_unwind_arm\n" 232 ".globl lj_err_unwind_arm\n"
235 ".personality lj_err_unwind_arm\n" 233 ".personality lj_err_unwind_arm\n"