diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-05-09 12:00:23 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2025-05-09 12:00:23 +0000 |
| commit | d80ecf29baada6242c5181adaec0d1500707cad0 (patch) | |
| tree | 096b96c2ac172a3556b7c213f20f232c357ce06d /arch/x86_64/scripts | |
| parent | d7205b75cda2caff078cea26ff1508f9daa5b4cc (diff) | |
| download | teachos-d80ecf29baada6242c5181adaec0d1500707cad0.tar.xz teachos-d80ecf29baada6242c5181adaec0d1500707cad0.zip | |
Move necessary code into user text
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 239d026..88d90fe 100644 --- a/arch/x86_64/scripts/kernel.ld +++ b/arch/x86_64/scripts/kernel.ld @@ -128,6 +128,11 @@ SECTIONS *(.data*) } + .user_data ALIGN(4K) : AT (ADDR (.user_data)) + { + *(.user_data*) + } + /*************************************************************************** * In accordance with the symbol definitions at the start, we generate some * symbols to mark the end of our loaded image. |
