summaryrefslogtreecommitdiffhomepage
path: root/src/util/slbt_create_mapfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/slbt_create_mapfile.c')
-rw-r--r--src/util/slbt_create_mapfile.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/util/slbt_create_mapfile.c b/src/util/slbt_create_mapfile.c
index e8a5c90..a7d7c0a 100644
--- a/src/util/slbt_create_mapfile.c
+++ b/src/util/slbt_create_mapfile.c
@@ -13,6 +13,7 @@
#include "slibtool_driver_impl.h"
#include "slibtool_dprintf_impl.h"
#include "slibtool_errinfo_impl.h"
+#include "slibtool_pecoff_impl.h"
#include "slibtool_ar_impl.h"
/****************************************************/
@@ -24,13 +25,6 @@
/* necessary. */
/****************************************************/
-static int slbt_is_strong_coff_symbol(const char * sym)
-{
- return strncmp(sym,"__imp_",6)
- && strncmp(sym,".weak.",6)
- && strncmp(sym,".refptr.",8);
-}
-
static int slbt_util_output_mapfile_impl(
const struct slbt_driver_ctx * dctx,
const struct slbt_symlist_ctx * sctx,