diff options
author | John Baldwin <jhb@FreeBSD.org> | 2001-11-27 20:51:26 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2001-11-27 20:51:26 +0000 |
commit | a1d8094b9e61c362e22e491f70d93107ddbc04fd (patch) | |
tree | c861b619553892862cf76f0f13e1c74fef9eebdd /lib/libc/amd64/sys/ptrace.S | |
parent | 2e6c92ffcef57c2e8016d723813e371b28897d22 (diff) | |
download | src-a1d8094b9e61c362e22e491f70d93107ddbc04fd.tar.gz src-a1d8094b9e61c362e22e491f70d93107ddbc04fd.zip |
Use 'mov' instead of 'lea' for setting the syscall number in %eax as that
is clearer about what we are actually doing.
Requested by: bde
Notes
Notes:
svn path=/head/; revision=87006
Diffstat (limited to 'lib/libc/amd64/sys/ptrace.S')
-rw-r--r-- | lib/libc/amd64/sys/ptrace.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/amd64/sys/ptrace.S b/lib/libc/amd64/sys/ptrace.S index 881e8a3e049a..dc786fbbd0af 100644 --- a/lib/libc/amd64/sys/ptrace.S +++ b/lib/libc/amd64/sys/ptrace.S @@ -51,7 +51,7 @@ ENTRY(ptrace) #else movl %eax,CNAME(errno) #endif - lea SYS_ptrace,%eax + mov $SYS_ptrace,%eax KERNCALL jb err ret |