[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] Re: [patch] [x86] Implement getcontext for x86
From: |
Paul Pluzhnikov |
Subject: |
[Libunwind-devel] Re: [patch] [x86] Implement getcontext for x86 |
Date: |
Wed, 23 Dec 2009 10:19:04 -0800 |
On Wed, Dec 23, 2009 at 10:06 AM, Arun Sharma <address@hidden> wrote:
>
> I applied the patch with two changes:
> * Fixed trailing whitespace
> * Changed this hunk as follows:
> + /* glibc getcontext saves FS, but not GS */
> + xorl %ecx, %ecx
> + movw %fs, %cx
> + movl %ecx, (LINUX_UC_MCONTEXT_OFF+LINUX_SC_FS_OFF)(%eax)
Thanks. Sorry about the fs/gs mixup.
--
Paul Pluzhnikov