What is the rationale behind removing crt0.o from gcc4.7.x?

后端 未结 1 1469
庸人自扰
庸人自扰 2021-01-18 05:27

I am trying to upgrade to yagarto4.7.2 (Yet Another GNU ARM toolchain, for those wondering), which is gcc and binutils, ported for Windows. However, trying to compile a simp

相关标签:
1条回答
  • 2021-01-18 05:34

    crt0.o is derived from crt0.s, which is provided by the OS. In the case of bare metal setup, this file must be provided by the implementation. It contains startup and exit code, for example for zeroing the .bss.

    0 讨论(0)
提交回复
热议问题