diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-04-09 18:30:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-04-09 18:30:12 +0000 |
commit | 6c30d38fdd1a9aa03efd8aa3569f64666658271c (patch) | |
tree | c9b2d7981fb8c7dfffc28d28fc6a9f7984da0c82 /sysdeps/unix/sysv/linux/x86_64/vfork.S | |
parent | de1bbf683e5b1c700c3f631ab8c7e8c7e4aabf90 (diff) | |
download | glibc-6c30d38fdd1a9aa03efd8aa3569f64666658271c.tar.gz glibc-6c30d38fdd1a9aa03efd8aa3569f64666658271c.tar.xz glibc-6c30d38fdd1a9aa03efd8aa3569f64666658271c.zip |
[BZ #5436]
2008-04-09 Ulrich Drepper <drepper@redhat.com> * stdlib/tst-makecontext.c: Change parameter to cf to negative value to check for correct sign extension. [BZ #5436] * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext): Copy 64-bit parameter values even though this is not required in the standard. * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return PC save.
Diffstat (limited to 'sysdeps/unix/sysv/linux/x86_64/vfork.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/vfork.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/vfork.S b/sysdeps/unix/sysv/linux/x86_64/vfork.S index 4bad38892b..e289656ad2 100644 --- a/sysdeps/unix/sysv/linux/x86_64/vfork.S +++ b/sysdeps/unix/sysv/linux/x86_64/vfork.S @@ -1,4 +1,4 @@ -/* Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc. +/* Copyright (C) 2001, 2002, 2004, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -31,6 +31,7 @@ ENTRY (__vfork) is preserved by the syscall and that we're allowed to destroy. */ popq %rdi cfi_adjust_cfa_offset(-8) + cfi_register(%rip, %rdi) #ifdef SAVE_PID SAVE_PID |