diff options
| author | Fabian Imhof <fabian.imhof@ost.ch> | 2024-10-26 07:47:27 +0000 |
|---|---|---|
| committer | Fabian Imhof <fabian.imhof@ost.ch> | 2024-10-26 07:47:27 +0000 |
| commit | b00ec1f863e330d2c4ae1d1ef4d352ab73861f17 (patch) | |
| tree | 7b0204ac13cfacbf0df5d925cca2cbce65e82f9f /arch/x86_64/scripts | |
| parent | 873f8c52699c6d4e3d32e5df253ae8ec0266a501 (diff) | |
| download | teachos-b00ec1f863e330d2c4ae1d1ef4d352ab73861f17.tar.xz teachos-b00ec1f863e330d2c4ae1d1ef4d352ab73861f17.zip | |
move paging alignment
Diffstat (limited to 'arch/x86_64/scripts')
| -rw-r--r-- | arch/x86_64/scripts/kernel.ld | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/scripts/kernel.ld b/arch/x86_64/scripts/kernel.ld index c777d10..e244ce1 100644 --- a/arch/x86_64/scripts/kernel.ld +++ b/arch/x86_64/scripts/kernel.ld @@ -59,9 +59,6 @@ SECTIONS *(.boot_stack) } - . = ALIGN(4K); - _end_of_image = .; - /*************************************************************************** * Now it is time to load the 64-bit kernel code. We virtually load it into * the upper 2GiB, while adjusting the linear load address appropriately. We @@ -129,6 +126,9 @@ SECTIONS *(.bss*) } + . = ALIGN(4K); + _end_of_image = .; + /*************************************************************************** * In accordance with the symbol definitions at the start, we generate some * symbols to mark the end of our loaded image. |
