summaryrefslogtreecommitdiff
path: root/src/arbits/output
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-22 06:00:58 +0000
committermidipix <writeonce@midipix.org>2024-02-22 06:00:58 +0000
commitb7eee903624f0208c70bc1ea928dce965db8deba (patch)
treeec613dd787a2cc2c92129bcec8140a873c165f71 /src/arbits/output
parent4088ec4e73b953e41bd84bb35a88dbd72dac2174 (diff)
downloadslibtool-b7eee903624f0208c70bc1ea928dce965db8deba.tar.bz2
slibtool-b7eee903624f0208c70bc1ea928dce965db8deba.tar.xz
slbt_au_output_symbols(): also filter out coff refptr symbols.
Diffstat (limited to 'src/arbits/output')
-rw-r--r--src/arbits/output/slbt_au_output_symbols.c4
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(