summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64/sys/sbrk.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/amd64/sys/sbrk.S')
-rw-r--r--lib/libc/amd64/sys/sbrk.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/amd64/sys/sbrk.S b/lib/libc/amd64/sys/sbrk.S
index 8d4ca87..066535e 100644
--- a/lib/libc/amd64/sys/sbrk.S
+++ b/lib/libc/amd64/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
OpenPOWER on IntegriCloud