Fix x86 cfi directives for syscalls.

The syscall generation always used 4 bytes for each push cfi directive.
However, the first push should always use an offset of 8 bytes, each
subsequent push after that is only 4 bytes though.

Change-Id: Ibaabd107f399ef67010b9a08213783957c2f74a9
This commit is contained in:
Christopher Ferris
2014-05-29 18:17:09 -07:00
parent 264d1b8325
commit 15b91e92a0
185 changed files with 1025 additions and 723 deletions

View File

@@ -4,7 +4,7 @@
ENTRY(chroot)
pushl %ebx
.cfi_def_cfa_offset 4
.cfi_def_cfa_offset 8
.cfi_rel_offset ebx, 0
mov 8(%esp), %ebx
movl $__NR_chroot, %eax