projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
trivial errors and GAS heartburn.
[unix-history]
/
usr
/
src
/
lib
/
libc
/
i386
/
sys
/
brk.s
diff --git
a/usr/src/lib/libc/i386/sys/brk.s
b/usr/src/lib/libc/i386/sys/brk.s
index
12b1334
..
1f164c0
100644
(file)
--- a/
usr/src/lib/libc/i386/sys/brk.s
+++ b/
usr/src/lib/libc/i386/sys/brk.s
@@
-9,7
+9,7
@@
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
*/
#if defined(SYSLIBC_SCCS) && !defined(lint)
- .asciz "@(#)brk.s 5.
1
(Berkeley) %G%"
+ .asciz "@(#)brk.s 5.
2
(Berkeley) %G%"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
#endif /* SYSLIBC_SCCS and not lint */
#include "SYS.h"
@@
-24,7
+24,7
@@
ENTRY(_brk)
ENTRY(brk)
movl 4(%esp),%eax
cmpl %eax,minbrk
ENTRY(brk)
movl 4(%esp),%eax
cmpl %eax,minbrk
- j
ge
ok
+ j
l
ok
movl minbrk,%eax
movl %eax,4(%esp)
ok:
movl minbrk,%eax
movl %eax,4(%esp)
ok: