mirror of
https://github.com/0Nera/BMOSP.git
synced 2024-11-29 11:53:08 +03:00
37 lines
394 B
Plaintext
37 lines
394 B
Plaintext
ENTRY(init)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x1000;
|
|
start = .;
|
|
|
|
.text BLOCK(4K) : ALIGN(4K) {
|
|
code = .;
|
|
*(.minit)
|
|
*(.text)
|
|
}
|
|
|
|
.rodata BLOCK(4K) : ALIGN(4K) {
|
|
*(.rodata)
|
|
}
|
|
|
|
.data BLOCK(4K) : ALIGN(4K) {
|
|
*(.data)
|
|
}
|
|
|
|
.bss BLOCK(4K) : ALIGN(4K) {
|
|
*(COMMON)
|
|
*(.bss)
|
|
}
|
|
|
|
.eh_frame BLOCK(4K) : ALIGN(4K) {
|
|
*(.eh_frame)
|
|
}
|
|
|
|
end = .;
|
|
|
|
/DISCARD/ : {
|
|
*(.comment)
|
|
*(.note.gnu.build-id)
|
|
}
|
|
} |