Remove fs and gs kludge.
This commit is contained in:
parent
ee925d3924
commit
d97eddb8d3
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: __sigtramp1.S,v 1.1 2002/07/09 23:32:39 thorpej Exp $ */
|
||||
/* $NetBSD: __sigtramp1.S,v 1.2 2002/07/14 12:29:59 fvdl Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Wasabi Systems, Inc.
|
||||
|
@ -46,10 +46,6 @@
|
|||
* sp-> sigcontext structure
|
||||
*/
|
||||
NENTRY(__sigtramp_sigcontext_1)
|
||||
movl 4(%rsp),%ecx /* XXXfvdl these are wrong */
|
||||
movl 0(%rsp),%edx
|
||||
movl %ecx,%fs
|
||||
movl %edx,%gs
|
||||
movq %rsp,%rdi
|
||||
pushq %rdi /* fake return address */
|
||||
movq $SYS___sigreturn14,%rax
|
||||
|
|
Loading…
Reference in New Issue