diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-21 13:39:12 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-02-21 13:40:39 +0200 |
commit | 79c0f7dfb063b5d29dc4547d37efbcb86a89fdac (patch) | |
tree | ebbc32b22b31e675ebb5b992a20d569d3bfa8b9e /linker.ld | |
parent | Add IDT (diff) | |
download | kernel.cpp-79c0f7dfb063b5d29dc4547d37efbcb86a89fdac.tar.xz |
Call global constructors
Diffstat (limited to 'linker.ld')
-rw-r--r-- | linker.ld | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -27,6 +27,10 @@ SECTIONS /* Read-write data (initialized) */ .data : { + start_ctors = .; + KEEP(*(.init_array)); + KEEP(*(SORT_BY_INIT_PRIORITY(.init_array.*))); + end_ctors = .; *(.data) } |