Explorar o código

Merge branch 'master' into v2.1

Mike Pall %!s(int64=8) %!d(string=hai) anos
pai
achega
7c7843e876
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      src/host/buildvm_asm.c

+ 2 - 1
src/host/buildvm_asm.c

@@ -218,7 +218,8 @@ static void emit_asm_label(BuildCtx *ctx, const char *name, int size, int isfunc
   case BUILD_machasm:
     fprintf(ctx->fp,
       "\n\t.private_extern %s\n"
-      "%s:\n", name, name);
+      "\t.no_dead_strip %s\n"
+      "%s:\n", name, name, name);
     break;
   default:
     break;