Chroma/global/crt0.s
Curle b3e3f153b5
Add support for C++
This was a doozy. I had to recompile gcc with a custom target to get it to output the CRT{BEGIN/END}.o files with proper 64 bit relocations.

The CMakeLists.txt file was also edited to allow these files to be linked (thereby actually adding the support) as well as to automatically create the boot image upon build.
2020-11-26 04:03:40 +00:00

10 lines
137 B
ArmAsm

.section .text
.global _start
.global _init
.global main
.global _fini
.type _start, @function
_start:
call _init
call main
call _fini