diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2025-05-10 10:33:26 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2025-05-10 10:33:26 +0000 |
| commit | f3a976be198d97573b630242c0f833c290c62d81 (patch) | |
| tree | 7d766597b86fcdcb6b793af36367b7c174cb1ca7 /arch/x86_64/scripts | |
| parent | a5812be4fa8ecc208219682204b14969d7b718b0 (diff) | |
| download | teachos-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.ld | 5 |
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) |
