summaryrefslogtreecommitdiff
path: root/include/libc-internal.h
AgeCommit message (Collapse)Author
2012-11-18Replace FSF snail mail address with URLsMike Frysinger
This matches a similar change made to glibc. No functional changes here. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-06-15libc-internal.h: provide dummy attribute_tls_model_ie and __thread for non ↵Peter S. Mazinger
TLS builds Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15*_strerror_r.c: keep all occurences in sync with string.hPeter S. Mazinger
libc-internal.h: this has to provide the reversed case of what string.h defines. Accomodate for later possibility to compile without _GNU_SOURCE defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2012-06-15libc-internal.h: use a consistent prototype for __stack_chk_failPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-11-27make ARRAY_SIZE commonly available internallyMike Frysinger
Some places have opencoded the ARRAY_SIZE macro, so move it to a global internal location so other places can leverage it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
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>
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-19move extend_alloca macro to alloca.hPeter S. Mazinger
guard it by _LIBC. __MAX_ALLOCA_CUTOFF is not needed on target either Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2009-09-26include/: add tls errno and res_stateAustin Foxley
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2008-11-20Last portion of libc_hidden_proto removal.Denis Vlasenko
Appears to build fine (several .configs tried)
2007-01-29use ifdef rather than if for stack directionMike Frysinger
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-03-22Comment __USE_UNIX98, not needed, add __glibc_strerror_r prototype for non-GNUPeter S. Mazinger
2006-01-27remove commentPeter S. Mazinger
2006-01-20Split out libc-symbols.h from libc-internal.h, use it directly in CFLAGS. ↵Peter S. Mazinger
Moved weak[_const]_function into proper place (if we have weak support), else noop. Modified comment about changes to glibc. Moved -D_LIBC from CFLAGS to libc-symbols.h. I am not sure about unlikely/likely/__cast
2006-01-19Remove HAVE_ELFPeter S. Mazinger
2006-01-19Get rid of *_SYMBOL_PREFIXPeter S. Mazinger
2006-01-19Import some need bits from glibc to libc-internal.h, hidden_weak_alias gone, ↵Peter S. Mazinger
hidden_strong_alias adapted, HAVE_ELF defined always, __SYMBOL_PREFIX removed
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
2006-01-17sync some stuff from glibc and fix __hidden_ver1() for targets that define a ↵Mike Frysinger
USER_PREFIX (like bfin)
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2006-01-11fix warnings when building on sparcMike Frysinger
2006-01-09Get rid of hidden_defPeter S. Mazinger
2006-01-06Merge from NPTL branch."Steven J. Hill"
2006-01-06Merge from NPTL branch."Steven J. Hill"
2006-01-05import the extend_alloca() macro from glibcMike Frysinger
2006-01-04tweak __progname handling some more since some [bad] apps actually try and ↵Mike Frysinger
use it
2006-01-03Add __toupper, remove unneeded undefs for tolowerPeter S. Mazinger
2006-01-03Add more hidden prototypesPeter S. Mazinger
2006-01-03add optional support for program_invocation_name/program_invocation_short_nameMike Frysinger
2005-12-16Correct C_SYMBOL_PREFIX handling for asm, supports only none or _Peter S. Mazinger
2005-12-15Add for assembler all *aliasPeter S. Mazinger
2005-12-13Add some more hidden prototypesPeter S. Mazinger
2005-12-13Add __lstat and reorganize somewhatPeter S. Mazinger
2005-12-13Add redirect/redefines for x to x64 until someone will answer my ↵Peter S. Mazinger
mail/decides of a better way. libc-internal.h will finally have >5xx __x prototypes
2005-12-10add attribute_unused and include features.h so that we can include ↵Mike Frysinger
libc-internal.h directly and have it work
2005-12-10Switch fread/fwrite/fclose/pipe/sigsetmask usersPeter S. Mazinger
2005-12-09Implement hidden poll, switch user to hidden *printf/*scanf/pollPeter S. Mazinger
2005-12-08mmap/mremap/socket/rewind gonePeter S. Mazinger
2005-12-08Change the needed prototypesPeter S. Mazinger
2005-12-08Add hidden_weak_alias/hidden_strong_alias, remove gettimeofday hack and add ↵Peter S. Mazinger
comment about opendir/closedir undoable, it is too early in this file. i386/x86_64 could use optimized internal_function, but the commented part has to be done based on target, not host
2005-12-07Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...Peter S. Mazinger
2005-12-06Add some needed prototypes and macros to allow transition of __XL and ↵Peter S. Mazinger
friends to hidden versions
2005-12-06macro out the thread funcs in libc if threading is disabledMike Frysinger
2005-12-06first pass at hidden_def() macro based on the glibc oneMike Frysinger
2005-12-06touchup whitespace/commentsMike Frysinger
2005-12-03remove wrong assumptions about __libc_xPeter S. Mazinger
2005-12-03More hiding, including __mempcpyPeter S. Mazinger
2005-12-01Hide mostly used functionsPeter S. Mazinger
2005-11-04add a macro for __attribute__ ((__noreturn__))Mike Frysinger