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_x64.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_x64.h')
-rw-r--r-- | src/buildvm_x64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildvm_x64.h b/src/buildvm_x64.h index 5739e65a..ce6ca830 100644 --- a/src/buildvm_x64.h +++ b/src/buildvm_x64.h | |||
@@ -2505,6 +2505,7 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
2505 | for (i = 0; i < ctx->nsym; i++) { | 2505 | for (i = 0; i < ctx->nsym; i++) { |
2506 | const char *name = ctx->sym[i].name; | 2506 | const char *name = ctx->sym[i].name; |
2507 | int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs; | 2507 | int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs; |
2508 | if (size == 0) continue; | ||
2508 | fprintf(ctx->fp, | 2509 | fprintf(ctx->fp, |
2509 | "%s.eh:\n" | 2510 | "%s.eh:\n" |
2510 | "LSFDE%d:\n" | 2511 | "LSFDE%d:\n" |