aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/scripts
diff options
context:
space:
mode:
authorMatteo Gmür <matteo.gmuer1@ost.ch>2025-05-20 12:29:09 +0000
committerMatteo Gmür <matteo.gmuer1@ost.ch>2025-05-20 12:29:09 +0000
commit8a6a9a3a159ce1b960721eb921b8e8d81b15b718 (patch)
treee2d05240795ece00e6599c97b959c1696f66cb78 /arch/x86_64/scripts
parent8d39f3f67734bf39cada370c39243e6ef33bf4a0 (diff)
downloadteachos-8a6a9a3a159ce1b960721eb921b8e8d81b15b718.tar.xz
teachos-8a6a9a3a159ce1b960721eb921b8e8d81b15b718.zip
Improve syscalls and user heap allocator
Diffstat (limited to 'arch/x86_64/scripts')
-rw-r--r--arch/x86_64/scripts/kernel.ld6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld
index 3d9a7ae..df9d7e7 100644
--- a/arch/x86_64/scripts/kernel.ld
+++ b/arch/x86_64/scripts/kernel.ld
@@ -89,6 +89,12 @@ SECTIONS
{
*(.stl_text .stl_text*)
KEEP(*libstdc++.a:*(.text .text.*))
+ KEEP(*libubsan.a:*(.text .text.*)) /* TODO: Include atomic_base into stl_text / Print where code lies: objdump -t build/bin/Debug/_kernel >> test.txt */
+ KEEP(*liblsan.a:*(.text .text.*))
+ KEEP(*libtsan.a:*(.text .text.*))
+ KEEP(*libasan.a:*(.text .text.*))
+ KEEP(*libgcc.a:*(.text .text.*))
+ KEEP(*libatomic.a:*(.text .text.*))
}
.text ALIGN(4K) : AT(ADDR (.text))