summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-22 05:57:08 +0000
committermidipix <writeonce@midipix.org>2024-02-22 05:57:56 +0000
commit4088ec4e73b953e41bd84bb35a88dbd72dac2174 (patch)
tree601be2549179ec2afbae3cdc674b1318b1581689
parentc62c8b4e3588658be741328fa2393a6ae9cdd254 (diff)
downloadslibtool-4088ec4e73b953e41bd84bb35a88dbd72dac2174.tar.bz2
slibtool-4088ec4e73b953e41bd84bb35a88dbd72dac2174.tar.xz
slbt_util_output_mapfile(): also filter out coff refptr symbols.
-rw-r--r--src/util/slbt_create_mapfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/slbt_create_mapfile.c b/src/util/slbt_create_mapfile.c
index 1a8f8e7..e8a5c90 100644
--- a/src/util/slbt_create_mapfile.c
+++ b/src/util/slbt_create_mapfile.c
@@ -26,7 +26,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_util_output_mapfile_impl(