add_startup_object( tls SRC tls.cpp DEPENDS libc.config.app_h libc.hdr.sys_mman_macros libc.include.sys_syscall libc.src.__support.OSUtil.linux.syscall_wrappers.mmap libc.src.__support.OSUtil.linux.syscall_wrappers.munmap libc.src.__support.OSUtil.osutil libc.src.string.memory_utils.inline_memcpy COMPILE_OPTIONS -fno-omit-frame-pointer -ffreestanding # To avoid compiler warnings about calling the main function. ) add_startup_object( start SRC start.cpp DEPENDS libc.config.app_h libc.src.__support.macros.attributes COMPILE_OPTIONS -fno-omit-frame-pointer -ffreestanding # To avoid compiler warnings about calling the main function. ) add_startup_object( irelative SRC irelative.cpp DEPENDS libc.hdr.link_macros libc.hdr.elf_macros libc.hdr.elf_proxy libc.hdr.stdint_proxy libc.src.__support.macros.config COMPILE_OPTIONS -fno-stack-protector -fno-omit-frame-pointer -ffreestanding -fno-builtin )