37 lines
508 B
Text
37 lines
508 B
Text
ENTRY(start)
|
|
|
|
SECTIONS {
|
|
|
|
. = 0x00100000;
|
|
|
|
kernel_start = .;
|
|
|
|
.bootstrap : {
|
|
*(.bootstrap.text)
|
|
*(.bootstrap.data)
|
|
*(.bootstrap.bss)
|
|
}
|
|
|
|
. += 0xC0000000;
|
|
|
|
.text ALIGN (4K) : AT (ADDR (.text) - 0xC0000000)
|
|
{
|
|
*(.text)
|
|
}
|
|
.rodata ALIGN (4K) : AT (ADDR (.rodata) - 0xC0000000)
|
|
{
|
|
*(.rodata)
|
|
}
|
|
.data ALIGN (4K) : AT (ADDR (.data) - 0xC0000000)
|
|
{
|
|
*(.data)
|
|
}
|
|
.bss ALIGN (4K) : AT (ADDR (.bss) - 0xC0000000)
|
|
{
|
|
*(COMMON)
|
|
*(.bss)
|
|
}
|
|
|
|
kernel_end = .;
|
|
|
|
}
|