Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysvi386/brk.s')
-rw-r--r--newlib/libc/sys/sysvi386/brk.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/sys/sysvi386/brk.s b/newlib/libc/sys/sysvi386/brk.s
new file mode 100644
index 000000000..c3cb43f11
--- /dev/null
+++ b/newlib/libc/sys/sysvi386/brk.s
@@ -0,0 +1,8 @@
+
+ .globl _brk
+_brk:
+ movl $0x11, %eax
+ lcall $7,$0
+ jb _cerror
+ xor %eax,%eax
+ ret