diff options
| author | ruki <[email protected]> | 2025-12-12 00:43:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-12 09:00:45 +0800 |
| commit | bf35be31ee869cf75a9a32e52069867326e23cda (patch) | |
| tree | b09958d96562f47aafd816b20e489e7c11a7b75b /core/src/xmake/binutils/elf | |
| parent | 890c032d88364e69baa41050079e9b69b58fa735 (diff) | |
fix compile errors
Diffstat (limited to 'core/src/xmake/binutils/elf')
| -rw-r--r-- | core/src/xmake/binutils/elf/readsyms.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/xmake/binutils/elf/readsyms.c b/core/src/xmake/binutils/elf/readsyms.c index 7e7544bea..03756d240 100644 --- a/core/src/xmake/binutils/elf/readsyms.c +++ b/core/src/xmake/binutils/elf/readsyms.c @@ -66,8 +66,9 @@ tb_bool_t xm_binutils_elf_read_symbols_32(tb_stream_ref_t istream, tb_hize_t bas symtab_section = section; found_symtab = tb_true; } else if (section.sh_type == XM_ELF_SHT_STRTAB && section.sh_link == 0) { - // .strtab is linked from .symtab, but we need to find it - // check if this is the string table for symbols + /* .strtab is linked from .symtab, but we need to find it + * check if this is the string table for symbols + */ if (found_symtab && symtab_section.sh_link == i) { strtab_section = section; found_strtab = tb_true; |
