aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2012-10-12Avoid PLT references from __get_clockfreq on powerpcAndreas Schwab1-0/+1
2012-10-11Framework to test IFUNC implementations on targetH.J. Lu1-0/+56
2012-10-04Name space hygeine for madvise.Roland McGrath1-2/+3
2012-09-12Make strtod respect the rounding mode (bug 14518).Joseph Myers1-0/+65
2012-08-18add attribute_hidden to __have_{sock_cloexec,pipe2,dup3Mike Frysinger2-4/+4
These internal knobs are not exposed as part of the public ABI, so mark them hidden to avoid generating relocations against them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-18split assume pipe2/dup3/sock_cloexec knobsMike Frysinger1-5/+2
We can't assume sock_cloexec and pipe2 are bound together as the former defines are found in glibc only while the latter are a combo of kernel headers and glibc. So if we do a runtime detection of SOCK_CLOEXEC, but pipe2() is a stub inside of glibc, we hit a problem. For example: main() { getgrnam("portage"); if (!popen("ls", "r")) perror("popen()"); } getgrnam() will detect that the kernel supports SOCK_CLOEXEC and then set both __have_sock_cloexec and __have_pipe2 to true. But if glibc was built against older kernel headers where __NR_pipe2 does not exist, glibc will have a ENOSYS stub for it. So popen() will always fail as glibc assumes pipe2() works. While this isn't too much of an issue for some arches as they added the functionality to the kernel at the same time, not all arches are that lucky. Since the code already has dedicated names for each feature, delete the defines wiring these three features together and make each one a proper dedicated knob. We've been carrying this in Gentoo since glibc-2.9. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-08-17Split sys/param.h out into common file and sysdeps bits/param.h file.Roland McGrath1-0/+1
2012-08-15Declare __getdirentries in internal dirent.h.Roland McGrath1-0/+4
2012-08-13Add explicit acquire/release semantics to atomic_exchange_and_add.Maxim Kuvyrkov1-2/+16
2012-08-02Get rid of ASM_TYPE_DIRECTIVE{,_PREFIX}.Marek Polacek1-33/+20
2012-07-31Clean up stub accept4 definition.Roland McGrath1-2/+2
2012-07-30Fix lots of bitrot for stub configurations.Roland McGrath1-1/+1
2012-07-25Rename __secure_getenv to secure_getenvFlorian Weimer1-1/+2
2012-07-10Get rid of ASM_GLOBAL_DIRECTIVE.Marek Polacek1-15/+11
2012-06-30Release 2.16glibc-2.16.0Carlos O'Donell1-1/+1
Update version.h and include/features.h for 2.16 release.
2012-06-22Fix invalid memory access in do_lookup_x.Andreas Schwab1-4/+4
[BZ #13579] Do not free l_initfini and allow it to be reused on subsequent dl_open calls for the same library. This fixes the invalid memory access in do_lookup_x when the previously free'd l_initfini was accessed through l_searchlist when a library had been opened for the second time.
2012-06-01Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab1-0/+1
2012-05-31Remove use of INTUSE/INTDEF in misc.Marek Polacek1-12/+3
2012-05-31Remove use of INTDEF/INTUSE in socketAndreas Schwab1-13/+3
2012-05-30Convert WORDSIZE[32|64]/ld entries to abi-variantsH.J. Lu1-12/+0
2012-05-25Add --enable-systemtap configuration to define static probe points.Roland McGrath1-0/+80
2012-05-24Remove use of INTDEF/INTUSE in intlAndreas Schwab2-15/+2
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab3-7/+9
2012-05-24Switch gettimeofday from INTUSE to libc_hidden_proto.Roland McGrath1-7/+2
2012-05-21Fix sunrpc static libraryAndreas Jaeger1-0/+10
* include/shlib-compat.h (libc_sunrpc_symbol): New macro. * sunrpc/svc_simple.c: Use it for registerrpc. * sunrpc/xcrypt.c: Use it for passwd2des.
2012-05-16Update __STDC_ISO_10646__.Joseph Myers1-2/+3
2012-05-10Hurd: hidden_nolink macro for NO_HIDDEN case.Thomas Schwinge1-2/+2
2012-05-10Hurd: dup3Thomas Schwinge1-1/+2
2012-05-10Hurd: accept4Thomas Schwinge1-0/+3
2012-05-10Make sunrpc code usable againAndreas Jaeger1-1/+6
New configure option --enable-obsolete-rpc makes the deprecated RPC headers and functions available at compile time as they were before version 2.14. This option will be removed at some time in the future after the TI-RPC library becomes fully sufficient for the needs of existing applications.
2012-05-10Define __STDC_NO_THREADS__.Joseph Myers1-0/+3
2012-05-08Warn if user requests __FORTIFY_SOURCE but it is disabledRoland Mc Grath1-4/+8
[BZ #13979] * include/features.h: Warn if user requests __FORTIFY_SOURCE checking but the checks are disabled for any reason.
2012-04-29Fix attributes for fortify functions.Marek Polacek1-1/+1
2012-04-17Resolve __vector namespace conflict with Altivec.Petr Baudis1-4/+4
2012-03-22Replace Elf64_XXX with ElfW(XXX) in dl-irel.hH.J. Lu1-0/+5
2012-03-09Move math/math_private.h to sysdeps/generic/math_private.h.Richard Henderson1-1/+0
This reverts commit 60d6f5a6f50d838bcb4240fcc0223cac445c6c83.
2012-03-09Fix sparc build after recent math changes.David S. Miller1-0/+1
* include/math_private.h: New file.
2012-03-03Remove oldish __GNUC_PREREQ.Marek Polacek1-5/+1
2012-02-28Include <dirstream.h> before <dirent/dirent.h>Andreas Schwab1-1/+3
2012-02-26Add first fixes for conformtest for POSIX2008Ulrich Drepper5-0/+10
2012-02-25First steps to get conformtest fully workingUlrich Drepper48-23/+115
2012-02-22Move __STDC_* predefined macros from features.h to stdc-predef.h.Joseph Myers2-8/+40
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert13-39/+26
2012-01-28Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait().Chris Metcalf1-0/+6
2012-01-24Fix gets problemsUlrich Drepper1-0/+22
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper1-0/+7
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08Add checking versions of poll and ppollUlrich Drepper2-0/+2
2012-01-08More fallout from supporting only ELFUlrich Drepper1-49/+25
2012-01-07Remove pre-ISO C supportUlrich Drepper36-267/+264
No more __const.
2012-01-07Remove non-ELF supportUlrich Drepper2-83/+38