projects
/
nameless-os.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5138270
)
Align all sections in kernel binary to page size
author
Duje Mihanović
<duje.mihanovic@skole.hr>
Fri, 6 May 2022 18:31:25 +0000
(20:31 +0200)
committer
Duje Mihanović
<duje.mihanovic@skole.hr>
Fri, 6 May 2022 18:31:25 +0000
(20:31 +0200)
kernel/linker.ld
patch
|
blob
|
history
diff --git
a/kernel/linker.ld
b/kernel/linker.ld
index 90292e6c2ce2d99b9d3bfb4af9cbb0de4c8ebd5c..59d0381af92cf1bf95859357d31b9e2d63b6a11f 100644
(file)
--- a/
kernel/linker.ld
+++ b/
kernel/linker.ld
@@
-5,7
+5,7
@@
SECTIONS
{
. = 0x100000;
- .text : { *(.text) }
- .data : { *(.data) }
- .bss : { *(.bss) }
+ .text :
ALIGN(0x1000)
{ *(.text) }
+ .data :
ALIGN(0x1000)
{ *(.data) }
+ .bss :
ALIGN(0x1000)
{ *(.bss) }
}