linker script again
This commit is contained in:
parent
fc3c60d970
commit
0877ac2cc6
1 changed files with 4 additions and 4 deletions
|
|
@ -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 = . ; */
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue