35 lines
638 B
Plaintext
35 lines
638 B
Plaintext
ENTRY(_start)
|
|
|
|
MEMORY {
|
|
m_ram (RWX) : ORIGIN = 0x40000000, LENGTH = 2048M
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.stack : ALIGN(0x100) {
|
|
. = . + 0x100; stack_svc = .;
|
|
. = . + 0x100; stack_und = .;
|
|
. = . + 0x100; stack_abt = .;
|
|
. = . + 0x100; stack_irq = .;
|
|
. = . + 0x100; stack_fiq = .;
|
|
. = . + 0x100; stack_sys = .; stack_usr = .;
|
|
} > m_ram
|
|
.data : ALIGN(0x4) {
|
|
*(.data)
|
|
} > m_ram
|
|
.bss : ALIGN(0x4) {
|
|
*(.bss)
|
|
} > m_ram
|
|
|
|
.text : ALIGN(0x4) {
|
|
*(.text)
|
|
} > m_ram
|
|
.init_array : ALIGN(0x4) {
|
|
_init_array_start = .;
|
|
*(.init_array)
|
|
_init_array_end = .;
|
|
}
|
|
|
|
}
|
|
|