Various section of code post compiling just to provide Assembly code
I have written simple Hello world program in C. Compiled using gcc.
(gcc hello.c -s hello.s) to generate assembly code.
When i see the assembly code Helloworld program, i happen to see only assembly equivalent to C prog.
I expected to see startup code and start up code calling main function details but in really i couldnt see that.
Can any one give me some details what i need to do while compiling to see the expected details?
Thanks in advance in providing the required information.
-Janardhan N L