The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it. |
10 years ago | |
|---|---|---|
| .. | ||
| Makefile | tests/checkasm/x86/Makefile: Use ASMSTRIPFLAGS for asm | 10 years ago |
| checkasm.asm | checkasm/x86: Correctly handle variadic functions | 10 years ago |