An unnecessary dep of the getenv function is removed. From the x86_64 loader, a call to __llvm_libc::memcpy is replaced with call to __llvm_libc::inline_memcpy.
15 lines
360 B
CMake
15 lines
360 B
CMake
add_loader_object(
|
|
crt1
|
|
SRC
|
|
start.cpp
|
|
DEPENDS
|
|
libc.config.linux.app_h
|
|
libc.include.sys_mman
|
|
libc.include.sys_syscall
|
|
libc.src.__support.OSUtil.osutil
|
|
libc.src.string.memory_utils.memcpy_implementation
|
|
COMPILE_OPTIONS
|
|
-fno-omit-frame-pointer
|
|
-ffreestanding # To avoid compiler warnings about calling the main function.
|
|
)
|