comparison lwasm/output.c @ 412:35a0b086bf4a

Added dummy .bank pseudo and fixed segfault in output for object target (on imported symbol)
author lost@l-w.ca
date Mon, 09 Aug 2010 00:37:46 -0600
parents c94436adce83
children 5cccf90bf838
comparison
equal deleted inserted replaced
411:cac204676434 412:35a0b086bf4a
491 { 491 {
492 int eval; 492 int eval;
493 lw_expr_t te; 493 lw_expr_t te;
494 line_t tl; 494 line_t tl;
495 495
496 if (ex -> se == NULL)
497 continue;
496 if (ex -> se -> section != s) 498 if (ex -> se -> section != s)
497 continue; 499 continue;
498 te = lw_expr_copy(ex -> se -> value); 500 te = lw_expr_copy(ex -> se -> value);
499 as -> csect = ex -> se -> section; 501 as -> csect = ex -> se -> section;
500 as -> exportcheck = 1; 502 as -> exportcheck = 1;