diff options
author | jhb <jhb@FreeBSD.org> | 2001-11-27 20:51:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2001-11-27 20:51:26 +0000 |
commit | 1dc519633ce37558099ac92841eab44998d672fb (patch) | |
tree | c861b619553892862cf76f0f13e1c74fef9eebdd /lib/libc/i386/sys/sbrk.S | |
parent | 3971137159e0a50de14b2845f680bc76f4e95087 (diff) | |
download | FreeBSD-src-1dc519633ce37558099ac92841eab44998d672fb.zip FreeBSD-src-1dc519633ce37558099ac92841eab44998d672fb.tar.gz |
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
Diffstat (limited to 'lib/libc/i386/sys/sbrk.S')
-rw-r--r-- | lib/libc/i386/sys/sbrk.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/i386/sys/sbrk.S b/lib/libc/i386/sys/sbrk.S index 8d4ca87..066535e 100644 --- a/lib/libc/i386/sys/sbrk.S +++ b/lib/libc/i386/sys/sbrk.S @@ -60,7 +60,7 @@ ENTRY(sbrk) testl %ecx,%ecx jz back addl %eax,4(%esp) - lea SYS_break,%eax + mov $SYS_break,%eax KERNCALL jb err PIC_PROLOGUE @@ -81,7 +81,7 @@ err: testl %ecx,%ecx jz back addl %eax,4(%esp) - lea SYS_break,%eax + mov $SYS_break,%eax KERNCALL jb err movl HIDENAME(curbrk),%eax |