46 lines
445 B
Plaintext
46 lines
445 B
Plaintext
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
|
*
|
|
*/
|
|
ENTRY(_start)
|
|
|
|
SECTIONS
|
|
{
|
|
. = 0x3F000000;
|
|
phys = .;
|
|
|
|
.text BLOCK(4K) : ALIGN(4K)
|
|
{
|
|
code = .;
|
|
*(.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)
|
|
}
|
|
}
|