diff options
author | James Almer <jamrial@gmail.com> | 2017-03-23 17:38:20 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-23 17:38:20 -0300 |
commit | 67b639b496268d1d2b0ec64978f754ab692c44d1 (patch) | |
tree | 4c9ef4068c1567fc86cad75dc61fb24fc36a39f4 /tests/checkasm/checkasm.h | |
parent | a2d34cc51ba1e3c19928f1c5aedd7a2990593c47 (diff) | |
parent | c91d6a33f872574c95c8784277cf60ffcf6bff4f (diff) | |
download | ffmpeg-67b639b496268d1d2b0ec64978f754ab692c44d1.tar.gz |
Merge commit 'c91d6a33f872574c95c8784277cf60ffcf6bff4f'
* commit 'c91d6a33f872574c95c8784277cf60ffcf6bff4f':
checkasm: aarch64: Add filler args to make sure all parameters are passed on the stack
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/checkasm/checkasm.h')
-rw-r--r-- | tests/checkasm/checkasm.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/checkasm/checkasm.h b/tests/checkasm/checkasm.h index b3fa83a93e..0823666c4e 100644 --- a/tests/checkasm/checkasm.h +++ b/tests/checkasm/checkasm.h @@ -141,11 +141,12 @@ extern void (*checkasm_checked_call)(void *func, int dummy, ...); #elif ARCH_AARCH64 && !defined(__APPLE__) void checkasm_stack_clobber(uint64_t clobber, ...); void checkasm_checked_call(void *func, ...); -#define declare_new(ret, ...) ret (*checked_call)(void *, __VA_ARGS__) = (void *)checkasm_checked_call; +#define declare_new(ret, ...) ret (*checked_call)(void *, int, int, int, int, int, int, int, __VA_ARGS__)\ + = (void *)checkasm_checked_call; #define CLOB (UINT64_C(0xdeadbeefdeadbeef)) #define call_new(...) (checkasm_stack_clobber(CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,\ CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB),\ - checked_call(func_new, __VA_ARGS__)) + checked_call(func_new, 0, 0, 0, 0, 0, 0, 0, __VA_ARGS__)) #else #define declare_new(ret, ...) #define declare_new_emms(cpu_flags, ret, ...) |