diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-05-20 23:14:07 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-05-20 23:14:07 +0200 |
commit | c59fc9e953db9723b34eebe96c3ad2cef893c4bb (patch) | |
tree | bd9c6dd8e8343d17c80a1a5d6762e1f99f3367b7 /include | |
parent | 654611b4d68129954697bb94d49c671e164ec938 (diff) | |
parent | 784b06732b24f3079e88e5be4284b645aa715512 (diff) |
Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_Whittaker
Conflicts:
configure
configure.in
hurd/ctty-input.c
hurd/ctty-output.c
hurd/hurd/signal.h
hurd/hurdexec.c
hurd/hurdmsg.c
hurd/hurdsig.c
hurd/hurdsocket.h
socket/recvmmsg.c
socket/sendmmsg.c
sysdeps/mach/hurd/i386/sigreturn.c
sysdeps/mach/hurd/i386/trampoline.c
sysdeps/mach/hurd/pipe.c
sysdeps/mach/hurd/recvmsg.c
sysdeps/mach/hurd/sendmsg.c
sysdeps/mach/hurd/sigaction.c
sysdeps/mach/hurd/sigpending.c
sysdeps/mach/hurd/sigprocmask.c
sysdeps/mach/hurd/sigsuspend.c
sysdeps/mach/hurd/sigwait.c
sysdeps/mach/hurd/socketpair.c
sysdeps/mach/hurd/tls.h
sysdeps/unix/sysv/linux/recvmmsg.c
sysdeps/unix/sysv/linux/sendmmsg.c
Diffstat (limited to 'include')
-rw-r--r-- | include/atomic.h | 2 | ||||
-rw-r--r-- | include/bits/xopen_lim.h | 2 | ||||
-rw-r--r-- | include/caller.h | 2 | ||||
-rw-r--r-- | include/complex.h | 12 | ||||
-rw-r--r-- | include/elf.h | 6 | ||||
-rw-r--r-- | include/features.h | 15 | ||||
-rw-r--r-- | include/fenv.h | 1 | ||||
-rw-r--r-- | include/gnu-versions.h | 2 | ||||
-rw-r--r-- | include/gnu/libc-version.h | 2 | ||||
-rw-r--r-- | include/ifunc-impl-list.h | 2 | ||||
-rw-r--r-- | include/inline-hashtab.h | 2 | ||||
-rw-r--r-- | include/libc-internal.h | 16 | ||||
-rw-r--r-- | include/libc-symbols.h | 2 | ||||
-rw-r--r-- | include/limits.h | 3 | ||||
-rw-r--r-- | include/link.h | 7 | ||||
-rw-r--r-- | include/rounding-mode.h | 2 | ||||
-rw-r--r-- | include/rpc/svc.h | 2 | ||||
-rw-r--r-- | include/set-hooks.h | 2 | ||||
-rw-r--r-- | include/shlib-compat.h | 2 | ||||
-rw-r--r-- | include/stap-probe.h | 2 | ||||
-rw-r--r-- | include/stdc-predef.h | 2 | ||||
-rw-r--r-- | include/stdlib.h | 1 | ||||
-rw-r--r-- | include/stub-tag.h | 4 | ||||
-rw-r--r-- | include/values.h | 2 |
24 files changed, 58 insertions, 37 deletions
diff --git a/include/atomic.h b/include/atomic.h index bc20772f2b..92dbcc5dad 100644 --- a/include/atomic.h +++ b/include/atomic.h @@ -1,5 +1,5 @@ /* Internal macros for atomic operations for GNU C Library. - Copyright (C) 2002-2006, 2009 Free Software Foundation, Inc. + Copyright (C) 2002-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. diff --git a/include/bits/xopen_lim.h b/include/bits/xopen_lim.h index 0d56f8518d..6d85182e21 100644 --- a/include/bits/xopen_lim.h +++ b/include/bits/xopen_lim.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997, 1999, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1996-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/caller.h b/include/caller.h index 1cbed1d5d6..8e2bb80b3d 100644 --- a/include/caller.h +++ b/include/caller.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2004 Free Software Foundation, Inc. +/* Copyright (C) 2004-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/complex.h b/include/complex.h index acf8cf14ba..e173f1f6a3 100644 --- a/include/complex.h +++ b/include/complex.h @@ -1 +1,11 @@ -#include <math/complex.h> +#ifndef _COMPLEX_H +# include <math/complex.h> + +/* Return the complex inverse hyperbolic sine of finite nonzero Z, + with the imaginary part of the result subtracted from pi/2 if ADJ + is nonzero. */ +extern complex float __kernel_casinhf (complex float z, int adj); +extern complex double __kernel_casinh (complex double z, int adj); +extern complex long double __kernel_casinhl (complex long double z, int adj); + +#endif diff --git a/include/elf.h b/include/elf.h index cdedd8598e..60658c617c 100644 --- a/include/elf.h +++ b/include/elf.h @@ -3,4 +3,10 @@ /* Some information which is not meant for the public and therefore not in <elf.h>. */ # include <dl-dtprocnum.h> +# ifdef DT_1_SUPPORTED_MASK +# error DT_1_SUPPORTED_MASK is defined! +# endif +# define DT_1_SUPPORTED_MASK \ + (DF_1_NOW | DF_1_NODELETE | DF_1_INITFIRST | DF_1_NOOPEN \ + | DF_1_ORIGIN | DF_1_NODEFLIB) #endif diff --git a/include/features.h b/include/features.h index c69fc2da24..ca83da05eb 100644 --- a/include/features.h +++ b/include/features.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2012 Free Software Foundation, Inc. +/* Copyright (C) 1991-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -129,9 +129,6 @@ # define __KERNEL_STRICT_NAMES #endif -/* Always use ISO C things. */ -#define __USE_ANSI 1 - /* Convenience macros to test the versions of glibc and gcc. Use them like this: #if __GNUC_PREREQ (2,8) @@ -356,19 +353,11 @@ /* Major and minor version number of the GNU C library package. Use these macros to test for features in specific releases. */ #define __GLIBC__ 2 -#define __GLIBC_MINOR__ 16 +#define __GLIBC_MINOR__ 17 #define __GLIBC_PREREQ(maj, min) \ ((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) -/* Decide whether a compiler supports the long long datatypes. */ -#if defined __GNUC__ \ - || (defined __PGI && defined __i386__ ) \ - || (defined __INTEL_COMPILER && (defined __i386__ || defined __ia64__)) \ - || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) -# define __GLIBC_HAVE_LONG_LONG 1 -#endif - /* This is here only because every header file already includes this one. */ #ifndef __ASSEMBLER__ # ifndef _SYS_CDEFS_H diff --git a/include/fenv.h b/include/fenv.h index 67ef385bbf..ed6d1394ba 100644 --- a/include/fenv.h +++ b/include/fenv.h @@ -20,6 +20,7 @@ libm_hidden_proto (fesetround) libm_hidden_proto (feholdexcept) libm_hidden_proto (feupdateenv) libm_hidden_proto (fetestexcept) +libm_hidden_proto (feclearexcept) #endif #endif diff --git a/include/gnu-versions.h b/include/gnu-versions.h index f67764c7b8..928c889736 100644 --- a/include/gnu-versions.h +++ b/include/gnu-versions.h @@ -1,5 +1,5 @@ /* Header with interface version macros for library pieces copied elsewhere. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/gnu/libc-version.h b/include/gnu/libc-version.h index a70f702fba..6d55f88ee4 100644 --- a/include/gnu/libc-version.h +++ b/include/gnu/libc-version.h @@ -1,5 +1,5 @@ /* Interface to GNU libc specific functions for version information. - Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. + Copyright (C) 1998-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/ifunc-impl-list.h b/include/ifunc-impl-list.h index 36444d3766..652a07a09a 100644 --- a/include/ifunc-impl-list.h +++ b/include/ifunc-impl-list.h @@ -1,5 +1,5 @@ /* Internal header file for __libc_supported_implementations. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright (C) 2012-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/inline-hashtab.h b/include/inline-hashtab.h index df26dedc92..863b377b5c 100644 --- a/include/inline-hashtab.h +++ b/include/inline-hashtab.h @@ -1,5 +1,5 @@ /* Fully-inline hash table, used mainly for managing TLS descriptors. - Copyright (C) 1999-2003, 2005, 2008, 2009 Free Software Foundation, Inc. + Copyright (C) 1999-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Alexandre Oliva <aoliva@redhat.com> diff --git a/include/libc-internal.h b/include/libc-internal.h index e5fd5337ab..0c0fa024a7 100644 --- a/include/libc-internal.h +++ b/include/libc-internal.h @@ -34,4 +34,20 @@ extern void __libc_thread_freeres (void); /* Define and initialize `__progname' et. al. */ extern void __init_misc (int, char **, char **); +/* 1 if 'type' is a pointer type, 0 otherwise. */ +# define __pointer_type(type) (__builtin_classify_type ((type) 0) == 5) + +/* __intptr_t if P is true, or T if P is false. */ +# define __integer_if_pointer_type_sub(T, P) \ + __typeof__ (*(0 ? (__typeof__ (0 ? (T *) 0 : (void *) (P))) 0 \ + : (__typeof__ (0 ? (__intptr_t *) 0 : (void *) (!(P)))) 0)) + +/* __intptr_t if EXPR has a pointer type, or the type of EXPR otherwise. */ +# define __integer_if_pointer_type(expr) \ + __integer_if_pointer_type_sub(__typeof__ ((__typeof__ (expr)) 0), \ + __pointer_type (__typeof__ (expr))) + +/* Cast an integer or a pointer VAL to integer with proper type. */ +# define cast_to_integer(val) ((__integer_if_pointer_type (val)) (val)) + #endif /* _LIBC_INTERNAL */ diff --git a/include/libc-symbols.h b/include/libc-symbols.h index a626d593db..0608320afc 100644 --- a/include/libc-symbols.h +++ b/include/libc-symbols.h @@ -1,6 +1,6 @@ /* Support macros for making weak and strong aliases for symbols, and for using symbol sets and linker warnings with GNU ld. - Copyright (C) 1995-2012 Free Software Foundation, Inc. + Copyright (C) 1995-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/limits.h b/include/limits.h index c274dd4928..816fb682ed 100644 --- a/include/limits.h +++ b/include/limits.h @@ -1,5 +1,4 @@ -/* Copyright (C) 1991, 1992, 1996, 1997, 1998, 1999, 2000, 2005 - Free Software Foundation, Inc. +/* Copyright (C) 1991-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/link.h b/include/link.h index f0c8ad521f..230e95d6c8 100644 --- a/include/link.h +++ b/include/link.h @@ -1,6 +1,6 @@ /* Data structure for communication from the run-time dynamic linker for loaded ELF shared objects. - Copyright (C) 1995-2012 Free Software Foundation, Inc. + Copyright (C) 1995-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -87,7 +87,8 @@ struct link_map /* These first few members are part of the protocol with the debugger. This is the same format used in SVR4. */ - ElfW(Addr) l_addr; /* Base address shared object is loaded at. */ + ElfW(Addr) l_addr; /* Difference between the address in the ELF + file and the addresses in memory. */ char *l_name; /* Absolute file name object was found in. */ ElfW(Dyn) *l_ld; /* Dynamic section of the shared object. */ struct link_map *l_next, *l_prev; /* Chain of loaded objects. */ @@ -289,7 +290,7 @@ struct link_map #endif #ifndef FORCED_DYNAMIC_TLS_OFFSET # if NO_TLS_OFFSET == 0 -# define FORCED_DYNAMIC_TLS_OFFSET 1 +# define FORCED_DYNAMIC_TLS_OFFSET -1 # elif NO_TLS_OFFSET == -1 # define FORCED_DYNAMIC_TLS_OFFSET -2 # else diff --git a/include/rounding-mode.h b/include/rounding-mode.h index bde41e7b1e..2f1ab55a80 100644 --- a/include/rounding-mode.h +++ b/include/rounding-mode.h @@ -1,5 +1,5 @@ /* Handle floating-point rounding mode within libc. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright (C) 2012-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/rpc/svc.h b/include/rpc/svc.h index 141971ecf5..61a8ab3503 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -35,4 +35,6 @@ libc_hidden_proto (svcunixfd_create) libc_hidden_proto (svc_getreq_common) libc_hidden_proto (svc_getreq_poll) +extern void __svc_accept_failed (void) attribute_hidden; + #endif diff --git a/include/set-hooks.h b/include/set-hooks.h index 74c03acb0d..5c751ee372 100644 --- a/include/set-hooks.h +++ b/include/set-hooks.h @@ -1,5 +1,5 @@ /* Macros for using symbol sets for running lists of functions. - Copyright (C) 1994, 1995, 1997, 2000, 2003 Free Software Foundation, Inc. + Copyright (C) 1994-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/shlib-compat.h b/include/shlib-compat.h index 912f5423e5..43ef084d7d 100644 --- a/include/shlib-compat.h +++ b/include/shlib-compat.h @@ -1,5 +1,5 @@ /* Macros for managing ABI-compatibility definitions using ELF symbol versions. - Copyright (C) 2000, 2002, 2006, 2012 Free Software Foundation, Inc. + Copyright (C) 2000-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/stap-probe.h b/include/stap-probe.h index 1051ad1980..5f725562cb 100644 --- a/include/stap-probe.h +++ b/include/stap-probe.h @@ -1,5 +1,5 @@ /* Macros for defining Systemtap <sys/sdt.h> static probe points. - Copyright (C) 2012 Free Software Foundation, Inc. + Copyright (C) 2012-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/stdc-predef.h b/include/stdc-predef.h index 788669f1fe..b9c9967d9d 100644 --- a/include/stdc-predef.h +++ b/include/stdc-predef.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-2012 Free Software Foundation, Inc. +/* Copyright (C) 1991-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/include/stdlib.h b/include/stdlib.h index d45b2f02de..2e536641b9 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -77,6 +77,7 @@ extern struct drand48_data __libc_drand48_data attribute_hidden; extern int __setenv (const char *__name, const char *__value, int __replace); extern int __unsetenv (const char *__name); extern int __clearenv (void); +extern char *__mktemp (char *__template) __THROW __nonnull ((1)); extern char *__canonicalize_file_name (const char *__name); extern char *__realpath (const char *__name, char *__resolved); extern int __ptsname_r (int __fd, char *__buf, size_t __buflen); diff --git a/include/stub-tag.h b/include/stub-tag.h deleted file mode 100644 index d4d10c8341..0000000000 --- a/include/stub-tag.h +++ /dev/null @@ -1,4 +0,0 @@ -/* This header is included into every file that declares a stub function. - It is obsolete now, but hasn't died to avoid removing all those - #include's. Every such file should use the `stub_warning' macro for - each of its functions, and that is sufficient. */ diff --git a/include/values.h b/include/values.h index 601bd34a20..d31cf72ae1 100644 --- a/include/values.h +++ b/include/values.h @@ -1,5 +1,5 @@ /* Old compatibility names for <limits.h> and <float.h> constants. - Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + Copyright (C) 1995-2013 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or |