Hi,
Debugging my code that contains classes with inheritance on MPC5748G, I saw that the startup code doesn't initialize the virtual of global classes, and this is only called in __eabi right before main.
Is that correct?
If so, How can I move the call to be part of my satartup code instead of being a prologue to main()?
Hello,
I received some information from compiler team:
You can rename main to something else e.g. main_user() and call __eabi() from whetever place you want
__eabi() generates automatically for main() only
Another way is to suppress original eabi function by custom one
Hope it helps a little bit.
Regards,
Martin