I'm trying force standard c files, like float.c, into the protected section of my bootloader as follows:
.GROUP__BOOT__stuff:
{
__LINK_SYM__BOOT__stuff = .;
Core\Standard_Libraries\float.c (.text)
Core\Standard_Libraries\float.c (.data)
. = ALIGN(0x8);
} > SEG__BOOT__stuff
However, my compiler is complaining about "Linker command file error at line 97 Unexpected Symbol"
Line 97 is the line with (.text).
Any thoughts?
已解决! 转到解答。