1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-03 19:57:39 +01:00

Bug with setcontext.S & getcontext.S is fixed

This commit is contained in:
Alexander Esilevich 2010-07-28 00:53:33 +07:00
parent 121898b591
commit aa4b723f2b

View file

@ -70,11 +70,24 @@ set(libunwind_sources_x8664_32
x86/Lstep.c
)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/getcontext.o
COMMAND ${CMAKE_C_COMPILER} ${CMAKE_C_FLAGS}
-c ${CMAKE_CURRENT_SOURCE_DIR}/x86_64/getcontext.S
-o ${CMAKE_CURRENT_BINARY_DIR}/getcontext.o
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/x86_64/getcontext.S)
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/setcontext.o
COMMAND ${CMAKE_C_COMPILER} ${CMAKE_C_FLAGS}
-c ${CMAKE_CURRENT_SOURCE_DIR}/x86_64/setcontext.S
-o ${CMAKE_CURRENT_BINARY_DIR}/setcontext.o
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/x86_64/setcontext.S)
set(libunwind_sources_x8664_64
elf64.c
x86_64/is_fpreg.c
x86_64/regname.c
x86_64/setcontext.S
x86_64/Lcreate_addr_space.c
x86_64/Lget_save_loc.c
x86_64/Lglobal.c
@ -85,8 +98,9 @@ set(libunwind_sources_x8664_64
x86_64/Lget_proc_info.c
x86_64/Lregs.c
x86_64/Lresume.c
x86_64/getcontext.S
x86_64/Lstep.c
${CMAKE_CURRENT_BINARY_DIR}/getcontext.o
${CMAKE_CURRENT_BINARY_DIR}/setcontext.o
)