1 /* brk on H8/300 by ysato */
3 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
5 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
10 #include <sys/syscall.h>
12 /* This must be initialized data because commons can't have aliases. */
13 void *__curbrk attribute_hidden
= 0;
19 __asm__ ("mov.l %2,er1\n\t"
24 : "0" (__NR_brk
), "g" (addr
)