newlib-cygwin/newlib/libc/stdlib
Sebastian Huber f70d9ae6ad Use enum __packed in favour of -fshort-enums
Some architectures like ARM encode the short enum option state in the
object file and the linker checks that this option is consistent for all
objects of an executable.  In case applications use -fno-short-enums,
then this leads to linker warnings.  Use the enum __packed attribute for
the relevent enums to avoid the -fshort-enums compiler option.  This
attribute is at least available on GCC, LLVM/clang and the Intel
compiler.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
2017-04-03 10:26:33 +02:00
..
Makefile.am Use enum __packed in favour of -fshort-enums 2017-04-03 10:26:33 +02:00
Makefile.in Use enum __packed in favour of -fshort-enums 2017-04-03 10:26:33 +02:00
_Exit.c
__adjust.c
__atexit.c Unify names of all lock objects 2017-02-06 16:55:09 -05:00
__call_atexit.c Only define static locks in multithreaded mode 2017-02-13 17:04:17 -05: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
arc4random.c Only define static locks in multithreaded mode 2017-02-13 17:04:17 -05:00
arc4random.h Only define static locks in multithreaded mode 2017-02-13 17:04:17 -05:00
arc4random_uniform.c Add arc4random() etc. from OpenBSD 5.8 2016-03-18 12:33:41 +01: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 2004-09-09 Paul Brook <paul@codesourcery.com> 2004-09-09 19:46:54 +00:00
atof.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
atoff.c
atoi.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:54:12 +00:00
atol.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +00:00
atoll.c 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:15:47 +00:00
btowc.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
calloc.c 2008-10-31 Jeff Johnston <jjohnstn@redhat.com> 2008-10-31 21:08:03 +00:00
chacha_private.h Cleanup macros in chacha_private.h to be target-type independent 2016-03-18 21:20:06 +01:00
cxa_atexit.c Add static instance of _on_exit_args for _REENT_SMALL platforms. 2015-12-21 11:49:28 -05:00
cxa_finalize.c 2004-09-15 Jeff Johnston <jjohnstn@redhat.com> 2004-09-15 20:50:08 +00:00
div.c 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
drand48.c
dtoa.c 2006-08-03 J"orn Rennecke <joern.rennecke@st.com> 2006-08-03 16:56:05 +00:00
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 Feature test macros overhaul: stdlib.h 2016-03-17 21:09:06 -05:00
environ.c
envlock.c Unify names of all lock objects 2017-02-06 16:55:09 -05: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 Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
gdtoa-hexnan.c Make match function globally available to stdlib functions. 2015-11-20 18:03:05 +01:00
gdtoa.h Import correctly working strtold from David M. Gay. 2015-11-20 18:14:58 +01:00
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 2003-10-20 Bob Wilson <bob.wilson@acm.org> 2003-10-20 18:46:38 +00:00
ldtoa.c Import correctly working strtold from David M. Gay. 2015-11-20 18:14:58 +01:00
llabs.c Fix SYNOPSIS prototypes without marked up parameter names 2015-06-23 17:30:22 +01:00
lldiv.c 2003-11-27 Artem B. Bityuckiy <mail_lists@mail.ru> 2003-11-27 19:47:19 +00:00
local.h Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02: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 Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
mblen_r.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
mbrlen.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
mbrtowc.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
mbsinit.c * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when 2003-12-05 06:13:44 +00:00
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 Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
mbtowc.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
mbtowc_r.c Use enum __packed in favour of -fshort-enums 2017-04-03 10:26:33 +02:00
mlock.c Unify names of all lock objects 2017-02-06 16:55:09 -05:00
mprec.c Use NetBSD fix for CVE-2009-0689 security vulnerability. 2009-11-23 17:02:20 +00:00
mprec.h Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
mrand48.c
msize.c
mstats.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
mtrim.c
nano-mallocr.c Expand comments on padding used by nano_malloc 2017-01-13 17:39:21 +01:00
nrand48.c
on_exit.c Add static instance of _on_exit_args for _REENT_SMALL platforms. 2015-12-21 11:49:28 -05:00
on_exit_args.c Add static instance of _on_exit_args for _REENT_SMALL platforms. 2015-12-21 11:49:28 -05:00
on_exit_args.h Add static instance of _on_exit_args for _REENT_SMALL platforms. 2015-12-21 11:49:28 -05:00
putenv.c 2004-11-24 Jeff Johnston <jjohnstn@redhat.com> 2004-11-24 22:34:15 +00:00
putenv_r.c 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org> 2011-08-23 12:03:55 +00:00
quick_exit.c Only define static locks in multithreaded mode 2017-02-13 17:04:17 -05:00
rand.c 2013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de> 2013-04-29 21:06:23 +00:00
rand48.c 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:21:08 +00:00
rand48.h
rand_r.c
random.c Add simple versions of random() and srandom() 2016-03-28 22:39:50 -05:00
realloc.c
reallocf.c 2008-11-19 Jeff Johnston <jjohnstn@redhat.com> 2008-11-19 20:56:22 +00:00
rpmatch.c Fix rpmatch build problem 2015-11-19 16:31:08 +01:00
sb_charsets.c Actually return value from __cp_index 2016-10-22 21:08:44 +02: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 Add simple versions of random() and srandom() 2016-03-28 22:39:50 -05:00
strtod.c Remove extraneous float casts in strtod.c. 2016-12-16 11:32:25 -05:00
strtodg.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
strtol.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
strtold.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
strtoll.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
strtoll_r.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
strtorx.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
strtoul.c Fix pdf build failure wrt documentation of is*_l functions 2016-08-17 20:58:21 +02:00
strtoull.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
strtoull_r.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02: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 Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
wcsnrtombs.c Don't use locale_t in internal header 2016-08-16 13:51:46 +02:00
wcsrtombs.c 2013-11-26 Julio Gutierrez <jgutleyva@gmail.com> 2013-11-26 17:21:01 +00:00
wcstod.c Remove extraneous float casts in wcstod.c. 2016-12-16 19:25:30 +01:00
wcstol.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
wcstold.c Avoid "implicit declaration of function ‘strtold_l’" in wcstold.c 2016-08-16 16:21:19 +02:00
wcstoll.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
wcstoll_r.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
wcstombs.c 2013-11-18 Sahil Patnayakuni <sahilp@oarcorp.com> 2013-11-18 17:26:52 +00:00
wcstombs_r.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
wcstoul.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
wcstoull.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
wcstoull_r.c Implement strto[dflu]_l/wcsto[dflu]_l 2016-08-15 17:35:21 +02:00
wctob.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
wctomb.c Consolidate wctomb/mbtowc calls for POSIX-1.2008 2016-08-15 10:56:57 +02:00
wctomb_r.c Drop redundant checks for NULL input string in wctomb helper funcs 2016-10-22 20:28:08 +02:00