Hi Peter,
Thank you for your answer.
I am sorry the lack of details in my message... my fault.
I am talking about the default startup code as shown below. According to
this picture, the startup code starts in the crt0.s.
Source:
Wind River® Diab Compiler User's Guide for PowerPC, 5.9.6
However, in the document "MPC5777C Software Initialization and
Optimization, Rev. 0, 09/2015" we have the init.s file as the first one.
See chapter 6.1.
So, that was my question... the difference between crt0.s and init.s.
After some reading, I figured out that the crt0.s is related to Diab
Compiler, whereas the init.s is for GHS compiler.
So, in Diab Compiler, which is my case, we do not have the init.s file,
only the crt0.s.
Agree?
Thanks,
Lucas