Roland McGrath
55d4d550c8
Silence a missing-noreturn warning for _Unwind_Resume.
2014-05-09 10:06:20 -07:00
Roland McGrath
eb1ed03daf
Fix -Wundef issues in generated errlist.c.
2014-05-05 13:06:18 -07:00
Joseph Myers
498afc54df
Combine __USE_BSD and __USE_SVID into __USE_MISC.
...
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-12 23:41:01 +00:00
Ondřej Bílka
a1ffb40e32
Use glibc_likely instead __builtin_expect.
2014-02-10 15:07:12 +01:00
Allan McRae
d4697bc93d
Update copyright notices with scripts/update-copyrights
2014-01-01 22:00:23 +10:00
Joseph Myers
7011c2622f
Remove __FAVOR_BSD.
2013-12-17 18:05:57 +00:00
Ondřej Bílka
d1d9eaf478
Use __glibc_reserved instead __unused.
2013-11-26 12:32:28 +01:00
Mike Frysinger
cb8a6dbd17
rename configure.in to configure.ac
...
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-10-30 17:32:08 +10:00
Joseph Myers
3f2e46a494
Remove --disable-versioning.
2013-09-04 15:25:42 +00:00
Thomas Schwinge
d821f07c9e
Support ELFOSABI_GNU on all GNU systems.
2013-08-29 12:22:18 +02:00
Joseph Myers
4902d2c3f7
Avoid trailing whitespace in sysdeps/gnu/errlist.c.
2013-06-08 14:55:32 +00:00
Jeff Law
96945714ec
[BZ #14256 ]
...
* manual/errno.texi (ESTALE): Update to account for more than
just NFS file systems.
* sysdeps/gnu/errlist.c: Regenerated.
2013-05-30 05:51:22 -06:00
Andreas Jaeger
164fd39d05
Sync with Linux 3.9
...
* 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-05-03 20:52:00 +02:00
Andreas Schwab
446737706c
s390x: Move rtld link to /lib
2013-03-19 12:08:35 +01:00
Adhemerval Zanella
83a6b66ae9
Reverting wrong commit.
...
Restore sysdeps/gnu/configure wrongly modified on
ef26eece63
.
2013-03-15 14:40:37 -03:00
Adhemerval Zanella
ef26eece63
PowerPC: gettimeofday optimization by using IFUNC
2013-03-15 10:58:56 -03:00
Joseph Myers
70d9946a44
Remove __ptrvalue, __bounded and __unbounded.
2013-02-13 23:30:40 +00:00
David S. Miller
e83d72988d
Sync netinet/tcp.h with upstream Linux kernel.
...
[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-09 23:04:32 -08:00
Joseph Myers
0e2f956295
Fix copyright notice corruption from update-copyright bug.
2013-01-02 19:28:45 +00:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
Andreas Jaeger
4c4febf544
Add new defines from Linux 3.7 to <netinet/tcp.h>
2012-12-28 12:59:33 +01:00
Roland McGrath
ac51c94918
Move _G_config.h with Linuxism to linux/ directory.
2012-09-28 15:45:07 -07:00
Joseph Myers
203e56032f
Remove various _G_*_t type names.
2012-09-25 12:37:37 +00:00
Joseph Myers
431531094f
Remove _G_HAVE_SYS_WAIT and _IO_HAVE_SYS_WAIT.
2012-09-21 10:02:03 +00:00
Joseph Myers
8a26625d21
Remove _G_NEED_STDARG_H.
2012-09-20 14:41:02 +00:00
Joseph Myers
b7aaa4d6d2
Remove _G_HAVE_IO_GETLINE_INFO.
2012-09-17 11:43:06 +00:00
Joseph Myers
ad35fc005b
Remove _G_HAVE_PRINTF_FP.
2012-09-13 16:13:09 +00:00
Joseph Myers
8bbfd2f14a
Remove unused typedefs and macros from _G_config.h.
2012-09-11 20:32:13 +00:00
Joseph Myers
28361c5ee4
Remove _G_USING_THUNKS.
2012-09-10 22:05:49 +00:00
Joseph Myers
0e886ef96e
Remove libio C++ vtable definitions.
2012-09-10 21:22:42 +00:00
Roland McGrath
4248b1b1cf
Respect --localstatedir for /var/db parent directory.
2012-06-22 10:11:07 -07:00
Andreas Schwab
5be8418cb0
Remove use of INTDEF/INTUSE in stdio-common
2012-06-01 01:25:41 +02:00
H.J. Lu
20c07380db
Rename __WORDSIZE_COMPAT32 to __WORDSIZE_TIME64_COMPAT32
2012-05-21 13:39:55 -07:00
Thomas Schwinge
674cdbc7a3
Hurd: Support --prefix=/usr special-casing for all GNU systems.
2012-05-10 15:57:28 -07:00
Siddhesh Poyarekar
6e236b9276
move libgcc_s soname definition to shlib-versions
2012-04-26 09:19:54 +05:30
Andreas Schwab
ff3d51ec58
Fix computation of inflated errlist size
2012-04-19 19:05:19 +02:00
Joseph Myers
a7a93d5086
Clean up glibc manual references to "GNU system" (bug 6911).
2012-03-08 01:27:38 +00:00
Chris Demetriou
b1eeb65d49
2012-03-01 Chris Demetriou <cgd@google.com>
...
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals
* to
have predictable order.
2012-03-02 09:32:45 +01:00
Joseph Myers
d40c5d54cb
Regenerate sysdeps/gnu/errlist.c for errno.texi changes.
2012-02-28 16:37:58 +00:00
Andreas Schwab
7638c0fda5
Add support for Linux error EHWPOISON
2012-02-19 18:27:02 +01:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Marek Polacek
6b73181ac5
Remove _G_HAVE_SYS_CDEFS.
2012-02-09 17:09:55 +01:00
Marek Polacek
a22f12b477
Remove _G_ARGS macros.
2012-02-07 22:40:49 +01:00
Joseph Myers
7071ad79db
Remove __STDC__ conditionals from installed headers.
2012-01-26 20:49:22 +00:00
Ulrich Drepper
a784e50247
Remove pre-ISO C support
...
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
92963737c4
Remove support for automatic cvs check-ins
...
CVS use for glibc is long gone.
2011-09-08 23:19:04 -04:00
Roland McGrath
f571a994ce
Move unwind-resume code from NPTL to sysdeps/gnu.
2010-04-05 20:07:39 -07:00
Ulrich Drepper
0079dd2382
Add support for new Linux error ERFKILL.
2009-11-14 10:20:25 -08:00
Ulrich Drepper
0d2f180dd0
Add a few defines to <netinet/udp.h>.
2009-10-30 00:27:27 -07:00