diff options
| author | ruki <[email protected]> | 2025-12-11 23:45:05 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-12-12 09:00:44 +0800 |
| commit | 2a9ce5f90745e62641ba8c313ff0fa856eaea1f8 (patch) | |
| tree | 687d309176f268904c17abc7b5dfdeb150a353d9 /core/src/xmake/binutils/macho | |
| parent | 65b4b2932a7c2fd6dab3fe60597055d1440bddc5 (diff) | |
readsyms from ar lib
Diffstat (limited to 'core/src/xmake/binutils/macho')
| -rw-r--r-- | core/src/xmake/binutils/macho/readsyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/binutils/macho/readsyms.c b/core/src/xmake/binutils/macho/readsyms.c index 4c3fbafa6..2d4889c58 100644 --- a/core/src/xmake/binutils/macho/readsyms.c +++ b/core/src/xmake/binutils/macho/readsyms.c @@ -319,7 +319,7 @@ tb_bool_t xm_binutils_macho_read_symbols(tb_stream_ref_t istream, tb_hize_t base // read and check magic tb_uint8_t magic_bytes[4]; - if (!xm_binutils_read_magic(istream, magic_bytes, 4)) { + if (!tb_stream_bread(istream, magic_bytes, 4)) { return tb_false; } |
