diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-09-26 12:24:47 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-09-26 12:24:47 +0200 |
| commit | 27d18e41690c698eef55e19a8133e336a27e971a (patch) | |
| tree | 88a91d7318c42ee70f84c027d3e848ae40f01e0e /src/include | |
| parent | 5403002a360a425f3fcc094fb6c6111e12529467 (diff) | |
| download | box64-27d18e41690c698eef55e19a8133e336a27e971a.tar.gz box64-27d18e41690c698eef55e19a8133e336a27e971a.zip | |
Another build fixe for the untested loogarch64 support
Diffstat (limited to 'src/include')
| -rwxr-xr-x | src/include/myalign.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/myalign.h b/src/include/myalign.h index 9d2aed34..e0539cf9 100755 --- a/src/include/myalign.h +++ b/src/include/myalign.h @@ -111,7 +111,7 @@ typedef struct va_list { uintptr_t *p = (uintptr_t*)(SCRATCH); \ int n = (X64_VA_MAX_REG - (VA)->gp_offset)/8; \ if(n) memcpy(&p[0], (VA)->reg_save_area, n*8); \ - memcpy(&p[n], STACK, 100*8); \ + memcpy(&p[n], (VA)->overflow_arg_area, 100*8); \ sysv_varargs = (va_list)p; \ } // this is an approximation, and if the va_list have some float/double, it will fail! |