summaryrefslogtreecommitdiffstats
path: root/sys/i386/linux/linux_locore.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/i386/linux/linux_locore.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/i386/linux/linux_locore.s')
-rw-r--r--sys/i386/linux/linux_locore.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/linux/linux_locore.s b/sys/i386/linux/linux_locore.s
index 044e8e2..a3e0e7dc 100644
--- a/sys/i386/linux/linux_locore.s
+++ b/sys/i386/linux/linux_locore.s
@@ -8,7 +8,7 @@
NON_GPROF_ENTRY(linux_sigcode)
call *LINUX_SIGF_HANDLER(%esp)
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
- movl LINUX_SC_GS(%ebx),%gs
+ mov LINUX_SC_GS(%ebx),%gs
movl %esp, %ebx /* pass sigframe */
push %eax /* fake ret addr */
movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
@@ -20,7 +20,7 @@ linux_rt_sigcode:
call *LINUX_RT_SIGF_HANDLER(%esp)
leal LINUX_RT_SIGF_UC(%esp),%ebx /* linux ucp */
leal LINUX_RT_SIGF_SC(%ebx),%ecx /* linux sigcontext */
- movl LINUX_SC_GS(%ecx),%gs
+ mov LINUX_SC_GS(%ecx),%gs
push %eax /* fake ret addr */
movl $LINUX_SYS_linux_rt_sigreturn,%eax /* linux_rt_sigreturn() */
int $0x80 /* enter kernel with args */
OpenPOWER on IntegriCloud