diff options
author | midipix <writeonce@midipix.org> | 2024-02-22 06:00:58 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-22 06:00:58 +0000 |
commit | b7eee903624f0208c70bc1ea928dce965db8deba (patch) | |
tree | ec613dd787a2cc2c92129bcec8140a873c165f71 /src/arbits/output/slbt_au_output_symbols.c | |
parent | 4088ec4e73b953e41bd84bb35a88dbd72dac2174 (diff) | |
download | slibtool-b7eee903624f0208c70bc1ea928dce965db8deba.tar.bz2 slibtool-b7eee903624f0208c70bc1ea928dce965db8deba.tar.xz |
slbt_au_output_symbols(): also filter out coff refptr symbols.
Diffstat (limited to 'src/arbits/output/slbt_au_output_symbols.c')
-rw-r--r-- | src/arbits/output/slbt_au_output_symbols.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arbits/output/slbt_au_output_symbols.c b/src/arbits/output/slbt_au_output_symbols.c index f9ee0c5..178fcdb 100644 --- a/src/arbits/output/slbt_au_output_symbols.c +++ b/src/arbits/output/slbt_au_output_symbols.c @@ -21,7 +21,9 @@ static int slbt_is_strong_coff_symbol(const char * sym) { - return strncmp(sym,"__imp_",6) && strncmp(sym,".weak.",6); + return strncmp(sym,"__imp_",6) + && strncmp(sym,".weak.",6) + && strncmp(sym,".refptr.",8); } static int slbt_au_output_symbols_posix( |