This website requires JavaScript.
Explore
Help
Sign In
libs
/
newlib-cygwin
mirror of
git://sourceware.org/git/newlib-cygwin.git
Watch
4
Star
0
Fork
You've already forked newlib-cygwin
0
Code
Issues
Projects
Releases
Wiki
Activity
ad51d0006a
newlib-cygwin
/
newlib
/
libc
/
machine
/
xstormy16
/
mallocr.c
8 lines
94 B
C
Raw
Normal View
History
Unescape
Escape
In ld/ChangeLog: * scripttempl/xstormy16.sc: Don't allocate extra space for the stack. In libgloss/ChangeLog: * xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add sim_malloc_start.o. * xstormy16/eva_app.ld: Add __malloc_start. * xstormy16/sbrk.c: Remove. * xstormy16/sim_malloc_start.s: New file. * xstormy16/sim_high.ld: Make the stack start immediately at the end of the program. In newlib/ChangeLog: * configure.host (xstormy16): Don't use the generic malloc. * libc/machine/xstormy16/Makefile.am: Build tiny-malloc. * libc/machine/xstormy16/Makefile.in: Regenerate. * libc/machine/xstormy16/mallocr.c: New file. * libc/machine/xstormy16/tiny-malloc.c: New file.
2002-02-02 02:00:41 +08:00
#
include
<malloc.h>
ansification: remove _PTR Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2017-12-04 10:53:22 +08:00
void
*
In ld/ChangeLog: * scripttempl/xstormy16.sc: Don't allocate extra space for the stack. In libgloss/ChangeLog: * xstormy16/Makefile.in (SIM_OBJS): Remove sbrk.o, add sim_malloc_start.o. * xstormy16/eva_app.ld: Add __malloc_start. * xstormy16/sbrk.c: Remove. * xstormy16/sim_malloc_start.s: New file. * xstormy16/sim_high.ld: Make the stack start immediately at the end of the program. In newlib/ChangeLog: * configure.host (xstormy16): Don't use the generic malloc. * libc/machine/xstormy16/Makefile.am: Build tiny-malloc. * libc/machine/xstormy16/Makefile.in: Regenerate. * libc/machine/xstormy16/mallocr.c: New file. * libc/machine/xstormy16/tiny-malloc.c: New file.
2002-02-02 02:00:41 +08:00
_malloc_r
(
struct
_reent
*
r
,
size_t
sz
)
{
return
malloc
(
sz
)
;
}