Mercurial > hg-old > index.cgi
comparison src/pseudo.c @ 85:918be0c02239
Started adding object target output
author | lost |
---|---|
date | Fri, 16 Jan 2009 05:14:49 +0000 |
parents | 03be43ae19cf |
children | 033a328a10ae |
comparison
equal
deleted
inserted
replaced
84:e12edcfbebd5 | 85:918be0c02239 |
---|---|
715 { | 715 { |
716 s = lwasm_alloc(sizeof(sectiontab_t)); | 716 s = lwasm_alloc(sizeof(sectiontab_t)); |
717 s -> name = sn; | 717 s -> name = sn; |
718 s -> offset = 0; | 718 s -> offset = 0; |
719 s -> flags = 0; | 719 s -> flags = 0; |
720 s -> obytes = NULL; | |
721 s -> oblen = 0; | |
722 s -> obsize = 0; | |
720 | 723 |
721 // parse options; only one "bss" | 724 // parse options; only one "bss" |
722 if (opts && as -> passnum == 1) | 725 if (opts && as -> passnum == 1) |
723 { | 726 { |
724 if (!strcasecmp(opts, "bss")) | 727 if (!strcasecmp(opts, "bss")) |