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;
|
||||
kernel_start = . ;
|
||||
|
||||
/* ensure that the multiboot header is at the beginning */
|
||||
.multiboot_header : { KEEP(*(.multiboot_header)) }
|
||||
.text : { *(.text .text.*) }
|
||||
.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_*) }
|
||||
|
||||
/* load stack */
|
||||
.bss : {*(.bss .bss.*)}
|
||||
|
||||
/* kernel_end = . ; */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue