summaryrefslogtreecommitdiffstats
path: root/libc/arch-x86/syscalls/personality.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/personality.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/personality.S')
-rw-r--r--libc/arch-x86/syscalls/personality.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/arch-x86/syscalls/personality.S b/libc/arch-x86/syscalls/personality.S
index 1d89a7c..8116e2d 100644
--- a/libc/arch-x86/syscalls/personality.S
+++ b/libc/arch-x86/syscalls/personality.S
@@ -4,6 +4,8 @@
ENTRY(personality)
pushl %ebx
+ .cfi_def_cfa_offset 4
+ .cfi_rel_offset ebx, 0
mov 8(%esp), %ebx
movl $__NR_personality, %eax
int $0x80