Merge multiboot section to .text section

All sections must be page aligned to set the right privileges, so we would many padding bytes otherwise.
This commit is contained in:
Philipp Oppermann
2015-09-02 20:38:18 +02:00
parent 23e8270a60
commit 95d6d30c29

View File

@@ -19,14 +19,9 @@ ENTRY(start)
SECTIONS { SECTIONS {
. = 1M; . = 1M;
.boot : .text : {
{
/* ensure that the multiboot header is at the beginning */ /* ensure that the multiboot header is at the beginning */
KEEP(*(.multiboot)) KEEP(*(.multiboot))
}
.text :
{
*(.text .text.*) *(.text .text.*)
} }