1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
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.
This commit is contained in:
Ulrich Drepper
2008-04-09 18:30:12 +00:00
parent de1bbf683e
commit 6c30d38fdd
7 changed files with 60 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 1999, 2002, 2004, 2005 Free Software Foundation, Inc.
/* Copyright (C) 1999, 2002, 2004, 2005, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Andreas Schwab <schwab@gnu.org>.
@@ -34,6 +34,7 @@ ENTRY (__vfork)
/* Pop the return PC value into ECX. */
popl %ecx
cfi_adjust_cfa_offset (-4)
cfi_register (%eip, %ecx)
#ifdef SAVE_PID
SAVE_PID