changeset 310:3476629ee0ce

Fixed error reading external references
author lost
date Sat, 24 Jan 2009 02:22:13 +0000
parents 34203598be6d
children 8272b46b5a34
files src/readfiles.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/readfiles.c	Fri Jan 23 05:49:16 2009 +0000
+++ b/src/readfiles.c	Sat Jan 24 02:22:13 2009 +0000
@@ -203,7 +203,7 @@
 			// create symbol table entry
 			se = lw_malloc(sizeof(symtab_t));
 			se -> next = s -> exportedsyms;
-			s -> localsyms = se;
+			s -> exportedsyms = se;
 			se -> sym = fp;
 			se -> offset = val;
 		}