Fix OSX build to work with newer ld64 versions.

This commit is contained in:
Mike Pall 2011-02-02 02:31:59 +01:00
parent b613216efc
commit 1505d6ffde
4 changed files with 4 additions and 0 deletions

View File

@ -2505,6 +2505,7 @@ static void emit_asm_debug(BuildCtx *ctx)
for (i = 0; i < ctx->nsym; i++) {
const char *name = ctx->sym[i].name;
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
if (size == 0) continue;
fprintf(ctx->fp,
"%s.eh:\n"
"LSFDE%d:\n"

View File

@ -2505,6 +2505,7 @@ static void emit_asm_debug(BuildCtx *ctx)
for (i = 0; i < ctx->nsym; i++) {
const char *name = ctx->sym[i].name;
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
if (size == 0) continue;
fprintf(ctx->fp,
"%s.eh:\n"
"LSFDE%d:\n"

View File

@ -5542,6 +5542,7 @@ static void emit_asm_debug(BuildCtx *ctx)
for (i = 0; i < ctx->nsym; i++) {
const char *name = ctx->sym[i].name;
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
if (size == 0) continue;
fprintf(ctx->fp,
"%s.eh:\n"
"LSFDE%d:\n"

View File

@ -2639,6 +2639,7 @@ static void emit_asm_debug(BuildCtx *ctx)
for (i = 0; i < ctx->nsym; i++) {
const char *name = ctx->sym[i].name;
int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs;
if (size == 0) continue;
fprintf(ctx->fp,
"%s.eh:\n"
"LSFDE%d:\n"