summaryrefslogtreecommitdiffhomepage
path: root/src/arbits
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-22 05:56:34 +0000
committermidipix <writeonce@midipix.org>2024-02-22 05:57:43 +0000
commitc62c8b4e3588658be741328fa2393a6ae9cdd254 (patch)
tree4ada386b68938e09be02a2b50fce8259ce86d2d5 /src/arbits
parenta739adc541b534e8d265c62df6e7ce156aca37f8 (diff)
downloadslibtool-c62c8b4e3588658be741328fa2393a6ae9cdd254.tar.bz2
slibtool-c62c8b4e3588658be741328fa2393a6ae9cdd254.tar.xz
slbt_ar_output_mapfile(): also filter out coff refptr symbols.
Diffstat (limited to 'src/arbits')
-rw-r--r--src/arbits/slbt_archive_mapfile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_mapfile.c b/src/arbits/slbt_archive_mapfile.c
index c448c8c..a684a52 100644
--- a/src/arbits/slbt_archive_mapfile.c
+++ b/src/arbits/slbt_archive_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_ar_output_mapfile_impl(