summaryrefslogtreecommitdiffhomepage
path: root/src/internal/slibtool_pecoff_impl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/slibtool_pecoff_impl.c')
-rw-r--r--src/internal/slibtool_pecoff_impl.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/internal/slibtool_pecoff_impl.c b/src/internal/slibtool_pecoff_impl.c
new file mode 100644
index 0000000..3ce2d0e
--- /dev/null
+++ b/src/internal/slibtool_pecoff_impl.c
@@ -0,0 +1,16 @@
+/*******************************************************************/
+/* slibtool: a skinny libtool implementation, written in C */
+/* Copyright (C) 2016--2024 SysDeer Technologies, LLC */
+/* Released under the Standard MIT License; see COPYING.SLIBTOOL. */
+/*******************************************************************/
+
+#include <string.h>
+
+#include "slibtool_visibility_impl.h"
+
+slbt_hidden int slbt_is_strong_coff_symbol(const char * sym)
+{
+ return strncmp(sym,"__imp_",6)
+ && strncmp(sym,".weak.",6)
+ && strncmp(sym,".refptr.",8);
+}