libc/newlib/libc/sys/sysvi386/brk.S

9 lines
83 B
ArmAsm

.globl _brk
_brk:
movl $0x11, %eax
lcall $7,$0
jb _cerror
xor %eax,%eax
ret