diff options
author | Mike Pall <mike> | 2011-02-02 02:31:59 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-02-02 02:31:59 +0100 |
commit | 1505d6ffde5e91716ebdd6eeb14860eeedf2bf30 (patch) | |
tree | 2617cc90beebe59160441bc1a3e7ae2f18182f3e /src/buildvm_x86.h | |
parent | b613216efc7447dae645d8834e4d6f3185cd1bcc (diff) | |
download | luajit-1505d6ffde5e91716ebdd6eeb14860eeedf2bf30.tar.gz luajit-1505d6ffde5e91716ebdd6eeb14860eeedf2bf30.tar.bz2 luajit-1505d6ffde5e91716ebdd6eeb14860eeedf2bf30.zip |
Fix OSX build to work with newer ld64 versions.
Diffstat (limited to 'src/buildvm_x86.h')
-rw-r--r-- | src/buildvm_x86.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildvm_x86.h b/src/buildvm_x86.h index abdadbe2..7c5e1bc0 100644 --- a/src/buildvm_x86.h +++ b/src/buildvm_x86.h | |||
@@ -2639,6 +2639,7 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
2639 | for (i = 0; i < ctx->nsym; i++) { | 2639 | for (i = 0; i < ctx->nsym; i++) { |
2640 | const char *name = ctx->sym[i].name; | 2640 | const char *name = ctx->sym[i].name; |
2641 | int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs; | 2641 | int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs; |
2642 | if (size == 0) continue; | ||
2642 | fprintf(ctx->fp, | 2643 | fprintf(ctx->fp, |
2643 | "%s.eh:\n" | 2644 | "%s.eh:\n" |
2644 | "LSFDE%d:\n" | 2645 | "LSFDE%d:\n" |