AnsweredAssumed Answered

How to use "-initcall sym=_initcode at=_main" in CCES?

Question asked by popzhuo on Jul 15, 2014
Latest reply on Jul 22, 2014 by CraigG



I have a problem when use -initcall switch to add a initcode to my dxe.

I add “-initcall sym=_initcode at=_main” to Additional Options of CrossCore Blackfin Loader. When Loader was invoked, error occur:


'Invoking: CrossCore Blackfin Loader'

elfloader.exe -proc ADSP-BF504F -si-revision 0.1 -b flash -f binary -width 16 -init call\ sym=_initcode\ at=_main -o AMS3020.BF504F.ldr  AMS3020.BF504F.dxe

[Error ld0095]: Unable to open file: call sym=_initcode at=_main.

make: *** [AMS3020.BF504F.ldr] Error -1


Your help will be appreciated!