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?
crtbeginT.o
andcrtend.o
which are the consructors and destructors. – Craiova