aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/scripts
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-05-10 10:33:26 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-05-10 10:33:26 +0000
commitf3a976be198d97573b630242c0f833c290c62d81 (patch)
tree7d766597b86fcdcb6b793af36367b7c174cb1ca7 /arch/x86_64/scripts
parenta5812be4fa8ecc208219682204b14969d7b718b0 (diff)
downloadteachos-f3a976be198d97573b630242c0f833c290c62d81.tar.xz
teachos-f3a976be198d97573b630242c0f833c290c62d81.zip
experiment with globally available linker sections and page table entry flags
Diffstat (limited to 'arch/x86_64/scripts')
-rw-r--r--arch/x86_64/scripts/kernel.ld5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld
index 88d90fe..1856123 100644
--- a/arch/x86_64/scripts/kernel.ld
+++ b/arch/x86_64/scripts/kernel.ld
@@ -95,6 +95,11 @@ SECTIONS
*(.user_text)
}
+ .stl_text ALIGN(4K) : AT(ADDR (.stl_text))
+ {
+ *(.stl_text)
+ }
+
.rodata ALIGN(4K) : AT (ADDR (.rodata))
{
*(.rodata)