summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/exception.S
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-04-14 20:04:55 +0000
committerkib <kib@FreeBSD.org>2010-04-14 20:04:55 +0000
commitf54f061d7db2dabd46ab359f827e6540c4e0ab1b (patch)
tree11aadac577d3c8051195056fe1dddbf12db9fddb /sys/amd64/amd64/exception.S
parent39606146460f1abd5af915ac63451f5a5704ae58 (diff)
downloadFreeBSD-src-f54f061d7db2dabd46ab359f827e6540c4e0ab1b.zip
FreeBSD-src-f54f061d7db2dabd46ab359f827e6540c4e0ab1b.tar.gz
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
Diffstat (limited to 'sys/amd64/amd64/exception.S')
-rw-r--r--sys/amd64/amd64/exception.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S
index bbc304a..0d5a50d 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
OpenPOWER on IntegriCloud