summaryrefslogtreecommitdiff
path: root/include/features.h
AgeCommit message (Collapse)Author
2011-03-09guard *_chk() related stuff with UCLIBC_HAS_FORTIFYPeter S. Mazinger
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>
2011-03-03make it possible to compile with -std=gnu99/c99 and use extern inlinesPeter S. Mazinger
When compiled with -std=gnu99/c99 __GNUC_GNU_INLINE__ is not defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2009-11-19features.h: reorganizePeter S. Mazinger
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>
2009-11-19help broken apps to detect __GLIBC__ headersPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19update headers and disable prototypesPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19move __linux__ to libc-internal.hPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-11-19rm uClibc_arch_features.h on installPeter S. Mazinger
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>
2009-07-21s/UCLIBC_INTERNAL/_LIBC/gDenys Vlasenko
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>
2009-07-20first pass at implementing *at funcsMike Frysinger
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>
2009-01-21- remove unavailable functionality upon request (Peter Mazinger)Bernhard Reutner-Fischer
2008-12-13features.h: add TODO (changing __OPTIMIZE_SIZE__ is a wrong thing to do)Denis Vlasenko
2008-12-13*: document __USE_EXTERN_INLINES better;Denis Vlasenko
fix uclibc build if it is forcibly enabled
2008-09-06- for extern inline, also take __extern_inline and __GNUC_GNU_INLINE__ into ↵Bernhard Reutner-Fischer
account
2007-09-15drop __user hack for crappy kernel headers and document the __linux__ greaseMike Frysinger
2006-11-29- honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer
2006-05-12cut out _FORTIFY_SOURCEMike Frysinger
2006-02-23Correct typoPeter S. Mazinger
2006-02-23Sync w/ glibc, disabling *at interfacesPeter S. Mazinger
2006-01-19move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger
specific header file to make porting/updates a lot easier
2005-10-11Change __OPTIMIZE__ > 0 to defined(__OPTIMIZE__) as in glibc-2.3.5.Peter S. Mazinger
2005-09-21merge some misc stuff from glibcMike Frysinger
2005-09-21move misc internal definitions to a sep file to minimize differences with ↵Mike Frysinger
features.h from glibc
2005-08-10In Bug 364 by hassold:Mike Frysinger
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.
2005-01-11newer linux headers define __cast__ in compiler.h so lets fake it tooMike Frysinger
2004-10-27Arrange to hide uClibc internalsEric Andersen
2004-07-30Cleanup some dead wood in the header filesEric Andersen
2004-04-20Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen
2004-01-02Cope with 2.6.x headersEric Andersen
2003-11-21prevent some needless warnings when building w/2.6.x kernel headersEric Andersen
2003-09-09sigh. The cris compiler doesn't do link_warning's....Eric Andersen
2003-09-03Only define __STDC_ISO_10646__ if wide char support is enabled.Manuel Novoa III
2003-08-22Avoid gratuitous conflicts when used with kernel headersEric Andersen
2003-08-11also carefully booleanize the false valueEric Andersen
2003-08-10silly me, thats not going to work.Eric Andersen
2003-08-10An even simpler likelyEric Andersen
2003-08-10Update likely() to cope with truth values other than 1Eric Andersen
2003-02-17Patch from Stefan Allius:Eric Andersen
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
2002-11-09Make sure we have __linux__ definedEric Andersen
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
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
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-05-28Patch from Yoshinori Sato <qzb04471@nifty.ne.jp> to useEric Andersen
C_SYMBOL_PREFIX for confused compilers, such as for v850 and h8300, per suggestion from Miles Bader.
2002-05-28Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen
Propagate fixes across makefiles. -Erik
2002-05-23Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen
2002-04-01Remove function declartions from include/features.h, createEric Andersen
a separate header file for those, and fixup references. -Erik
2002-03-31Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen
which is needed for busybox ash when using largefile support. -Erik
2002-03-15Hide libc specific junk inside a #ifdef _LIBC to avoidEric Andersen
namespace pollution, noted by Miles. -Erik
2002-03-12Fix a segfault in scandir for empty directories. After looking overEric Andersen
our version, I'm adopting the scandir from glibc (with minor changes) instead as it seems simpler and already correct.
2002-02-26Remove elimination of __BEGIN_DECLS/__END_DECLSEric Andersen
2002-02-22I was confusing the effects of _LARGEFILE_SOURCE with those ofManuel Novoa III
_FILE_OFFSET_BITS regarding aliasing of the *64 funcs. :-( Hopefully, this version is correct...
2002-02-20Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen
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