linker script again

This commit is contained in:
Jack Halford 2018-02-22 19:17:52 +01:00
parent fc3c60d970
commit 0877ac2cc6

View file

@ -12,14 +12,14 @@ SECTIONS {
. = 1M; . = 1M;
kernel_start = . ; kernel_start = . ;
/* ensure that the multiboot header is at the beginning */ /* ensure that the multiboot header is at the beginning */
.multiboot_header : { KEEP(*(.multiboot_header)) } .multiboot_header : { KEEP(*(.multiboot_header)) }
.text : { *(.text .text.*) } .text : { *(.text .text.*) }
.rodata : { *(.rodata .rodata.*) } .rodata : { *(.rodata .rodata.*) }
.data.rel.ro : { *(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*) } .data : { *(.data.rel.ro.local*) *(.data.rel.ro .data.rel.ro.*) *(.data.*) }
.debug : { *(.debug_*) } .debug : { *(.debug_*) }
.bss : {*(.bss .bss.*)}
/* load stack */ /* kernel_end = . ; */
.bss : {*(.bss .bss.*)}
/* kernel_end = . ; */
} }