diff lwasm/symbol.c @ 374:d99322ef6f21

Stage 1: actually do output
author lost@starbug
date Sat, 24 Apr 2010 14:15:18 -0600
parents 6b33faa21a0a
children fbb7bfed8076
line wrap: on
line diff
--- a/lwasm/symbol.c	Thu Apr 22 18:30:30 2010 -0600
+++ b/lwasm/symbol.c	Sat Apr 24 14:15:18 2010 -0600
@@ -108,6 +108,7 @@
 	se -> flags = flags;
 	se -> value = lw_expr_copy(val);
 	se -> symbol = lw_strdup(sym);
+	se -> section = cl -> csect;
 	return se;
 }