AnsweredAssumed Answered

CODEWARRIOR V10.7 Relocating

Question asked by 健伟 陈 on Jul 27, 2018
Latest reply on Jul 29, 2018 by Alice_Yang

KEAZ128, GCC.

.text2 :
{
__my_text_start = .;
. = ALIGN(4);
*(.my_text)
main.c (.my_text)
. = ALIGN(4);
}> m_text2

Report error "cannot find main.c". I try to relocate startup code to the section whitch bootloader do not erase and i will do the global var initialization by my code. The "__attribute__ ((section" command only relocate one function. 

Outcomes