projects
/
sasm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf8bd80
)
Bug fix
master
author
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 13 Nov 2025 17:04:21 +0000
(17:04 +0000)
committer
Robert Pengelly
<robertapengelly@hotmail.com>
Thu, 13 Nov 2025 17:04:21 +0000
(17:04 +0000)
coff.c
patch
|
blob
|
history
diff --git
a/coff.c
b/coff.c
index 8a76a8b10f45816b5ecb9c3bcdd1210569d1464e..29ffd0d0c1b00d2622f1f83a666dc95d77967b25 100644
(file)
--- a/
coff.c
+++ b/
coff.c
@@
-353,7
+353,7
@@
void output_coff (FILE *outfile) {
memset (sym_tbl_ent.Name, 0, 4);
write_to_byte_array ((unsigned char *) sym_tbl_ent.Name + 4, string_table_size, 4);
- string_table_size +=
strlen (symbol->name)
+ 1;
+ string_table_size +=
name_length
+ 1;
symbol->write_name_to_string_table = 1;