summaryrefslogtreecommitdiffhomepage
path: root/src/arbits
diff options
context:
space:
mode:
Diffstat (limited to 'src/arbits')
-rw-r--r--src/arbits/output/slbt_au_output_symbols.c8
-rw-r--r--src/arbits/slbt_archive_mapfile.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/src/arbits/output/slbt_au_output_symbols.c b/src/arbits/output/slbt_au_output_symbols.c
index 178fcdb..dca3fb9 100644
--- a/src/arbits/output/slbt_au_output_symbols.c
+++ b/src/arbits/output/slbt_au_output_symbols.c
@@ -13,19 +13,13 @@
#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"
#define SLBT_PRETTY_FLAGS (SLBT_PRETTY_YAML \
| SLBT_PRETTY_POSIX \
| SLBT_PRETTY_HEXDATA)
-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_au_output_symbols_posix(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * mctx,
diff --git a/src/arbits/slbt_archive_mapfile.c b/src/arbits/slbt_archive_mapfile.c
index a684a52..379e278 100644
--- a/src/arbits/slbt_archive_mapfile.c
+++ b/src/arbits/slbt_archive_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 @@
/* an underscore (where relevant) is not 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_ar_output_mapfile_impl(
const struct slbt_driver_ctx * dctx,
struct slbt_archive_meta_impl * mctx,