aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/scripts
diff options
context:
space:
mode:
authorFabian Imhof <fabian.imhof@ost.ch>2025-05-04 11:26:29 +0000
committerFabian Imhof <fabian.imhof@ost.ch>2025-05-04 11:26:29 +0000
commitf83727a0c8913d19415c2ad482c70ee7373f6f3f (patch)
tree02f914bceb5d3dbae8bba0924b655710f02bf5fd /arch/x86_64/scripts
parentccb0fcb78c0d22ebaeb9aa37f1941b0d44c98038 (diff)
downloadteachos-f83727a0c8913d19415c2ad482c70ee7373f6f3f.tar.xz
teachos-f83727a0c8913d19415c2ad482c70ee7373f6f3f.zip
add user_text linker section and temporarily add elf_sections.txt
Diffstat (limited to 'arch/x86_64/scripts')
-rw-r--r--arch/x86_64/scripts/kernel.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld
index 806adb5..239d026 100644
--- a/arch/x86_64/scripts/kernel.ld
+++ b/arch/x86_64/scripts/kernel.ld
@@ -90,9 +90,9 @@ SECTIONS
*(.text*)
}
- .interrupt_text ALIGN(4K) : AT(ADDR (.interrupt_text))
+ .user_text ALIGN(4K) : AT(ADDR (.user_text))
{
- *(.interrupt_text)
+ *(.user_text)
}
.rodata ALIGN(4K) : AT (ADDR (.rodata))