summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/clock_nanosleep.S
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2014-01-06 16:39:10 -0800
committerChristopher Ferris <cferris@google.com>2014-01-06 16:39:10 -0800
commite4bc7561219ddb7cfb7b33f731caa92a7766b9ca (patch)
treedbb5c65c0e813f2f3035ffe05ee7e58dabd4fbb3 /libc/arch-x86/syscalls/clock_nanosleep.S
parentc1c3f7d4468f02adbf8ced689d738386e42af773 (diff)
downloadbionic-e4bc7561219ddb7cfb7b33f731caa92a7766b9ca.zip
bionic-e4bc7561219ddb7cfb7b33f731caa92a7766b9ca.tar.gz
bionic-e4bc7561219ddb7cfb7b33f731caa92a7766b9ca.tar.bz2
Add cfi directives to x86 syscalls.
Modify the syscalls script to generate the cfi directives for x86 syscalls. Update the x86 syscalls. Change-Id: Ia1993dc714a7e79f917087fff8200e9a02c52603
Diffstat (limited to 'libc/arch-x86/syscalls/clock_nanosleep.S')
-rw-r--r--libc/arch-x86/syscalls/clock_nanosleep.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/arch-x86/syscalls/clock_nanosleep.S b/libc/arch-x86/syscalls/clock_nanosleep.S
index 572d4a0..6c025e3 100644
--- a/libc/arch-x86/syscalls/clock_nanosleep.S
+++ b/libc/arch-x86/syscalls/clock_nanosleep.S
@@ -7,6 +7,11 @@ ENTRY(clock_nanosleep)
pushl %ecx
pushl %edx
pushl %esi
+ .cfi_def_cfa_offset 16
+ .cfi_rel_offset ebx, 0
+ .cfi_rel_offset ecx, 4
+ .cfi_rel_offset edx, 8
+ .cfi_rel_offset esi, 12
mov 20(%esp), %ebx
mov 24(%esp), %ecx
mov 28(%esp), %edx