@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <jjohnstn@redhat.com> */
/*
FUNCTION
<<_Exit>>---end program execution with no cleanup processing
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/*
* return (*acc) scaled by 10**dexp.
*/
@@ -1,3 +1,4 @@
+/* Copyright (c) 2004 Paul Brook <paul@codesourcery.com> */
/*
* Common routine to implement atexit-like functionality.
*
@@ -1,3 +1,38 @@
+/*
+Copyright (c) 2004 Paul Brook <paul@codesourcery.com>
+
+Common routine to implement atexit-like functionality.
+
+This is also the key function to be configured as lite exit, a size-reduced
+implementation of exit that doesn't invoke clean-up functions such as _fini
+or global destructors.
+
+Default (without lite exit) call graph is like:
+start -> atexit -> __register_exitproc
+start -> __libc_init_array -> __cxa_atexit -> __register_exitproc
+on_exit -> __register_exitproc
+start -> exit -> __call_exitprocs
+
+Here an -> means arrow tail invokes arrow head. All invocations here
+are non-weak reference in current newlib.
+
+Lite exit makes some of above calls as weak reference, so that size expansive
+functions __register_exitproc and __call_exitprocs may not be linked. These
+calls are:
+start w-> atexit
+cxa_atexit w-> __register_exitproc
+exit w-> __call_exitprocs
+
+Lite exit also makes sure that __call_exitprocs will be referenced as non-weak
+whenever __register_exitproc is referenced as non-weak.
+
+Thus with lite exit libs, a program not explicitly calling atexit or on_exit
+will escape from the burden of cleaning up code. A program with atexit or on_exit
+will work consistently to normal libs.
+
+Lite exit is enabled with --enable-lite-exit, and is controlled with macro
+LITE_EXIT.
+ */
/*
* COmmon routine to call call registered atexit-like routines.
*/
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/*
* compute 10**x by successive squaring.
*/
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/*
* [atw] multiply 64 bit accumulator by 10 and add digit.
* The KA/CA way to do this should be to use
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <jjohnstn@redhat.com> */
/*
FUNCTION
<<a64l>>, <<l64a>>---convert between radix-64 ASCII string and long
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/* NetWare can not use this implementation of abort. It provides its
own version of abort in clib.nlm. If we can not use clib.nlm, then
we must write abort in sys/netware. */
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<abs>>---integer absolute value (magnitude)
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<assert>>---macro for debugging diagnostics
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/*
* Common definitions for atexit-like routines
*/
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<atof>>, <<atoff>>---string to double or float
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#include <stdlib.h>
#include <_ansi.h>
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<atoi>>, <<atol>>---string to integer
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/*
* Andy Wilson, 2-Oct-89.
*/
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com> */
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifdef MALLOC_PROVIDED
int _dummy_calloc = 1;
#else
@@ -1,4 +1,22 @@
/*
+Copyright (c) 1996, David Mazieres <dm@uun.org>
+Copyright (c) 2008, Damien Miller <djm@openbsd.org>
+Copyright (c) 2013, Markus Friedl <markus@openbsd.org>
+Copyright (c) 2014, Theo de Raadt <deraadt@openbsd.org>
+
+Permission to use, copy, modify, and distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ */
+/*
chacha-merged.c version 20080118
D. J. Bernstein
Public domain.
@@ -1,3 +1,38 @@
+/*
+Copyright (c) 2004 Paul Brook <paul@codesourcery.com>
+
+Common routine to implement atexit-like functionality.
+
+This is also the key function to be configured as lite exit, a size-reduced
+implementation of exit that doesn't invoke clean-up functions such as _fini
+or global destructors.
+
+Default (without lite exit) call graph is like:
+start -> atexit -> __register_exitproc
+start -> __libc_init_array -> __cxa_atexit -> __register_exitproc
+on_exit -> __register_exitproc
+start -> exit -> __call_exitprocs
+
+Here an -> means arrow tail invokes arrow head. All invocations here
+are non-weak reference in current newlib.
+
+Lite exit makes some of above calls as weak reference, so that size expansive
+functions __register_exitproc and __call_exitprocs may not be linked. These
+calls are:
+start w-> atexit
+cxa_atexit w-> __register_exitproc
+exit w-> __call_exitprocs
+
+Lite exit also makes sure that __call_exitprocs will be referenced as non-weak
+whenever __register_exitproc is referenced as non-weak.
+
+Thus with lite exit libs, a program not explicitly calling atexit or on_exit
+will escape from the burden of cleaning up code. A program with atexit or on_exit
+will work consistently to normal libs.
+
+Lite exit is enabled with --enable-lite-exit, and is controlled with macro
+LITE_EXIT.
+ */
/*
* Implementation of __cxa_atexit.
*/
@@ -1,3 +1,38 @@
+/*
+Copyright (c) 2004 Paul Brook <paul@codesourcery.com>
+
+Common routine to implement atexit-like functionality.
+
+This is also the key function to be configured as lite exit, a size-reduced
+implementation of exit that doesn't invoke clean-up functions such as _fini
+or global destructors.
+
+Default (without lite exit) call graph is like:
+start -> atexit -> __register_exitproc
+start -> __libc_init_array -> __cxa_atexit -> __register_exitproc
+on_exit -> __register_exitproc
+start -> exit -> __call_exitprocs
+
+Here an -> means arrow tail invokes arrow head. All invocations here
+are non-weak reference in current newlib.
+
+Lite exit makes some of above calls as weak reference, so that size expansive
+functions __register_exitproc and __call_exitprocs may not be linked. These
+calls are:
+start w-> atexit
+cxa_atexit w-> __register_exitproc
+exit w-> __call_exitprocs
+
+Lite exit also makes sure that __call_exitprocs will be referenced as non-weak
+whenever __register_exitproc is referenced as non-weak.
+
+Thus with lite exit libs, a program not explicitly calling atexit or on_exit
+will escape from the burden of cleaning up code. A program with atexit or on_exit
+will work consistently to normal libs.
+
+Lite exit is enabled with --enable-lite-exit, and is controlled with macro
+LITE_EXIT.
+ */
/*
* Implementation if __cxa_finalize.
*/
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#include <_ansi.h>
#include <stdlib.h>
#include <reent.h>
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<ecvtbuf>>, <<fcvtbuf>>---double or float to string
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<ecvt>>, <<ecvtf>>, <<fcvt>>, <<fcvtf>>---double or float to string
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<__env_lock>>, <<__env_unlock>>---lock environ variable
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/* This is an implementation of the __eprintf function which is
compatible with the assert.h which is distributed with gcc.
@@ -1,3 +1,4 @@
+/* Copyright (c) 2014 Corinna Vinschen <corinna@vinschen.de> */
/*
FUNCTION
<<itoa>>---integer to string
@@ -1,3 +1,4 @@
+/* Copyright (c) 2002 Jeff Johnston <jjohnstn@redhat.com> */
/* l64a - convert long to radix-64 ascii string
*
* Conversion is performed on at most 32-bits of input value starting
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<labs>>---long integer absolute value
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/* Misc. local definitions for libc/stdlib */
#ifndef _LOCAL_H_
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifndef MALLOC_PROVIDED
/* malign.c -- a wrapper for memalign_r. */
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/* VxWorks provides its own version of malloc, and we can't use this
one because VxWorks does not provide sbrk. So we have a hook to
not compile this code. */
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifdef MALLOC_PROVIDED
int _dummy_mallocr = 1;
#else
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifndef _MBCTYPE_H_
#define _MBCTYPE_H_
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<mblen>>---minimal multibyte length function
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
+ */
#include <reent.h>
#include <newlib.h>
#include <wchar.h>
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
+ */
#include <reent.h>
#include <newlib.h>
#include <wchar.h>
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
+ */
#include <reent.h>
#include <wchar.h>
#include <stdlib.h>
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <corinna@vinschen.de> */
/*
FUNCTION
<<mbsrtowcs>>, <<mbsnrtowcs>>---convert a character string to a wide-character string
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
+ */
/* doc in mbsnrtowcs.c */
#include <reent.h>
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<mbstowcs>>---minimal multibyte string to wide char converter
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<mbtowc>>---minimal multibyte to wide char converter
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#include <newlib.h>
#include <stdlib.h>
#include <locale.h>
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifndef MALLOC_PROVIDED
/*
FUNCTION
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifndef MALLOC_PROVIDED
/* msize.c -- a wrapper for malloc_usable_size. */
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
/* VxWorks provides its own version of malloc, and we can't use this
one because VxWorks does not provide sbrk. So we have a hook to
not compile this code. */
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifndef MALLOC_PROVIDED
/* mtrim.c -- a wrapper for malloc_trim. */
@@ -1,3 +1,4 @@
+/* Copyright (c) 2015 Freddie Chopin <freddie.chopin@gmail.com> */
/*
* Static instance of _on_exit_args struct.
*
@@ -1,3 +1,4 @@
+/* Copyright (c) 2015 Freddie Chopin <freddie.chopin@gmail.com> */
#ifndef NEWLIB_CYGWIN_NEWLIB_LIBC_STDLIB_ON_EXIT_ARGS_H_
#define NEWLIB_CYGWIN_NEWLIB_LIBC_STDLIB_ON_EXIT_ARGS_H_
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<rand>>, <<srand>>---pseudo-random numbers
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#include <stdlib.h>
/* Pseudo-random generator based on Minimal Standard by
@@ -1,3 +1,4 @@
+/* Copyright (c) 2016 Joel Sherrill <joel@rtems.org> */
/*
FUNCTION
<<random>>, <<srandom>>---pseudo-random numbers
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifdef MALLOC_PROVIDED
int _dummy_realloc = 1;
#else
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <corinna@vinschen.de> */
#include <newlib.h>
#include <wchar.h>
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#include <stdlib.h>
#include <stdio.h>
#include <errno.h>
@@ -1,3 +1,7 @@
+#
+#Copyright (c) 1990 Regents of the University of California.
+#All rights reserved.
+#
@node Stdlib
@chapter Standard Utility Functions (@file{stdlib.h})
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<system>>---execute command string
@@ -1,3 +1,4 @@
+/* Copyright (c) 2014 Corinna Vinschen <corinna@vinschen.de> */
/*
FUNCTION
<<utoa>>---unsigned integer to string
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#ifndef MALLOC_PROVIDED
/* valloc.c -- a wrapper for valloc_r and pvalloc_r. */
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
+ */
#include <reent.h>
#include <newlib.h>
#include <wchar.h>
@@ -1,3 +1,4 @@
+/* Copyright (c) 2009 Corinna Vinschen <corinna@vinschen.de> */
/*
FUNCTION
<<wcsrtombs>>, <<wcsnrtombs>>---convert a wide-character string to a character string
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
+ */
/* Doc in wcsnrtombs.c */
#include <reent.h>
@@ -1 +1,29 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
/* dummy */
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<wcstombs>>---minimal wide char string to multibyte string converter
@@ -1 +1,29 @@
+/*
+Copyright (c) 1990 The Regents of the University of California.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer in the
+documentation and/or other materials provided with the distribution.
+3. Neither the name of the University nor the names of its contributors
+may be used to endorse or promote products derived from this software
+without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+ */
/* dummy */
@@ -1,3 +1,6 @@
+/*
+Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com>
+ */
#include <reent.h>
#include <wchar.h>
#include <stdio.h>
@@ -1,4 +1,8 @@
/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
+/*
FUNCTION
<<wctomb>>---minimal wide char to multibyte converter
@@ -1,3 +1,7 @@
+/*
+Copyright (c) 1990 Regents of the University of California.
+All rights reserved.
+ */
#include <errno.h>
#include <stdlib.h>
#include <string.h>
Signed-off-by: Keith Packard <keithp@keithp.com> --- newlib/libc/stdlib/_Exit.c | 1 + newlib/libc/stdlib/__adjust.c | 4 ++++ newlib/libc/stdlib/__atexit.c | 1 + newlib/libc/stdlib/__call_atexit.c | 35 +++++++++++++++++++++++++++++ newlib/libc/stdlib/__exp10.c | 4 ++++ newlib/libc/stdlib/__ten_mu.c | 4 ++++ newlib/libc/stdlib/a64l.c | 1 + newlib/libc/stdlib/abort.c | 4 ++++ newlib/libc/stdlib/abs.c | 4 ++++ newlib/libc/stdlib/assert.c | 4 ++++ newlib/libc/stdlib/atexit.h | 4 ++++ newlib/libc/stdlib/atof.c | 4 ++++ newlib/libc/stdlib/atoff.c | 4 ++++ newlib/libc/stdlib/atoi.c | 4 ++++ newlib/libc/stdlib/atol.c | 4 ++++ newlib/libc/stdlib/btowc.c | 1 + newlib/libc/stdlib/calloc.c | 4 ++++ newlib/libc/stdlib/chacha_private.h | 18 +++++++++++++++ newlib/libc/stdlib/cxa_atexit.c | 35 +++++++++++++++++++++++++++++ newlib/libc/stdlib/cxa_finalize.c | 35 +++++++++++++++++++++++++++++ newlib/libc/stdlib/dtoastub.c | 4 ++++ newlib/libc/stdlib/ecvtbuf.c | 4 ++++ newlib/libc/stdlib/efgcvt.c | 4 ++++ newlib/libc/stdlib/envlock.c | 4 ++++ newlib/libc/stdlib/eprintf.c | 4 ++++ newlib/libc/stdlib/itoa.c | 1 + newlib/libc/stdlib/l64a.c | 1 + newlib/libc/stdlib/labs.c | 4 ++++ newlib/libc/stdlib/local.h | 4 ++++ newlib/libc/stdlib/malign.c | 4 ++++ newlib/libc/stdlib/malloc.c | 4 ++++ newlib/libc/stdlib/mallocr.c | 4 ++++ newlib/libc/stdlib/mbctype.h | 4 ++++ newlib/libc/stdlib/mblen.c | 4 ++++ newlib/libc/stdlib/mbrlen.c | 3 +++ newlib/libc/stdlib/mbrtowc.c | 3 +++ newlib/libc/stdlib/mbsinit.c | 3 +++ newlib/libc/stdlib/mbsnrtowcs.c | 1 + newlib/libc/stdlib/mbsrtowcs.c | 3 +++ newlib/libc/stdlib/mbstowcs.c | 4 ++++ newlib/libc/stdlib/mbtowc.c | 4 ++++ newlib/libc/stdlib/mbtowc_r.c | 4 ++++ newlib/libc/stdlib/mlock.c | 4 ++++ newlib/libc/stdlib/msize.c | 4 ++++ newlib/libc/stdlib/mstats.c | 4 ++++ newlib/libc/stdlib/mtrim.c | 4 ++++ newlib/libc/stdlib/on_exit_args.c | 1 + newlib/libc/stdlib/on_exit_args.h | 1 + newlib/libc/stdlib/rand.c | 4 ++++ newlib/libc/stdlib/rand_r.c | 4 ++++ newlib/libc/stdlib/random.c | 1 + newlib/libc/stdlib/realloc.c | 4 ++++ newlib/libc/stdlib/sb_charsets.c | 1 + newlib/libc/stdlib/std.h | 4 ++++ newlib/libc/stdlib/stdlib.tex | 4 ++++ newlib/libc/stdlib/system.c | 4 ++++ newlib/libc/stdlib/utoa.c | 1 + newlib/libc/stdlib/valloc.c | 4 ++++ newlib/libc/stdlib/wcrtomb.c | 3 +++ newlib/libc/stdlib/wcsnrtombs.c | 1 + newlib/libc/stdlib/wcsrtombs.c | 3 +++ newlib/libc/stdlib/wcstoll_r.c | 28 +++++++++++++++++++++++ newlib/libc/stdlib/wcstombs.c | 4 ++++ newlib/libc/stdlib/wcstoull_r.c | 28 +++++++++++++++++++++++ newlib/libc/stdlib/wctob.c | 3 +++ newlib/libc/stdlib/wctomb.c | 4 ++++ newlib/libc/stdlib/wctomb_r.c | 4 ++++ 67 files changed, 377 insertions(+) -- 2.25.0