libc/newlib/libc/stdlib
Sebastian Huber f86afe5a3a C11 aligned_alloc() implementation
aligned_alloc() is implemented in terms of posix_memalign() which is
only declared in <stdlib.h> but not defined in Newlib in general.  At
least Linux and RTEMS implement this function.

newlib/ChangeLog
2015-10-14  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add
	alloc_aligned.c.c.
	* libc/stdlib/Makefile.in: Regenerate.
	* libc/stdlib/aligned_alloc.c: New.
2015-10-19 14:10:33 +02:00
..
Makefile.am C11 aligned_alloc() implementation 2015-10-19 14:10:33 +02:00
Makefile.in C11 aligned_alloc() implementation 2015-10-19 14:10:33 +02:00
_Exit.c
__adjust.c
__atexit.c * libc/stdlib/__atexit.c (__register_exitproc): NULL-ify 2013-08-19 09:03:42 +00:00
__call_atexit.c 2013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-05-08 23:13:51 +00:00
__exp10.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
__ten_mu.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
a64l.c 2009-07-29 Jeff Johnston <jjohnstn@redhat.com> 2009-07-29 22:33:40 +00:00
abort.c
abs.c
aligned_alloc.c C11 aligned_alloc() implementation 2015-10-19 14:10:33 +02:00
assert.c 2009-10-08 Jeff Johnston <jjohnstn@redhat.com> 2009-10-08 16:44:10 +00:00
atexit.c 2009-12-17 Jerker Back <jerker.back@gmail.com> 2009-12-17 19:43:43 +00:00
atexit.h
atof.c
atoff.c
atoi.c
atol.c
atoll.c
btowc.c * libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning. 2012-08-10 15:21:57 +00:00
calloc.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
cxa_atexit.c 2013-07-02 Joey Ye <joey.ye@arm.com> 2013-07-02 21:30:57 +00:00
cxa_finalize.c
div.c
drand48.c
dtoa.c
dtoastub.c 2009-12-03 Craig Howland <howland@LGSInnovations.com> 2009-12-03 16:11:27 +00:00
ecvtbuf.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
efgcvt.c Fix typo-ed function names in efgcvt.c documentation 2015-06-23 20:56:30 +01:00
environ.c
envlock.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
eprintf.c
erand48.c
exit.c 2013-07-02 Joey Ye <joey.ye@arm.com> 2013-07-02 21:30:57 +00:00
gd_qnan.h 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com> 2014-03-21 21:27:29 +00:00
gdtoa-gethex.c * libc/stdlib/gdtoa-gethex.c (__hexdig): Constify. 2013-06-10 15:27:43 +00:00
gdtoa-hexnan.c * libc/stdlib/gdtoa-gethex.c (__hexdig): Constify. 2013-06-10 15:27:43 +00:00
gdtoa.h
getenv.c * libm/math/ef_sqrt.c: Delete unused variable sign. 2010-03-05 08:55:16 +00:00
getenv_r.c * libm/math/ef_sqrt.c: Delete unused variable sign. 2010-03-05 08:55:16 +00:00
getopt.c * newlib/libc/stdlib/getopt.c (getopt_internal): Add missing braces. 2013-11-13 20:04:18 +00:00
getsubopt.3
getsubopt.c
itoa.c Fix some mangled makedoc markup 2015-06-23 16:14:53 +01:00
jrand48.c
l64a.c
labs.c
lcong48.c
ldiv.c
ldtoa.c 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com> 2014-03-21 21:27:29 +00:00
llabs.c Fix SYNOPSIS prototypes without marked up parameter names 2015-06-23 17:30:22 +01:00
lldiv.c
local.h 2009-08-25 Andy Koppe <andy.koppe@gmail.com> 2009-08-25 18:47:24 +00:00
lrand48.c
malign.c
malloc.c 2008-11-19 Jeff Johnston <jjohnstn@redhat.com> 2008-11-19 20:56:22 +00:00
mallocr.c 2010-05-31 Kazu Hirata <kazu@codesourcery.com> 2010-05-31 19:15:41 +00:00
mbctype.h * libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also 2009-04-09 08:20:10 +00:00
mblen.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
mblen_r.c * libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call to 2009-11-18 09:49:57 +00:00
mbrlen.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
mbrtowc.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
mbsinit.c
mbsnrtowcs.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
mbsrtowcs.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
mbstowcs.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
mbstowcs_r.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
mbtowc.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
mbtowc_r.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
mlock.c
mprec.c Use NetBSD fix for CVE-2009-0689 security vulnerability. 2009-11-23 17:02:20 +00:00
mprec.h * libc/stdlib/gdtoa-gethex.c (__hexdig): Constify. 2013-06-10 15:27:43 +00:00
mrand48.c
msize.c
mstats.c
mtrim.c
nano-mallocr.c * libc/stdlib/nano-mallocr.c (ALIGN_TO): Do not assume that 2014-12-16 20:46:25 +00:00
nrand48.c
on_exit.c 2009-12-17 Jerker Back <jerker.back@gmail.com> 2009-12-17 19:43:43 +00:00
putenv.c
putenv_r.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:03:55 +00:00
quick_exit.c C11 quick_exit() support for <stdlib.h> 2015-10-19 14:09:17 +02:00
rand.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
rand48.c
rand48.h
rand_r.c
realloc.c
reallocf.c 2008-11-19 Jeff Johnston <jjohnstn@redhat.com> 2008-11-19 20:56:22 +00:00
sb_charsets.c * libc/ctype/ctype_cp.h (_CTYPE_GEORGIAN_PS_128_254): Define. 2010-02-06 18:28:33 +00:00
seed48.c
setenv.c 2008-09-24 Pawel Veselov <pawel.veselov@gmail.com> 2008-09-25 01:23:08 +00:00
setenv_r.c Move tzset calls to time functions. 2015-04-23 21:57:08 +02:00
srand48.c
std.h 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
stdlib.tex Use makedoc output files which are generated but aren't included 2015-06-24 12:23:55 +01:00
strtod.c * libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow. 2014-11-12 09:10:22 +00:00
strtol.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
strtold.c * libc/include/stdlib.h (strtold): Define if _HAVE_LONG_DOUBLE is 2014-03-07 20:06:54 +00:00
strtoll.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
strtoll_r.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
strtoul.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
strtoull.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
strtoull_r.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
system.c 2008-12-11 Craig Howland <howland@LGSInnovations.com> 2008-12-11 17:27:56 +00:00
utoa.c * libc/include/stdlib.h (__itoa): Declare prototype. 2014-12-16 10:55:17 +00:00
valloc.c
wcrtomb.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcsnrtombs.c Fix some mangled makedoc markup 2015-06-23 16:14:53 +01:00
wcsrtombs.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstod.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstol.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstold.c * libc/stdlib/wcstold.c (wcstold): Add implementation for when 2015-01-29 08:37:26 +00:00
wcstoll.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstoll_r.c
wcstombs.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
wcstombs_r.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
wcstoul.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstoull.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstoull_r.c 2008-11-24 Craig Howland <howland@LGSInnovations.com> 2008-11-24 21:27:33 +00:00
wctob.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
wctomb.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
wctomb_r.c Fix UTF-16 surrogate handling in wctomb and friends. 2015-04-23 21:57:09 +02:00