From e65807b86f00adde9e70ec0a11edfbbf356131d3 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Thu, 1 Aug 2024 13:05:21 +0200 Subject: Precalculate GOT segment size --- bxgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bxgen.c b/bxgen.c index 83b8a7d..f27733f 100755 --- a/bxgen.c +++ b/bxgen.c @@ -4203,8 +4203,8 @@ b8 link_with_libc(void) { // Add dependencies l_static(u, "c"); l_object(u, "crt1"); - l_object(u, "crti"); - l_object(u, "crtn"); + // l_object(u, "crti"); + // l_object(u, "crtn"); // Write the compilation unit into an executable file. u_elf_x86_64(u, "test_foo"); -- cgit v1.2.3