2015-01-30 08:34:05 +00:00
|
|
|
OUTPUT_FORMAT(binary)
|
|
|
|
SECTIONS
|
|
|
|
{
|
2015-02-08 08:18:22 +00:00
|
|
|
. = 0x100000;
|
|
|
|
kernel_start = .;
|
|
|
|
|
|
|
|
.entry :
|
2015-01-30 08:34:05 +00:00
|
|
|
{
|
2015-02-01 22:14:44 +00:00
|
|
|
*(.entry)
|
2015-02-08 08:18:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.text :
|
|
|
|
{
|
2015-01-30 08:34:05 +00:00
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
|
|
|
|
.data :
|
|
|
|
{
|
|
|
|
*(.data)
|
2015-02-08 08:18:22 +00:00
|
|
|
*(.rodata)
|
2015-01-30 08:34:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bss :
|
|
|
|
{
|
|
|
|
*(.bss)
|
|
|
|
}
|
2015-02-08 08:18:22 +00:00
|
|
|
|
|
|
|
.stack :
|
|
|
|
{
|
|
|
|
*(.stack)
|
|
|
|
}
|
|
|
|
|
|
|
|
.heap :
|
|
|
|
{
|
|
|
|
*(.heap)
|
|
|
|
}
|
|
|
|
|
|
|
|
kernel_end = .;
|
2015-01-30 08:34:05 +00:00
|
|
|
}
|