From: Alan Cox Date: Sat, 28 Oct 2017 16:30:41 +0000 (+0100) Subject: asz80: always write the debug symbol base X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9d65043f4ffdf78fd24bcec7dd1c55ef42eda853;p=FUZIX.git asz80: always write the debug symbol base It avoids special cases and means the linker can size the table itself. --- diff --git a/Applications/MWC/cmd/asz80/as4.c b/Applications/MWC/cmd/asz80/as4.c index e3496be5..340d0be8 100644 --- a/Applications/MWC/cmd/asz80/as4.c +++ b/Applications/MWC/cmd/asz80/as4.c @@ -179,8 +179,8 @@ static void writesymbols(SYM *hash[], FILE *ofp) { fseek(ofp, obh.o_symbase, SEEK_SET); dosymbols(hash, ofp, 1, putsymbol); + obh.o_dbgbase = ftell(ofp); if (debug_write) { - obh.o_dbgbase = ftell(ofp); dosymbols(uhash, ofp, 0, putsymbol); } }