shithub: mc

Download patch

ref: c7b3a74d208bd3f4eddf767eec60fd19eeebd593
parent: f4f2253f78a010e8ba652c405e611e5524fc19f7
author: Ori Bernstein <[email protected]>
date: Sun Jul 22 12:12:40 EDT 2012

Hack: export blobs.

--- a/8/isel.c
+++ b/8/isel.c
@@ -818,6 +818,7 @@
     assert(blob->type == Ndecl);
 
     lbl = htget(globls, blob);
+    fprintf(fd, ".globl %s\n", lbl);
     fprintf(fd, "%s:\n", lbl);
     if (blob->decl.init) {
         if (exprop(blob->decl.init) != Olit)