From 4b2826c57b656a6929d445f0d95b087a58ac65df Mon Sep 17 00:00:00 2001 From: midipix Date: Mar 16 2024 15:31:41 +0000 Subject: slbt_util_create_symfile(): PE/COFF: list is target neutral, process all syms. --- 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; }