From b7eee903624f0208c70bc1ea928dce965db8deba Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 22 Feb 2024 06:00:58 +0000 Subject: slbt_au_output_symbols(): also filter out coff refptr symbols. --- src/arbits/output/slbt_au_output_symbols.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/arbits') 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( -- cgit v1.2.3