diff options
-rw-r--r-- | src/buildvm_x64.h | 1 | ||||
-rw-r--r-- | src/buildvm_x64win.h | 1 | ||||
-rw-r--r-- | src/buildvm_x86.dasc | 1 | ||||
-rw-r--r-- | src/buildvm_x86.h | 1 |
4 files changed, 4 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" |
diff --git a/src/buildvm_x64win.h b/src/buildvm_x64win.h index 578bc904..33083596 100644 --- a/src/buildvm_x64win.h +++ b/src/buildvm_x64win.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" |
diff --git a/src/buildvm_x86.dasc b/src/buildvm_x86.dasc index 1ef3d4d9..268aa5d4 100644 --- a/src/buildvm_x86.dasc +++ b/src/buildvm_x86.dasc | |||
@@ -5542,6 +5542,7 @@ static void emit_asm_debug(BuildCtx *ctx) | |||
5542 | for (i = 0; i < ctx->nsym; i++) { | 5542 | for (i = 0; i < ctx->nsym; i++) { |
5543 | const char *name = ctx->sym[i].name; | 5543 | const char *name = ctx->sym[i].name; |
5544 | int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs; | 5544 | int32_t size = ctx->sym[i+1].ofs - ctx->sym[i].ofs; |
5545 | if (size == 0) continue; | ||
5545 | fprintf(ctx->fp, | 5546 | fprintf(ctx->fp, |
5546 | "%s.eh:\n" | 5547 | "%s.eh:\n" |
5547 | "LSFDE%d:\n" | 5548 | "LSFDE%d:\n" |
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" |