summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-08-01 13:05:21 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-08-01 13:05:21 +0200
commite65807b86f00adde9e70ec0a11edfbbf356131d3 (patch)
treea73208a1a0336251e215d6f4dddf4f9e62a086a4
parent168551fbd44a3d8c64cd362511964566cf74091c (diff)
downloadbxgen-e65807b86f00adde9e70ec0a11edfbbf356131d3.zip
Precalculate GOT segment size
-rwxr-xr-xbxgen.c4
1 files 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");