Update linker & Hello k210/qemu(release mode).
This commit is contained in:
parent
406acaae2c
commit
49050aca3f
4 changed files with 100 additions and 9 deletions
|
@ -10,36 +10,33 @@ SECTIONS
|
|||
stext = .;
|
||||
.text : {
|
||||
*(.text.entry)
|
||||
*(.text)
|
||||
*(.text .text.*)
|
||||
}
|
||||
|
||||
. = ALIGN(4K);
|
||||
etext = .;
|
||||
srodata = .;
|
||||
.rodata : {
|
||||
*(.rodata)
|
||||
*(.rodata .rodata.*)
|
||||
}
|
||||
|
||||
. = ALIGN(4K);
|
||||
erodata = .;
|
||||
sdata = .;
|
||||
.data : {
|
||||
*(.data)
|
||||
*(.data .data.*)
|
||||
}
|
||||
|
||||
. = ALIGN(4K);
|
||||
edata = .;
|
||||
sbss = .;
|
||||
.bss : {
|
||||
*(.bss)
|
||||
*(.bss.stack)
|
||||
sbss = .;
|
||||
*(.bss .bss.*)
|
||||
}
|
||||
|
||||
. = ALIGN(4K);
|
||||
ebss = .;
|
||||
.stack : {
|
||||
*(.bss.stack)
|
||||
}
|
||||
|
||||
ekernel = .;
|
||||
|
||||
/DISCARD/ : {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue