what does system does before start executing main()
.o file of .c file having single function say main, contains so many functions like _init, _start , _fini etc..
what r they 4?
what exactly system does b4 executing first instruction of main..
I had started executing instructions from _init , before reaching to first instruction of main.., it had set pc to 0x00.
why it had done so ??
generally 0x00 is for reset, so it will now reset the system
so how program is reaching to main then ??
|