summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/munmap.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/munmap.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/munmap.S')
-rw-r--r--libc/arch-x86/syscalls/munmap.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/arch-x86/syscalls/munmap.S b/libc/arch-x86/syscalls/munmap.S
index b0b524d..be7eec6 100644
--- a/libc/arch-x86/syscalls/munmap.S
+++ b/libc/arch-x86/syscalls/munmap.S
@@ -5,6 +5,9 @@
ENTRY(munmap)
pushl %ebx
pushl %ecx
+ .cfi_def_cfa_offset 8
+ .cfi_rel_offset ebx, 0
+ .cfi_rel_offset ecx, 4
mov 12(%esp), %ebx
mov 16(%esp), %ecx
movl $__NR_munmap, %eax