2015-01-30 08:34:05 +00:00
|
|
|
OUTPUT_FORMAT(binary)
|
|
|
|
SECTIONS
|
|
|
|
{
|
2015-09-03 21:04:15 +00:00
|
|
|
. = 0x1000000;
|
2015-02-08 08:18:22 +00:00
|
|
|
kernel_start = .;
|
|
|
|
|
2015-09-11 04:51:13 +00:00
|
|
|
.entry : ALIGN(0x1000)
|
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
|
|
|
}
|
|
|
|
|
2015-09-11 04:51:13 +00:00
|
|
|
.text : ALIGN(0x1000)
|
2015-02-08 08:18:22 +00:00
|
|
|
{
|
2015-01-30 08:34:05 +00:00
|
|
|
*(.text)
|
|
|
|
}
|
|
|
|
|
2015-09-11 04:51:13 +00:00
|
|
|
.data : ALIGN(0x1000)
|
2015-01-30 08:34:05 +00:00
|
|
|
{
|
|
|
|
*(.data)
|
2015-02-08 08:18:22 +00:00
|
|
|
*(.rodata)
|
2015-01-30 08:34:05 +00:00
|
|
|
}
|
|
|
|
|
2015-09-11 04:51:13 +00:00
|
|
|
.bss : ALIGN(0x1000)
|
2015-01-30 08:34:05 +00:00
|
|
|
{
|
|
|
|
*(.bss)
|
|
|
|
}
|
2015-02-08 08:18:22 +00:00
|
|
|
|
|
|
|
kernel_end = .;
|
2015-01-30 08:34:05 +00:00
|
|
|
}
|