summaryrefslogtreecommitdiffstats
path: root/include/features.h
Commit message (Collapse)AuthorAgeFilesLines
* guard *_chk() related stuff with UCLIBC_HAS_FORTIFYPeter S. Mazinger2011-03-091-1/+4
| | | | | | | | | | | | Guard x86_64 memset_chk/memcpy_chk be guarded by UCLIBC_HAS_FORTIFY. Compile ssp.c if one of SSP/FORTIFY is defined. Guard __chk_fail() with UCLIBC_HAS_FORTIFY and move its prototype to libc-internal.h. Disable _FORTIFY_SOURCE if UCLIBC_HAS_FORTIFY is not set. The config option itself is omitted on purpose, headers need to be reviewed and generic *_chk() functions need to be first provided. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* make it possible to compile with -std=gnu99/c99 and use extern inlinesPeter S. Mazinger2011-03-031-1/+1
| | | | | | When compiled with -std=gnu99/c99 __GNUC_GNU_INLINE__ is not defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* features.h: reorganizePeter S. Mazinger2009-11-191-66/+59
| | | | | | | Reorganize so uClibc related changes are better seen when syncing with glibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* help broken apps to detect __GLIBC__ headersPeter S. Mazinger2009-11-191-4/+6
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* update headers and disable prototypesPeter S. Mazinger2009-11-191-0/+2
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* move __linux__ to libc-internal.hPeter S. Mazinger2009-11-191-8/+0
| | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* rm uClibc_arch_features.h on installPeter S. Mazinger2009-11-191-3/+0
| | | | | | | | uClibc_arch_features.h is included already by libc-symbols.h. If gcc needs it, fix gcc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko2009-07-211-1/+1
| | | | | | | | | | Undo my old mistake. I added UCLIBC_INTERNAL define, but later I realized _LIBC is doing exactly the same thing. This change converts all usages of UCLIBC_INTERNAL to _LIBC, removing all instances of UCLIBC_INTERNAL. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* first pass at implementing *at funcsMike Frysinger2009-07-201-15/+36
| | | | | | | Tested basic functionality with coreutils and things seem to work. At least gives us a basis to jump from. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* - remove unavailable functionality upon request (Peter Mazinger)Bernhard Reutner-Fischer2009-01-211-0/+2
|
* features.h: add TODO (changing __OPTIMIZE_SIZE__ is a wrong thing to do)Denis Vlasenko2008-12-131-1/+7
|
* *: document __USE_EXTERN_INLINES better;Denis Vlasenko2008-12-131-3/+11
| | | | | fix uclibc build if it is forcibly enabled
* - for extern inline, also take __extern_inline and __GNUC_GNU_INLINE__ into ↵Bernhard Reutner-Fischer2008-09-061-1/+2
| | | | account
* drop __user hack for crappy kernel headers and document the __linux__ greaseMike Frysinger2007-09-151-4/+4
|
* - honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer2006-11-291-2/+4
|
* cut out _FORTIFY_SOURCEMike Frysinger2006-05-121-0/+2
|
* Correct typoPeter S. Mazinger2006-02-231-1/+1
|
* Sync w/ glibc, disabling *at interfacesPeter S. Mazinger2006-02-231-43/+77
|
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-0/+1
| | | | specific header file to make porting/updates a lot easier
* Change __OPTIMIZE__ > 0 to defined(__OPTIMIZE__) as in glibc-2.3.5.Peter S. Mazinger2005-10-111-1/+1
|
* merge some misc stuff from glibcMike Frysinger2005-09-211-18/+36
|
* move misc internal definitions to a sep file to minimize differences with ↵Mike Frysinger2005-09-211-85/+5
| | | | features.h from glibc
* In Bug 364 by hassold:Mike Frysinger2005-08-101-5/+5
| | | | | | | Configuration symbol __UCLIBC_HAS_WCHAR__ is tested as defined line 249 of features.h, whereas header bits/uClibc_Config.h, where it is (eventually) defined, is not yet included (line 267). As a consequence, symbol __STDC_ISO_10646__ is never defined, and several programs believe C libary hsa no wchar support.
* newer linux headers define __cast__ in compiler.h so lets fake it tooMike Frysinger2005-01-111-0/+3
|
* Arrange to hide uClibc internalsEric Andersen2004-10-271-0/+7
|
* Cleanup some dead wood in the header filesEric Andersen2004-07-301-30/+11
|
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-0/+3
|
* Cope with 2.6.x headersEric Andersen2004-01-021-0/+4
|
* prevent some needless warnings when building w/2.6.x kernel headersEric Andersen2003-11-211-0/+3
|
* sigh. The cris compiler doesn't do link_warning's....Eric Andersen2003-09-091-1/+5
|
* Only define __STDC_ISO_10646__ if wide char support is enabled.Manuel Novoa III2003-09-031-0/+2
|
* Avoid gratuitous conflicts when used with kernel headersEric Andersen2003-08-221-2/+6
|
* also carefully booleanize the false valueEric Andersen2003-08-111-2/+2
|
* silly me, thats not going to work.Eric Andersen2003-08-101-3/+2
|
* An even simpler likelyEric Andersen2003-08-101-1/+1
|
* Update likely() to cope with truth values other than 1Eric Andersen2003-08-101-2/+2
|
* Patch from Stefan Allius:Eric Andersen2003-02-171-1/+1
| | | | | I patched the link_warning macro in features.h to fix warnings like: locale.c:358: warning: `__evoke_link_warning_localeconv' defined but not used
* Make sure we have __linux__ definedEric Andersen2002-11-091-0/+3
|
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-5/+5
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough2002-08-091-2/+2
| | | | | | using a 3.0.4 version of the sh-linux-gcc compiler.
* Patch from Yoshinori Sato <qzb04471@nifty.ne.jp> to useEric Andersen2002-05-281-7/+2
| | | | | C_SYMBOL_PREFIX for confused compilers, such as for v850 and h8300, per suggestion from Miles Bader.
* Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen2002-05-281-5/+15
| | | | | Propagate fixes across makefiles. -Erik
* Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen2002-05-231-2/+8
|
* Remove function declartions from include/features.h, createEric Andersen2002-04-011-14/+1
| | | | | a separate header file for those, and fixup references. -Erik
* Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen2002-03-311-0/+13
| | | | | which is needed for busybox ash when using largefile support. -Erik
* Hide libc specific junk inside a #ifdef _LIBC to avoidEric Andersen2002-03-151-6/+7
| | | | | namespace pollution, noted by Miles. -Erik
* Fix a segfault in scandir for empty directories. After looking overEric Andersen2002-03-121-2/+5
| | | | | our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.
* Remove elimination of __BEGIN_DECLS/__END_DECLSEric Andersen2002-02-261-4/+0
|
* I was confusing the effects of _LARGEFILE_SOURCE with those ofManuel Novoa III2002-02-221-27/+25
| | | | | _FILE_OFFSET_BITS regarding aliasing of the *64 funcs. :-( Hopefully, this version is correct...
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-201-0/+1
| | | | | | | | glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen (me). Stefan has hacked things up such that linuxthreads runs on MMU-less systems (tested only on arm-nommu). Erik cleaned things up and made it work properly as a shared library. -Erik