1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 09:37:44 +00:00

LibC: Add x86_64 Registers

This commit is contained in:
Hendiadyoin1 2021-03-07 16:11:25 +01:00 committed by Andreas Kling
parent 60caffb113
commit 009b196a04
4 changed files with 180 additions and 2 deletions

View file

@ -60,6 +60,7 @@ if ("${SERENITY_ARCH}" STREQUAL "i686")
set(ELF_SOURCES ${ELF_SOURCES} ../LibELF/Arch/i386/plt_trampoline.S)
elseif ("${SERENITY_ARCH}" STREQUAL "x86_64")
set(ASM_SOURCES "arch/x86_64/setjmp.S")
set(ELF_SOURCES ${ELF_SOURCES} ../LibELF/Arch/x86_64/plt_trampoline.S)
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -DSERENITY_LIBC_BUILD")