summaryrefslogtreecommitdiffstats
path: root/sys/amd64/ia32/ia32_sigtramp.S
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2009-01-31 11:37:21 +0000
committerobrien <obrien@FreeBSD.org>2009-01-31 11:37:21 +0000
commit7a153194ec575997818d16f6ee3e0c909e8be1f8 (patch)
treefa33158175bc2ce89cbc4c08ceb6b91986a5f004 /sys/amd64/ia32/ia32_sigtramp.S
parentf922834f0ff4f9828f5d96879cb808391ec87b82 (diff)
downloadFreeBSD-src-7a153194ec575997818d16f6ee3e0c909e8be1f8.zip
FreeBSD-src-7a153194ec575997818d16f6ee3e0c909e8be1f8.tar.gz
Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions
for moving between a segment register and a 32-bit memory location. Looked at by: jhb
Diffstat (limited to 'sys/amd64/ia32/ia32_sigtramp.S')
-rw-r--r--sys/amd64/ia32/ia32_sigtramp.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/ia32/ia32_sigtramp.S b/sys/amd64/ia32/ia32_sigtramp.S
index 7b20bc4..1cd220a 100644
--- a/sys/amd64/ia32/ia32_sigtramp.S
+++ b/sys/amd64/ia32/ia32_sigtramp.S
@@ -45,8 +45,8 @@ ia32_sigcode:
calll *IA32_SIGF_HANDLER(%esp)
leal IA32_SIGF_UC(%esp),%eax /* get ucontext */
pushl %eax
- movl IA32_UC_ES(%eax),%es /* restore %es */
- movl IA32_UC_DS(%eax),%ds /* restore %ds */
+ mov IA32_UC_ES(%eax),%es /* restore %es */
+ mov IA32_UC_DS(%eax),%ds /* restore %ds */
movl $SYS_sigreturn,%eax
pushl %eax /* junk to fake return addr. */
int $0x80 /* enter kernel with args */
@@ -60,8 +60,8 @@ freebsd4_ia32_sigcode:
calll *IA32_SIGF_HANDLER(%esp)
leal IA32_SIGF_UC4(%esp),%eax/* get ucontext */
pushl %eax
- movl IA32_UC4_ES(%eax),%es /* restore %es */
- movl IA32_UC4_DS(%eax),%ds /* restore %ds */
+ mov IA32_UC4_ES(%eax),%es /* restore %es */
+ mov IA32_UC4_DS(%eax),%ds /* restore %ds */
movl $344,%eax /* 4.x SYS_sigreturn */
pushl %eax /* junk to fake return addr. */
int $0x80 /* enter kernel with args */
OpenPOWER on IntegriCloud