crt0.o and crt1.o -- What's the difference?

Posted by Earlz on Stack Overflow See other posts from Stack Overflow or by Earlz
Published on 2010-04-25T21:13:27Z Indexed on 2010/04/26 0:03 UTC
Read the original article Hit count: 167

Filed under:
|
|
|

Hello, recently I've been trying to debug some low level work and I could not find the crt0.S for the compiler(avr-gcc) but I did find a crt1.S (and the same with the corresponding .o files)

What is the difference between these two files? Is crt1 something completely different or what? They both seem to have to do with something for bootstrapping(setting up stack frame and such), but why the distinction?

© Stack Overflow or respective owner

Related posts about c

    Related posts about gcc