diff options
Diffstat (limited to 'src/buildvm_asm.c')
-rw-r--r-- | src/buildvm_asm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/buildvm_asm.c b/src/buildvm_asm.c index 49d6ffca..5cfa7ae8 100644 --- a/src/buildvm_asm.c +++ b/src/buildvm_asm.c | |||
@@ -191,7 +191,8 @@ 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(__symbian__) && \ |
195 | !LJ_TARGET_OSX | ||
195 | /* This should really be moved into buildvm_arm.dasc. */ | 196 | /* This should really be moved into buildvm_arm.dasc. */ |
196 | fprintf(ctx->fp, | 197 | fprintf(ctx->fp, |
197 | ".fnstart\n" | 198 | ".fnstart\n" |
@@ -227,7 +228,8 @@ void emit_asm(BuildCtx *ctx) | |||
227 | #endif | 228 | #endif |
228 | } | 229 | } |
229 | 230 | ||
230 | #if LJ_TARGET_ARM && defined(__GNUC__) && !defined(__symbian__) | 231 | #if LJ_TARGET_ARM && defined(__GNUC__) && !defined(__symbian__) && \ |
232 | !LJ_TARGET_OSX | ||
231 | fprintf(ctx->fp, | 233 | fprintf(ctx->fp, |
232 | ".globl lj_err_unwind_arm\n" | 234 | ".globl lj_err_unwind_arm\n" |
233 | ".personality lj_err_unwind_arm\n" | 235 | ".personality lj_err_unwind_arm\n" |