From b71e04d3a8557b54d33fcc1bd4e4fa07cc7f856b Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 14 Apr 2010 20:04:55 +0000 Subject: [PATCH] ld_gs_base is executing with stack containing only the frame, temporary pushed %rflags has been popped already. Pointy hat to: kib MFC after: 3 days --- sys/amd64/amd64/exception.S | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index bbc304a48d6..0d5a50ddc0c 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -815,7 +815,6 @@ fsbase_load_fault: ALIGN_TEXT .globl gsbase_load_fault gsbase_load_fault: - popfq movl $T_PROTFLT,TF_TRAPNO(%rsp) movq %rsp, %rdi call trap