public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
960aaff
)
asz80: always write the debug symbol base
author
Alan Cox
<alan@linux.intel.com>
Sat, 28 Oct 2017 16:30:41 +0000
(17:30 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 28 Oct 2017 16:30:41 +0000
(17:30 +0100)
It avoids special cases and means the linker can size the table itself.
Applications/MWC/cmd/asz80/as4.c
patch
|
blob
|
history
diff --git
a/Applications/MWC/cmd/asz80/as4.c
b/Applications/MWC/cmd/asz80/as4.c
index
e3496be
..
340d0be
100644
(file)
--- 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);
}
}