I have made sure that all the externs are deined as global in the asm and that their in the .text section...
And I don't think my linker scripts at fault but here it is just in case:
Code: Select all
OUTPUT_FORMAT("binary")
ENTRY(main)
SECTIONS
{
.text 0x100000 : AT(0x100000) {
code = .;
*(.text)
*(.rodata)
. = ALIGN(4096);
}
.data : AT(0x100000 + (data - code)){
data = .;
*(.data)
. = ALIGN(4096);
}
.bss : AT(0x100000 + (bss - code)){
bss = .;
*(.bss)
. = ALIGN(4096);
end_of_bss = .;
}
end = .;
}
Anybody see what I'm doing wrong?
Thanks in advance,
Jules