Hi johnsa, some new bugs Bug#5
: Structures corruption while writing symbolic debug info (/Fs)
ld = fopen(pName, "w");
So each linefeed is replaced with a carriage-return – linefeed pair, after that all structures corrupted.
ld = fopen(pName, "wb");
Also need to check all othesrs functions with fopen (name,"w").Bug#6
Skipped first procedure while writing symbolic debug info (/Fs)
First procedure has sym->offset==0, so it skipped by this code:
if ((sym->state == SYM_INTERNAL && sym->offset==0) || sym->state == SYM_MACRO || sym->state == SYM_TMACRO || sym->state == SYM_GRP) continue;
- also present in HJWASM 2.18.