From 0a3c09e86ce5fe545e31e817a41f800c1755f0fc Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Thu, 1 Aug 2024 13:07:48 +0200 Subject: Add _init, _fini symbols --- bxgen.c | 2 ++ 1 file changed, 2 insertions(+) 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__",); -- cgit v1.2.3