I have an assembly file, called mmcload.asm:
.text
.def mmcload
mmcload:
ldr pc, lc_int00
.ref _c_int00
lc_int00:
.word _c_int00
In my linker file, I have the following:
MEMORY
{
shared_ram: ORIGIN = 0x40200000 LENGTH = 0x00000FFFF
}
SECTIONS
{
.text: align=4
{
mmcload.obj(.text)
*(.text)
} > shared_ram
.const: align=4 > shared_ram
.data: align=4 > shared_ram
.sysmem: align=4 > shared_ram
.bss: align=4, fill=0x00000000 > shared_ram
}
Yet I get:
line 12: warning: no matching section
Anyone have any ideas why this is an error? It sure seems clear to me.
Thanks,
Matt