summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-16 04:30:34 +0000
committermidipix <writeonce@midipix.org>2024-03-16 15:31:41 +0000
commit4b2826c57b656a6929d445f0d95b087a58ac65df (patch)
tree9f57bc2cae430ae1f3eb4eec60e196051b831eee
parenta9bad5065550adfde1e267ab34d7a90472fe034d (diff)
downloadslibtool-4b2826c57b656a6929d445f0d95b087a58ac65df.tar.bz2
slibtool-4b2826c57b656a6929d445f0d95b087a58ac65df.tar.xz
slbt_util_create_symfile(): PE/COFF: list is target neutral, process all syms.
-rw-r--r--src/util/slbt_create_symfile.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/util/slbt_create_symfile.c b/src/util/slbt_create_symfile.c
index 02ac1e6..8c9b4be 100644
--- a/src/util/slbt_create_symfile.c
+++ b/src/util/slbt_create_symfile.c
@@ -26,18 +26,14 @@ static int slbt_util_output_symfile_impl(
const struct slbt_symlist_ctx * sctx,
int fdout)
{
- bool fcoff;
const char ** symv;
const char ** symstrv;
- fcoff = slbt_host_objfmt_is_coff(dctx);
-
symstrv = sctx->symstrv;
for (symv=symstrv; *symv; symv++)
- if (!fcoff || slbt_is_strong_coff_symbol(*symv))
- if (slbt_dprintf(fdout,"%s\n",*symv) < 0)
- return SLBT_SYSTEM_ERROR(dctx,0);
+ if (slbt_dprintf(fdout,"%s\n",*symv) < 0)
+ return SLBT_SYSTEM_ERROR(dctx,0);
return 0;
}