aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/linux32/linux32_locore.s
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2009-01-31 11:37:21 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2009-01-31 11:37:21 +0000
commite6493bbebff21330a6e17ae77a62ac3278d12346 (patch)
treefa33158175bc2ce89cbc4c08ceb6b91986a5f004 /sys/amd64/linux32/linux32_locore.s
parente173d3df0c5e770ed4b9863ee729d78c83a8f8a6 (diff)
downloadsrc-e6493bbebff21330a6e17ae77a62ac3278d12346.tar.gz
src-e6493bbebff21330a6e17ae77a62ac3278d12346.zip
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
Notes
Notes: svn path=/head/; revision=187948
Diffstat (limited to 'sys/amd64/linux32/linux32_locore.s')
-rw-r--r--sys/amd64/linux32/linux32_locore.s8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/linux32/linux32_locore.s b/sys/amd64/linux32/linux32_locore.s
index 918337417a2b..6045925c9b5b 100644
--- a/sys/amd64/linux32/linux32_locore.s
+++ b/sys/amd64/linux32/linux32_locore.s
@@ -11,8 +11,8 @@
NON_GPROF_ENTRY(linux_sigcode)
call *LINUX_SIGF_HANDLER(%esp)
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
- movl LINUX_SC_ES(%ebx),%es
- movl LINUX_SC_DS(%ebx),%ds
+ mov LINUX_SC_ES(%ebx),%es
+ mov LINUX_SC_DS(%ebx),%ds
movl %esp, %ebx /* pass sigframe */
push %eax /* fake ret addr */
movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
@@ -24,8 +24,8 @@ 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_ES(%ecx),%es
- movl LINUX_SC_DS(%ecx),%ds
+ mov LINUX_SC_ES(%ecx),%es
+ mov LINUX_SC_DS(%ecx),%ds
push %eax /* fake ret addr */
movl $LINUX_SYS_linux_rt_sigreturn,%eax /* linux_rt_sigreturn() */
int $0x80 /* enter kernel with args */