summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/i386/vfork.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/vfork.S')
-rw-r--r--sysdeps/unix/sysv/linux/i386/vfork.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/vfork.S b/sysdeps/unix/sysv/linux/i386/vfork.S
index e660e6b70e..eefd4b49cb 100644
--- a/sysdeps/unix/sysv/linux/i386/vfork.S
+++ b/sysdeps/unix/sysv/linux/i386/vfork.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Schwab <schwab@gnu.org>.
@@ -33,6 +33,7 @@ ENTRY (__vfork)
/* Pop the return PC value into ECX. */
popl %ecx
+ cfi_adjust_cfa_offset (-4)
#ifdef SAVE_PID
SAVE_PID
@@ -46,6 +47,7 @@ ENTRY (__vfork)
disturbs the branch target cache. Instead push the return
address back on the stack. */
pushl %ecx
+ cfi_adjust_cfa_offset (4)
#ifdef RESTORE_PID
RESTORE_PID