summaryrefslogtreecommitdiff
path: root/src/user/runtimes/c/elf.ld
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/runtimes/c/elf.ld')
-rw-r--r--src/user/runtimes/c/elf.ld1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/user/runtimes/c/elf.ld b/src/user/runtimes/c/elf.ld
index f321be2..3e9a034 100644
--- a/src/user/runtimes/c/elf.ld
+++ b/src/user/runtimes/c/elf.ld
@@ -11,6 +11,7 @@ SECTIONS {
.__pcrt_before_main : {
__pcrt_before_main_start = .;
*(.__pcrt_before_main)
+ *(.init_array)
__pcrt_before_main_end = .;
}