diff options
Diffstat (limited to 'libc/arch-x86/syscalls/truncate.S')
-rw-r--r-- | libc/arch-x86/syscalls/truncate.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/arch-x86/syscalls/truncate.S b/libc/arch-x86/syscalls/truncate.S index 019894c..9270a53 100644 --- a/libc/arch-x86/syscalls/truncate.S +++ b/libc/arch-x86/syscalls/truncate.S @@ -4,10 +4,11 @@ ENTRY(truncate) pushl %ebx - pushl %ecx .cfi_def_cfa_offset 8 .cfi_rel_offset ebx, 0 - .cfi_rel_offset ecx, 4 + pushl %ecx + .cfi_adjust_cfa_offset 4 + .cfi_rel_offset ecx, 0 mov 12(%esp), %ebx mov 16(%esp), %ecx movl $__NR_truncate, %eax |