AnsweredAssumed Answered

Force files into specific linker section

Question asked by Joe Kissell on Oct 2, 2012
Latest reply on Oct 5, 2012 by Joe Kissell

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?

 

Outcomes