diff options
| author | ruki <[email protected]> | 2025-12-07 17:52:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-07 17:52:41 +0800 |
| commit | 14a0571634159329fd9dd4d2313e918284574381 (patch) | |
| tree | acda73457463347b91681ecbfae74a3ca970c0f3 /core/src | |
| parent | fe0d27da5b8ba182c6bcbdf3577ee68ea1050b4a (diff) | |
fix mingw x86 for coff
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/binutils/bin2coff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/binutils/bin2coff.c b/core/src/xmake/binutils/bin2coff.c index 686b89fac..09274c3ad 100644 --- a/core/src/xmake/binutils/bin2coff.c +++ b/core/src/xmake/binutils/bin2coff.c @@ -227,7 +227,7 @@ static tb_bool_t xm_binutils_bin2coff_dump(tb_stream_ref_t istream, header.nsects = 1; header.time = 0; header.symtabofs = symbol_table_ofs; - header.nsyms = 4; // .rdata section symbol (1) + auxiliary entry (1) + 2 data symbols (start, end) + header.nsyms = 3; // .rdata section symbol (1) + 2 data symbols (start, end) - auxiliary entries are not counted header.opthdr = 0; header.flags = 0; if (!tb_stream_bwrit(ostream, (tb_byte_t const *)&header, sizeof(header))) { |
