changeset 180:11b710d231bd

Fixed bug handling bss in lwex
author lost@l-w.ca
date Sat, 17 Sep 2011 09:57:55 -0600
parents 606123758641
children 5350ce9f446f
files lwlink/output.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lwlink/output.c	Thu Sep 15 17:08:16 2011 -0600
+++ b/lwlink/output.c	Sat Sep 17 09:57:55 2011 -0600
@@ -201,6 +201,7 @@
 	writebytes(buf, 1, 32, of);
 	// output the data
 	// NOTE: disjoint load addresses will not work correctly!!!!!
+	nskips = 0;
 	for (sn = 0; sn < nsects; sn++)
 	{
 		if (sectlist[sn].ptr -> flags & SECTION_BSS)