diff options
author | obrien <obrien@FreeBSD.org> | 2009-01-31 11:37:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2009-01-31 11:37:21 +0000 |
commit | 7a153194ec575997818d16f6ee3e0c909e8be1f8 (patch) | |
tree | fa33158175bc2ce89cbc4c08ceb6b91986a5f004 /sys/amd64/linux32/linux32_locore.s | |
parent | f922834f0ff4f9828f5d96879cb808391ec87b82 (diff) | |
download | FreeBSD-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/linux32/linux32_locore.s')
-rw-r--r-- | sys/amd64/linux32/linux32_locore.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/amd64/linux32/linux32_locore.s b/sys/amd64/linux32/linux32_locore.s index 9183374..6045925 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 */ |