Work around LuaJIT issues on aarch64 (#9614)
authorsfan5 <sfan5@live.de>
Wed, 8 Apr 2020 18:14:08 +0000 (20:14 +0200)
committerGitHub <noreply@github.com>
Wed, 8 Apr 2020 18:14:08 +0000 (20:14 +0200)
commit659245acc7dcc28e345b8dfa50571102f4f07728
treea0bcb88e12627c01e1858c9dc52ecff0326d7675
parentde73f989eb1397b1103236031fd91309b294583c
Work around LuaJIT issues on aarch64 (#9614)

- Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata
- Replace CUSTOM_RIDX_SCRIPTAPI with full userdata
src/CMakeLists.txt
src/script/common/c_internal.h
src/script/cpp_api/s_base.cpp
src/script/cpp_api/s_security.cpp
src/script/lua_api/l_base.cpp