aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/gnu
AgeCommit message (Collapse)AuthorFilesLines
2014-05-09Silence a missing-noreturn warning for _Unwind_Resume.Roland McGrath1-5/+7
2014-05-05Fix -Wundef issues in generated errlist.c.Roland McGrath2-2/+4
2014-02-12Combine __USE_BSD and __USE_SVID into __USE_MISC.Joseph Myers1-2/+2
This patch cleans up following the obsoletion of _BSD_SOURCE and _SVID_SOURCE by combining __USE_BSD and __USE_SVID into __USE_MISC. The only non-mechanical part of this patch is the changes to features.h; everything else is simple substitution of __USE_MISC for the old macros. Thus, this patch leaves obviously redundant conditionals such as "defined __USE_MISC || defined __USE_MISC", and does not update #endif comments where they referred to BSD or SVID in words instead of the literal macro name. This is intended to facilitate patch review by separating the less mechanical changes from these purely mechanical changes into a separate patch. (I do intend to integrate all the changes from <https://sourceware.org/ml/libc-alpha/2013-12/msg00226.html>, which I believe includes all the trailing comment updates, in subsequent patches.) Tested x86_64. * include/features.h (__USE_BSD): Remove macro definitions. (__USE_SVID): Likewise. (_BSD_SOURCE): Likewise. (_SVID_SOURCE): Likewise. [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition from definition of _DEFAULT_SOURCE. [_BSD_SOURCE || _SVID_SOURCE]: Change condition to [_DEFAULT_SOURCE]. * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC]. * bits/mman.h [__USE_BSD]: Likewise. * bits/termios.h [__USE_BSD]: Likewise. * bits/waitstatus.h [__USE_BSD]: Likewise. * ctype/ctype.h [__USE_SVID]: Likewise. * dirent/dirent.h [__USE_BSD]: Likewise. * grp/grp.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * inet/netinet/igmp.h [__USE_BSD]: Likewise. * io/fcntl.h [__USE_BSD]: Likewise. * io/ftw.h [__USE_BSD]: Likewise. * io/sys/stat.h [__USE_BSD]: Likewise. * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise. * libio/bits/stdio2.h [__USE_BSD]: Likewise. * libio/stdio.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * math/math.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise. * misc/bits/syslog.h [__USE_BSD]: Likewise. * misc/search.h [__USE_SVID]: Likewise. * misc/sys/mman.h [__USE_BSD]: Likewise. * misc/sys/syslog.h [__USE_BSD]: Likewise. * misc/sys/uio.h [__USE_BSD]: Likewise. * posix/bits/unistd.h [__USE_BSD]: Likewise. * posix/glob.h [__USE_BSD]: Likewise. * posix/regex.h [__USE_BSD]: Likewise. * posix/sys/types.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * posix/sys/utsname.h [__USE_SVID]: Likewise. * posix/sys/wait.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * posix/unistd.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * pwd/pwd.h [__USE_SVID]: Likewise. * resolv/netdb.h [__USE_BSD]: Likewise. * setjmp/setjmp.h [__USE_BSD]: Likewise. * signal/signal.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * socket/sys/socket.h [__USE_BSD]: Likewise. * stdlib/fmtmsg.h [__USE_SVID]: Likewise. * stdlib/stdlib.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * string/bits/string2.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * string/bits/string3.h [__USE_BSD]: Likewise. * string/endian.h [__USE_BSD]: Likewise. * string/string.h [__USE_SVID]: Likewise. [__USE_BSD]: Likewise. * string/strings.h [__USE_BSD]: Likewise. * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise. * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise. * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise. * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]: Likewise. * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise. * sysvipc/sys/ipc.h [__USE_SVID]: Likewise. * termios/termios.h [__USE_BSD]: Likewise. * time/sys/time.h [__USE_BSD]: Likewise. * time/time.h [__USE_BSD]: Likewise. [__USE_SVID]: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_BSD]: Change condition to [__USE_MISC].
2014-02-10Use glibc_likely instead __builtin_expect.Ondřej Bílka1-2/+2
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae21-21/+21
2013-12-17Remove __FAVOR_BSD.Joseph Myers2-75/+78
2013-11-26Use __glibc_reserved instead __unused.Ondřej Bílka3-3/+3
2013-10-30rename configure.in to configure.acMike Frysinger2-1/+1
Autoconf has been deprecating configure.in for quite a long time. Rename all our configure.in and preconfigure.in files to .ac. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-04Remove --disable-versioning.Joseph Myers1-1/+1
2013-08-29Support ELFOSABI_GNU on all GNU systems.Thomas Schwinge1-0/+48
2013-06-08Avoid trailing whitespace in sysdeps/gnu/errlist.c.Joseph Myers2-10/+10
2013-05-30 [BZ #14256]Jeff Law1-5/+6
* manual/errno.texi (ESTALE): Update to account for more than just NFS file systems. * sysdeps/gnu/errlist.c: Regenerated.
2013-05-03Sync with Linux 3.9Andreas Jaeger1-0/+1
* sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from Linux 3.9. * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. (PF_MAX): Adjust for VSOCK change.
2013-03-19s390x: Move rtld link to /libAndreas Schwab2-4/+14
2013-03-15Reverting wrong commit.Adhemerval Zanella1-0/+42
Restore sysdeps/gnu/configure wrongly modified on ef26eece6331a1f6d959818e37c438cc7ce68e53.
2013-03-15PowerPC: gettimeofday optimization by using IFUNCAdhemerval Zanella1-42/+0
2013-02-13Remove __ptrvalue, __bounded and __unbounded.Joseph Myers1-4/+4
2013-01-09Sync netinet/tcp.h with upstream Linux kernel.David S. Miller1-14/+66
[BZ# 15003] * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS, TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT, TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS, TCP_FASTOPEN): Define. (tcp_repair_opt): New structure. (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New enum values. (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE, TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN, TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define. (tcp_cookie_transactions): New structure.
2013-01-02Fix copyright notice corruption from update-copyright bug.Joseph Myers1-1/+1
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers20-21/+20
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers1-2/+1
2012-12-28Add new defines from Linux 3.7 to <netinet/tcp.h>Andreas Jaeger1-1/+3
2012-09-28Move _G_config.h with Linuxism to linux/ directory.Roland McGrath1-65/+0
2012-09-25Remove various _G_*_t type names.Joseph Myers1-7/+0
2012-09-21Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.Joseph Myers1-1/+0
2012-09-20Remove _G_NEED_STDARG_H.Joseph Myers1-1/+0
2012-09-17Remove _G_HAVE_IO_GETLINE_INFO.Joseph Myers1-1/+0
2012-09-13Remove _G_HAVE_PRINTF_FP.Joseph Myers1-1/+0
2012-09-11Remove unused typedefs and macros from _G_config.h.Joseph Myers1-10/+0
2012-09-10Remove _G_USING_THUNKS.Joseph Myers1-3/+0
2012-09-10Remove libio C++ vtable definitions.Joseph Myers1-4/+0
2012-06-22Respect --localstatedir for /var/db parent directory.Roland McGrath2-2/+14
2012-06-01Remove use of INTDEF/INTUSE in stdio-commonAndreas Schwab1-3/+2
2012-05-21Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32H.J. Lu2-6/+5
2012-05-10Hurd: Support --prefix=/usr special-casing for all GNU systems.Thomas Schwinge2-0/+72
2012-04-26move libgcc_s soname definition to shlib-versionsSiddhesh Poyarekar1-2/+2
2012-04-19Fix computation of inflated errlist sizeAndreas Schwab1-2/+2
2012-03-08Clean up glibc manual references to "GNU system" (bug 6911).Joseph Myers1-10/+10
2012-03-022012-03-01 Chris Demetriou <cgd@google.com>Chris Demetriou1-1/+4
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals * to have predictable order.
2012-02-28Regenerate sysdeps/gnu/errlist.c for errno.texi changes.Joseph Myers1-2/+2
2012-02-19Add support for Linux error EHWPOISONAndreas Schwab1-0/+8
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert20-60/+40
2012-02-09Remove _G_HAVE_SYS_CDEFS.Marek Polacek1-1/+0
2012-02-07Remove _G_ARGS macros.Marek Polacek1-3/+0
2012-01-26Remove __STDC__ conditionals from installed headers.Joseph Myers1-5/+1
2012-01-07Remove pre-ISO C supportUlrich Drepper2-12/+11
No more __const.
2011-09-08Remove support for automatic cvs check-insUlrich Drepper1-5/+2
CVS use for glibc is long gone.
2010-04-05Move unwind-resume code from NPTL to sysdeps/gnu.Roland McGrath3-1/+80
2009-11-14Add support for new Linux error ERFKILL.Ulrich Drepper1-0/+8
2009-10-30Add a few defines to <netinet/udp.h>.Ulrich Drepper1-1/+11