diff --git a/src/dynafunc.asm b/src/dynafunc_amd64_gnu.asm similarity index 100% rename from src/dynafunc.asm rename to src/dynafunc_amd64_gnu.asm diff --git a/src/wren/dynafunc_maker.cpp b/src/wren/dynafunc_maker.cpp index f2040c3..9c7f0b0 100644 --- a/src/wren/dynafunc_maker.cpp +++ b/src/wren/dynafunc_maker.cpp @@ -15,6 +15,7 @@ namespace wren { namespace { #if defined(__amd64__) and defined(__gnu_linux__) + //see src/dynafunc_amd64_gnu.asm const constexpr unsigned char g_dynafunc[] = { 0x48, 0xbf, 0xef, 0xbe, 0xad, 0xde, 0xef, 0xbe, 0xad, 0xde, 0x48, 0xba, 0x0d, 0xf0, 0xdd, 0xe0, 0xfe, 0x0f, 0xdc, 0xba, 0xff, 0xe2, 0xc3