mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 02:32:36 +01:00
build: Disble fixed base for windows-on-arm
This commit is contained in:
parent
4f27af9949
commit
31ce32709e
@ -1841,9 +1841,9 @@ static LONG exception_filter(PEXCEPTION_POINTERS pExp) noexcept
|
||||
}
|
||||
|
||||
#if defined(ARCH_X64)
|
||||
const exec_addr = pExp->ContextRecord->Rip;
|
||||
const auto exec_addr = pExp->ContextRecord->Rip;
|
||||
#elif defined(ARCH_ARM64)
|
||||
const exec_addr = pExp->ContextRecord->Pc;
|
||||
const auto exec_addr = pExp->ContextRecord->Pc;
|
||||
#else
|
||||
#error "Unimplemented exception handling for this architecture"
|
||||
#endif
|
||||
|
@ -113,8 +113,11 @@ else()
|
||||
# Increase stack limit to 8 MB
|
||||
add_link_options(-Wl,--stack -Wl,8388608)
|
||||
|
||||
# For arm64 windows, the image base cannot be below 4GB or the OS rejects the binary without much explanation.
|
||||
if(COMPILER_X86)
|
||||
add_link_options(-Wl,--image-base,0x10000)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
# Specify C++ library to use as standard C++ when using clang
|
||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
|
Loading…
Reference in New Issue
Block a user