summaryrefslogtreecommitdiffhomepage
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-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;
}