11da9d23fe
The hwemul is only partly imx specific: the stub is stmp specific but could be ported to other targets, the computer side and the protocol are mostly stmp independent (or should be). Change-Id: If88febffe591b0de86ea11cb740455ba20ddc401
49 lines
663 B
Text
49 lines
663 B
Text
|
|
ENTRY(start)
|
|
OUTPUT_FORMAT(elf32-littlearm)
|
|
OUTPUT_ARCH(arm)
|
|
STARTUP(crt0.o)
|
|
|
|
|
|
|
|
MEMORY
|
|
{
|
|
OCRAM : ORIGIN = 0, LENGTH = 0x8000
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.octext :
|
|
{
|
|
oc_codestart = .;
|
|
*(.text*)
|
|
*(.data*)
|
|
*(.rodata*)
|
|
} > OCRAM
|
|
|
|
.bss (NOLOAD) :
|
|
{
|
|
bss_start = .;
|
|
*(.bss)
|
|
bss_end = .;
|
|
} > OCRAM
|
|
|
|
.stack (NOLOAD) :
|
|
{
|
|
oc_codeend = .;
|
|
oc_stackstart = .;
|
|
. += 0x1000;
|
|
oc_stackend = .;
|
|
oc_bufferstart = .;
|
|
} > OCRAM
|
|
|
|
.ocend (0 + 0x8000) (NOLOAD) :
|
|
{
|
|
oc_bufferend = .;
|
|
} > OCRAM
|
|
|
|
/DISCARD/ :
|
|
{
|
|
*(.eh_frame)
|
|
}
|
|
}
|