Hi. I am trying to hack-out system.lib from starterware (on the beaglebone).
I do this by taking a simple working program, create a new project with it and
physically copy the .asm .c and .h dependencies to the working directory as needed.
I got it to compile but there is an unresolved symbol. Here is a piece of the .map:
UNDEFED SHT$$INIT_ARRAY$$Base <<< no big deal
UNDEFED SHT$$INIT_ARRAY$$Limit <<< no big deal
800012b8 SVC_Handler
80001390 UndefInstHandler
UNDEFED __STACK_END
__STACK_END is referenced in init.asm and it is defined by the linker (supposedly).
According to the spnu118m manual:
The following symbols are defined only for C/C++ support when the --ram_model or --rom_model option is used...
(I am using the --rom_model option)
It may be that the source file is .asm (not C) that the linker does not define __STACK_END?
Is there a way to tell the linker to define it in the .cmd file or something?
thanks................dd