This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix ____longjmp_chk on x86-64 Linux


Hi,
the current ____longjmp_chk on x86-64 Linux saves the passed value parameter in %ecx, which is destroyed by the kernel when doing the sigaltstack system call. This patch fixes this by using %ebx instead.


Thanks,
Chung-Lin

2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
	* sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
	(____longjmp_chk): Use %ebx for saving value across system call.

Attachment: ljchk.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]