summaryrefslogtreecommitdiff
path: root/bxgen.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-08-01 13:07:48 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-08-01 13:07:48 +0200
commit0a3c09e86ce5fe545e31e817a41f800c1755f0fc (patch)
treebced96a0b5260e1a5e396bc545f0101efcdd987d /bxgen.c
parente65807b86f00adde9e70ec0a11edfbbf356131d3 (diff)
downloadbxgen-0a3c09e86ce5fe545e31e817a41f800c1755f0fc.zip
Add _init, _fini symbols
Diffstat (limited to 'bxgen.c')
-rwxr-xr-xbxgen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bxgen.c b/bxgen.c
index f27733f..48a7172 100755
--- a/bxgen.c
+++ b/bxgen.c
@@ -2954,6 +2954,8 @@ i64 unit_write_in_memory(
ADD_IF_MISSING_("__start___libc_freeres_ptrs",);
ADD_IF_MISSING_("__stop___libc_freeres_ptrs",);
+ ADD_IF_MISSING_("_init",);
+ ADD_IF_MISSING_("_fini",);
ADD_IF_MISSING_("_end",);
ADD_IF_MISSING_("_dl_rtld_map",);
ADD_IF_MISSING_("__gmon_start__",);