Use -Werror=undef for assembly code.
[glibc.git] / ChangeLog
blobce62001b06905e9a03af1d87d5a1540ab9a7e364
1 2015-02-12  Roland McGrath  <roland@hack.frob.com>
3         * Makeconfig (ASFLAGS): Add -Werror=undef.
4         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
6         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8         * Makeconfig (after-link): New variable.
9         (+link-pie, +link-pie-tests): Use it.
10         (+link-static, +link-static-tests): Likewise.
11         (+link, +link-tests): Likewise.
12         * Makerules (build-module, build-module-asneeded): Likewise.
13         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
14         Likewise.
15         * elf/Makefile ($(objpfx)ld.so): Likewise.
17 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19         [BZ #17965]
20         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
21         both struct timeval and struct timespec.
23 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25         [BZ #16560]
26         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27         and redefine.
28         (__ieee754_exp2l): Do not multiply small fractional parts by
29         M_LN2l.
30         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
31         small argument.
32         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
35         * math/auto-libm-test-in: Add more tests of exp2.
36         * math/auto-libm-test-out: Regenerated.
38 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
41         unaligned path.
43 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
46         little endian.
48 2015-02-12  Andreas Schwab  <schwab@suse.de>
50         [BZ #15790]
51         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
52         Filter out elision flags from value returned in kind.
53         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
54         * nptl/tst-pthread-mutexattr.c: New file.
56 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
59         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
60         into gnu-gnu, and update comment to refer to abi-tags.
62 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
64         [BZ #15467]
65         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
66         (__sincos): Set errno to EDOM for infinite argument.
67         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
68         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
69         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
70         (__sincosl): Set errno to EDOM for infinite argument.
71         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
72         (__sincosl): Set errno to EDOM for infinite argument.
73         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
74         (__sincosl): Set errno to EDOM for infinite argument.
75         * math/libm-test.inc (sincos_test_data): Test errno setting.
77 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
79         * string/strxfrm_l.c: Remove #define STRCMP.
80         * string/strcoll_l.c: Remove #define STRLEN.
81         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
82         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
84 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
86         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
87         * sysdeps/mips/mips32/sfp-machine.h: ... here.
88         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
89         * sysdeps/mips/mips64/Makefile: ... here.
90         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
91         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
92         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
93         * sysdeps/mips/mips64/sfp-machine.h: ... here.
94         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
95         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
96         * sysdeps/mips/mips64/n64/Implies: Likewise.
98 2015-02-10  Roland McGrath  <roland@hack.frob.com>
100         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
101         <sys/time.h>, <string.h>, and <errno.h>.
102         (dest_offset, dest_address, value, zero): Remove unused variables.
103         (ldouble): Remove typedef.
104         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
105         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
106         1).  Fix code style.
107         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
108         (check): Function removed.
109         (CHECK): New macro.
110         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
111         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
112         Don't call set_sigaction_FP and remove_sigaction_FP here.
113         (ldouble_test): Just use 'long double' as macro argument, no need for
114         the 'ldouble' typedef.
115         (do_test): Set up SIGFPE handler at start, using plain signal rather
116         than sigaction.  Fix code style.
118 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
120         [BZ #17949]
121         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
122         jump label.
124 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
126         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
127         * sysdeps/powerpc/powerpc32/configure: Regenerated.
129         * sysdeps/powerpc/configure.ac: Remove file.
130         * sysdeps/powerpc/configure: Likewise.
132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
133         [sysdep_routines]: Remove wordcopy-power6 object.
134         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
135         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
136         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
137         (__memmove_ppc32): Likewise.
138         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
139         file.
140         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
141         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
142         Remove preprocessor.
144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
145         [sysdep_routines]: Remove wide chars objects.
146         [wcsmbs]: New rule for wide char objects.
148         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
149         Remove wordcopy-power6 obejct.
150         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
151         Use local call for wordcopy and memcpy symbols.
152         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
154         implementation for loader.
155         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
157         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
158         Remove wordcopy-power7 object.
159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
161         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
162         (_wordcopy_fwd_dest_aligned): Likewise.
163         (_wordcopy_bwd_aligned): Likewise.
164         (_wordcopy_bwd_dest_aligned): Likewise.
166         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
167         Rewrite to call __memmove_ppc instead of include default
168         implementation.
170         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
171         Remove wide chars objects.
172         [wcsmbs]: New rule for wide char objects.
174 2015-02-09  Andreas Schwab  <schwab@suse.de>
176         [BZ #17912]
177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
178         in terms of __O_DIRECTORY.
180 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
182         * time/getdate.c: Include <stdbool.h>.
183         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
184         call PTR_MANGLE.
185         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
186         PTR_DEMANGLE.
188 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
190         Add ersatz _Static_assert on older C hosts
191         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
192         pre-C11 C platform that is not known to support _Static_assert.
194 2015-02-07  Richard Braun  <rbraun@sceen.net>
196         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
197         sigstate.
198         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
200 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
202         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
203         priority against unexistent AIO_PRIO_DELTA_MAX.
204         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
205         instead of int.
206         * misc/fchflags.c (fchflags): Likewise.
207         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
208         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
209         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
210         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
211         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
212         Declare macros.
213         [__USE_MISC] (chflags, fchflags): Declare functions.
214         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
215         EINVAL when nfds is greater than FD_SETSIZE.
216         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
217         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
218         45.
219         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
220         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
221         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
222         MACH_RCV_TIMED_OUT.
223         * hurd/hurd/signal.h (_hurd_self_sigstate,
224         _hurd_critical_section_lock, _hurd_critical_section_unlock):
225         Explicit casts from void *.
226         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
227         * abi-tags: Rename gnu-gnu os into gnu.
229         [BZ #4719]
230         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
231         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
232         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
233         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
234         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
235         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
237         [BZ #17944]
238         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
239         duplicates ADDR->sun_path with sockaddr LEN limitation.
240         * sysdeps/mach/hurd/connect.c: Include <string.h>
241         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
242         * sysdeps/mach/hurd/sendmsg.c: Likewise.
243         * sysdeps/mach/hurd/sendto.c: Likewise.
244         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
245         implementing it by hand.
247 2015-02-06  Roland McGrath  <roland@hack.frob.com>
249         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
250         Use sfi_breg on ldr.
251         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
252         Likewise.
254         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
255         it's defined.
256         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
257         Test SIGSETXID only if it's defined.
259         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
261         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
262         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
264         * nptl/tst-align2.c: Moved ...
265         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
266         * nptl/Makefile (tests): Remove tst-align2.
267         * sysdeps/unix/sysv/linux/Makefile
268         [$(subdir) = nptl] (tests): Add tst-align-clone.
269         * nptl/tst-getpid1.c: Moved ...
270         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
271         * nptl/tst-getpid2.c: Moved ...
272         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
273         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
274         * sysdeps/unix/sysv/linux/Makefile
275         [$(subdir) = nptl] (tests): ... here.
276         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
277         * sysdeps/unix/sysv/linux/Makefile
278         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
280         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
281         Drop trailing \n from perror argument.  Use return rather than exit.
283         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
284         on [SA_SIGINFO].
285         * nptl/tst-cancel21.c (do_test): Likewise.
286         * debug/tst-backtrace6.c: Include <signal.h> first thing.
287         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
288         [!SA_SIGINFO]: Make it a stub test.
290         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
291         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
293         * posix/tst-getlogin.c: Move to ...
294         * login/tst-getlogin.c: ... here.
295         * posix/Makefile (tests): Move tst-getlogin to ...
296         * login/Makefile (tests): ... here.
298         * libio/tst-atime.c (do_test): Move local variables SV and E
299         inside [ST_NOATIME] conditional.
301         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
303         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
305         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
306         (wait_code): New function replaces macro.
307         Call nanosleep rather than syscall.
309         * nptl/pt-system.c: Rewritten.  Put everything under
310         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
311         Use IFUNC to redirect when possible.
313         * nptl/pt-longjmp.c: Rewritten.  Put everything under
314         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
315         Use IFUNC to redirect when possible.
317         * nptl/pt-fork.c: Rewritten.  Put everything under
318         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
319         Use IFUNC to redirect when possible.
320         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
322         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
323         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
324         unconditionally nowadays.  This included the only reference to
325         __vdso_clock_gettime that appears outside libc proper.
326         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
327         Remove version set (containing only __vdso_clock_gettime).
328         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
329         Add attribute_hidden.
330         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
331         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
332         libc_hidden_data_def.
333         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
334         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
336         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
337         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
338         setrpcent, and getrpcport to ...
339         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
340         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
341         getrpcbynumber_r, and getrpcent_r to ...
342         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
343         * inet/getrpcbyname.c: Moved ...
344         * sunrpc/getrpcbyname.c: ... here.
345         * inet/getrpcbyname_r.c: Moved ...
346         * sunrpc/getrpcbyname_r.c: ... here.
347         * inet/getrpcbynumber.c: Moved ...
348         * sunrpc/getrpcbynumber.c: ... here.
349         * inet/getrpcbynumber_r.c: Moved ...
350         * sunrpc/getrpcbynumber_r.c: ... here.
351         * inet/getrpcent.c: Moved ...
352         * sunrpc/getrpcent.c: ... here.
353         * inet/getrpcent_r.c: Moved ...
354         * sunrpc/getrpcent_r.c: ... here.
355         * inet/Makefile (routines): Move those to ...
356         * sunrpc/Makefile (routines): ... here.
357         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
358         the $(subdirs) list.
359         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
360         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
361         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
362         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
364         * elf/Makefile (routines): Include $(all-dl-routines), not just
365         $(dl-routines).
366         (rtld-routines): Likewise.  Use = rather than :=.
367         * sysdeps/aarch64/Makefile [$(subdir) = elf]
368         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
369         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
370         * sysdeps/arm/Makefile: Likewise.
371         * sysdeps/i386/Makefile: Likewise.
372         * sysdeps/x86_64/Makefile: Likewise.
373         * sysdeps/hppa/Makefile [$(subdir) = elf]
374         (sysdep_routines, sysdep-rtld-routines): Don't add
375         $(sysdep-dl-routines) to these.
376         * sysdeps/ia64/Makefile: Likewise.
377         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
378         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
379         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
380         Don't add dl-static to these; sysdep-dl-routines alone is enough.
381         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
382         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
384         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
385         * sysdeps/powerpc/Makefile [$(subdir) = elf]
386         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
387         these; sysdep-dl-routines alone is enough.
389 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
391         [BZ #17932]
392         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
393         where multiplication results in zero and third argument is finite
394         and nonzero.
395         * math/auto-libm-test-in: Add more tests of fma.
396         * math/auto-libm-test-out: Regenerated.
398         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
399         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
400         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
401         (_FP_CMP_EQ): Likewise.
402         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
404         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
405         extra argument CHECK_NAN.  Redefine as wrapper around
406         _FP_EXTEND_CNAN.
408 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
410         * version.h (RELEASE): Set to "stable".
411         (VERSION): Set to "2.21"
412         * include/features.h (__GLIBC_MINOR__): Set to 21.
414         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
416 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
417             Paul Eggert  <eggert@cs.ucla.edu>
419         [BZ #16618]
420         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
421         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
422         size in bytes. Store needed elements in wpmax. Use needed size
423         in bytes for extend_alloca.
425 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
427         * manual/install.texi: Latest tested versions are GCC 4.9.2,
428         binutls 2.25, and texinfo 5.2.
429         * INSTALL: Regenerate.
430         * sysdeps/nios2/configure: Regenerate.
431         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
432         * manual/contrib.texi: Update.
433         * po/be.po: Update.
434         * po/bg.po: Update.
435         * po/ca.po: Update.
436         * po/cs.po: Update.
437         * po/da.po: Update.
438         * po/de.po: Update.
439         * po/el.po: Update.
440         * po/eo.po: Update.
441         * po/es.po: Update.
442         * po/fi.po: Update.
443         * po/fr.po: Update.
444         * po/gl.po: Update.
445         * po/hr.po: Update.
446         * po/hu.po: Update.
447         * po/ia.po: Update.
448         * po/id.po: Update.
449         * po/it.po: Update.
450         * po/ja.po: Update.
451         * po/ko.po: Update.
452         * po/lt.po: Update.
453         * po/nb.po: Update.
454         * po/nl.po: Update.
455         * po/pl.po: Update.
456         * po/pt_BR.po: Update.
457         * po/ru.po: Update.
458         * po/rw.po: Update.
459         * po/sk.po: Update.
460         * po/sl.po: Update.
461         * po/sv.po: Update.
462         * po/tr.po: Update.
463         * po/uk.po: Update.
464         * po/vi.po: Update.
465         * po/zh_CN.po: Update.
466         * po/zh_TW.po: Update.
468         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
469         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
470         * sysdeps/hppa/dl-irel.h: Remove #warning.
471         * sysdeps/hppa/entry.h: Provide prototype for
472         __canonicalize_funcptr_for_compare and cast argument.
473         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
474         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
475         * sysdeps/hppa/sotruss-lib.c: New file.
476         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
477         (atomic_compare_and_exchange_val_acq): Use __typeof__.
478         (atomic_compare_and_exchange_bool_acq): Likewise.
479         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
480         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
482         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
483         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
484         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
486 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
488         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
489         called function in non-PIC case.
491 2015-01-31  David S. Miller  <davem@davemloft.net>
493         * sysdeps/sparc/sparc32/bits/atomic.h
494         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
495         unlock not after it.
496         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
497         volatile register usage warnings from the compiler.
499         * sysdeps/sparc/nptl/sem_init.c: Delete.
500         * sysdeps/sparc/nptl/sem_post.c: Delete.
501         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
502         * sysdeps/sparc/nptl/sem_wait.c: Delete.
503         * sysdeps/sparc/sparc32/sem_init.c: New file.
504         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
505         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
506         padding explicitly initialized.
507         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
508         padding for in-semaphore spinlock.
509         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
510         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
511         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
512         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
513         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
514         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
515         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
516         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
517         version.
518         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
519         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
521 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
523         [BZ #17801]
524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
525         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
526         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
527         New.
528         (index_AVX_Fast_Unaligned_Load): Likewise.
529         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
530         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
531         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
532         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
533         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
534         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
535         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
536         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
537         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
539 2015-01-29  Andreas Schwab  <schwab@suse.de>
541         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
543 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
545         [BZ #17892]
546         * nscd/nscd_stat.c (send_stats): Initialize DATA.
548 2015-01-28  Martin Sebor  <msebor@redhat.com>
550         * math/README.libm-test: Clarify. Add "How to read the test output."
552 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
554         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
555         Define to 0.
557 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
559         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
560         (__HAVE_64B_ATOMICS): Define to 0.
562 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
564         [BZ #17885]
565         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
566         value to set as new flag.
568         [BZ #16576]
569         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
570         and use _ARCH_PPCSQ instead.
571         (__ieee754_sqrt): Likewise.
572         (__ieee754_sqrtf): Likewise.
573         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
574         _ARCH_PPCSQ is defined.
575         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
576         fsqrt instruction.
577         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
578         _ARCH_PPCSQ is defined.
579         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
580         fsqrts instruction.
581         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
583 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
585         * iconv/loop.c: Suppress array out of bound warning caused by GCC
586         bug (GCC BZ #64739).
588 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
590         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
591         Mark _retval as used.
592         (lll_futex_wake_unlock): Likewise.
593         (lll_futex_timed_wait_requeue_pi): Likewise.
595         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
596         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
597         register variables.
599         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
600         libm_hidden_def.
602         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
603         (__bswap_64): Mark as __always_inline.
605 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
607         [BZ #15378]
608         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
609         when none of the search directories exist.
611 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
613         [BZ #17869]
614         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
615         power8 in .machine directive.
617         [BZ #17868]
618         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
619         set dependency from opd value.
621 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
624         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
625         architecture.
627 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
629         [BZ #17870]
630         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
631         with uint64_t.
632         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
633         (uint64_t) 1.
634         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
635         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
636         Replace 1UL with (uint64_t) 1.
637         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
638         int with uint64_t.
640 2015-01-23  Roland McGrath  <roland@hack.frob.com>
642         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
643         (if_freenameindex): Likewise.
645         * resource/getrlimit64.c: Add missing libc_hidden_def.
647 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
649         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
650         __label__.
651         (_FP_FMA): Likewise.
652         (_FP_TO_INT_ROUND): Likewise.
653         (_FP_FROM_INT): Likewise.
655 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
657         [BZ #16418]
658         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
659         Make code racy and cancel safe.
661 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
663         * sysdeps/arm/unwind-resume.h: Fix copyright year.
664         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
665         attribution.
667         * pwd/tst-getpw.c: Rewrite.
669         [BZ #17702]
670         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
671         (modules-names): Add moddummy1 and moddummy2.
672         ($(objpfx)tst-rec-dlopen): Define.
673         * dlfcn/moddummy1.c: New file.
674         * dlfcn/moddummy2.c: New file.
675         * dlfcn/tst-rec-dlopen.c: New file.
676         * elf/dl-cache.c (_dl_load_cache_lookup):
677         Return char*. Copy result with alloca/strcpy/strdup.
678         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
679         returns char*. Free cached. If not saving realname
680         free cached.
681         * elf/dl-open.c (dl_open_worker): Do not assert that
682         _r_debug->r_state is RT_CONSISTENT.
683         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
684         returns char*.
686 2015-01-21  Torvald Riegel  <triegel@redhat.com>
687             Carlos O'Donell  <carlos@redhat.com>
689         [BZ #12674]
690         * nptl/sem_waitcommon.c: New file.
691         * nptl/sem_wait.c: Include sem_waitcommon.c.
692         (__sem_wait_cleanup, do_futex_wait): Remove.
693         (__new_sem_wait): Adapt.
694         (__new_sem_trywait): New function.
695         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
696         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
697         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
698         (sem_timedwait): Adapt.
699         * nptl/sem_post.c (__new_sem_post): Adapt.
700         (futex_wake): New function.
701         (__old_sem_post): Add release MO fence.
702         * nptl/sem_open.c (sem_open): Adapt.
703         * nptl/sem_init.c (__new_sem_init): Adapt.
704         (futex_private_if_supported): New function.
705         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
706         (__old_sem_getvalue): Add using previous code.
707         * sysdeps/nptl/internaltypes.h: Adapt.
708         * nptl/tst-sem13.c (do_test): Adapt.
709         * nptl/tst-sem11.c (main): Adapt.
710         * nptl/sem_trywait.c: Remove.
711         * nptl/DESIGN-sem.txt: Remove.
712         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
713         (gen-as-const-headers): Remove structsem.sym.
714         * nptl/structsem.sym: Remove.
715         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
716         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
717         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
718         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
719         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
720         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
721         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
722         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
723         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
724         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
725         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
726         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
727         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
728         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
729         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
730         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
731         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
732         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
733         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
734         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
735         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
736         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
738 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
740         * INSTALL: Regenerated.
742         * po/libc.pot: Regenerated.
744 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
745             Sandra Loosemore  <sandra@codesourcery.com>
746             Andrew Jenner  <andrew@codesourcery.com>
747             Joseph Myers  <joseph@codesourcery.com>
748             Nathan Sidwell  <nathan@codesourcery.com>
750         * NEWS: Mention new Nios II port.
751         * sysdeps/nios2/Implies: New file.
752         * sysdeps/nios2/Makefile: New file.
753         * sysdeps/nios2/Subdirs: New file.
754         * sysdeps/nios2/Versions: New file.
755         * sysdeps/nios2/__longjmp.S: New file.
756         * sysdeps/nios2/abort-instr.h: New file.
757         * sysdeps/nios2/backtrace.c: New file.
758         * sysdeps/nios2/bits/endian.h: New file.
759         * sysdeps/nios2/bits/fenv.h: New file.
760         * sysdeps/nios2/bits/link.h: New file.
761         * sysdeps/nios2/bits/setjmp.h: New file.
762         * sysdeps/nios2/bsd-_setjmp.S: New file.
763         * sysdeps/nios2/bsd-setjmp.S: New file.
764         * sysdeps/nios2/configure: New generated file.
765         * sysdeps/nios2/configure.ac: New file.
766         * sysdeps/nios2/crti.S: New file.
767         * sysdeps/nios2/crtn.S: New file.
768         * sysdeps/nios2/dl-init.c: New file.
769         * sysdeps/nios2/dl-machine.h: New file.
770         * sysdeps/nios2/dl-sysdep.h: New file.
771         * sysdeps/nios2/dl-tls.h: New file.
772         * sysdeps/nios2/dl-trampoline.S: New file.
773         * sysdeps/nios2/gccframe.h: New file.
774         * sysdeps/nios2/gmp-mparam.h: New file.
775         * sysdeps/nios2/jmpbuf-offsets.h: New file.
776         * sysdeps/nios2/jmpbuf-unwind.h: New file.
777         * sysdeps/nios2/ldsodefs.h: New file.
778         * sysdeps/nios2/libc-tls.c: New file.
779         * sysdeps/nios2/libm-test-ulps: New file.
780         * sysdeps/nios2/machine-gmon.h: New file.
781         * sysdeps/nios2/math-tests.h: New file.
782         * sysdeps/nios2/math_private.h: New file.
783         * sysdeps/nios2/memusage.h: New file.
784         * sysdeps/nios2/nptl/Makefile: New file.
785         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
786         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
787         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
788         * sysdeps/nios2/nptl/pthreaddef.h: New file.
789         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
790         * sysdeps/nios2/nptl/tls.h: New file.
791         * sysdeps/nios2/preconfigure: New file.
792         * sysdeps/nios2/s_fma.c: New file.
793         * sysdeps/nios2/s_fmaf.c: New file.
794         * sysdeps/nios2/setjmp.S: New file.
795         * sysdeps/nios2/sfp-machine.h: New file.
796         * sysdeps/nios2/sotruss-lib.c: New file.
797         * sysdeps/nios2/stackguard-macros.h: New file.
798         * sysdeps/nios2/stackinfo.h: New file.
799         * sysdeps/nios2/start.S: New file.
800         * sysdeps/nios2/sysdep.h: New file.
801         * sysdeps/nios2/tls-macros.h: New file.
802         * sysdeps/nios2/tst-audit.h: New file.
803         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
804         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
805         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
806         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
807         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
808         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
809         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
810         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
811         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
812         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
813         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
814         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
815         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
816         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
817         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
818         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
819         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
820         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
821         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
822         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
823         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
824         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
825         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
826         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
827         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
828         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
829         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
830         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
831         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
832         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
833         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
834         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
835         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
836         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
837         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
838         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
839         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
840         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
841         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
842         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
843         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
844         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
845         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
846         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
848 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
850         [BZ #17844]
851         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
852         (getutent): Use weak_alias in non SHARED case
853         and default_symbol_version in SHARED case.
854         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
855         (getutent_r, pututline): Likewise.
856         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
857         (getutid): Likewise.
858         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
859         (getutid_r): Likewise.
860         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
861         (getutline): Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
863         (getutline_r): Likewise.
864         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
865         (updwtmp): Likewise.
867 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
869         [BZ #17848]
870         * sysdeps/s390/s390-32/memcmp.S
871         (memcmp_g5): Rename to __memcmp_g5.
872         * sysdeps/s390/s390-32/memcpy.S
873         (memcpy_g5): Rename to __memcpy_g5.
874         Jump to __memcpy_mvcle instead of memcpy_mvcle.
875         (memcpy_mvcle) Rename to __memcpy_mvcle.
876         * sysdeps/s390/s390-32/memset.S
877         (memset_g5): Rename to __memset_g5.
878         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
879         (IFUNC_RESOLVE): Prefix ifunc-resolve function
880         and use prefixed functions.
881         * sysdeps/s390/s390-32/multiarch/memcmp.S
882         (memcmp_z196): Rename to __memcmp_z196.
883         (memcmp_z10): Rename to __memcmp_z10.
884         (memcmp): Set alias to __memcmp_g5.
885         (bcmp): Set alias to __memcmp_g5.
886         * sysdeps/s390/s390-32/multiarch/memcpy.S
887         (memcpy_z196): Rename to __memcpy_z196.
888         Jump to __memcpy_mvcle instead of memcpy_mvcle.
889         (memcpy_z10): Rename to __memcpy_z10.
890         Jump to __memcpy_mvcle instead of memcpy_mvcle.
891         (memcpy): Set alias to __memcpy_g5.
892         * sysdeps/s390/s390-32/multiarch/memset.S
893         (memset_z196): Rename to __memset_z196.
894         Jump to __memset_mvcle instead of memset_mvcle.
895         (memset_z10): Rename to __memset_z10.
896         Jump to __memset_mvcle instead of memset_mvcle.
897         (memset_mvcle) Rename to __memset_mvcle.
898         (memset): Set alias to __memset_g5.
899         * sysdeps/s390/s390-64/memcmp.S
900         (memcmp_z900): Rename to __memcmp_z900.
901         * sysdeps/s390/s390-64/memcpy.S
902         (memcpy_z900): Rename to __memcpy_z900.
903         Jump to __memcpy_mvcle instead of memcpy_mvcle.
904         (memcpy_mvcle) Rename to __memcpy_mvcle.
905         * sysdeps/s390/s390-64/memset.S
906         (memset_z900): Rename to __memset_z900.
907         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
908         (IFUNC_RESOLVE): Prefix ifunc-resolve function
909         and use prefixed functions.
910         * sysdeps/s390/s390-64/multiarch/memcmp.S
911         (memcmp_z196): Rename to __memcmp_z196.
912         (memcmp_z10): Rename to __memcmp_z10.
913         (memcmp): Set alias to __memcmp_z900.
914         (bcmp): Set alias to __memcmp_z900.
915         * sysdeps/s390/s390-64/multiarch/memcpy.S
916         (memcpy_z196): Rename to __memcpy_z196.
917         Jump to __memcpy_mvcle instead of memcpy_mvcle.
918         (memcpy_z10): Rename to __memcpy_z10.
919         Jump to __memcpy_mvcle instead of memcpy_mvcle.
920         (memcpy): Set alias to __memcpy_z900.
921         * sysdeps/s390/s390-64/multiarch/memset.S
922         (memset_z196): Rename to __memset_z196.
923         Jump to __memset_mvcle instead of memset_mvcle.
924         (memset_z10): Rename to __memset_z10.
925         Jump to __memset_mvcle instead of memset_mvcle.
926         (memset_mvcle) Rename to __memset_mvcle.
927         (memset): Set alias to __memset_z900.
929 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
931         [BZ #17748]
932         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
933         __fesetenv instead of fesetenv.
935 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
937         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
938         macro.
940 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
942         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
943         regression on LE.
945         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
946         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
947         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
948         strncmp-power8 object.
949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
950         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
951         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
952         * NEWS: Update.
954 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
955             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
957         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
958         trailing byte check.
960 2015-01-13  David S. Miller  <davem@davemloft.net>
962         * include/signal.h (__sigreturn): Guard with __USE_MISC.
964 2015-01-13  Roland McGrath  <roland@hack.frob.com>
966         * login/logout.c (logout): Use memset rather than bzero.
967         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
968         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
969         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
970         (_gethtbyaddr): Likewise.
971         * locale/programs/simple-hash.c (bcopy): Macro removed.
973 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
975         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
976         Add strcmp-power8 object.
977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
978         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
979         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
980         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
981         __strcmp_power8 implementation.
982         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
983         * NEWS: Update.
985         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
986         Add strncpy-power8 and stpncpy-power8 objects.
987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
988         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
989         implementations.
990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
991         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
992         __stpncpy_power8 implementation.
993         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
994         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
995         __strncpy_power8 implementation.
996         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
997         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
998         * NEWS: Update.
1000         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1001         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1002         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1004         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1005         strncat-power8 object.
1006         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1007         __strcat_power8 implementation.
1008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1009         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1010         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1011         optimized strcat for power8.
1013         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1014         strcpy-power8 and stpcpy-power8 objects.
1015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1016         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1017         implementations.
1018         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1019         multiarch stpcpy implementation for POWER8.
1020         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1021         multiarch strcpy implementation for POWER8.
1022         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1023         __strcpy_power8 function.
1024         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1025         stpcpy for POWER8.
1026         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1027         strcpy for POWER8.
1028         * NEWS: Update.
1030 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1032         [BZ #16009]
1033         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1034         weights and rules. Use do_xfrm_cached if data fits in cache,
1035         do_xfrm otherwise.  Moved former main loop to...
1036         * (do_xfrm_cached): New function.
1037         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1038         find_idx, find_position and stack_push.
1039         * (find_idx): New function.
1040         * (find_position): Likewise.
1041         * localedata/sort-test.sh: Added test run for do_xfrm.
1042         * localedata/xfrm-test.c (main): Added command line option
1043         -nocache to run the test with strings that are too large for
1044         the STRXFRM cache.
1046 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1048         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1049         variable to lll_futex_wake call, not the value itself.
1051 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1053         [BZ #17803]
1054         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1055         twom64.  Adjust value to 0x1p-64L.
1056         (__scalblnl): Only return standard underflowing result for K <=
1057         -64 not K <= -63; adjust exponent for underflowing result by 64
1058         not 63.
1059         * math/libm-test.inc (scalbn_test_data): Add more tests.
1060         (scalbln_test_data): Likewise.
1062         [BZ #17834]
1063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1064         0x1p63L.
1065         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1066         not HX.
1067         * math/libm-test.inc (scalbn_test_data): Add more tests.
1068         (scalbln_test_data): Likewise.
1070 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1071             Stefani Seibold  <stefani@seibold.net>
1073         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1074         (sysdep_routines): Add dl-vdso here, ...
1075         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1076         (sysdep_routines): ... not here.
1077         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1078         fallback when vDSO is not presented.
1079         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1080         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1081         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1082         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1083         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1084         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1085         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1086         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1087         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1088         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1089         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1090         fallback configurable symbol when vDSO is not available.
1091         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1092         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1093         be able to redefine fallback symbol when vDSO is not available.
1094         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1095         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1097 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1099         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1100         (TLS_INIT_TP): Add tm_capable initialization.
1101         (TLS_DEFINE_INIT_TP): Likewise.
1102         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1103         TCB.
1104         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1105         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1106         calculation.
1107         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1108         transactoion is lock elision is built and TCB tm_capable is set.
1109         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1111         (INTERNAL_SYSCALL_NCS): Likewise.
1112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1113         (INTERNAL_SYSCALL_NCS): Likewise.
1114         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1116         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1117         for powerpc.
1118         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1119         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1120         and remove it for 32 bits case.
1121         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1122         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1123         initialization.
1124         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1125         Disable lock elision with rdlocks if elision is not available.
1127         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1128         (sysdep_routines): Add lock elision objects.
1129         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1130         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1131         [pthread_mutex_t] (__elision): Add field.
1132         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1133         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1134         elision definitions for powerpc.
1135         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1136         implementation of lock elision for powerpc.
1137         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1138         implementation of timed lock elision for powerpc.
1139         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1140         implementation of trylock with lock elision for powerpc.
1141         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1142         implementaion of unlock for lock elision for powerpc.
1143         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1144         automatic enable lock elision for mutexes.
1145         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1146         transaction execution definitions for powerpc.
1147         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1148         definitions.
1149         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1150         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1151         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1152         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1153         * NEWS: Update.
1155 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1157         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1158         for #include of <shm-directory.h>.
1160 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1162         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1163         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1165 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1167         [BZ #17791]
1168         * NEWS: Mention bug fix.
1169         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1170         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1171         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1173 2015-01-09  Torvald Riegel <triegel@redhat.com>
1175         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1177 2015-01-09  Torvald Riegel <triegel@redhat.com>
1179         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1181 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1183         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1184         pointer and cast to uintptr_t.
1186 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1188         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1189         removed.
1190         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1192 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1194         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1195         of 0.
1197 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1199         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1200         <nptl/pthreadP.h> instead.
1201         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1203         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1204         already defined.
1205         [__SIGRTMIN] (init): Function removed.
1206         [__SIGRTMIN] (initialized): Variable removed.
1207         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1208         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1209         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1210         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1211         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1212         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1213         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1214         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1215         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1216         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1217         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1218         * sysdeps/nptl/allocrtsig.c: New file.
1219         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1220         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1221         * sysdeps/generic/testrtsig.h: File removed.
1223         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1224         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1226         * nptl/nptl-init.c (pthread_functions): Conditionalize
1227         .ptr__nptl_setxid initialization on [SIGSETXID].
1229         * sysdeps/nptl/sys/procfs.h: New file.
1230         * nptl_db/Makefile (headers): Add it.
1231         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1233         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1234         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1235         * nptl/pthread_attr_setaffinity.c: Include it.
1236         * nptl/pthread_setattr_default_np.c: Likewise.
1237         * nptl/check-cpuset.h: New file.
1239 2015-01-08  Richard Henderson  <rth@redhat.com>
1241         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1242         (CFLAGS-tst-execstack-prog.c): Likewise.
1243         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1245 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1246             Sandra Loosemore  <sandra@codesourcery.com>
1247             Andrew Jenner  <andrew@codesourcery.com>
1248             Joseph Myers  <joseph@codesourcery.com>
1249             Nathan Sidwell  <nathan@codesourcery.com>
1251         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1252         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1253         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1254         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1255         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1256         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1257         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1258         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1259         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1260         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1261         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1262         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1263         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1264         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1265         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1266         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1267         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1269 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1271         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1272         timespec struct member in syscall macro.
1273         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1274         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1275         first timeval struct member in syscall macro.
1276         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1278 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1280         [BZ #17748]
1281         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1282         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1283         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1284         __feupdateenv and define as weak alias of __feupdateenv.  Use
1285         libm_hidden_weak.
1286         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1287         libm_hidden_def.
1288         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1289         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1290         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1291         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1292         libm_hidden_def.
1293         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1294         __feupdateenv and define as weak alias of __feupdateenv.  Use
1295         libm_hidden_weak.
1296         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1297         libm_hidden_def.
1298         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1299         __feupdateenv and define as weak alias of __feupdateenv.  Use
1300         libm_hidden_weak.
1301         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1302         libm_hidden_def.
1303         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1304         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1305         (__feupdateenv): Likewise.
1306         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1307         __feupdateenv and define as weak alias of __feupdateenv.  Use
1308         libm_hidden_weak.
1309         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1310         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1311         libm_hidden_def.
1312         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1313         function.
1314         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1315         libm_hidden_def.
1316         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1317         __feupdateenv instead of feupdateenv.
1318         (default_libc_feupdateenv_test): Likewise.
1319         (libc_feresetround_ctx): Likewise.
1321 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1323         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1324         prototype.
1326 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1328         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1329         COLL_SYM in a couple of places to avoid uninitialized variable
1330         wanings on tilegx gcc 4.8.2.
1332 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1334         * sysdeps/aarch64/strcpy.S: New file.
1335         * sysdeps/aarch64/stpcpy.S: New file.
1336         * NEWS: Updated.
1338 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1340         * sysdeps/aarch64/strrchr.S: New file.
1341         * NEWS: Updated.
1343 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1345         [BZ #17658]
1346         * stdlib/setenv.c: Fix memory leak when setting large,
1347         duplicate string.
1349 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1351         [BZ #17273]
1352         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1353         and tabs from buffer before parsing fstab entry.
1354         * misc/tst-mntent.c (main): Add test for mount entry with
1355         trailing spaces and tabs.
1357 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1359         [BZ #17748]
1360         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1361         * math/fesetround.c (fesetround): Rename to __fesetround and
1362         define as weak alias of __fesetround.  Use libm_hidden_weak.
1363         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1364         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1365         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1366         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1367         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1368         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1369         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1370         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1371         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1372         __fesetround_inline.
1373         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1374         __fesetround_inline instead of __fesetround.
1375         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1376         __fesetround and define as weak alias of __fesetround.  Use
1377         libm_hidden_weak.  Call __fesetround_inline instead of
1378         __fesetround.
1379         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1380         __fesetround and define as weak alias of __fesetround.  Use
1381         libm_hidden_weak.
1382         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1383         Likewise.
1384         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1385         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1386         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1387         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1388         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1389         __fesetround and define as weak alias of __fesetround.  Use
1390         libm_hidden_weak.
1391         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1392         __fesetround instead of fesetround.
1393         (default_libc_feholdexcept_setround): Likewise.
1394         (libc_feholdsetround_ctx): Likewise.
1395         (libc_feholdsetround_noex_ctx): Likewise.
1397         [BZ #17748]
1398         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1399         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1400         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1401         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1402         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1403         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1404         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1405         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1406         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1407         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1408         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1409         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1410         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1411         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1412         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1413         libm_hidden_def.
1414         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1415         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1416         Likewise.
1417         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1418         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1419         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1420         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1421         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1422         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1423         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1424         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1425         __fesetenv instead of fesetenv.
1426         (libc_feresetround_noex_ctx): Likewise.
1427         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1428         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1429         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1430         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1431         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1432         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1433         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1434         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1435         (__feupdateenv): Likewise.
1436         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1437         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1438         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1439         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1441 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1443         [BZ #17806]
1444         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1445         addresses have been freed.
1447 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1449         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1450         and nservall.
1452 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1454         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1455         Clean up check_pf allocation pattern. addresses
1457 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1459         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1460         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1461         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1462         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1463         * nptl/pthread_join.c (pthread_join): Likewise.
1464         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1465         * sysdeps/posix/waitid.c (__waitid): Likewise.
1466         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1467         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1468         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1469         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1470         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1471         Likewise.
1472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1473         (__libc_pread64): Likewise.
1474         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1475         (__libc_pwrite): Likewise.
1476         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1477         (__libc_pwrite64): Likewsie.
1478         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1479         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1480         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1481         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1482         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1483         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1484         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1486         Likewise.
1487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1488         (__libc_pread64): Likewise.
1489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1490         Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1492         (__libc_pwrite64): Likewise.
1493         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1494         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1495         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1496         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1497         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1498         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1499         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1500         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1501         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1502         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1503         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1504         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1505         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1506         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1507         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1508         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1509         Likewise.
1511 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1513         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1514         (CFLAGS-test-double.c): Likewise.
1515         (CFLAGS-test-ldouble.c): Likewise.
1516         (CPPFLAGS-test-ifloat.c): Likewise.
1517         (CPPFLAGS-test-idouble.c): Likewise.
1518         (CPPFLAGS-test-ildoubl.c): Likewise.
1519         (CFLAGS-test-test-fenv.c): Remove variable.
1520         (CFLAGS-test-misc.c): Likewise.
1522 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1524         [BZ #17797]
1525         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1526         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1527         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1528         CLOCKS_PER_SEC == 1000000.
1529         * time/clocktest.c (main): Replace %ld with %jd and cast to
1530         intmax_t.
1532 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1534         * sysdeps/generic/unwind-resume.h: New file.
1535         * sysdeps/gnu/unwind-resume.c: Include it.
1536         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1537         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1538         argument list.
1539         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1540         global rather than static.
1541         (_Unwind_Resume): Update user.
1542         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1543         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1544         rather than static.  Add __attribute__ ((cold)).
1545         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1546         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1547         * sysdeps/arm/arm-unwind-resume.S: New file.
1548         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1549         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1550         * sysdeps/arm/Makefile [$(subdir) = csu]
1551         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1552         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1553         Add rt-arm-unwind-resume.
1554         [$(subdir) = nptl]
1555         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1556         Add pt-arm-unwind-resume.
1557         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1558         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1560 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1562         [BZ #17748]
1563         * include/fenv.h (__feholdexcept): Declare.  Use
1564         libm_hidden_proto.
1565         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1566         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1567         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1568         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1569         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1570         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1571         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1572         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1573         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1574         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1575         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1576         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1577         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1578         (feholdexcept): Likewise.
1579         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1580         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1581         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1582         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1583         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1584         __feholdexcept instead of feholdexcept.
1585         (default_libc_feholdexcept_setround): Likewise.
1587 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1589         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1590         to avoid using stl/str to align destination.
1592 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1594         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1596 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1598         [BZ #17796]
1599         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1600         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1601         Define as weak alias not strong alias.
1603 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1605         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1606         bltzal with addiupc.
1607         (RTLD_START): Ditto.
1609 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1611         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1612         for __vdso_* functions in declarations.
1613         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1614         definitions.
1615         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1616         INTERNAL_VSYSCALL): Use struct return types to check for error.
1618         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1619         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1620         function with cast from llround().
1621         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1622         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1623         Define.
1625 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1627         [BZ #17793]
1628         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1629         Define as weak alias not strong alias.
1631         [BZ #17635]
1632         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1633         ...
1634         * ctype/ctype-extn.c: ... here.
1635         (__isblank_l): Move to ...
1636         * ctype/ctype-c99_l.c: ... here.  New file.
1637         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1638         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1639         Remove variable.
1640         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1641         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1642         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1643         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1644         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1646         [BZ #17777]
1647         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1648         (posix_fadvise64): Define as weak alias not strong alias.
1649         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1650         (posix_fallocate64): Likewise.
1651         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1652         Remove variable.
1653         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1654         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1655         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1656         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1657         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1659 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1661         [BZ #16191]
1662         * NEWS: Mention bug fix.
1663         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1664         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1665         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1666         (HOST_STACK_END_ADDR): Likewise.
1668 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1670         [BZ #17748]
1671         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1672         * math/fegetround.c (fegetround): Rename to __fegetround and
1673         define as weak alias of __fegetround.  Use libm_hidden_weak.
1674         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1675         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1676         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1677         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1678         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1679         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1680         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1681         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1682         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1683         Undefine after rather than before function definition; use
1684         parentheses around function name in definition.
1685         (__fegetround): Also undefine macro after function definition.
1686         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1687         __fegetround and define as weak alias of __fegetround.  Use
1688         libm_hidden_weak.  Do not undefine as macro.
1689         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1690         Likewise.
1691         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1692         __fegetround and define as weak alias of __fegetround.  Use
1693         libm_hidden_weak.
1694         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1695         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1696         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1697         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1698         __fegetround and define as weak alias of __fegetround.  Use
1699         libm_hidden_weak.
1700         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1701         __fegetround instead of fegetround.
1703         [BZ #17782]
1704         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1705         Condition macro definition on [__USE_MISC].
1707         [BZ #17781]
1708         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1709         (struct sigaction): Change type of sa_flags field to int.
1711         [BZ #17780]
1712         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1713         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1714         __glibc_reserved0.
1716         * nptl/version.c (banner): Use single year in copyright notice.
1718         * NEWS: Update copyright dates.
1719         * catgets/gencat.c (print_version): Likewise.
1720         * csu/version.c (banner): Likewise.
1721         * debug/catchsegv.sh: Likewise.
1722         * debug/pcprofiledump.c (print_version): Likewise.
1723         * debug/xtrace.sh (do_version): Likewise.
1724         * elf/ldconfig.c (print_version): Likewise.
1725         * elf/ldd.bash.in: Likewise.
1726         * elf/pldd.c (print_version): Likewise.
1727         * elf/sotruss.sh: Likewise.
1728         * elf/sprof.c (print_version): Likewise.
1729         * iconv/iconv_prog.c (print_version): Likewise.
1730         * iconv/iconvconfig.c (print_version): Likewise.
1731         * locale/programs/locale.c (print_version): Likewise.
1732         * locale/programs/localedef.c (print_version): Likewise.
1733         * login/programs/pt_chown.c (print_version): Likewise.
1734         * malloc/memusage.sh (do_version): Likewise.
1735         * malloc/memusagestat.c (print_version): Likewise.
1736         * malloc/mtrace.pl: Likewise.
1737         * manual/libc.texinfo: Likewise.
1738         * nptl/version.c (banner): Likewise.
1739         * nscd/nscd.c (print_version): Likewise.
1740         * nss/getent.c (print_version): Likewise.
1741         * nss/makedb.c (print_version): Likewise.
1742         * posix/getconf.c (main): Likewise.
1743         * scripts/test-installation.pl: Likewise.
1744         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1746 2015-01-02  Will Newton  <will.newton@linaro.org>
1748         * sysdeps/arm/armv7/configure: Removed.
1749         * sysdeps/arm/armv7/configure.ac: Likewise.
1751 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1753         * All files with FSF copyright notices: Update copyright dates
1754         using scripts/update-copyrights.
1755         * intl/plural.c: Regenerated.
1756         * locale/programs/charmap-kw.h: Likewise.
1757         * locale/programs/locfile-kw.h: Likewise.
1759 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1761         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1763 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1765         [BZ #17748]
1766         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1767         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1768         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1769         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1770         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1771         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1772         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1773         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1774         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1775         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1776         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1777         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1778         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1779         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1780         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1781         libm_hidden_def.
1782         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1783         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1784         Likewise.
1785         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1786         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1788         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1789         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1790         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1791         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1792         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1793         __fegetenv instead of fegetenv.
1794         (libc_feholdsetround_noex_ctx): Likewise.
1796 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1798         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1799         (Elf_MIPS_ABIFlags_v0): New structure.
1800         (EF_MIPS_FP64): Define.
1801         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1802         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1803         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1804         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1805         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1806         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1807         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1808         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1809         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1810         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1811         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1812         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1813         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1814         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1815         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1816         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1817         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1818         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1819         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1820         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1821         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1822         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1823         field.
1824         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1825         EF_MIPS_FP64.
1826         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1827         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1828         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1829         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1830         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1831         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1832         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1833         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1834         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1835         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1836         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1837         record the current FP ABI extension.
1838         (mips-mode-switch): Define to show if kernel headers support mode
1839         switching.
1840         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1841         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1842         supported SYSV ABI version to 3.
1843         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1844         feature.
1846 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1847             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1849         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1850         path.
1851         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1853 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1855         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1856         __fegetround and redefine to call __fegetround.  Remove condition
1857         on [!__NO_MATH_INLINES].
1858         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1859         function.
1860         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1861         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1862         Remove macro.
1863         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1864         instead of <fenv_libc.h>.
1865         (__llrintl): Call fegetround instead of __fegetround.
1866         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1867         instead of <fenv_libc.h>.
1868         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1869         (__lrintl): Call fegetround instead of __fegetround.
1870         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1871         instead of <fenv_libc.h>.
1872         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1873         (__rintl): Call fegetround instead of __fegetround.
1875 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1877         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1878         arrays.
1880 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1882         [BZ #17775]
1883         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1884         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1885         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1887 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1889         * sysdeps/i386/tls-macros.h: Include <features.h>.
1890         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1891         (TLS_IE): Likewise.
1892         (TLS_LD): Likewise.
1893         (TLS_GD): Likewise.
1894         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1895         define for GCC >= 5.0.
1897 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1899         * math/test-fenv.c (test_single_exception, set_single_exc,
1900         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1901         feexcp_mask_test, feenable_test, fe_single_test): Add
1902         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1903         case where they are not used.
1904         * math/libm-test.inc: Likewise.
1905         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1906         unused in the absence of FP rounding/exception support.
1907         * stdio-common/tst-printf-round.c: Likewise.
1908         * stdlib/tst-strtod-round.c: Likewise.
1909         * stdlib/tst-strtod-underflow.c: Likewise.
1911 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1913         [BZ #17723]
1914         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1915         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1916         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1917         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1918         libm_hidden_weak.
1919         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1920         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1921         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1922         libm_hidden_def.
1923         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1924         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1925         libm_hidden_weak.
1926         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1927         Likewise.
1928         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1929         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1930         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1931         libm_hidden_weak.
1932         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1933         libm_hidden_def.
1934         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1935         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1936         (__feraiseexcept): Likewise.
1937         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1938         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1939         libm_hidden_weak.
1940         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1941         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1942         libm_hidden_def.
1943         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1944         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1945         Use libm_hidden_def.
1946         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1947         libm_hidden_def.
1948         (feraiseexcept): Define as weak not strong alias.  Use
1949         libm_hidden_weak.
1950         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1951         New inline function.  Factored out of ...
1952         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1953         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1954         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1955         feraiseexcept.
1956         * math/w_acos.c (__acos): Likewise.
1957         * math/w_asin.c (__asin): Likewise.
1958         * math/w_ilogb.c (__ilogb): Likewise.
1959         * math/w_j0.c (y0): Likewise.
1960         * math/w_j1.c (y1): Likewise.
1961         * math/w_jn.c (yn): Likewise.
1962         * math/w_log.c (__log): Likewise.
1963         * math/w_log10.c (__log10): Likewise.
1964         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1965         * sysdeps/aarch64/fpu/math_private.h
1966         (libc_feupdateenv_test_aarch64): Likewise.
1967         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1968         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1969         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1970         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1971         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1972         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1973         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1974         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1975         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1976         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1978 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1980         [BZ #17732]
1981         * io/test-utime.c (main): Replace %ld with %jd and cast to
1982         intmax_t.
1983         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1984         * nptl/tst-mutex5.c: Include <stdint.h>.
1985         (do_test): Replace %ld with %jd and cast to intmax_t.
1986         * posix/tst-regex.c (run_test): Likewise.
1987         (run_test_backwards): Likewise.
1988         * rt/tst-clock.c: Include <stdint.h>.
1989         (clock_test): Replace %ld with %jd and cast to intmax_t.
1990         * rt/tst-cpuclock1.c: Include <stdint.h>.
1991         (do_test): Replace %lu with %ju and cast to uintmax_t.
1992         * rt/tst-cpuclock2.c: Include <stdint.h>.
1993         (do_test): Replace %lu with %ju and cast to uintmax_t.
1994         * rt/tst-mqueue1.c: Include <stdint.h>.
1995         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1996         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1997         intmax_t.
1998         * rt/tst-mqueue4.c (do_test): Likewise.
1999         * rt/tst-timer4.c: Include <stdint.h>.
2000         (check_ts): Replace %ld with %jd and cast to intmax_t.
2001         (do_test): Likewise.
2002         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2003         and cast to intmax_t.
2004         * sysdeps/pthread/tst-timer.c (main): Likewise.
2005         * time/clocktest.c (main): Likewise.
2006         * time/tst-posixtz.c (do_test): Likewise.
2007         * timezone/tst-timezone.c (main): Likewise.
2009 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2010             H.J. Lu  <hongjiu.lu@intel.com>
2012         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2013         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2014         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2015         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2016         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2017         version if bit_Fast_Unaligned_Load is set.
2018         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2019         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2020         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2021         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2022         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2023         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2024         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2025         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2026         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2027         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2028         to 4.
2029         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2030         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2031         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2032         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2034 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2036         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2037         instead of #if to avoid a Wundef warning.
2038         * stdlib/tst-limits.c (do_test): Likewise.
2040         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2041         parallel other exception macros.
2042         (fegetenv): Convert from macro to extern inline so that it applies
2043         retroactively to inline functions already seen by the compiler.
2044         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2046         * posix/Makefile (before-compile): Use $(objpfx) for
2047         posix-conf-vars-def.h.
2049 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2051         * posix/getconf.c (main): Use size_t for type of I.
2052         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2053         NSPEC.
2055         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2056         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2057         * posix/posix-envs.def: Likewise.
2058         * sysdeps/posix/sysconf.c: Likewise.
2059         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2060         (specs): Remove array.
2061         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2062         array.
2064         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2065         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2066         (__sysconf): Use CONF_IS_* macros.
2068         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2069         ($(objpfx)posix-conf-vars-def.h): New target.
2070         * posix/posix-conf-vars.list: New file.
2071         * posix/posix-conf-vars.h: New file.
2072         * posix/confstr.c: Include posix-conf-vars.h.
2073         (confstr): Use CONF_IS_* macros.
2074         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2075         CONF_IS_* macros.
2076         * scripts/gen-posix-conf-vars.awk: New file.
2078 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2080         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2081         fegetround): Add no-op macros to avoid linknamespace issues.
2083         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2084         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2086         * sysdeps/unix/sysv/linux/tile/sysdep.h
2087         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2088         assembly-specific section to avoid a redefinition warning.
2090         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2091         long before casting to pointer to avoid a cast warning.
2093 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2095         * sysdeps/tile/tilegx/Implies: New file.
2097 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2099         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2101 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2103         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2105 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2107         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2108         not define.
2109         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2110         <kernel-features.h>.
2111         (__utimes) [__NR_utimes]: Make code unconditional.
2112         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2113         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2114         (__ASSUME_UTIMES): Do not undefine.
2115         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2116         (__ASSUME_UTIMES): Likewise.
2117         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2118         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2119         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2120         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2122 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2124         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2126 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2128         [BZ #17747]
2129         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2130         alias to weak alias for j0l, y0l.
2131         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2132         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2134         [BZ #17746]
2135         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2136         conversion.
2138 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2140         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2141         to zero if not already defined.
2143 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2145         [BZ #17724]
2146         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2147         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2148         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2149         (char *) casts added.
2150         * sysdeps/ieee754/k_standardf.c: New file.
2151         * sysdeps/ieee754/k_standardl.c: Likewise.
2152         * math/Makefile (libm-support): Remove k_standard.
2153         (libm-calls): Add k_standard.
2155 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2157         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2158         Optimize to avoid an unnecessary FPCR read.
2160 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2162         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2163         Optimize to reduce FPCR/FPSR accesses.
2165 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2167         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2168         Call libc_fetestexcept_aarch64.
2170 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2172         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2173         Call libc_fesetround_aarch64.
2175 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2177         [BZ #17733]
2178         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2179         (__bind): Do not define as weak alias.
2180         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2181         define.
2182         (__getsockname): Do not define as weak alias.
2184 2014-12-22  Will Newton  <will.newton@linaro.org>
2186         * manual/install.texi: Document that we require bison 2.7
2187         or above.
2188         * INSTALL: Regenerate.
2189         * configure.ac: Use AC_CHECK_PROG_VER instead of
2190         AC_PATH_PROG when checking for bison and check for
2191         version 2.7 or above.
2192         * configure: Regenerate.
2194 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2196         [BZ #17745]
2197         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2198         * sysdeps/tile/ffsll.c (ffsll): To here.
2200         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2202 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2204         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2205         if not defined.
2206         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2207         definition.
2208         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2209         hidden ___tls_get_addr.
2210         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2211         hidden __tls_get_addr.
2212         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2213         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2214         Likewise.
2216 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2218         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2219         _dl_init call.
2221 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2223         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2224         from "call _dl_init@PLT".
2225         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2227 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2229         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2230         guarantees.
2232 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2234         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2236 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2238         [BZ #17744]
2239         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2240         strnlen.
2242 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2244         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2245         of multu on MIPSr6.
2246         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2247         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2248         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2249         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2250         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2252 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2254         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2255         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2256         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2257         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2258         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2259         mips32r6/mips64r6.
2260         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2262 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2264         * string/strncat.c (STRNCAT): Simplify implementation.
2266 2014-12-19  David S. Miller  <davem@davemloft.net>
2268         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2269         access the quad as both a long double and as a series of 4 words.
2271         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2272         link_map->l_info array access.
2274 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2276         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2278         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2279         * math/atest-exp2.c (TIMEOUT): Likewise.
2280         * math/atest-sincos.c (TIMEOUT): Likewise.
2282 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2284         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2285         -Wno-error with -fno-builtin-lround.
2287 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2289         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2290         Contains futex constants and functions moved over from ...
2291         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2292         <lowlevellock-futex.h>.
2293         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2294         (lll_timedwait_tid): Add comments and parentheses around macro
2295         arguments.
2297 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2299         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2300         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2301         (__lll_private_flag): Remove.
2302         (lll_futex_wait): Likewise.
2303         (lll_futex_timed_wait): Likewise.
2304         (lll_futex_wake): Likewise.
2305         (lll_futex_requeue): Likewise.
2306         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2307         (__lll_timedwait_tid): Spell out argument names.
2308         (lll_timedwait_tid): Add comments and parentheses around macro
2309         arguments.
2310         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2311         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2313 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2315         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2316         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2317         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2318         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2319         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2320         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2321         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2322         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2323         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2324         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2325         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2326         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2327         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2328         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2329         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2330         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2331         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2332         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2333         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2335 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2337         * sysdeps/x86_64/x32/Makefile: New file.
2339 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2341         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2342         1L with (mp_limb_t) 1.
2344 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2346         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2347         * nptl/libc_pthread_init.c: ... here.
2348         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2349         * nptl/register-atfork.c: ... here.
2351         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2352         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2353         Use assert_perror to check its return value.
2354         (__gai_create_helper_thread): Likewise.
2356         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2358         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2360 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2362         [BZ #17725]
2363         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2364         __profil_counter.
2365         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2366         Likewise.
2367         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2368         Likewise.
2369         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2370         Likewise.
2371         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2372         (profil_counter): Likewise.
2373         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2374         (profil_counter): Likewise.
2375         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2376         Likewise.
2377         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2378         Likewise.
2379         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2380         (profil_counter): Likewise.
2381         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2382         Likewise.
2383         [!__profil_counter] (profil_counter): Define as weak alias of
2384         __profil_counter.
2385         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2386         (profil_counter): Rename to __profil_counter.
2387         [!__profil_counter] (profil_counter): Define as weak alias of
2388         __profil_counter.
2389         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2390         (profil_counter): Rename to __profil_counter.
2391         [!__profil_counter] (profil_counter): Define as weak alias of
2392         __profil_counter.
2393         * sysdeps/posix/profil.c: Update comment referring to
2394         profil_counter.
2395         (__profil): Use __profil_counter instead of profil_counter.
2396         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2397         __profil_counter.  Use __profil_counter_ushort and
2398         __profil_counter_uint in definitions.
2399         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2400         instead of profil_counter_uint and profil_counter_ushort.
2402         [BZ #17722]
2403         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2404         define as weak alias of __inet_makeaddr.
2405         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2406         as weak alias of __inet_addr.
2407         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2408         as weak alias of __inet_pton.  Use libc_hidden_weak.
2409         * include/arpa/inet.h (__inet_pton): Declare.  Use
2410         libc_hidden_proto.
2411         (inet_makeaddr): Don't use libc_hidden_proto.
2412         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2413         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2414         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2415         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2416         Remove variable.
2417         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2418         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2420 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2422         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2424 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2426         * stdio-common/bug-vfprintf-nargs.c (do_test):
2427         Cast value to intptr_t to avoid format warning
2428         for usage with PRIdPTR printing macro.
2430 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2432         * libio/tst-widetext.c (do_test):
2433         Use format type %td instead of %Zd for ptrdiff_t
2434         in order to avoid format warning.
2436 2014-12-17  Andreas Schwab  <schwab@suse.de>
2438         * nscd/mem.c (gc): Add size_t cast to match printf format.
2440 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2442         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2443         (init): Apply PTR_MANGLE to pointers before storing them.
2444         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2445         before using them.
2447 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2449         [BZ #17719]
2450         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2451         define as weak alias of __memrchr.
2452         (__memrchr): Do not define as strong alias of memrchr.
2453         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2454         Remove variable.
2455         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2456         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2457         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2459         [BZ #17717]
2460         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2461         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2462         (if_indextoname): Rename to __if_indextoname and define as weak
2463         alias of __if_indextoname.  Use libc_hidden_weak.
2464         (if_freenameindex): Rename to __if_freenameindex and define as
2465         weak alias of __if_freenameindex.
2466         (if_nameindex): Rename to __if_nameindex and define as weak alias
2467         of __if_nameindex.
2468         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2469         __if_nametoindex and define as weak alias of __if_nametoindex.
2470         Use libc_hidden_weak.
2471         (if_freenameindex): Rename to __if_freenameindex and define as
2472         weak alias of __if_freenameindex.
2473         (if_nameindex): Rename to __if_nameindex and define as weak alias
2474         of __if_nameindex.
2475         (if_indextoname): Rename to __if_indextoname and define as weak
2476         alias of __if_indextoname.  Use libc_hidden_weak.
2477         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2478         __if_nametoindex and define as weak alias of __if_nametoindex.
2479         Use libc_hidden_weak.
2480         (if_freenameindex): Rename to __if_freenameindex and define as
2481         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2482         (if_nameindex_netlink): Use __if_freenameindex instead of
2483         if_freenameindex.
2484         (if_nameindex): Rename to __if_nameindex and define as weak alias
2485         of __if_nameindex.  Use libc_hidden_weak.
2486         (if_indextoname): Rename to __if_indextoname and define as weak
2487         alias of __if_indextoname.  Use libc_hidden_weak.
2488         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2489         libc_hidden_proto.
2490         [!_ISOMAC] (__if_freenameindex): Likewise.
2491         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2492         if_nametoindex.
2493         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2494         variable.
2495         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2496         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2497         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2498         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2499         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2500         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2501         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2503         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2504         Remove variable.
2505         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2506         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2508 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2510         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2511         subscript above bounds'
2513         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2514         bounds.
2516 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2518         * libio/tst-fopenloc.c: Use test-skeleton.c.
2520         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2521         (entry): Rename to ITEM.
2522         (do_test, comp): Adjust.
2524         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2526 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2528         * string/tester.c: Include <libc-internal.h>.
2529         (test_memset): Ignore -Wmemset-transposed-args.
2531 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2533         * misc/tst-mntent2.c (do_test): Fix warning.
2535 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2537         * elf/tst-unique4lib.cc(a): Mark as used.
2539 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2541         [BZ #17630]
2542         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2543         names.
2545 2014-12-16  Allan McRae  <allan@archlinux.org>
2547         * stdio-common/Makefile (tests): Re-add bug26.
2549 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2551         [BZ #17657]
2552         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2553         static array.
2555 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2557         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2558         (__lll_lock_wait): Likewise.
2559         (__lll_timedlock_wait): Likewise.
2560         (__lll_timedwait_tid): Likewise.
2561         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2562         (__lll_robust_timedlock_wait): Likewise.
2563         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2564         (lll_cond_trylock): Likewise.
2565         (__lll_lock): Likewise.
2566         (__lll_robust_lock): Likewise.
2567         (__lll_cond_lock): Likewise.
2568         (lll_robust_cond_lock): Likewise.
2569         (__lll_timedlock): Likewise.
2570         (__lll_robust_timedlock): Likewise.
2571         (__lll_unlock): Likewise.
2572         (__lll_robust_unlock): Likewise.
2573         (lll_wait_tid): Likewise.
2574         (lll_timedwait_tid): Likewise.
2576 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2578         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2580 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2582         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2584 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2586         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2587         * stdio-common/tst-sprintf.c: Likewise.
2589 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2591         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2593 2014-12-15  Jeff Law  <law@redhat.com>
2595         [BZ #16617]
2596         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2597         on the heap.  (CVE-2012-3406)
2598         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2599         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2600         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2602 2014-12-15  Will Newton  <will.newton@linaro.org>
2604         * manual/install.texi: Bump required version of texinfo
2605         to 4.7 from 4.5.
2606         * INSTALL: Regenerated.
2607         * configure.ac: Check for makeinfo version 4.7 and above.
2608         * configure: Regenerated.
2610 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2612         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2613         PREFIX, string constant to insert between directory and name.
2614         * sysdeps/posix/shm_open.c: Update caller.
2615         * sysdeps/posix/shm_unlink.c: Likewise.
2616         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2617         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2618         (SEM_SHM_PREFIX): New macro.
2619         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2620         [$(have-thread-library) = no].
2621         * nptl/Makefile (libpthread-routines): Add shm-directory.
2622         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2623         * sysdeps/nptl/shm-directory.h: New file.
2624         * sysdeps/posix/shm-directory.c
2625         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2626         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2627         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2628         INTERNAL_SYSCALL.
2629         (__where_is_shmfs): Function removed.
2630         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2631         Variables removed.
2632         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2633         Use SHM_GET_NAME.
2634         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2636         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2637         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2638         unconditional for use inside libpthread.
2639         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2641 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2643         * nptl/pthread_getaffinity.c: New file.
2644         * nptl/pthread_setaffinity.c: New file.
2645         * nptl/pthread_getname.c: New file.
2646         * nptl/pthread_setname.c: New file.
2648         * nptl/pthread_create.c (START_THREAD_DEFN)
2649         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2651 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2652             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2654         * resolv/res_send.c (send_vc): Disable warning resplen may
2655         be used uninitialized.
2657 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2659         * nptl/tst-mutex6.c
2660         (ATTR_NULL): New define checks ATTR against NULL.
2661         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2662         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2664 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2666         [BZ #17581]
2667         * malloc/hooks.c
2668         (mem2mem_check): Revert my previous change.
2669         (malloc_check_get_size): Revert my previous change.
2670         (mem2chunk_check): Revert my previous change.
2672 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2674         * sysdeps/posix/shm-directory.c: New file.
2675         * sysdeps/posix/shm-directory.h: New file.
2676         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2677         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2678         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2679         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2680         Transmute EPERM to EACCES.
2681         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2682         from ...
2683         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2684         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2686 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2688         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2689         pointer and cast to uintptr_t.
2690         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2691         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2692         Add cast to avoid warning.
2693         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2695 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2697         * nptl/semaphore.h: Move to ...
2698         * sysdeps/pthread/semaphore.h: ... here.
2699         * Makefile (installed-headers): Change nptl/semaphore.h to
2700         sysdeps/pthread/semaphore.h.
2702 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2704         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2705         generated error format strings.
2707         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2708         -Wformat-extra-args warnings for scanf formats.
2709         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2710         test of zero-length format (duh).
2711         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2712         corner-case scanf format test.
2713         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2714         generated fprintf format string.
2715         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2716         corner-case sprintf format tests.
2717         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2718         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2719         -Wformat-extra-args warnings throughout.
2720         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2721         (CFLAGS-scanf4.c): Likewise.
2722         (CFLAGS-scanf7.c): Likewise.
2723         (CFLAGS-tst-sprintf.c): Likewise.
2724         (CFLAGS-tst-printf.c): Likewise.
2725         (CFLAGS-tst-printfsz.c): Likewise.
2727 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2729         * include/cpio.h: New file.
2730         * include/fmtmsg.h: Likewise.
2732         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2733         corresponding format argument to size_t.
2734         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2735         arguments.
2736         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2737         corresponding format argument to size_t.
2738         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2739         arguments.
2740         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2741         corresponding format argument to size_t.
2742         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2743         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2744         (CFLAGS-tst-mbswcs2.c): Likewise.
2745         (CFLAGS-tst-mbswcs3.c): Likewise.
2746         (CFLAGS-tst-mbswcs4.c): Likewise.
2747         (CFLAGS-tst-mbswcs5.c): Likewise.
2748         (CFLAGS-tst-trans.c): Likewise
2750 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2752         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2753         rather than assuming they won't contain any '%'s.
2755 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2757         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2758         inhibit_loop_to_libcall to avoid recursive calls.
2759         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2760         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2762 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2764         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2765         prototype.
2767 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2769         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2770         integer value instead of boolean.
2772 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2774         * malloc/malloc.c: Fix powerof2 check.
2776 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2778         * locale/programs/locfile.h (maybe_swap_uint32):
2779         Remove inline and add unused attribute.
2781 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2783         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2784         Truncating assembler expression to a .long expression.
2786 2014-12-11  Andreas Schwab  <schwab@suse.de>
2788         * elf/rtld.c (struct map_args): Constify str member.
2789         (do_preload): Constify fname argument.
2791 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2793         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2794         constants definition.
2796 2014-12-11  Andreas Schwab  <schwab@suse.de>
2798         [BZ #16657]
2799         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2800         FORCE_ELISION instead of DO_ELISION.
2801         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2802         Remove.
2803         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2804         Likewise.
2806         * iconvdata/gconv-modules: Remove duplicate entry.
2808 2014-12-11  Will Newton  <will.newton@linaro.org>
2810         Merge gettext 0.19.3 into intl/.
2812         This involves a number of cosmetic changes to comments
2813         and ANSI function definitions and prototypes throughout
2814         all the files. The gettext copyright header is used but
2815         with the date ranges taken from the glibc copy.
2817         * NEWS: Add gettext merge to 2.21.
2818         * intl/bindtextdom.c: Switch to gettext copyright.
2819         Use ANSI definitions and prototypes.
2820         Use gl_* locking primitives rather than __libc_* ones.
2821         Use __builtin_expect rather than __glibc_likely/unlikely.
2822         * intl/dcgettext.c: Switch to gettext copyright.
2823         Use ANSI definitions and prototypes.
2824         * intl/dcigettext.c: Switch to gettext copyright.
2825         Use ANSI definitions and prototypes.
2826         (INTDIV0_RAISES_SIGFPE): New define.
2827         Use gl_* locking primitives rather than __libc_* ones.
2828         Include eval-plural.h instead of plural-eval.c.
2829         Use __builtin_expect rather than __glibc_likely/unlikely.
2830         * intl/dcngettext.c: Switch to gettext copyright.
2831         Use ANSI definitions and prototypes.
2832         * intl/dgettext.c: Likewise.
2833         * intl/dngettext.c: Likewise.
2834         * intl/plural-eval.c: Renamed to...
2835         * intl/eval-plural.h: ...this.
2836         * intl/explodename.c: Switch to gettext copyright.
2837         Use ANSI definitions and prototypes.
2838         (_nl_explode_name): Use strchr instead of __rawmemchr.
2839         * intl/finddomain.c: Switch to gettext copyright.
2840         Use ANSI definitions and prototypes.
2841         Use gl_* locking primitives rather than __libc_* ones.
2842         (_nl_find_domain): Use malloc rather than alloca for
2843         allocation of temporary locale name.
2844         * intl/gettext.c: Switch to gettext copyright.
2845         Use ANSI definitions and prototypes.
2846         * intl/gettextP.h: Switch to gettext copyright.
2847         Use ANSI definitions and prototypes.
2848         Use gl_* locking primitives rather than __libc_* ones.
2849         * intl/gmo.h: Switch to gettext copyright.
2850         (struct sysdep_string): Move struct segment_pair outside of
2851         struct definition.
2852         * intl/hash-string.c: Use ANSI definitions and prototypes.
2853         * intl/hash-string.h: Switch to gettext copyright.
2854         Use ANSI definitions and prototypes.
2855         * intl/l10nflist.c: Switch to gettext copyright.
2856         Use ANSI definitions and prototypes.
2857         (_nl_normalize_codeset): Avoid integer overflow.
2858         * intl/loadinfo.h: Switch to gettext copyright.
2859         Use ANSI definitions and prototypes.
2860         (LIBINTL_DLL_EXPORTED): New define.
2861         (PATH_SEPARATOR): New define.
2862         * intl/loadmsgcat.c: Switch to gettext copyright.
2863         * intl/localealias.c: Switch to gettext copyright.
2864         Use ANSI definitions and prototypes.
2865         (_nl_expand_alias): Use PATH_SEPARATOR.
2866         * intl/ngettext.c: Switch to gettext copyright.
2867         Use ANSI definitions and prototypes.
2868         * intl/plural-exp.c: Likewise.
2869         * intl/plural-exp.h: Switch to gettext copyright.
2870         Use ANSI definitions and prototypes.
2871         (struct expression): Move definition of enum operator outside
2872         of struct definition.
2873         * intl/plural.c: Regenerate.
2874         * intl/plural.y: Switch to gettext copyright.
2875         Use ANSI definitions and prototypes.
2876         Port to bison 3.0.
2877         * intl/textdomain.c: Switch to gettext copyright.
2878         Use ANSI definitions and prototypes.
2879         Use gl_* locking primitives rather than __libc_* ones.
2881 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2883         * debug/warning-nop.c: Add used atrribute.
2885 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2887         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2889         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2890         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2891         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2893 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2894             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2896         [BZ #17634]
2897         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2898         Undefine after defining function.  Define as weak alias of
2899         __wcschr.  Use libc_hidden_weak.
2900         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2901         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2902         (libc_hidden_def): Also define __GI___wcschr alias.
2903         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2904         __wcschr and define as weak alias of __wcschr.
2905         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2906         __wcschr.
2907         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2908         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2909         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2910         libc_hidden_weak.  Do not use libc_hidden_def.
2911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2912         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2913         __GI___wcschr alias.
2914         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2915         [IS_IN (libc)] (wcschr): Define as macro expanding to
2916         __redirect_wcschr.
2917         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2918         [IS_IN (libc)] (__wcschr_power6): Likewise.
2919         [IS_IN (libc)] (__wcschr_power7): Likewise.
2920         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2921         instead of wcschr.
2922         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2923         __libc_wcschr.
2924         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2925         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2926         __wcschr and define as weak alias of __wcschr.  Use
2927         libc_hidden_builtin_def.
2928         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2929         as weak alias of __wcschr.  Use libc_hidden_weak.
2930         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2931         wcschr.
2932         * time/era.c (_nl_init_era_entries): Likewise.
2933         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2934         variable.
2935         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2936         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2938 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2940         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2941         format for long int variable.
2943 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2945         [BZ #10672]
2946         * manual/search.texi: (Array Sort Function): Remove claim how to make
2947         qsort stable.
2949 2014-12-10  Andreas Schwab  <schwab@suse.de>
2951         [BZ #12847]
2952         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2953         user-controlled locks.
2955 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2957         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2958         register.
2960 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2962         * configure.ac (--disable-werror): New configure option.
2963         (enable_werror): New AC_SUBST.
2964         * configure: Regenerated.
2965         * config.make.in (enable-werror): New variable.
2966         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2967         -Wno-error=undef.
2968         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2969         * manual/install.texi (Configuring and compiling): Document
2970         --disable-werror.
2971         * INSTALL: Regenerated.
2972         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2973         (CFLAGS-tst-chk2.c): Likewise.
2974         (CFLAGS-tst-chk3.c): Likewise.
2975         (CFLAGS-tst-chk4.cc): Likewise.
2976         (CFLAGS-tst-chk5.cc): Likewise.
2977         (CFLAGS-tst-chk6.cc): Likewise.
2978         (CFLAGS-tst-lfschk1.c): Likewise.
2979         (CFLAGS-tst-lfschk2.c): Likewise.
2980         (CFLAGS-tst-lfschk3.c): Likewise.
2981         (CFLAGS-tst-lfschk4.cc): Likewise.
2982         (CFLAGS-tst-lfschk5.cc): Likewise.
2983         (CFLAGS-tst-lfschk6.cc): Likewise.
2985         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2986         (main): Disable -Wdeprecated-declarations around calls to
2987         register_printf_function.
2989         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2990         (do_test): Disable -Wdiv-by-zero around some calls to
2991         fwrite_unlocked and fread_unlocked.
2993         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2994         (DIAG_POP_NEEDS_COMMENT): Likewise.
2995         (_DIAG_STR1): Likewise.
2996         (_DIAG_STR): Likewise.
2997         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2998         * stdio-common/bug21.c: Include <libc-internal.h>.
2999         (do_test): Disable -Wformat around call to sscanf.
3000         * stdio-common/scanf14.c: Include <libc-internal.h>.
3001         (main): Disable -Wformat around some calls to scanf functions.
3003 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3005         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3007 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3009         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3010         stack variable alignment.
3012 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3014         [BZ #17682]
3015         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3016         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3017         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3018         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3019         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3020         __getrlimit instead of getrlimit.
3021         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3022         __gettimeofday instead of gettimeofday.
3023         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3024         Likewise.
3025         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3026         Likewise.
3027         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3028         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3029         Remove variable.
3030         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3031         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3033 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3035         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3036         for wide-character tests.
3038 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3040         * io/openat64.c: #include <libc-internal.h>
3041         (__openat64): Prototypify.  Use ignore_value on MODE.
3042         * io/openat.c: Likewise.
3043         * misc/reboot.c: #include <libc-internal.h>
3044         (reboot): Prototypify.  Use ignore_value on HOWTO.
3045         * misc/ptrace.c: #include <libc-internal.h>
3046         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3048 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3050         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3051         XPG4, UNIX98 and XOPEN2K.
3052         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3053         Remove variable.
3054         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3056 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3058         * libio/fileops.c: Use ISO C style for function definitions.
3059         * libio/iofopen.c: Likewise.
3060         * libio/wfileops.c: Likewise.
3062         [BZ #17653]
3063         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3064         offset on EOF.
3065         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3066         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3067         (fgets_func): Function pointer to fgets and fgetws.
3068         (do_ftell_test): Add test to verify ftell value after read
3069         EOF.
3070         (do_test): Set fgets_func.
3072         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3073         O_TRUNC flag for w and w+ modes.
3074         (do_rewind_test): Likewise.
3075         (do_ftell_test): Likewise.
3076         (do_write_test): Likewise.
3078         [BZ #17647]
3079         * libio/fileops.c (do_ftell): Seek only when there are
3080         unflushed writes.
3081         * libio/wfileops.c (do_ftell_wide): Likewise.
3082         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3083         test case.
3084         (do_one_test): Call it.
3086 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3088         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3089         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3090         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3091         Remove variable.
3092         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3093         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3094         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3096 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3098         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3099         Remove variable.
3100         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3102         [BZ #17668]
3103         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3104         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3105         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3106         __freeifaddrs.  Use libc_hidden_weak.
3107         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3108         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3109         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3110         __freeifaddrs.  Use libc_hidden_weak.
3111         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3112         __getifaddrs and define as weak alias of __getifaddrs.  Use
3113         libc_hidden_weak.
3114         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3115         __freeifaddrs.  Use libc_hidden_weak.
3116         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3117         Remove variable.
3118         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3119         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3121 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3123         [BZ #17601]
3124         * sysdeps/mips/start.S (__start): Use indirect jump to call
3125         __libc_start_main.
3127 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3129         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3131         * nptl/tst-mutex1.c: Include <stdbool.h>.
3132         [!ATTR] (ATTR_NULL): New macro.
3133         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3134         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3135         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3137         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3138         to char *.
3140         [BZ #17665]
3141         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3142         Change conditional to [__USE_MISC].
3144         [BZ #17664]
3145         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3146         fgets_unlocked.
3147         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3148         __fgets_unlocked.
3149         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3150         fgets_unlocked.
3151         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3152         Remove variable.
3153         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3154         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3155         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3156         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3157         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3158         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3159         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3160         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3161         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3163         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3165 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3167         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3168         Remove strpbrk objects.
3169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3170         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3171         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3172         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3173         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3174         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3176         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3177         Remove strcspn objects.
3178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3179         (__libc_ifunc_impl_list): Remove strcspn implementation.
3180         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3181         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3182         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3183         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3185         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3186         Remove strspn objetcs.
3187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3188         (__libc_ifunc_impl_list): Remove strspn implementation.
3189         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3190         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3191         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3192         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3194 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3196         [BZ #17581]
3197         * malloc/hooks.c
3198         (mem2mem_check): Add a terminator to the chain of checking blocks.
3199         (malloc_check_get_size): Use it here.
3200         (mem2chunk_check): Ditto.
3202 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3204         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3205         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3207 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3209         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3211         * nptl/nptl-init.c: Include libc-internal.h.
3212         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3214         * elf/ldconfig.c (search_dir): Expand comment.
3216 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3218         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3219         variable.
3220         (linknamespace-symlist-stdlibs-tests): Likewise.
3221         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3222         instead of $(objpfx)symlist-stdlibs.
3223         (linknamespace-libs-isoc): New variable.
3224         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3225         (linknamespace-libs-ISO): New variable.
3226         (linknamespace-libs-ISO99): Likewise.
3227         (linknamespace-libs-ISO11): Likewise.
3228         (linknamespace-libs-XPG3): Likewise.
3229         (linknamespace-libs-XPG4): Likewise.
3230         (linknamespace-libs-POSIX): Likewise.
3231         (linknamespace-libs-UNIX98): Likewise.
3232         (linknamespace-libs-XOPEN2K): Likewise.
3233         (linknamespace-libs-POSIX2008): Likewise.
3234         (linknamespace-libs-XOPEN2K8): Likewise.
3235         ($(objpfx)symlist-stdlibs): Replace by
3236         $(linknamespace-symlist-stdlibs-tests).  Use
3237         $(linknamespace-libs-$*) as set of libraries.
3238         ($(linknamespace-header-tests)): Update dependencies.  Use
3239         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3240         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3241         * conform/linknamespace.pl: Remove comment about considering
3242         definitions of symbols from irrelevant libraries.
3244 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3246         [BZ #13862]
3247         * elf/dl-tls.c: Include <atomic.h>.
3248         (oom): Remove #ifdef SHARED/#endif.
3249         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3250         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3251         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3252         big enough.
3253         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3254         * nptl/Makefile (tests): Add tst-stack4.
3255         (modules-names): Add tst-stack4mod.
3256         ($(objpfx)tst-stack4): New.
3257         (tst-stack4mod.sos): Likewise.
3258         ($(objpfx)tst-stack4.out): Likewise.
3259         ($(tst-stack4mod.sos)): Likewise.
3260         (clean): Likewise.
3261         * nptl/tst-stack4.c: New file.
3262         * nptl/tst-stack4mod.c: Likewise.
3264 2014-11-27  J. Brown  <jb999@gmx.de>
3266         * sysdeps/x86/bits/string.h: Add recent CPUs.
3268 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3270         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3271         sigblock.
3273         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3274         feof.
3276         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3277         variable.
3279 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3281         * nscd/connections.c: Include libc-internal.h because of macro
3282         usage ignore_value.
3284 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3286         * string/bits/string3.h (__warn_memset_zero_len): Don't
3287         declare for gcc newer than 5.0.
3288         (memset): Don't test for zero-length __LEN for gcc newer than
3289         5.0.
3291 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3293         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3294         size_t for %zu format.
3296         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3297         difference, not %ju.
3299 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3301         * include/libc-internal.h (ignore_value): New macro.
3302         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3303         with ignore_value.
3305         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3306         definition.
3308         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3309         pthread_cleanup_push to void *.
3311         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3312         Undefine.
3314         [BZ #16619]
3315         [BZ #16740]
3316         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3317         instead of 1L << 52.
3319         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3320         * libio/bug-rewind2.c (do_test): Likewise.
3322         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3323         * debug/test-strcpy_chk-ifunc.c: Likewise.
3324         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3325         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3326         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3327         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3328         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3329         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3330         * Rules [$(multi-arch) = no] (tests): Do not filter out
3331         $(tests-ifunc).
3332         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3333         * debug/Makefile (tests-ifunc): Remove variable.
3334         (tests): Do not add $(tests-ifunc).
3335         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3336         (tests): Do not add $(tests-ifunc).
3337         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3338         [TEST_IFUNC]: Remove conditionals.
3339         * string/test-string.h (TEST_IFUNC): Remove macro.
3340         [TEST_IFUNC]: Remove conditionals.
3342         * string/test-strchr.c [!WIDE] (L): New macro.
3343         [WIDE] (L): Likewise.
3344         (check1): Use CHAR instead of char.  Use L on string and character
3345         constants.
3347 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3349         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3350         tests.
3351         * sysdeps/powerpc/bits/atomic.h
3352         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3353         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3354         (atomic_exchange_and_add_acq): Likewise.
3355         (atomic_exchange_and_add_rel): Likewise.
3356         * sysdeps/powerpc/powerpc32/bits/atomic.h
3357         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3358         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3359         * sysdeps/powerpc/powerpc64/bits/atomic.h
3360         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3361         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3363 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3365         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3366         Change synchronization of __sched_fifo_min_prio and
3367         __sched_fifo_max_prio.
3368         * nptl/pthread_mutexattr_getprioceiling.c
3369         (pthread_mutexattr_getprioceiling): Likewise.
3370         * nptl/pthread_mutexattr_setprioceiling.c
3371         (pthread_mutexattr_setprioceiling): Likewise.
3372         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3373         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3374         Likewise.
3376 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3378         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3379         void.
3381 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3383         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3384         third argument const.
3386 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3388         fnmatch: work around GCC compiler warning bug with uninit var
3389         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3390         This works around a bug with x86-64 GCC 4.9.2 and earlier
3391         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3392         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3393         used uninitialized in this function [-Wmaybe-uninitialized]".
3395 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3397         * posix/bug-regex31.c (main): Return RES not 0.
3399 2014-11-25  Anton Blanchard <anton@samba.org>
3401         * sysdeps/powerpc/bits/atomic.h
3402         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3404 2014-11-24  Sterling Augustine  <saugustine@google.com>
3406         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3408 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3410         [BZ #17608]
3411         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3413 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3415         [BZ #17633]
3416         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3417         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3418         variable.
3419         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3420         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3422 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3424         * string/strncpy.c (strncpy): Improve performance by using memset.
3426 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3428         * string/strcpy.c (strcpy):
3429         Improve performance by using strlen and memcpy.
3431 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3433         * string/strcoll_l.c (get_next_seq): __always_inline.
3434         * string/strcoll_l.c (do_compare): __always_inline.
3436 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3438         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3439         defined.
3440         * include/mqueue.h: Likewise.
3441         * include/stdlib.h: Likewise.
3443         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3444         (get_null_defines): Adjust.
3445         * sunrpc/Makefile: Adjust comment.
3446         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3447         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3448         (CFLAGS-interp.c): Likewise.
3449         (CFLAGS-ldconfig.c): Likewise.
3450         (CPPFLAGS-.os): Likewise.
3451         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3452         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3453         * extra-modules.mk (extra-modules.mk): Likewise.
3454         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3455         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3456         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3457         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3458         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3459         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3460         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3461         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3462         * iconvdata/Makefile (CPPFLAGS): Likewise.
3463         (cpp-srcs-left): Add libof for all iconvdata routines.
3464         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3465         * include/assert.h: Likewise.
3466         * include/ctype.h: Likewise.
3467         * include/errno.h: Likewise.
3468         * include/libc-symbols.h: Likewise.
3469         * include/math.h: Likewise.
3470         * include/netdb.h: Likewise.
3471         * include/resolv.h: Likewise.
3472         * include/stdio.h: Likewise.
3473         * include/stdlib.h: Likewise.
3474         * include/string.h: Likewise.
3475         * include/sys/stat.h: Likewise.
3476         * include/wctype.h: Likewise.
3477         * intl/l10nflist.c: Likewise.
3478         * libidn/idn-stub.c: Likewise.
3479         * libio/libioP.h: Likewise.
3480         * nptl/libc_multiple_threads.c: Likewise.
3481         * nptl/pthreadP.h: Likewise.
3482         * posix/regex_internal.h: Likewise.
3483         * resolv/res_hconf.c: Likewise.
3484         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3485         * sysdeps/arm/memmove.S: Likewise.
3486         * sysdeps/arm/sysdep.h: Likewise.
3487         * sysdeps/generic/_itoa.h: Likewise.
3488         * sysdeps/generic/symbol-hacks.h: Likewise.
3489         * sysdeps/gnu/errlist.awk: Likewise.
3490         * sysdeps/gnu/errlist.c: Likewise.
3491         * sysdeps/i386/i586/memcpy.S: Likewise.
3492         * sysdeps/i386/i586/memset.S: Likewise.
3493         * sysdeps/i386/i686/memcpy.S: Likewise.
3494         * sysdeps/i386/i686/memmove.S: Likewise.
3495         * sysdeps/i386/i686/mempcpy.S: Likewise.
3496         * sysdeps/i386/i686/memset.S: Likewise.
3497         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3498         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3499         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3500         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3501         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3502         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3503         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3504         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3505         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3506         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3507         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3508         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3509         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3510         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3511         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3512         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3513         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3514         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3515         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3516         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3517         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3518         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3519         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3520         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3521         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3522         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3523         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3524         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3525         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3526         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3527         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3528         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3529         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3530         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3531         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3532         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3533         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3534         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3535         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3536         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3537         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3538         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3539         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3540         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3541         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3542         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3543         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3544         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3545         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3546         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3547         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3548         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3549         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3550         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3551         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3552         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3553         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3554         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3555         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3556         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3557         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3558         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3559         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3560         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3561         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3562         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3563         * sysdeps/posix/closedir.c: Likewise.
3564         * sysdeps/posix/opendir.c: Likewise.
3565         * sysdeps/posix/readdir.c: Likewise.
3566         * sysdeps/posix/rewinddir.c: Likewise.
3567         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3568         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3569         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3570         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3571         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3572         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3573         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3574         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3575         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3576         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3577         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3578         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3579         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3580         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3581         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3582         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3583         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3584         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3585         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3586         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3587         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3588         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3589         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3590         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3592         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3594         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3595         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3602         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3603         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3604         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3605         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3606         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3607         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3608         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3609         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3610         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3611         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3612         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3613         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3614         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3615         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3616         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3617         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3618         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3620         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3621         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3622         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3623         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3624         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3625         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3626         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3627         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3628         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3629         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3630         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3631         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3632         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3633         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3634         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3635         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3636         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3637         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3638         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3639         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3640         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3641         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3642         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3643         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3644         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3645         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3646         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3647         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3648         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3649         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3650         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3651         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3652         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3653         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3654         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3655         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3656         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3657         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3658         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3659         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3660         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3662         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3663         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3664         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3665         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3666         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3668         * sysdeps/unix/alpha/sysdep.S: Likewise.
3669         * sysdeps/unix/alpha/sysdep.h: Likewise.
3670         * sysdeps/unix/make-syscalls.sh: Likewise.
3671         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3673         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3674         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3675         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3676         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3677         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3678         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3679         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3680         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3681         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3682         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3683         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3684         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3685         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3686         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3687         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3688         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3689         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3690         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3691         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3692         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3693         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3694         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3695         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3696         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3697         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3700         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3701         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3702         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3703         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3704         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3705         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3706         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3707         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3709         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3710         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3711         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3712         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3713         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3714         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3715         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3717         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3718         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3719         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3721         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3722         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3723         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3724         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3726         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3727         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3728         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3729         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3730         * sysdeps/x86_64/memcpy.S: Likewise.
3731         * sysdeps/x86_64/memmove.c: Likewise.
3732         * sysdeps/x86_64/memset.S: Likewise.
3733         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3734         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3735         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3736         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3737         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3738         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3739         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3740         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3741         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3742         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3743         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3744         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3745         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3746         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3747         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3748         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3749         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3750         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3751         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3752         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3753         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3754         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3755         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3756         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3757         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3758         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3759         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3760         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3761         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3762         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3763         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3764         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3765         * sysdeps/x86_64/strcmp.S: Likewise.
3767         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3769         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3770         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3771         * elf/rtld-Rules: Likewise.
3772         * elf/setup-vdso.h: Likewise.
3773         * include/assert.h: Likewise.
3774         * include/bits/stdlib-float.h: Likewise.
3775         * include/errno.h: Likewise.
3776         * include/sys/stat.h: Likewise.
3777         * include/unistd.h: Likewise.
3778         * sysdeps/aarch64/setjmp.S: Likewise.
3779         * sysdeps/alpha/setjmp.S: Likewise.
3780         * sysdeps/arm/__longjmp.S: Likewise.
3781         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3782         * sysdeps/arm/setjmp.S: Likewise.
3783         * sysdeps/arm/sysdep.h: Likewise.
3784         * sysdeps/generic/_itoa.h: Likewise.
3785         * sysdeps/generic/dl-sysdep.h: Likewise.
3786         * sysdeps/generic/ldsodefs.h: Likewise.
3787         * sysdeps/i386/dl-tls.h: Likewise.
3788         * sysdeps/i386/setjmp.S: Likewise.
3789         * sysdeps/m68k/setjmp.c: Likewise.
3790         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3791         * sysdeps/mach/hurd/opendir.c: Likewise.
3792         * sysdeps/posix/getcwd.c: Likewise.
3793         * sysdeps/posix/opendir.c: Likewise.
3794         * sysdeps/posix/profil.c: Likewise.
3795         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3796         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3797         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3798         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3799         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3800         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3801         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3802         * sysdeps/s390/dl-tls.h: Likewise.
3803         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3804         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3805         * sysdeps/sh/sh3/setjmp.S: Likewise.
3806         * sysdeps/sh/sh4/setjmp.S: Likewise.
3807         * sysdeps/unix/alpha/sysdep.h: Likewise.
3808         * sysdeps/unix/arm/sysdep.S: Likewise.
3809         * sysdeps/unix/i386/sysdep.S: Likewise.
3810         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3811         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3812         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3813         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3814         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3815         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3816         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3817         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3818         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3819         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3820         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3821         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3822         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3825         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3826         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3827         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3828         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3829         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3830         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3832         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3833         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3834         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3835         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3837         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3838         * sysdeps/x86_64/setjmp.S: Likewise.
3840         * include/math.h: Use IS_IN instead of IS_IN_libm.
3841         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3842         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3843         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3844         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3845         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3846         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3847         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3848         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3849         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3850         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3851         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3852         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3853         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3854         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3855         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3856         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3857         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3858         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3859         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3860         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3861         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3862         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3863         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3864         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3865         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3866         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3867         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3868         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3869         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3870         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3871         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3872         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3873         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3875         Likewise.
3876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3877         Likewise.
3878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3879         Likewise.
3880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3881         Likewise.
3882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3883         Likewise.
3884         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3885         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3886         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3887         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3888         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3889         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3895         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3896         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3897         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3898         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3899         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3900         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3901         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3902         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3903         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3904         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3905         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3906         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3907         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3908         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3910         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3912         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3913         * nptl/pthreadP.h: Likewise.
3914         * nptl_db/structs.def: Likewise.
3915         * sysdeps/arm/sysdep.h: Likewise.
3916         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3917         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3918         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3919         * sysdeps/unix/alpha/sysdep.h: Likewise.
3920         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3921         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3922         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3923         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3924         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3925         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3927         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3928         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3929         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3930         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3931         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3932         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3933         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3936         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3937         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3938         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3939         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3940         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3941         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3942         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3943         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3944         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3945         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3947         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3948         * nptl/pthreadP.h: Likewise.
3949         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3950         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3951         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3952         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3953         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3954         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3955         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3956         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3957         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3958         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3959         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3960         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3962         Likewise.
3963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3964         Likewise.
3965         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3966         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3967         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3968         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3969         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3970         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3971         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3972         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3974         * dlfcn/dladdr.c: Use IS_IN.
3975         * dlfcn/dladdr1.c: Likewise.
3976         * dlfcn/dlclose.c: Likewise.
3977         * dlfcn/dlerror.c: Likewise.
3978         * dlfcn/dlinfo.c: Likewise.
3979         * dlfcn/dlmopen.c: Likewise.
3980         * dlfcn/dlopen.c: Likewise.
3981         * dlfcn/dlsym.c: Likewise.
3982         * dlfcn/dlvsym.c: Likewise.
3984         * include/ifaddrs.h: Use IS_IN.
3985         * inet/check_pf.c: Likewise.
3986         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3987         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3989         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3990         IS_IN_ldconfig.
3991         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3992         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3994         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3995         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3996         IS_IN (libc).
3998         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4000         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4001         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4002         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4003         * include/libc-symbols.h (IS_IN_LIB): New macro.
4004         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4005         * include/netdb.h: Likewise.
4006         * include/stap-probe.h: Remove all uses of IN_LIB.
4008         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4009         instead of IN_MODULE.
4010         * include/libc-symbols.h (IN_MODULE): Define using
4011         MODULE_NAME.
4012         (PASTE_NAME, PASTE_NAME1): New macros.
4013         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4014         of IN_LIB.
4015         (STAP_PROBE_ASM): Likewise.
4017 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4019         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4020         __mach_init in dlopened libc.
4022 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4024         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4025         * sysdeps/arm/preconfigure: Regenerate.
4027 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4029         * nptl/pthread_create.c (__pthread_create_2_1): Set
4030         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4031         when copying values from IATTR into PD.
4033 2014-11-21  Will Newton  <will.newton@linaro.org>
4034             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4036         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4037         Refactor inline-asm.  Also add comment.
4039         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4040         ElfW macro instead of hardcoded Elf64 types.
4041         (la_aarch64_gnu_pltenter): Likewise.
4042         * sysdeps/aarch64/dl-machine.h
4043         (elf_machine_runtime_setup): Use ElfW(Addr).
4045         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4046         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4047         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4048         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4049         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4050         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4051         (R_AARCH64_TLS_DTPMOD): This.
4052         (R_AARCH64_TLS_DTPREL64): Rename to ...
4053         (R_AARCH64_TLS_DTPREL): This.
4054         (R_AARCH64_TLS_TPREL64): Rename to ...
4055         (R_AARCH64_TLS_TPREL): This.
4056         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4057         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4058         R_AARCH64_TLS_TPREL64.
4059         (elf_machine_rela): Likewise.
4061 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4063         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4064         by setting it to 0.  64b atomics are not supported currently.
4066 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4068         [BZ #16469]
4069         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4070         search domain names.
4072 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4074         [BZ #16469]
4075         * NEWS: Update.
4076         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4077         trailing dot.
4078         * posix/tst-getaddrinfo5.c: New.
4079         * posix/Makefile (tests): Add it.
4081 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4083         [BZ #14498]
4084         * NEWS: Fixed.
4085         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4086         after parsing line but before break_if_match.
4087         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4088         if there is a protocol mismatch.
4090 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4092         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4093         because the potential race is on the user-supplied stream.
4095 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4097         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4098         string literal if not passed a buffer.
4099         * manual/job.texi (ctermid): Update reasoning, note deviation
4100         from posix, suggest mtasurace when not passed a buffer, for
4101         future non-preliminary safety notes.
4103 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4105         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4106         of not passing it a buffer.
4107         Reported by Peng Haitao.
4109 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4111         * manual/Makefile ($(objpfx)stamp-summary): Require
4112         check-safety.sh to pass.
4113         * manual/check-safety.sh: Wish for verification that every
4114         @deftypefn and @deftypefun is followed by a @safety remark.
4116 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4118         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4120         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4121         PTHREAD_CANCEL_ASYNCHRONOUS.
4122         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4123         send SIGCANCEL.
4125         * nptl/default-sched.h: New file.
4126         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4127         * nptl/pthread_create.c: Include it.
4128         (__pthread_create_2_1): Use collect_default_sched instead of making
4129         Linux syscalls here directly.
4131 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4133         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4134         __pthread_once): Use C11 atomics.
4136 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4138         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4140 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4142         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4143         atomic_thread_fence_acquire, atomic_thread_fence_release,
4144         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4145         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4146         atomic_compare_exchange_weak_relaxed,
4147         atomic_compare_exchange_weak_acquire,
4148         atomic_compare_exchange_weak_release,
4149         atomic_exchange_acquire, atomic_exchange_release,
4150         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4151         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4152         atomic_fetch_and_acquire,
4153         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4155 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4157         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4158         USE_ATOMIC_COMPILER_BUILTINS): Define.
4159         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4160         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4161         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4162         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4163         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4164         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4165         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4167         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4169         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4171         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4173         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4175         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4177         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4179         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4181         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4183         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4185         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4187         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4189         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4191         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4193         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4194         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4200 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4202         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4203         the sched_priority value here.  It was already checked when the user
4204         called pthread_attr_setschedparam.
4206         * nptl/tst-bad-schedattr.c: New file.
4207         * nptl/Makefile (tests): Add it.
4209 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4210             Florian Weimer  <fweimer@redhat.com>
4211             Joseph Myers  <joseph@codesourcery.com>
4212             Adam Conrad  <adconrad@0c3.net>
4213             Andreas Schwab  <schwab@suse.de>
4214             Brooks  <bmoses@google.com>
4216         [BZ #17625]
4217         * wordexp-test.c (__dso_handle): Add prototype.
4218         (__register_atfork): Likewise.
4219         (__app_register_atfork): New function.
4220         (registered_forks): New global.
4221         (register_fork): New function.
4222         (test_case): Add 3 new tests for WRDE_CMDSUB.
4223         (main): Call __app_register_atfork.
4224         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4225         fork count is non-zero fail the test.
4226         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4227         is set.
4228         (parse_dollars): Remove check for WRDE_NOCMD.
4229         (parse_dquote): Likewise.
4231 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4233         * Makeconfig (built-modules): List non-library modules to be
4234         built.
4235         (module-cppflags): Include libc-modules.h for
4236         everything except shlib-versions.v.i.
4237         (CPPFLAGS): Use it.
4238         (before-compile): Add libc-modules.h.
4239         ($(common-objpfx)libc-modules.h,
4240         $(common-objpfx)libc-modules.stmp): New targets.
4241         (common-generated): Add libc-modules.h and libc-modules.stmp.
4242         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4243         * include/libc-symbols.h: Don't include libc-modules.h.
4244         * include/libc-modules.h: Remove file.
4245         * scripts/gen-libc-modules.awk: New script to generate
4246         libc-modules.h.
4247         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4248         Depend on libc-modules.stmp.
4250         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4252         * Makeconfig (in-module): Get value of libof set for the
4253         translation unit.
4254         (CPPFLAGS): Use $(in-module).
4255         * Makerules: Don't suffix routine names for nonlib.
4256         * include/libc-modules.h: New file.
4257         * include/libc-symbols.h: Include libc-modules.h
4258         (IS_IN): New macro to replace IS_IN_* macros.
4259         * elf/Makefile: Set libof-* for each routine.
4260         * elf/rtld-Rules: Likewise.
4261         * extra-modules.mk: Likewise.
4262         * iconv/Makefile: Likewise.
4263         * iconvdata/Makefile: Likewise.
4264         * locale/Makefile: Likewise.
4265         * malloc/Makefile: Likewise.
4266         * nss/Makefile: Likewise.
4267         * sysdeps/gnu/Makefile: Likewise.
4268         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4269         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4270         * sysdeps/s390/s390-64/Makefile: Likewise.
4271         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4272         CPPFLAGS for nscd instead of nonlib.
4274 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4276         * nptl/createthread.c: New file.
4278         * nptl/createthread.c: Moved ...
4279         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4281         * nptl/createthread.c: Add proper top-line comment.
4282         (do_clone): Folded into ...
4283         (create_thread): ... here.  Take new arguments STOPPED_START and
4284         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4285         increment __nptl_threads, do event-reporting logic, do
4286         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4287         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4288         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4289         just send SIGCANCEL.
4290         * nptl/pthread_create.c: Forward-declare create_thread before
4291         including createthread.c.
4292         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4293         declaration, and new macro START_THREAD_SELF to replace argument.
4294         Remove return statement.
4295         (report_thread_creation): New function.
4296         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4297         synchronization logic, and __nptl_nthreads increment here, around
4298         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4299         PD->parent_cancelhandling here, before create_thread.  When
4300         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4301         __deallocate_stack, and ENOMEM translation here.
4303 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4305         [BZ #17616]
4306         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4307         (mptwo): Rename to __mptwo.
4308         (__inv): Use __mptwo instead of mptwo.
4309         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4310         (mptwo): Rename to __mptwo.
4311         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4312         of mpone and __mptwo instead of mptwo.
4313         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4314         instead of mpone.
4315         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4316         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4317         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4318         of mpone and __mptwo instead of mptwo.
4319         (__mpranred): Use __mpone instead of mpone.
4320         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4321         variable.
4322         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4323         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4324         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4325         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4326         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4327         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4328         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4329         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4330         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4331         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4332         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4333         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4334         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4335         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4336         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4337         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4338         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4339         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4340         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4342 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4344         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4345         replace BSD Handler xref with BSD Signal Handling.
4347 2014-11-17  Richard Henderson  <rth@redhat.com>
4349         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4350         (_FP_PACK_RAW_2): Remove.
4351         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4352         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4353         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4354         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4355         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4356         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4357         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4358         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4359         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4360         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4361         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4362         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4363         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4364         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4365         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4366         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4368 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4370         * signal/signal.h [__USE_MISC]
4371         (struct sigvec): Remove type.
4372         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4373         (sigvec): Remove declaration.
4374         * sysdeps/posix/sigvec.c: Moved ...
4375         * signal/sigvec.c: ... here, replacing old file.
4376         (struct sigvec): New type, copied from old signal.h definition.
4377         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4378         (__sigvec): Convert definition to prototype.
4379         (sigvec): Replace weak_alias with compat_symbol.
4380         * signal/Versions (libc: GLIBC_2.21): New version set.
4381         * include/signal.h: Remove __sigvec declaration.
4382         * sysdeps/unix/bsd/sigvec.c: Remove file.
4383         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4384         * manual/signal.texi (BSD Handler): Remove subsection.
4385         Move siginterrupt up to ...
4386         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4387         (Blocking in BSD): Fold subsection into its parent.
4388         * NEWS: Mention sigvec removal.
4390 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4392         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4393         (DLA_FMS): Make definition conditional only on [__FMA4__].
4394         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4395         definition.
4397         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4398         Make definition conditional only on [PROF].
4399         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4400         definition.
4401         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4402         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4404         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4405         !__GNUC__].
4406         * include/signal.h (__sigpause): Move declaration above call to
4407         libc_hidden_proto.
4408         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4409         variable.
4410         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4411         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4413 2014-11-14  David S. Miller  <davem@davemloft.net>
4415         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4416         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4418 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4420         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4421         * configure: Regenerated.
4422         * manual/install.texi (Tools for Compilation): Document a
4423         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4424         compiler verified to work.
4425         * INSTALL: Regenerated.
4427         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4428         redeclare with asm name.
4429         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4430         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4431         including <string.h>.
4432         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4433         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4434         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4435         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4436         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4438         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4440 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4442         * stdlib/strtol.c (__strtol): Use prototype definition.
4444         [BZ #17594]
4445         * stdlib/strtol.c (SYM__): New macro.
4446         (SYM__1): Likewise.
4447         (__strtol): Likewise.
4448         (strtol): Rename to __strtol and define as weak alias of
4449         __strtol.  Use libc_hidden_weak.
4451 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4453         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4454         Use numbered labels in inline assembly.
4456 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4458         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4459         Add setjmp LIBC_PROBE.
4460         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4461         Likewise.
4462         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4463         Add longjmp, longjmp_target LIBC_PROBE.
4464         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4465         Likewise.
4467 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4469         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4470         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4471         to get rid of unused variable warning.
4473 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4475         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4476         Check for unwind_backtrace ==  NULL only in SHARED case.
4477         (__backchain_backtrace): Compile only in SHARED case.
4478         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4479         Likewise.
4480         (__backchain_backtrace): Declare as static.
4482 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4484         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4485         (__libc_multiple_threads_ptr): Variable moved ...
4486         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4488 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4490         * conform/GlibcConform.pm: New file.
4491         * conform/conformtest.pl: Use GlibcConform module.
4492         * conform/linknamespace.pl: New file.
4493         * conform/list-header-symbols.pl: Likewise.
4494         * conform/Makefile (linknamespace-symlists-base): New variable.
4495         (linknamespace-symlists-tests): Likewise.
4496         (linknamespace-header-base): Likewise.
4497         (linknamespace-header-tests): Likewise.
4498         (tests-special): Add new tests.
4499         ($(linknamespace-symlists-tests)): New rule.
4500         (linknamespace-libs): New variable.
4501         ($(objpfx)symlist-stdlibs): New rule.
4502         ($(linknamespace-header-tests)): Likewise.
4503         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4504         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4505         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4506         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4507         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4508         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4509         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4510         (test-xfail-ISO/math.h/linknamespace): Likewise.
4511         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4512         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4513         (test-xfail-ISO/time.h/linknamespace): Likewise.
4514         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4515         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4516         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4517         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4518         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4519         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4520         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4521         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4522         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4523         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4524         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4525         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4526         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4527         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4528         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4529         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4530         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4531         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4532         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4533         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4534         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4535         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4536         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4537         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4538         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4539         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4540         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4541         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4542         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4543         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4544         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4545         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4546         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4547         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4548         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4549         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4550         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4551         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4552         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4553         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4554         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4555         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4556         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4557         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4558         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4559         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4560         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4561         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4562         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4563         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4564         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4565         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4566         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4567         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4568         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4569         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4570         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4571         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4572         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4573         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4574         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4575         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4576         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4577         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4578         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4579         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4580         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4581         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4582         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4583         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4584         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4585         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4586         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4587         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4588         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4589         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4590         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4591         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4592         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4593         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4594         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4595         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4596         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4597         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4598         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4599         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4600         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4601         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4602         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4603         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4604         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4605         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4606         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4607         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4608         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4609         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4610         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4611         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4612         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4613         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4614         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4615         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4616         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4617         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4618         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4619         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4620         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4621         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4622         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4623         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4624         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4625         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4626         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4627         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4628         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4629         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4630         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4631         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4632         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4633         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4634         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4635         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4636         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4637         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4638         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4639         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4640         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4641         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4642         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4643         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4644         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4645         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4646         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4647         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4648         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4649         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4650         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4651         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4652         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4653         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4654         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4655         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4656         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4657         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4658         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4659         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4660         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4661         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4662         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4663         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4665         [BZ #17589]
4666         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4667         of fgets_unlocked.
4669         [BZ #17585]
4670         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4671         (memmem): Rename to __memmem and define as weak alias of
4672         __memmem.  Use libc_hidden_weak.
4673         (__memmem): Use libc_hidden_def.
4674         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4675         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4676         memmem.
4678         [BZ #17582]
4679         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4680         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4681         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4682         and define as weak alias of __fgets_unlocked.  Use
4683         libc_hidden_weak.
4684         (__fgets_unlocked): Use libc_hidden_def.
4685         * include/stdio.h (__fgets_unlocked): Declare.  Use
4686         libc_hidden_proto.
4687         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4688         __fgets_unlocked instead of fgets_unlocked.
4689         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4690         (GET_NPROCS_CONF_PARSER): Likewise.
4691         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4692         (GET_NPROCS_CONF_PARSER): Likewise.
4694         [BZ #17574]
4695         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4696         weak alias of __wmemset.  Use libc_hidden_weak.
4697         (__wmemset): Use libc_hidden_def.
4698         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4699         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4700         of wmemset.
4702         [BZ #17573]
4703         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4704         with asm name __mempcpy.
4705         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4707         [BZ #17572]
4708         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4709         and define as weak alias of __rawmemchr.
4710         (__rawmemchr): Do not define as strong alias of rawmemchr.
4712         [BZ #17571]
4713         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4714         alias of __qsort_r.
4715         (qsort): Call __qsort_r instead of qsort_r.
4716         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4717         (__qsort_r): Declare.  Call libc_hidden_proto.
4718         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4719         instead of qsort_r.
4720         * nscd/gai.c (__qsort_r): Define to qsort_r.
4721         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4722         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4723         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4725         [BZ #17570]
4726         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4727         define as weak alias of __malloc_info.
4729         [BZ #17584]
4730         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4731         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4732         (__rewinddir): Use libc_hidden_def.
4733         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4734         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4735         (__rewinddir): Use libc_hidden_def.
4736         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4737         weak alias of __rewinddir.  Don't use libc_hidden_def.
4738         (__rewinddir): Use libc_hidden_def.
4739         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4740         (__rewinddir): Use libc_hidden_proto.
4741         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4742         rewinddir.
4743         (__getcwd): Use __rewinddir instead of rewinddir.
4745         [BZ #17583]
4746         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4747         alias of __fileno.  Use libc_hidden_weak.
4748         (__fileno): Use libc_hidden_def.
4749         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4750         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4751         alias of __ftello.
4752         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4753         __ftello.
4754         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4755         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4756         libc_hidden_def.
4757         (fread_unlocked): Don't use libc_hidden_ver.
4758         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4759         and define as weak alias of __fread_unlocked.  Don't use
4760         libc_hidden_def.
4761         (__fread_unlocked): Use libc_hidden_def.
4762         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4763         (ftello): Don't use libc_hidden_proto.
4764         (__ftello): Declare.  Use libc_hidden_proto.
4765         (fread_unlocked): Don't use libc_hidden_proto.
4766         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4767         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4768         and __ftello instead of fileno, fread_unlocked and ftello.
4770 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4772         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4773         GOT12.
4774         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4775         Likewise.
4776         (_dl_start_user): Likewise.
4777         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4779 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4780             Siddhesh Poyarekar  <siddhesh@redhat.com>
4782         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4783         Move argv and envp down instead of moving argc up.
4784         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4786 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4788         [BZ #17506]
4789         * test-skeleton.c (main): Return successful if one of
4790         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4791         * string/tst-strcoll-overflow.c: Define expected status.
4793 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4795         [BZ #17475]
4796         * locale/iso-639.def: Define Bhili and Tulu language codes.
4798 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4800         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4802 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4804         [BZ #17555]
4805         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4807 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4809         * configure.ac: Updated check of minimal required version to
4810         2.22.
4811         * manual/install.texi (Tools for Compilation): Updated version
4812         number.
4813         * configure: Regenerated.
4814         * INSTALL: Likewise.
4816 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4818         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4819         __tls_get_addr.
4821 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4823         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4824         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4825         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4826         libc_hidden_weak.
4827         (waitpid): Define as alias of __waitpid.
4828         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4829         __waitpid.
4830         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4831         libc_hidden_weak.
4832         (waitpid): Define as alias of __waitpid.
4833         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4834         __libc_waitpid alias.
4835         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4836         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4837         Likewise.
4838         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4839         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4840         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4841         alias.
4842         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4843         __waitpid.
4844         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4845         libc_hidden_weak.
4846         (waitpid): Define as alias of __waitpid.
4848 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4850         * manual/llio.texi: Add comment that write safety has been
4851         fixed in Linux.
4853         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4854         (localplt-build-dso): Add elf/ld.so.
4855         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4856         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4857         and free for ld.so.
4858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4859         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4861         Likewise.
4862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4863         Likewise.
4864         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4865         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4866         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4867         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4868         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4869         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4870         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4871         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4872         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4873         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4874         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4876 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4878         [BZ #14132]
4879         * include/libc-symbols.h (INTUSE): Remove macro.
4880         (INTDEF): Likewise.
4881         (INTVARDEF): Likewise.
4882         (_INTVARDEF): Likewise.
4883         (INTDEF2): Likewise.
4884         (INTVARDEF2): Likewise.
4885         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4886         rtld_hidden_def instead of INTVARDEF.
4887         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4888         (_dl_starting_up_internal): Remove declaration.
4889         (_dl_starting_up): Use rtld_hidden_proto.
4890         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4891         declaration.
4892         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4893         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4894         _dl_starting_up.
4895         * elf/dl-writev.h (_dl_writev): Likewise.
4896         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4897         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4898         _dl_starting_up_internal.
4900 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4902         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4903         test-skeleton.c.
4905 2014-11-05  Will Newton  <will.newton@linaro.org>
4907         * benchtests/Makefile: (bench-malloc): Add malloc thread
4908         scalability benchmark.
4909         * benchtests/bench-malloc-threads.c: New file.
4911 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4913         * sysdeps/aarch64/strchrnul.S: New file.
4915 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4917         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4918         definition.
4919         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4920         Likwise.
4921         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4922         Likewise.
4923         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4924         Likewise.
4925         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4926         Likewise.
4927         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4928         Likewise.
4930 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4932         * catgets/test-gencat.c: Use test-skeleton.c.
4933         * catgets/tst-catgets.c: Likewise.
4934         * csu/tst-empty.c: Likewise.
4935         * elf/tst-audit2.c: Likewise.
4936         * elf/tst-global1.c: Likewise.
4937         * elf/tst-pathopt.c: Likewise.
4938         * elf/tst-piemod1.c: Likewise.
4939         * elf/tst-tls10.c: Likewise.
4940         * elf/tst-tls11.c: Likewise.
4941         * elf/tst-tls12.c: Likewise.
4942         * gnulib/tst-gcc.c: Likewise.
4943         * iconvdata/tst-e2big.c: Likewise.
4944         * iconvdata/tst-loading.c: Likewise.
4945         * iconv/tst-iconv1.c: Likewise.
4946         * iconv/tst-iconv2.c: Likewise.
4947         * inet/test-inet6_opt.c: Likewise.
4948         * inet/tst-gethnm.c: Likewise.
4949         * inet/tst-network.c: Likewise.
4950         * inet/tst-ntoa.c: Likewise.
4951         * intl/tst-codeset.c: Likewise.
4952         * intl/tst-gettext2.c: Likewise.
4953         * intl/tst-gettext3.c: Likewise.
4954         * intl/tst-ngettext.c: Likewise.
4955         * intl/tst-translit.c: Likewise.
4956         * io/test-stat.c: Likewise.
4957         * libio/test-fmemopen.c: Likewise.
4958         * libio/tst-freopen.c: Likewise.
4959         * libio/tst-sscanf.c: Likewise.
4960         * libio/tst-ungetwc1.c: Likewise.
4961         * libio/tst-ungetwc2.c: Likewise.
4962         * libio/tst-widetext.c: Likewise.
4963         * localedata/tst-ctype.c: Likewise.
4964         * localedata/tst-digits.c: Likewise.
4965         * localedata/tst-leaks.c: Likewise.
4966         * localedata/tst-mbswcs1.c: Likewise.
4967         * localedata/tst-mbswcs2.c: Likewise.
4968         * localedata/tst-mbswcs3.c: Likewise.
4969         * localedata/tst-mbswcs4.c: Likewise.
4970         * localedata/tst-mbswcs5.c: Likewise.
4971         * localedata/tst-setlocale.c: Likewise.
4972         * localedata/tst-trans.c: Likewise.
4973         * localedata/tst-wctype.c: Likewise.
4974         * localedata/tst-xlocale1.c: Likewise.
4975         * login/tst-grantpt.c: Likewise.
4976         * malloc/tst-calloc.c: Likewise.
4977         * malloc/tst-malloc.c: Likewise.
4978         * malloc/tst-mallocstate.c: Likewise.
4979         * malloc/tst-mcheck.c: Likewise.
4980         * malloc/tst-mtrace.c: Likewise.
4981         * malloc/tst-obstack.c: Likewise.
4982         * math/atest-exp2.c: Likewise.
4983         * math/atest-exp.c: Likewise.
4984         * math/atest-sincos.c: Likewise.
4985         * math/test-matherr.c: Likewise.
4986         * math/test-misc.c: Likewise.
4987         * math/test-powl.c: Likewise.
4988         * math/tst-definitions.c: Likewise.
4989         * misc/tst-dirname.c: Likewise.
4990         * misc/tst-efgcvt.c: Likewise.
4991         * misc/tst-fdset.c: Likewise.
4992         * misc/tst-hsearch.c: Likewise.
4993         * misc/tst-mntent2.c: Likewise.
4994         * nptl/tst-sem7.c: Likewise.
4995         * nptl/tst-sem8.c: Likewise.
4996         * nptl/tst-sem9.c: Likewise.
4997         * nss/test-netdb.c: Likewise.
4998         * posix/tst-fnmatch.c: Likewise.
4999         * posix/tst-getlogin.c: Likewise.
5000         * posix/tst-gnuglob.c: Likewise.
5001         * posix/tst-mmap.c: Likewise.
5002         * pwd/tst-getpw.c: Likewise.
5003         * resolv/tst-inet_ntop.c: Likewise.
5004         * rt/tst-timer.c: Likewise.
5005         * stdio-common/test-fseek.c: Likewise.
5006         * stdio-common/test-popen.c: Likewise.
5007         * stdio-common/test-vfprintf.c: Likewise.
5008         * stdio-common/tst-cookie.c: Likewise.
5009         * stdio-common/tst-fileno.c: Likewise.
5010         * stdio-common/tst-gets.c: Likewise.
5011         * stdio-common/tst-obprintf.c: Likewise.
5012         * stdio-common/tst-perror.c: Likewise.
5013         * stdio-common/tst-sprintf2.c: Likewise.
5014         * stdio-common/tst-sprintf3.c: Likewise.
5015         * stdio-common/tst-sprintf.c: Likewise.
5016         * stdio-common/tst-swprintf.c: Likewise.
5017         * stdio-common/tst-tmpnam.c: Likewise.
5018         * stdio-common/tst-unbputc.c: Likewise.
5019         * stdio-common/tst-wc-printf.c: Likewise.
5020         * stdlib/tst-environ.c: Likewise.
5021         * stdlib/tst-fmtmsg.c: Likewise.
5022         * stdlib/tst-limits.c: Likewise.
5023         * stdlib/tst-rand48-2.c: Likewise.
5024         * stdlib/tst-rand48.c: Likewise.
5025         * stdlib/tst-random2.c: Likewise.
5026         * stdlib/tst-random.c: Likewise.
5027         * stdlib/tst-strtol.c: Likewise.
5028         * stdlib/tst-strtoll.c: Likewise.
5029         * stdlib/tst-tls-atexit.c: Likewise.
5030         * stdlib/tst-xpg-basename.c: Likewise.
5031         * string/test-ffs.c: Likewise.
5032         * string/tst-bswap.c: Likewise.
5033         * string/tst-inlcall.c: Likewise.
5034         * string/tst-strtok.c: Likewise.
5035         * string/tst-strxfrm.c: Likewise.
5036         * sysdeps/x86_64/tst-audit10.c: Likewise.
5037         * sysdeps/x86_64/tst-audit3.c: Likewise.
5038         * sysdeps/x86_64/tst-audit4.c: Likewise.
5039         * sysdeps/x86_64/tst-audit5.c: Likewise.
5040         * time/tst-ftime_l.c: Likewise.
5041         * time/tst-getdate.c: Likewise.
5042         * time/tst-mktime3.c: Likewise.
5043         * time/tst-mktime.c: Likewise.
5044         * time/tst-posixtz.c: Likewise.
5045         * time/tst-strptime2.c: Likewise.
5046         * time/tst-strptime3.c: Likewise.
5047         * wcsmbs/tst-btowc.c: Likewise.
5048         * wcsmbs/tst-mbrtowc.c: Likewise.
5049         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5050         * wcsmbs/tst-wchar-h.c: Likewise.
5051         * wcsmbs/tst-wcpncpy.c: Likewise.
5052         * wcsmbs/tst-wcrtomb.c: Likewise.
5053         * wcsmbs/tst-wcsnlen.c: Likewise.
5054         * wcsmbs/tst-wcstof.c: Likewise.
5056 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5058         [BZ #14132]
5059         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5060         INTDEF.
5061         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5062         declaration.
5063         (_dl_mcount): Use rtld_hidden_proto.
5064         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5065         _dl_mcount.
5066         * elf/rtld.c (_rtld_global_ro): Likewise.
5068         [BZ #14132]
5069         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5070         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5071         of _dl_init_internal.
5072         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5073         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5074         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5075         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5076         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5077         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5078         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5079         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5080         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5081         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5082         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5083         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5084         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5085         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5086         * sysdeps/tile/dl-start.S (_start): Likewise.
5087         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5088         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5090         [BZ #14132]
5091         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5092         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5093         (rtld_progname): Make macro definition unconditional.
5094         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5095         INTDEF.
5096         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5097         (dl_main): Likewise.
5098         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5099         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5100         instead of _dl_argv_internal.
5101         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5102         __GI__dl_argv instead of INTUSE(_dl_argv).
5103         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5104         __GI__dl_argv instead of _dl_argv_internal.
5106         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5107         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5108         macro.
5109         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5110         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5111         New macro.
5112         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5113         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5114         macro.
5115         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5116         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5118 2014-11-04  Andreas Schwab  <schwab@suse.de>
5120         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5122 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5124         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5125         mtvsrd instruction in binary form.
5127 2014-11-03  Andreas Schwab  <schwab@suse.de>
5129         [BZ #17522]
5130         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5131         for less than MB_LEN_MAX use a local buffer of that size.
5132         * libio/tst-fputws.c: New file.
5133         * libio/Makefile (tests): Add tst-fputws.
5135 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5137         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5138         the size of the fpu_fr.fpu_dregs[] array.
5140 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5142         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5143         (__nanosleep): Do not define as alias.
5144         (nanosleep): Define as alias of __nanosleep.
5145         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5146         __libc_nanosleep name.
5148 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5150         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5151         install.texi in comment.
5153 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5155         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5156         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5157         ... add here and use lwsync or sync ...
5158         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5159         ... and add here using lwsync.
5161 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5163         * elf/dl-machine-reject-phdr.h: New file.
5164         * elf/dl-load.c: #include that.
5165         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5166         if that returned true.
5168 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5170         [BZ #17496]
5171         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5172         gen-as-const-headers chunk.  Add a big scare comment after the last
5173         safe place to touch before-compile.
5175 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5177         * manual/install.texi (Tools for Compilation): Update autoconf
5178         version requirements.
5179         * INSTALL: Regenerated.
5181         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5182         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5183         (__libc_pselect): Likewise.
5185         [BZ #14138]
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5191 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5193         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5194         correct barrier instruction.
5195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5196         Likewise.
5197         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5198         Likewise.
5200 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5202         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5203         after defining inlines.  Instead, just use parens to defeat macro
5204         expansion of __isctype in its declaration.
5206 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5208         * include/sys/uio.h (__libc_readv): Remove declaration.
5209         (__libc_writev): Likewise.
5210         * misc/readv.c (__libc_readv): Rename to __readv.
5211         (__readv): Do not define as alias.
5212         (readv): Define as alias of __readv.
5213         * misc/writev.c (__libc_writev): Rename to __writev.
5214         (__writev): Do not define as alias.
5215         (writev): Define as alias of __writev.
5216         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5217         (__readv): Do not define as alias.
5218         (readv): Define unconditionally as alias of __readv.
5219         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5220         (__writev): Do not define as alias.
5221         (writev): Define unconditionally as alias of __writev.
5222         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5223         name.
5224         (writev): Do not define __libc_writev name.
5226 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5228         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5229         (convert_charseq): New function, broken out of ...
5230         (use_from_charmap): ... here.  Call it.
5231         (use_to_charmap): Use convert_charseq and free instead of duplicating
5232         its code with a variable-length stack struct.
5234 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5236         * include/fcntl.h (__libc_creat): Remove declaration.
5237         * io/creat.c (__libc_creat): Rename to creat.
5238         (creat): Do not define as alias.
5239         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5240         of creat instead of __libc_creat.
5241         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5242         to creat.
5243         (creat): Do not define as alias.
5244         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5245         __libc_creat.
5246         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5247         __libc_creat name.
5248         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5249         Likewise.
5251 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5253         * manual/llio.texi: Add comments discussing why write() may be
5254         considered MT-unsafe on Linux.
5256 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5258         * dl-load.c (local_strdup): Remove.
5259         (expand_dynamic_string_token): Use __strdup.
5260         (decompose_rpath): Likewise.
5261         (_dl_map_object): Likewise.
5263 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5265         [BZ #14132]
5266         * sysdeps/generic/unwind-dw2-fde.c
5267         (__register_frame_info_bases_internal): Do not declare.
5268         (__register_frame_info_table_bases_internal): Likewise.
5269         (__deregister_frame_info_bases_internal): Likewise.
5270         (__register_frame_info_bases): Declare and use hidden_proto before
5271         definition.  Use hidden_def instead of INTDEF.
5272         (__register_frame_info_table_bases): Likewise.
5273         (__deregister_frame_info_bases): Likewise.
5274         (__register_frame_info): Do not use INTUSE.
5275         (__register_frame): Likewise.
5276         (__register_frame_info_table): Likewise.
5277         (__register_frame_table): Likewise.
5278         (__deregister_frame_info): Likewise.
5279         (__deregister_frame): Likewise.
5281 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5283         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5284         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5285         not undefine.
5286         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5287         Likewise.
5288         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5289         Likewise.
5291 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5293         [BZ #14138]
5294         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5295         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5296         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5297         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5298         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5299         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5300         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5301         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5302         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5303         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5304         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5305         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5306         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5307         syscall.
5308         (setfsuid): Likewise.
5309         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5310         (setfsuid): Likewise.
5311         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5312         (setfsuid): Likewise.
5313         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5314         Likewise.
5315         (setfsuid): Likewise.
5316         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5317         (setfsuid): Likewise.
5318         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5319         Likewise.
5320         (setfsuid): Likewise.
5322 2014-10-27  Andreas Schwab  <schwab@suse.de>
5324         [BZ #17501]
5325         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5326         check for Slow_SSE4_2 feature bit.
5327         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5328         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5329         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5330         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5332 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5334         * configure.ac: Validate compiler version with a empirical test of
5335         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5336         $CC -v output.
5337         * configure: Regenerated.
5339         * inet/htons.c (htons): Prototypify.
5340         * inet/htonl.c (htonl): Likewise.
5342 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5344         * string/strncat.c (strncat): Improve performance by using strlen.
5346 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5348         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5350 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5352         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5353         Call libc_fetestexcept_aarch64.
5355 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5357         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5358         Call libc_feholdexcept_aarch64.
5360 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5362         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5363         Call get_rounding_mode.
5365 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5367         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5368         Simplify logic.
5370 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5372         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5373         Simplify logic.
5375 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5377         [BZ #14138]
5378         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5379         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5380         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5381         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5382         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5383         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5384         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5385         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5386         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5387         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5388         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5389         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5390         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5391         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5392         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5393         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5394         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5395         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5396         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5397         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5398         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5399         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5400         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5401         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5402         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5403         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5404         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5405         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5406         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5407         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5408         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5409         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5410         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5411         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5412         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5413         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5414         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5415         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5416         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5417         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5418         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5419         syscall.
5420         (geteuid): Likewise.
5421         (getgid): Likewise.
5422         (getuid): Likewise.
5423         (getresgid): Likewise.
5424         (getresuid): Likewise.
5425         (getgroups): Likewise.
5426         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5427         (geteuid): Likewise.
5428         (getgid): Likewise.
5429         (getuid): Likewise.
5430         (getresgid): Likewise.
5431         (getresuid): Likewise.
5432         (getgroups): Likewise.
5433         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5434         (geteuid): Likewise.
5435         (getgid): Likewise.
5436         (getuid): Likewise.
5437         (getresgid): Likewise.
5438         (getresuid): Likewise.
5439         (getgroups): Likewise.
5440         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5441         Likewise.
5442         (geteuid): Likewise.
5443         (getgid): Likewise.
5444         (getuid): Likewise.
5445         (getresgid): Likewise.
5446         (getresuid): Likewise.
5447         (getgroups): Likewise.
5448         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5449         (geteuid): Likewise.
5450         (getgid): Likewise.
5451         (getuid): Likewise.
5452         (getresgid): Likewise.
5453         (getresuid): Likewise.
5454         (getgroups): Likewise.
5455         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5456         Likewise.
5457         (geteuid): Likewise.
5458         (getgid): Likewise.
5459         (getuid): Likewise.
5460         (getgroups): Likewise.
5462         [BZ #14138]
5463         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5464         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5465         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5466         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5467         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5468         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5469         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5470         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5471         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5472         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5473         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5474         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5475         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5476         __chown.
5477         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5478         (lchown): Likewise.
5479         (fchown): Likewise.
5480         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5481         Likewise.
5482         (lchown): Likewise.
5483         (fchown): Likewise.
5484         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5485         (lchown): Likewise.
5486         (fchown): Likewise.
5487         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5488         Likewise.
5489         (lchown): Likewise.
5490         (fchown): Likewise.
5492 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5494         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5495         Simplify logic.
5497 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5499         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5500         Cleanup logic.
5502 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5504         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5505         Remove unused include.
5507 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5509         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5510         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5511         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5512         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5514 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5515             Helge Deller <deller@gmx.de>
5517         [BZ #17508]
5518         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5519         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5520         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5522 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5524         [BZ #14132]
5525         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5526         Remove macro definition.
5527         (__ashrdi3_v_glibc20): Likewise.
5528         (__lshrdi3_v_glibc20): Likewise.
5529         (__cmpdi2_v_glibc20): Likewise.
5530         (__ucmpdi2_v_glibc20): Likewise.
5531         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5532         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5533         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5534         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5535         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5536         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5538 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5540         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5541         old GNU extension [0] syntax.
5542         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5543         alloca rather than an array member with variable length.
5544         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5545         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5546         (parse_opt): ... here.  Likewise use alloca there.
5547         Validate the -i argument before checking for rootness.
5548         (send_shutdown): New function, broken out of ...
5549         (parse_opt): ... here.
5551 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5553         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5554         macro to get at the _rt_local_ro field.
5555         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5556         ([PIC] case) or _dl_hwcap ([!PIC] case).
5557         * sysdeps/arm/setjmp.S: Likewise.
5559         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5560         * sysdeps/arm/configure.ac: New check to define it.
5561         * sysdeps/arm/configure: Regenerated.
5562         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5563         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5564         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5565         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5566         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5567         Use move/movt pair instead of a load.
5568         (LDST_GLOBAL): Macro removed.
5569         (LDR_GLOBAL): New macro replaces it.
5570         (LDR_HIDDEN): New macro.
5571         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5572         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5574         * setjmp/tst-setjmp-static.c: New file.
5575         * setjmp/Makefile (tests): Add it.
5576         (tests-static): New variable.
5578 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5580         [BZ #17485]
5581         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5583 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5585         [BZ #14132]
5586         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5588 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5590         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5592 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5594         * io/fts.c (dirent_not_directory): New function.
5595         (fts_build): Call it.
5597 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5599         * nptl/version.c (__nptl_main): Use normal __write rather than
5600         INTERNAL_SYSCALL.
5601         (banner): Update copyright years.
5603         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5604         gettimeofday.
5605         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5606         * nptl/pthread_cond_timedwait.c: Likewise.
5607         * nptl/pthread_mutex_timedlock.c: Likewise.
5608         * nptl/sem_timedwait.c: Likewise.
5610         * sysdeps/nptl/bits/libc-lock.h
5611         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5612         (__libc_lock_init_recursive): Return void, not 0.
5613         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5614         (__libc_rwlock_init): Likewise.
5615         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5617 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5619         [BZ #15215]
5620         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5621         (__pthread_once_slow): ... here.
5622         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5623         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5625 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5627         [BZ #15215]
5628         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5629         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5630         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5631         * nptl/pthread_once.c (__pthread_once): Likewise.
5632         Update comments.
5634 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5636         [BZ #14138]
5637         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5638         name.
5639         (writev): Use __libc_writev as strong name.
5640         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5641         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5643 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5645         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5647         * sysdeps/i386/nptl/tls.h
5648         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5649         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5650         New macros.
5651         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5652         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5653         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5654         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5655         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5656         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5658         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5659         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5660         on [__NR_futex].
5661         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5662         broken out of ...
5663         (__pthread_mutex_init): ... here.  Call it.
5664         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5665         Conditionalize PI cases on [__NR_futex].
5666         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5667         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5668         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5670         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5671         conditional on [SIGSETXID].
5672         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5673         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5674         is defined.  Likewise for SIGSETXID.
5675         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5676         Conditionalize definitions on [SIGSETXID].
5677         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5678         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5679         unblocking on [SIGCANCEL].
5681         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5682         [__NR_set_robust_list].
5684 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5686         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5687         (do_compare): Likewise.
5689 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5691         [BZ #15884]
5692         * string/strcoll_l.c: Don't include stdio.h.
5693         (coll_seq): Remove members idxarr and rulearr.
5694         (get_next_seq_cached): Remove function.
5695         (get_next_seq): Likewise.
5696         (get_next_seq_nocache): Rename to get_next_seq.
5697         (do_compare): Remove function.
5698         (do_compare_nocache): Rename to do_compare.
5699         (STRCOLL): Remove weight and rules cache.
5701 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5703         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5704         * sysdeps/arm/sfp-machine.h: ... to here.
5705         * sysdeps/arm/Implies: Remove arm/soft-fp.
5707 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5709         * conform/data/sys/utsname.h-data (*_t): Allow.
5710         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5711         [POSIX] (WEXITED): Do not expect constant.
5712         [POSIX] (WSTOPPED): Likewise.
5713         [POSIX] (WNOHANG): Likewise.
5714         [POSIX] (WNOWAIT): Likewise.
5715         [POSIX] (siginfo_t): Do not expect type or elements.
5716         [POSIX] (pid_t): Do not expect type.
5717         [POSIX] (signal.h): Do not allow header.
5718         [POSIX] (sys/resource.h): Likewise.
5719         [POSIX] (si_*): Do not allow pattern.
5720         [POSIX] (W*): Likewise.
5721         [POSIX] (P_*): Likewise.
5722         [POSIX] (BUS_*): Likewise.
5723         [POSIX] (CLD_*): Likewise.
5724         [POSIX] (FPE_*): Likewise.
5725         [POSIX] (ILL_*): Likewise.
5726         [POSIX] (POLL_*): Likewise.
5727         [POSIX] (SEGV_*): Likewise.
5728         [POSIX] (SI_*): Likewise.
5729         [POSIX] (TRAP_*): Likewise.
5730         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5731         variable.
5733 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5735         [BZ #12926]
5736         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5737         infinite loop when __recvmsg returns 0.
5739 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5741         * CANCEL-FCT-WAIVE: Remove file.
5742         * CANCEL-FILE-WAIVE: Likewise.
5744         [BZ #14132]
5745         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5746         instead of INTVARDEF.
5747         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5748         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5749         rtld_hidden_data_def instead of INTVARDEF.
5750         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5751         * elf/dl-deps.c (expand_dst): Likewise.
5752         * elf/dl-load.c (_dl_dst_count): Likewise.
5753         (_dl_dst_substitute): Likewise.
5754         (decompose_rpath): Likewise.
5755         (_dl_init_paths): Likewise.
5756         (open_path): Likewise.
5757         (_dl_map_object): Likewise.
5758         * elf/rtld.c (dl_main): Likewise.
5759         (process_dl_audit): Likewise.
5760         (process_envvars): Likewise.
5761         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5762         Remove declaration.
5763         (__libc_enable_secure): Use rtld_hidden_proto.
5765 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5767         * elf/dl-load.c
5768         (add_path): New function broken out of _dl_rtld_di_serinfo.
5769         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5771 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5773         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5774         parentheses around macro arguments.
5775         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5776         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5777         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5778         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5779         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5781         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5784         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5785         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5786         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5787         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5788         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5789         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5790         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5791         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5792         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5793         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5794         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5795         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5796         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5802         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5803         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5804         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5805         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5806         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5807         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5808         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5809         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5810         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5811         Likewise.
5812         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5813         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5814         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5815         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5816         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5817         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5818         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5819         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5820         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5821         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5822         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5823         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5824         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5825         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5826         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5827         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5828         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5829         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5830         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5831         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5832         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5833         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5834         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5835         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5836         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5837         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5838         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5839         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5840         (_FP_FRAC_SRS_1): Likewise.
5841         (_FP_FRAC_CLZ_1): Likewise.
5842         (_FP_MUL_MEAT_1_imm): Likewise.
5843         (_FP_MUL_MEAT_1_wide): Likewise.
5844         (_FP_MUL_MEAT_1_hard): Likewise.
5845         (_FP_SQRT_MEAT_1): Likewise.
5846         (_FP_FRAC_ASSEMBLE_1): Likewise.
5847         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5848         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5849         (__FP_CLZ_2): Likewise.
5850         (_FP_MUL_MEAT_2_wide): Likewise.
5851         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5852         (_FP_MUL_MEAT_2_gmp): Likewise.
5853         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5854         (_FP_SQRT_MEAT_2): Likewise.
5855         (_FP_FRAC_ASSEMBLE_2): Likewise.
5856         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5857         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5858         (_FP_FRAC_CLZ_4): Likewise.
5859         (_FP_MUL_MEAT_4_wide): Likewise.
5860         (_FP_MUL_MEAT_4_gmp): Likewise.
5861         (_FP_SQRT_MEAT_4): Likewise.
5862         (_FP_FRAC_ASSEMBLE_4): Likewise.
5863         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5864         * soft-fp/op-common.h (_FP_CMP): Likewise.
5865         (_FP_CMP_EQ): Likewise.
5866         (_FP_CMP_UNORD): Likewise.
5867         (_FP_TO_INT): Likewise.
5868         (_FP_FROM_INT): Likewise.
5869         [!__FP_CLZ] (__FP_CLZ): Likewise.
5870         (_FP_DIV_HELP_imm): Likewise.
5871         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5872         Likewise.
5873         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5876         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5877         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5882         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5883         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5884         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5885         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5886         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5887         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5888         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5889         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5890         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5891         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5894         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5897         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5900         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5901         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5902         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5903         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5904         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5905         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5906         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5907         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5908         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5909         (FP_UNPACK_RAW_SP): Likewise.
5910         (FP_PACK_RAW_S): Likewise.
5911         (FP_PACK_RAW_SP): Likewise.
5912         (FP_UNPACK_S): Likewise.
5913         (FP_UNPACK_SP): Likewise.
5914         (FP_UNPACK_SEMIRAW_S): Likewise.
5915         (FP_UNPACK_SEMIRAW_SP): Likewise.
5916         (FP_PACK_S): Likewise.
5917         (FP_PACK_SP): Likewise.
5918         (FP_PACK_SEMIRAW_S): Likewise.
5919         (FP_PACK_SEMIRAW_SP): Likewise.
5920         (_FP_SQRT_MEAT_S): Likewise.
5921         (FP_CMP_S): Likewise.
5922         (FP_CMP_EQ_S): Likewise.
5923         (FP_CMP_UNORD_S): Likewise.
5924         (FP_TO_INT_S): Likewise.
5925         (FP_FROM_INT_S): Likewise.
5927         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5929         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5930         (FP_EX_INVALID_IMZ): Likewise.
5931         (FP_EX_INVALID_IMZ_FMA): Likewise.
5932         (FP_EX_INVALID_ISI): Likewise.
5933         (FP_EX_INVALID_ZDZ): Likewise.
5934         (FP_EX_INVALID_IDI): Likewise.
5935         (FP_EX_INVALID_SQRT): Likewise.
5936         (FP_EX_INVALID_CVI): Likewise.
5937         (FP_EX_INVALID_VC): Likewise.
5938         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5939         "invalid" exceptions.
5940         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5941         (_FP_ADD_INTERNAL): Likewise.
5942         (_FP_MUL): Likewise.
5943         (_FP_FMA): Likewise.
5944         (_FP_DIV): Likewise.
5945         (_FP_CMP_CHECK_NAN): Likewise.
5946         (_FP_SQRT): Likewise.
5947         (_FP_TO_INT): Likewise.
5948         (FP_EXTEND): Likewise.
5950 2014-10-09  Allan McRae  <allan@archlinux.org>
5952         * po/fr.po: Update French translation from translation project.
5954 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5956         [BZ #14132]
5957         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5958         of INTDEF.
5959         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5960         (__cxa_atexit): Use libc_hidden_proto.
5961         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5963         [BZ #14132]
5964         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5965         declaration.
5966         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5967         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5968         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5969         [!_ISOMAC] (__iswctype_internal): Likewise.
5970         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5971         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5972         alias.
5973         (fcntl): Remove __fcntl_internal alias.
5974         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5975         __connect_internal alias.
5976         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5977         Likewise.
5979         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5980         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5981         FP_DENORM_ZERO.
5982         (_FP_CHECK_FLUSH_ZERO): New macro.
5983         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5984         (_FP_CMP): Likewise.
5985         (_FP_CMP_EQ): Likewise.
5986         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5987         FP_DENORM_ZERO.
5988         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5989         (FP_TRUNC): Likewise.
5991         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5992         treated as invalid conversion, not as normal exponent.
5994         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5995         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5996         (_FP_CMP_EQ): Likewise.
5997         (_FP_CMP_UNORD): Likewise.
5998         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5999         (FP_CMP_EQ_D): Likewise.
6000         (FP_CMP_UNORD_D): Likewise.
6001         * soft-fp/extended.h (FP_CMP_E): Likewise.
6002         (FP_CMP_EQ_E): Likewise.
6003         (FP_CMP_UNORD_E): Likewise.
6004         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6005         (FP_CMP_EQ_Q): Likewise.
6006         (FP_CMP_UNORD_Q): Likewise.
6007         * soft-fp/single.h (FP_CMP_S): Likewise.
6008         (FP_CMP_EQ_S): Likewise.
6009         (FP_CMP_UNORD_S): Likewise.
6010         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6011         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6012         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6013         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6014         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6015         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6016         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6017         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6018         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6019         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6020         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6021         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6022         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6023         to FP_CMP_Q.
6024         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6025         FP_CMP_Q.
6026         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6027         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6028         FP_CMP_EQ_Q.
6029         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6030         FP_CMP_Q.
6031         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6032         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6033         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6034         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6035         FP_CMP_EQ_Q.
6036         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6037         FP_CMP_Q.
6038         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6039         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6040         FP_CMP_EQ_Q.
6041         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6042         FP_CMP_Q.
6043         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6044         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6045         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6046         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6047         FP_CMP_EQ_Q.
6049         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6050         a subnormal result, set the underflow exception if trapping on
6051         underflow is enabled.
6052         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6053         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6054         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6055         redefine to 0.
6056         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6057         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6058         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6059         * soft-fp/extendxftf2.c (__extendxftf2): Use
6060         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6062         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6063         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6064         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6065         FP_HANDLE_EXCEPTIONS.
6066         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6067         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6068         FP_HANDLE_EXCEPTIONS.
6069         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6070         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6071         FP_HANDLE_EXCEPTIONS.
6072         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6073         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6074         FP_HANDLE_EXCEPTIONS.
6076 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6078         [BZ #14132]
6079         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6080         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6081         use INTUSE.
6082         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6083         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6084         Remove alias.
6085         (__adjtimex): Define using libc_hidden_ver.
6086         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6087         Remove declaration.
6088         (ntp_gettime): Call __adjtimex directly.
6089         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6090         Remove declaration.
6091         (ntp_gettimex): Call __adjtimex directly.
6092         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6093         __adjtimex_internal alias.
6095 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6097         [BZ #17460]
6098         * nscd/nscd.c (more_help): Rewrite list of tables collection
6099         using xstrdup and asprintf.
6101         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6103 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6104             Roland McGrath  <roland@hack.frob.com>
6106         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6107         (do_lookup_unique): ... local function 'enter' here; update callers.
6109 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6111         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6112         compat_symbol calls on [SHARED].
6113         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6114         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6115         Remove.
6116         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6117         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6118         (oldsetrlimit): Remove.
6119         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6121         (lchown): New syscall entry.
6122         (oldsetrlimit): Remove.
6123         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6124         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6125         (oldsetrlimit): Remove.
6126         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6128         [BZ #14138]
6129         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6130         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6131         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6132         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6133         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6134         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6135         (fchown): Likewise.
6136         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6137         (fchown): Likewise.
6138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6139         Likewise.
6141 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6143         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6144         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6145         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6146         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6147         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6148         Likewise.
6149         (__old_sem_post): Likewise.
6151 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6153         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6154         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6155         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6156         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6157         Use INLINE_VSYSCALL macro.
6158         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6159         __vdso_clock_gettime.
6160         * sysdeps/unix/sysv/linux/tile/init-first.c
6161         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6162         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6163         __vdso_clock_gettime.
6165         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6166         to set up frame more cleanly.
6168         * sysdeps/tile/memcmp.c: New file.
6170         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6172         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6173         * sysdeps/tile/tilegx/strcasestr.c: New file.
6174         * sysdeps/tile/tilegx/strnlen.c: New file.
6175         * sysdeps/tile/tilegx/strstr.c: New file.
6177         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6179 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6181         * nptl/tst-setuid3.c: Write errors to stdout.
6183 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6185         * elf/dl-deps.c
6186         (preload): New functions broken out of _dl_map_object_deps.
6187         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6189 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6191         [BZ #14138]
6192         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6193         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6195 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6197         * sysdeps/mips/strcmp.S: New.
6199 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6201         [BZ #14138]
6202         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6203         (linkat): Likewise.
6204         (mkdirat): Likewise.
6205         (readlinkat): Likewise.
6206         (renameat): Likewise.
6207         (symlinkat): Likewise.
6208         (unlinkat): Likewise.
6209         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6210         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6211         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6212         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6213         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6214         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6215         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6217 2014-09-30  Will Newton  <will.newton@linaro.org>
6219         * math/math.h: Define long double math functions if
6220         _LIBC_TEST is defined.
6221         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6223         * localedata/Makefile: Move assignment to tests-special
6224         into an ifdef testing run-built-tests.
6225         * timezone/Makefile: Likewise.
6227 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6229         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6230         with $(BASH) not $(SHELL).
6232 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6233             Matthew LeGendre  <legendre1@llnl.gov>
6235         [BZ #17411]
6236         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6237         l_reloc_result.
6239 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6241         * stdio-common/printf_fp.c
6242         (hack_digit): New function, broken out of ...
6243         (__printf_fp): ... local function here.  Update call sites.
6244         hack_digit now takes an additional parameter that is a pointer
6245         to a struct of the referenced locals.  Those locals moved inside
6246         the struct and references updated.
6248 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6250         * aclocal.m4: Require autoconf 2.69.
6251         * configure: Regenerated.
6252         * sysdeps/aarch64/configure: Likewise.
6253         * sysdeps/alpha/configure: Likewise.
6254         * sysdeps/arm/armv7/configure: Likewise.
6255         * sysdeps/arm/configure: Likewise.
6256         * sysdeps/ia64/configure: Likewise.
6257         * sysdeps/mach/configure: Likewise.
6258         * sysdeps/mips/configure: Likewise.
6259         * sysdeps/s390/configure: Likewise.
6260         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6263         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6264         file.
6265         * sysdeps/ia64/configure.ac: Likewise.
6267 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6270         specify symbol version for ld.so.  Do not include entry for
6271         libpthread.
6272         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6273         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6274         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6276         [BZ #14171]
6277         * Makeconfig [$(build-shared) = yes]
6278         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6279         makefiles.
6280         [$(build-shared) = yes && $(soversions.mk-done) = t]
6281         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6282         [$(build-shared) = yes && $(soversions.mk-done) = t]
6283         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6284         to Makerules.
6285         [$(build-shared) = yes && $(soversions.mk-done) = t]
6286         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6287         here.
6288         [$(build-shared) = yes && $(soversions.mk-done) = t]
6289         (common-generated): Don't append gnu/lib-names.h and
6290         gnu/lib-names.stmp here.
6291         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6292         (lib-names-h-abi): New variable.
6293         [$(build-shared) = yes && $(soversions.mk-done) = t]
6294         (lib-names-stmp-abi): Likewise.
6295         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6296         abi-variants] (before-compile): Append
6297         $(common-objpfx)$(lib-names-h-abi).
6298         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6299         abi-variants] (common-generated): Append gnu/lib-names.h.
6300         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6301         abi-variants] (install-others-nosubdir): Depend on
6302         $(inst_includedir)/$(lib-names-h-abi).
6303         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6304         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6305         [$(build-shared) = yes && $(soversions.mk-done) = t]
6306         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6307         [$(build-shared) = yes && $(soversions.mk-done) = t]
6308         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6309         [$(build-shared) = yes && $(soversions.mk-done) = t]
6310         (common-generated): Append $(lib-names-h-abi) and
6311         $(lib-names-stmp-abi).
6312         * scripts/lib-names.awk: Do not handle multi being set.
6313         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6314         Remove variable.
6315         (abi-lp64_be-ld-soname): Likewise.
6316         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6317         Likewise.
6318         (abi-hard-ld-soname): Likewise.
6319         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6320         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6321         Remove variable.
6322         (abi-o32_hard-ld-soname): Likewise.
6323         (abi-o32_soft_2008-ld-soname): Likewise.
6324         (abi-o32_hard_2008-ld-soname): Likewise.
6325         (abi-n32_soft-ld-soname): Likewise.
6326         (abi-n32_hard-ld-soname): Likewise.
6327         (abi-n32_soft_2008-ld-soname): Likewise.
6328         (abi-n32_hard_2008-ld-soname): Likewise.
6329         (abi-n64_soft-ld-soname): Likewise.
6330         (abi-n64_hard-ld-soname): Likewise.
6331         (abi-n64_soft_2008-ld-soname): Likewise.
6332         (abi-n64_hard_2008-ld-soname): Likewise.
6333         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6334         Likewise.
6335         (abi-64-v2-ld-soname): Likewise.
6336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6337         ld.so entries.
6338         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6339         variable.
6340         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6341         entry.
6342         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6343         variable.
6344         (abi-64-ld-soname): Likewise.
6345         (abi-x32-ld-soname): Likewise.
6346         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6347         entry.
6348         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6350 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6352         [BZ #14138]
6353         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6354         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6355         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6356         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6357         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6358         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6359         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6360         syscall entry for GLIBC_2.2 symbol version.
6361         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6362         Likewise.
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6364         (setrlimit): Likewise.
6365         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6366         Likewise.
6368 2014-09-23  Will Newton  <will.newton@linaro.org>
6370         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6371         _LINUX_ARM_SYSDEP_H include guard too.
6372         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6373         define.
6375 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6377         * sysdeps/unix/sysv/linux/eventfd.c:
6378         Make first argument unsigned.
6379         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6380         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6382 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6384         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6385         * socket/sys/socket.h: Likewise
6386         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6388 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6390         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6392 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6394         * time/tst-ftime.c: New test.
6395         * time/Makefile (tests): Add tst-ftime.
6397 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6399         * soft-fp/extended.h: Fix comment formatting.
6400         * soft-fp/op-1.h: Likewise.
6401         * soft-fp/op-2.h: Likewise.
6402         * soft-fp/op-4.h: Likewise.
6403         * soft-fp/op-8.h: Likewise.
6404         * soft-fp/op-common.h: Likewise.
6405         * soft-fp/soft-fp.h: Likewise.
6407         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6409 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6411         [BZ #6652]
6412         * Makeconfig (soversions-default-setname): Remove variable.
6413         ($(common-objpfx)soversions.i): Don't pass default_setname to
6414         soversions.awk.
6415         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6416         oldest_abi to abi-versions.awk.
6417         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6418         * config.make.in (oldest-abi): Remove variable.
6419         * configure.ac (--enable-oldest-abi): Remove configure option.
6420         * configure: Regenerated.
6421         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6422         text.
6423         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6424         * scripts/soversions.awk: Do not handle default_setname variable.
6425         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6426         variable.
6427         * sysdeps/mach/hurd/configure: Regenerated.
6428         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6429         variable.
6430         * sysdeps/unix/sysv/linux/configure: Regenerated.
6432 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6434         * elf/Makefile (CFLAGS-interp.c): Remove.
6435         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6436         path string.
6437         * elf/interp.c: Include generated runtime-linker.h
6439         * Makerules (lib%.so): Don't include $(+interp) in
6440         prerequisites.
6441         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6442         * dlfcn/eval.c: Remove file.
6444         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6445         macros.
6447         [BZ #17266]
6448         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6449         4.2 and newer.
6451         [BZ #17370]
6452         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6454 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6455             Jakub Jelinek  <jakub@redhat.com>
6457         [BZ #17266]
6458         * libio/stdio.h: Check definition of __fortify_function
6459         instead of __extern_always_inline to include bits/stdio2.h.
6460         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6461         check if __extern_always_inline is defined.
6462         [__USE_MISC || __USE_XOPEN]: Likewise.
6463         [__USE_ISOC99] Likewise.
6464         * misc/sys/cdefs.h (__fortify_function): Define only if
6465         __extern_always_inline is defined.
6466         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6467         __extern_always_inline and __extern_inline only for g++-4.3
6468         and newer or a compatible gcc.
6470 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6472         [BZ #17371]
6473         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6474         last change to handle zero prefix length.
6476 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6478         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6479         _SC_REGEX_VERSION.
6481         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6482         _POSIX_RAW_SOCKETS.
6484 2014-09-13  Allan McRae  <allan@archlinux.org>
6486         * po/ru.po: Update Russian translation from translation project.
6488 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6490         * locale/programs/locale.c (show_locale_vars): Inline local function
6491         into its sole call site.  Clean up some style nits.
6492         (print_item): New function, broken out of ...
6493         (show_info): ... local function here.  Clean up style nits.
6495         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6496         out of ...
6497         (set_class_defaults): ... local function set_default here.
6498         Define set_default as a macro locally to pass constant parameters.
6499         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6500         rather than a shared local.
6502         * stdlib/rpmatch.c (try): New function, broken out of ...
6503         (rpmatch): ... local function here.  Also, prototypify definition.
6505 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6507         * scripts/soversions.awk: Do not handle configuration names.
6508         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6509         vendor and os variables to soversions.awk.
6510         * configure.ac: Do not modify gnu-* host_os.
6511         * configure: Regenerated
6512         * shlib-versions: Remove first column with configuration names.
6513         * nptl/shlib-versions: Likewise.
6514         * nptl_db/shlib-versions: Likewise.
6515         * sysdeps/hppa/shlib-versions: Likewise.
6516         * sysdeps/m68k/shlib-versions: Likewise.
6517         * sysdeps/mach/hurd/shlib-versions: Likewise.
6518         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6519         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6520         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6521         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6522         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6523         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6524         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6525         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6527         Likewise.
6528         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6529         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6530         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6531         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6532         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6533         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6534         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6535         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6538         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6540         Regenerated.
6541         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6543         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6545         * shlib-versions: Remove OS-specific entries.  Moved to files in
6546         sysdeps.
6547         * sysdeps/mach/hurd/shlib-versions: New file.
6548         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6550         * nptl/shlib-versions: Remove architecture-specific entries.
6551         Moved to files in sysdeps.
6552         * shlib-versions: Likewise.
6553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6554         file.
6555         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6556         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6557         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6558         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6560         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6561         (UDP_NO_CHECK6_RX): Likewise.
6563 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6565         * sysdeps/posix/sysconf.c (__sysconf): Spell
6566         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6568 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6570         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6571         loading.
6572         * iconv/Versions (__gconv_transliterate): Export for use from
6573         gconv modules.
6574         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6575         (struct __gconv_trans_data, __gconv_trans_fct,
6576         __gconv_trans_context_fct, __gconv_trans_query_fct,
6577         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6578         definitions.
6579         (struct __gconv_step_data): Remove __trans member.
6580         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6581         longer hidden.  Remove unused trans_data argument.
6582         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6583         (__gconv_translit_find): Remove declaration.
6584         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6585         prototype.
6586         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6587         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6588         trans_data argument.  Add hidden definition.
6589         (__gconv_translit_find): Remove.
6590         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6591         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6592         * iconv/skeleton.c: Remove transliteration initialization.
6593         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6594         __gconv_step_data initialization.
6595         * libio/iofwide.c (__libio_translit_): Remove.
6596         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6597         * wcsmbs/btowc.c (__btowc): Likewise.
6598         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6599         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6600         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6601         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6602         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6603         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6604         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6605         * wcsmbs/wctob.c (wctob): Likewise.
6607 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6609         [BZ #16194]
6610         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6611         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6612         register usage.
6613         * sysdeps/x86/Makefile: Adjust.
6615 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6616             Roland McGrath  <roland@hack.frob.com>
6618         * locale/weight.h: Add include guard.
6619         (findidx): Make static rather than auto; take new parameters
6620         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6621         * locale/weightwc.h: Likewise.
6622         * posix/fnmatch_loop.c
6623         (FCT): Change type of EXTRA from int32_t to wint_t.
6624         Don't include either header inside the function.
6625         Call FINDIDX rather than findidx, and pass new arguments.
6626         #undef FINDIDX at the end of the file.
6627         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6628         FINDIDX before including fnmatch_loop.c for the non-wide version.
6629         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6630         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6631         for the wide version.
6632         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6633         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6634         Pass new arguments to findidx.
6635         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6636         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6637         Don't #include it inside the function.  Pass new arguments to findidx.
6638         * posix/regex_internal.h
6639         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6640         (re_string_elem_size_at): Don't #include it inside the function.
6641         Pass new arguments to findidx.
6642         * string/strcoll_l.c: #include WEIGHT_H at top level.
6643         (get_next_seq): Don't #include it inside the function.
6644         Pass new arguments to findidx.
6645         (get_next_seq_nocache): Likewise.
6646         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6647         (STRXFRM): Don't #include it inside the function.
6648         Pass new arguments to findidx.
6650 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6652         [BZ #17344]
6653         * malloc/malloc.c (unlink): Turn asserts into a call to
6654         malloc_printerr.
6656 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6658         [BZ #17370]
6659         * libio/wfileops (do_ftell_wide): Free OUT.
6661 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6663         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6665 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6667         [BZ #17363]
6668         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6669         group if the current group is empty.
6671 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6673         * benchtests/bench-memset.c (test_main): Add more test from size
6674         from 32 to 512 bytes.
6675         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6676         Add POWER8 memset object.
6677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6678         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6679         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6680         implementation.
6681         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6682         Likewise.
6683         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6684         multiarch POWER8 memset optimization.
6685         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6686         POWER8 memset optimization.
6688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6689         Remove bzero multiarch objects.
6690         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6691         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6692         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6693         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6694         Remove define.
6695         [__bzero]: Redefine to specific name.
6696         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6697         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6698         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6699         define.
6700         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6701         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6703 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6705         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6706         warnings into errors.
6708         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6709         __cxa_thread_atexit_impl prototype.
6711 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6713         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6714         Fix capitalization of error message.
6716 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6718         * sysdeps/mips/preconfigure: Modify ABI tests.
6720 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6722         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6724 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6725             Carlos O'Donell  <carlos@systemhalted.org>
6727         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6728         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6729         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6730         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6731         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6732         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6733         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6734         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6735         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6736         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6737         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6738         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6739         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6740         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6741         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6742         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6743         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6744         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6745         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6746         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6747         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6748         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6749         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6750         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6751         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6752         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6753         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6754         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6755         Deconditionalize the code that was previously under [RESET_PID].
6756         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6757         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6758         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6759         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6760         include sysdep.h.
6762 2014-09-08  Allan McRae  <allan@archlinux.org>
6764         * version.h (RELEASE): Set to "development".
6765         (VERSION): Set to "2.20.90"
6767 2014-09-07  Allan McRae  <allan@archlinux.org
6769         * version.h (RELEASE): Set to "stable".
6770         (VERSION): Set to "2.20"
6771         * include/features.h (__GLIBC_MINOR__): Set to 20.
6773         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6774         Liebler.
6776         * po/ko.po: Update Korean translation from translation project.
6778 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6780         [BZ #17354]
6781         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6782         macro for handling signed relocations.
6784 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6786         [BZ #17325]
6787         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6788         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6789         assert.
6790         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6791         * iconvdata/ibm935.c (BODY): Likewise.
6792         * iconvdata/ibm937.c (BODY): Likewise.
6793         * iconvdata/ibm939.c (BODY): Likewise.
6794         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6795         assert.
6796         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6797         script.
6798         * iconvdata/run-iconv-test.sh: New test loop for checking for
6799         decoder crashers.
6801 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6803         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6804         libm_hidden_ver.
6806 2014-09-01  Allan McRae  <allan@archlinux.org>
6808         * po/eo.po: Update Esperanto translation from translation project.
6810         * po/ca.po: Update Catalan translation from translation project.
6812 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6814         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6815         __proc_dostop call.
6817 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6819         [BZ #17319]
6820         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6821         to call set_thread_area instead of hand written asm.
6822         (__NR_set_thread_area): Removed define.
6823         (TLS_FLAG_WRITABLE): Likewise.
6824         (__ASSUME_SET_THREAD_AREA): Remove check.
6825         (TLS_EBX_ARG): Remove define.
6826         (TLS_LOAD_EBX): Likewise.
6828 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6830         Simplify atomicity of socket creation in bind.
6832         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6833         looking up the name after linking the file.
6835 2014-08-27  Allan McRae  <allan@archlinux.org>
6837         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6839 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6841         [BZ #17187]
6842         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6843         trans_compare, open_translit, __gconv_translit_find):
6844         Remove module loading code.
6846 2014-08-26  Allan McRae  <allan@archlinux.org>
6848         * po/vi.po: Update Vietnamese translation from translation project.
6850         * po/uk.po: Update Ukrainian translation from translation project.
6852         * po/fr.po: Update French translation from translation project.
6854         * po/ru.po: Update Russian translation from translation project.
6856         * po/pl.po: Update Polish translation from translation project.
6858         * po/cs.po: Update Czech translation from translation project.
6860         * po/de.po: Update German translation from translation project.
6862         * po/bg.po: Update Bulgarian translation from translation project.
6864         * po/sv.po: Update Sweedish translation from translation project.
6866         * po/nl.po: Update Dutch translation from translation project.
6868         * po/es.po: Update Spanish translation from translation project.
6870 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6872         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6874         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6875         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6876         (CPPFLAGS-iconvconfig): Likewise.
6877         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6879         * include/libc-symbols.h: Remove unnecessary check for
6880         NOT_IN_libc.
6881         * nptl/pthreadP.h: Likewise.
6882         * sysdeps/aarch64/setjmp.S: Likewise.
6883         * sysdeps/alpha/setjmp.S: Likewise.
6884         * sysdeps/arm/sysdep.h: Likewise.
6885         * sysdeps/i386/setjmp.S: Likewise.
6886         * sysdeps/m68k/setjmp.c: Likewise.
6887         * sysdeps/posix/getcwd.c: Likewise.
6888         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6889         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6890         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6891         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6892         * sysdeps/sh/sh3/setjmp.S: Likewise.
6893         * sysdeps/sh/sh4/setjmp.S: Likewise.
6894         * sysdeps/unix/alpha/sysdep.h: Likewise.
6895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6897         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6898         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6901         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6902         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6903         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6904         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6905         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6906         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6907         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6908         * sysdeps/x86_64/setjmp.S: Likewise.
6910 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6912         [BZ #17263]
6913         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6914         <stdint.h>.
6915         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6916         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6918 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6920         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6922         [BZ #17262]
6923         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6924         and __x86_64__ when disabling x87 inline functions.
6926 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6928         [BZ #17259]
6929         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6930         asm statement with __cpuid_count.
6932 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6934         * configure.ac: Change __ehdr_start code to dereference the struct.
6935         Run readelf on the output to look for relocations.
6936         * configure: Regenerated.
6938 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6940         [BZ #17261]
6941         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6942         value to 0.
6943         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6945 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6947         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6949 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6951         [BZ #16892]
6952         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6953         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6955 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6957         * malloc/malloc.c: Fix typo in comment.
6959 2014-08-09  Allan McRae  <allan@archlinux.org>
6961         * Regenerate libc.po.
6963 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6965         * intl/tst-gettext2.sh: Check every lang file for creation.
6967 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6969         * sysdeps/aarch64/fpu/math_private.h
6970         (libc_feholdsetround_noex_aarch64_ctx): New function.
6972 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6974         * sysdeps/arm/armv6/strcpy.S (strcpy):
6975         Fix performance issue in misaligned cases.
6977 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6979         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6980         Move definition from termios.h.
6981         (struct termio): Likewise.
6982         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6983         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6984         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6985         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6986         Likewise.
6987         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6988         Move definition to ioctl-types.h
6989         (struct termio): Likewise.
6990         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6991         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6992         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6993         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6994         Likewise.
6996 2014-08-05  Richard Henderson  <rth@redhat.com>
6998         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6999         exceptions.
7000         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7001         Add fraiseexcpt.
7002         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7003         Use __feraiseexcept.
7004         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7005         Protect libm symbols with IS_IN_libm.
7007         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7009 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7011         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7013 2014-08-04  Will Newton  <will.newton@linaro.org>
7015         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7016         file.
7018 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7020         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7021         variants for each function.
7023 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7025         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7026         appended ...
7027         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7028         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7029         appended ...
7030         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7031         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7032         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7033         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7034         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7035         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7036         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7037         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7038         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7039         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7040         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7041         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7042         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7043         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7044         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7045         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7046         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7047         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7048         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7049         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7050         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7051         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7052         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7053         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7054         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7055         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7056         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7060         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7061         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7062         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7063         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7064         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7065         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7066         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7067         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7068         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7069         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7070         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7071         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7072         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7073         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7074         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7075         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7076         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7077         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7078         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7079         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7080         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7081         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7082         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7083         Update #include.
7084         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7085         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7087 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7089         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7090         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7091         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7092         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7093         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7094         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7096 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7098         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7099         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7100         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7101         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7103 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7105         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7106         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7107         (__libc_vfork): Define function under this name.
7108         (__vfork): Define as an alias.
7109         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7110         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7112 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7114         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7115         that was previously under [RESET_PID].
7116         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7118 2014-08-04  Andreas Schwab  <schwab@suse.de>
7120         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7122 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7124         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7125         (main): Likewise.
7127 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7129         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7131 2014-08-01  Richard Henderon  <rth@redhat.com>
7133         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7134         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7135         typo in exact zero test.
7136         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7137         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7138         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7140 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7142         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7143         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7144         * sysdeps/arm/sysdep.h: ... here.
7145         [!__ASSEMBLER__]: Include <stdint.h>.
7147 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7149         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7150         (HAVE_WCTYPE_H): Likewise.
7151         (HAVE_ISWCTYPE): Likewise.
7152         (ENABLE_NLS): Likewise.
7153         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7154         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7156         * posix/regex_internal.c: Check if DEBUG is defined and is
7157         set.
7159         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7160         (HAVE_MBSRTOWCS): Likewise.
7161         * posix/fnmatch.c: Include string.h unconditionally.
7163 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7165         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7166         reversal.
7168 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7170         * sysdeps/generic/safe-fatal.h: New file.
7171         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7172         * nptl/forward.c: Include it.
7173         (__pthread_unwind): Use __safe_fatal as default action, rather
7174         than a bogus use of INTERNAL_SYSCALL that could never work.
7176         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7177         * configure.ac (libc_cv_builtin_trap): New test.
7178         * configure: Regenerated.
7179         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7180         (ABORT_INSTRUCTION): Define using __builtin_trap.
7182         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7183         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7184         * sysdeps/nptl/nptl-signals.h: New file.
7185         * nptl/pthreadP.h: Include <nptl-signals.h>.
7187 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7189         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7190         (ONE_DIRECTION): Define.
7191         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7192         (ONE_DIRECTION): Define.
7193         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7194         (ONE_DIRECTION): Define.
7196 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7198         * sysdeps/s390/Makefile: Delete file.
7199         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7200         * sysdeps/s390/__longjmp.c: Delete file.
7201         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7202         Remove fields __flags and __reserved.
7203         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7204         and add versioning.
7205         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7206         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7207         * sysdeps/s390/rtld-setjmp.S: Likewise.
7208         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7209         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7210         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7211         * sysdeps/s390/s390-32/setjmp.S: ... here.
7212         Add versioning.
7213         (__sigsetjmp): Remove setting __flags field.
7214         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7215         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7216         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7217         * sysdeps/s390/s390-64/setjmp.S: ... here.
7218         Add versioning.
7219         (__sigsetjmp): Remove setting __flags field.
7220         * sysdeps/s390/setjmp.S: Delete file.
7221         * sysdeps/s390/sigjmp.c: Likewise.
7222         * sysdeps/s390/v1-longjmp.c: Likewise.
7223         * sysdeps/s390/v1-setjmp.h: Likewise.
7224         * sysdeps/s390/v1-sigjmp.c: Likewise.
7225         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7226         Remove v1-longjmp_chk.
7227         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7228         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7229         Include debug/longjmp_chk.c and add versioning.
7230         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7231         Include nptl/pt-longjmp.c and add versioning.
7232         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7233         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7234         Include __longjmp.c.
7235         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7236         Move to ...
7237         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7238         (__getcontext): Remove setting __flags field.
7239         Add versioning.
7240         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7241         Don't restore upper high grps.
7242         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7243         Likewise.
7244         (__swapcontext): Remove setting uc_flags field.
7245         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7246         Delete file.
7247         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7248         Include __longjmp.c.
7249         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7250         Move to ...
7251         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7252         (__getcontext): Remove setting __flags field.
7253         Add versioning.
7254         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7255         (__swapcontext): Remove setting uc_flags field.
7256         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7257         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7258         Remove fields uc_high_gprs and __reserved.
7259         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7260         New file with reverted content.
7261         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7262         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7263         Regenerated.
7264         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7265         Regenerated.
7267 2014-07-31  Andreas Schwab  <schwab@suse.de>
7269         * config.h.in (HAVE_IFUNC): Define to 0.
7270         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7271         definedness.
7273 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7275         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7276         memmove-avx-unaligned, memcpy-avx-unaligned and
7277         mempcpy-avx-unaligned.
7278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7279         Add tests for AVX memcpy functions.
7280         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7281         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7282         memcpy_chk.
7283         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7284         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7285         memmove_chk.
7286         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7287         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7288         mempcpy_chk.
7289         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7290         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7291         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7293 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7295         [BZ #17213]
7296         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7297         powerpc64le.
7299 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7301         [BZ #16839]
7302         * manual/llio.texi: Add section about open file description locks.
7303         * manual/examples/ofdlocks.c: Example of open file description
7304         lock usage.
7305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7306         F_OFD_SETLK, and F_OFD_SETLKW.
7308 2014-07-23  Allan McRae  <allan@archlinux.org>
7310         * po/es.po: Update Spanish translation from translation project.
7312 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7314         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7316 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7318         [BZ #17078]
7319         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7320         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7321         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7323 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7325         [BZ #17088]
7326         * math/fesetenv.c (__fesetenv)
7327         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7328         * math/feupdateenv.c (__feupdateenv)
7329         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7331         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7332         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7333         (__ASSUME_SOCKETCALL): Do not define.
7335         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7336         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7337         (__ASSUME_SOCKETCALL): Do not define.
7338         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7339         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7340         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7341         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7343         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7344         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7345         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7347         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7348         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7349         (__ASSUME_SOCKETCALL): Do not define.
7350         (__ASSUME_IPC64): Define unconditionally.
7351         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7352         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7353         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7354         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7355         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7356         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7357         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7358         Likewise.
7360         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7361         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7362         (__ASSUME_SOCKETCALL): Do not define.
7363         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7364         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7365         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7366         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7367         (__ASSUME_REQUEUE_PI): Define unconditionally.
7368         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7369         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7370         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7371         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7372         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7373         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7375         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7376         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7377         (__ASSUME_SOCKETCALL): Do not define.
7378         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7379         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7380         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7381         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7382         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7383         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7385         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7386         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7387         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7388         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7389         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7390         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7392         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7393         (__ASSUME_GETCPU_SYSCALL): Likewise.
7395         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7396         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7397         cases for individual architectures.
7398         * sysdeps/gnu/configure: Regenerated.
7399         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7400         LIBC_SLIBDIR_RTLDDIR.
7401         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7402         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7403         LIBC_SLIBDIR_RTLDDIR.
7404         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7406         LIBC_SLIBDIR_RTLDDIR.
7407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7408         Regenerated.
7409         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7410         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7411         file.
7412         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7413         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7414         file.
7415         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7416         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7417         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7418         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7420         * sysdeps/aarch64/shlib-versions: Move to ...
7421         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7422         * sysdeps/alpha/shlib-versions: Move to ...
7423         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7424         * sysdeps/arm/shlib-versions: Move to ...
7425         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7426         * sysdeps/hppa/shlib-versions: Move all contents except for
7427         libgcc_s entry to ...
7428         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7429         entry from ...
7430         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7431         * sysdeps/ia64/shlib-versions: Move to ...
7432         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7433         entry from ...
7434         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7435         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7436         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7437         * sysdeps/microblaze/shlib-versions: Move to ...
7438         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7439         * sysdeps/mips/shlib-versions: Move to ...
7440         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7441         entry from ...
7442         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7443         * sysdeps/tile/shlib-versions: Move to ...
7444         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7445         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7446         from ...
7447         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7448         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7449         entry from ...
7450         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7452 2014-07-17  Will Newton  <will.newton@linaro.org>
7454         * sysdeps/arm/bits/atomic.h
7455         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7456         (__arch_compare_and_exchange_bool_16_int): Likewise.
7457         (__arch_compare_and_exchange_bool_64_int): Likewise.
7459         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7460         into an #else block.
7462 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7464         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7465         just Linux configurations.  Test empirically that the compiler sets
7466         __ARM_EABI__, rather than using the tuple to decide.
7467         * sysdeps/arm/preconfigure: Regenerated.
7468         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7469         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7470         contents appended ...
7471         * sysdeps/arm/configure.ac: ... here.
7472         * sysdeps/arm/configure: Regenerated.
7474 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7476         * nptl/pthread_kill.c: New file.
7477         * nptl/pthread_sigmask.c: New file.
7478         * nptl/pthread_sigqueue.c: New file.
7480         * sysdeps/nptl/lowlevellock.h: New file.
7481         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7482         * sysdeps/nptl/lowlevellock-futex.h: New file.
7484         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7485         Remove dead declarations.
7487 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7489         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7490         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7491         config-cflags-avx2.
7492         * sysdeps/x86_64/configure.ac: Likewise.
7493         * sysdeps/i386/configure: Regenerated.
7494         * sysdeps/x86_64/configure: Likewise.
7495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7496         memset-avx2 only if config-cflags-avx2 is yes.
7497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7498         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7499         defined.
7500         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7501         only if HAVE_AVX2_SUPPORT is defined.
7502         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7504 2014-07-14  Alan Modra  <amodra@gmail.com>
7506         [BZ #17153]
7507         * elf/elf.h (DT_PPC64_NUM): Correct value.
7508         * NEWS: Add to fixed bug list.
7510 2014-07-13  Jim Meyering  <meyering@fb.com>
7512         [BZ 17150]
7513         regex: don't deref NULL upon heap allocation failure
7514         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7515         failure in one more place.
7516         To trigger the segfault, configure grep -with-included-regex,
7517         build it, and run these commands:
7518         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7520 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7522         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7524 2014-07-11  Richard Henderson  <rth@redhat.com>
7526         * sysdeps/aarch64/libm-test-ulps: Update.
7528 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7530         [BZ #17135]
7531         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7532         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7533         (__nptl_setxid): Initialize error member.  Call
7534         __nptl_setxid_error.
7535         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7536         * nptl/descr.h (struct xid_command): Add error member.
7537         * nptl/tst-setuid3.c: New file.
7538         * nptl/Makefile (tests): Add it.
7540 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7542         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7543         New define.
7544         (__lll_trylock): Use __lll_base_trylock.
7545         (__lll_cond_trylock): Likewise.
7547 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7549         * nptl/pthread_create.c (start_thread): Use atomic_or and
7550         lll_futex_wake directly rather than lll_robust_dead.
7551         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7552         (lll_robust_dead): Macro removed.
7553         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7554         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7555         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7556         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7557         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7558         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7559         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7560         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7561         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7562         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7563         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7564         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7565         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7566         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7569         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7570         Use atomic_compare_and_exchange_val_acq directly rather than
7571         lll_robust_trylock.
7572         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7573         (__lll_robust_trylock, lll_robust_trylock): Removed.
7574         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7575         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7576         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7577         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7578         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7579         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7580         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7581         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7582         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7583         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7584         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7585         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7586         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7587         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7589 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7591         * manual/locale.texi (Locale Names): New section documenting
7592         locale name syntax.  Adjust menu and node chaining accordingly.
7593         (Choosing Locale): Reference Locale Names, Locale Categories.
7594         Mention setting LC_ALL=C.  Reflect that name syntax is now
7595         documented.
7596         (Locale Categories): New section title.  Reference Locale Names.
7597         LC_ALL is an environment variable, but not a category.
7598         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7599         description, now in Locale Name.  Reference that section.  Locale
7600         name syntax is now documented.
7602 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7604         [BZ #17137]
7605         * locale/findlocale.c (name_present, valid_locale_name): New
7606         functions.
7607         (_nl_find_locale): Use the loc_name variable to store name
7608         candidates.  Call name_present and valid_locale_name to check and
7609         validate locale names.  Return an error if the locale is invalid.
7611 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7613         * locale/setlocale.c (setlocale): Use strdup for allocating
7614         composite name copy.
7616 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7618         Sync up with gnulib.
7619         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7620         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7621         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7622         and _GL_ARG_NONNULL.
7623         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7624         [!_LIBC]: Include code for Windows and Cygwin.
7625         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7626         Include prototype for int strerror_r.
7627         [!_LIBC] (is_open): New function.
7628         (flush_stdout): New function.
7629         (print_errno_message): Use it.
7630         (error): Likewise.
7631         (error_at_line): Likewise.
7632         (error_tail) Add function attribute macros.  Use
7633         __builtin_expect.
7635         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7637         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7639         * io/ftw.c: Include sys/param.h unconditionally.
7641         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7643         [BZ #17125]
7644         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7645         libc_freeres_ptr.
7646         (freecache): New function to free CACHE on exit.
7648         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7649         initialization.
7651 2014-07-09  David S. Miller  <davem@davemloft.net>
7653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7655         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7656         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7657         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7658         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7659         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7660         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7661         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7662         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7663         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7664         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7665         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7666         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7667         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7669 2014-07-09  Andreas Schwab  <schwab@suse.de>
7671         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7672         output.
7673         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7674         (do_test): Likewise.
7676         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7678 2014-07-09  Will Newton  <will.newton@linaro.org>
7680         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7681         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7682         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7683         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7684         * sysdeps/hppa/start.S (_start): Likewise.
7686 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7688         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7690         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7691         defined.
7693 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7695         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7696         after checking that it is non-NULL.
7698         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7700 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7702         * sysdeps/powerpc/memmove.c: Remove file.
7703         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7704         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7705         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7706         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7707         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7708         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7709         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7710         string memmove instead of removed powerpc one.
7712         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7713         [weak_alias]: Fix compiler warning due trailing data.
7714         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7715         [weak_alias]: Likewise.
7716         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7717         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7719         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7720         (__libc_ifunc_impl_list): Add memmove functions.
7722 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7724         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7725         Remove code.
7726         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7727         Likewise
7728         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7729         Likewise
7730         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7731         Likewise
7732         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7733         Likewise
7734         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7735         Likewise
7736         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7737         Likewise
7738         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7739         Likewise
7740         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7741         Likewise
7742         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7743         Likewise
7744         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7745         Likewise
7746         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7747         Likewise
7748         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7749         Likewise
7750         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7751         Likewise
7752         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7753         Likewise
7754         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7755         Likewise
7756         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7757         Likewise
7759 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7761         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7762         to avoid alignment traps in non-cacheable memory.
7763         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7766         multiarch objects.
7767         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7768         file: multiarch power7 memmove.
7769         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7770         multiarch default memmove.
7771         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7772         multiarch memove for powerpc32/power4.
7774         * string/bcopy.c: Use full path to include memmove.c.
7775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7776         multiarch objects.
7777         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7778         bcopy for powerpc64.
7779         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7780         bcopy for powerpc64.
7781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7782         and memmove implementations.
7783         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7784         optimized multiarch memmove for POWER7/powerpc64.
7785         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7786         default multiarch memmove for powerpc64.
7787         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7788         multiarch for powerpc64.
7789         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7790         for POWER7/powerpc64.
7791         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7792         memmove for POWER7/powerpc64.
7794         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7795         glibc default one.
7797         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7798         __ELF_NATIVE_CLASS equal to 64.
7800 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7802         * sysdeps/nptl/lowlevellock.h: File removed.
7804         * NEWS: NPTL is no longer an add-on!
7805         * nptl/internaltypes.h: Moved ...
7806         * sysdeps/nptl/internaltypes.h: ... here.
7807         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7808         * sysdeps/nptl/fork.c: Likewise.
7809         * sysdeps/nptl/gai_misc.h: Likewise.
7810         * sysdeps/nptl/librt-cancellation.c: Likewise.
7811         * sysdeps/nptl/jmp-unwind.c: Likewise.
7812         * sysdeps/nptl/setxid.h: Likewise.
7813         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7814         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7815         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7816         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7817         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7818         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7819         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7820         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7821         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7822         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7823         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7824         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7825         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7826         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7827         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7828         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7829         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7830         * nptl/Makeconfig: Moved ...
7831         * sysdeps/nptl/Makeconfig: ... here.
7832         * nptl/configure: File removed.
7833         * nptl/ANNOUNCE: File removed.
7834         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7835         * sysdeps/unix/sysv/linux/configure: Regenerated.
7837         * nptl/Makefile (routines): Add libc_pthread_init,
7838         libc_multiple_threads, register-atfork and unregister-atfork.
7839         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7840         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7841         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7842         pthread-pi-defines.sym, structsem.sym.
7843         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7844         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7845         [$(subdir) = nptl] (tests): Add tst-setgetname.
7846         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7847         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7848         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7849         [!LIBC_SIGACTION]: Remove aliases.
7850         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7851         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7852         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7853         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7854         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7855         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7856         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7857         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7858         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7859         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7860         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7861         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7862         __libc_allocate_rtsig_private.
7863         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7864         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7865         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7866         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7867         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7868         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7869         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7870         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7871         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7872         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7873         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7874         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7875         * nptl/internaltypes.h: ... here.
7876         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7877         * sysdeps/nptl/jmp-unwind.c: ... here.
7878         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7879         * nptl/libc-lowlevellock.c: ... here.
7880         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7881         * nptl/libc_multiple_threads.c: ... here.
7882         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7883         * nptl/libc_pthread_init.c: ... here.
7884         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7885         * nptl/lowlevelbarrier.sym: ... here.
7886         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7887         * nptl/lowlevelcond.sym: ... here.
7888         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7889         * nptl/lowlevellock.c: ... here.
7890         * nptl/lowlevellock.h: Moved ...
7891         * sysdeps/nptl/lowlevellock.h: ... here.
7892         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7893         * nptl/lowlevelrobustlock.c: ... here.
7894         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7895         * nptl/lowlevelrobustlock.sym: ... here.
7896         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7897         * nptl/lowlevelrwlock.sym: ... here.
7898         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7899         * nptl/pt-fork.c: ... here.
7900         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7901         * nptl/pthread-pi-defines.sym: ... here.
7902         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7903         * nptl/pthread_attr_getaffinity.c: ... here.
7904         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7905         * nptl/pthread_attr_setaffinity.c: ... here.
7906         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7907         * nptl/pthread_mutex_cond_lock.c: ... here.
7908         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7909         Update #include.
7910         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7911         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7912         * nptl/pthread_once.c: ... here, replacing old file.
7913         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7914         * nptl/pthread_yield.c: ... here.
7915         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7916         * nptl/register-atfork.c: ... here.
7917         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7918         * nptl/sem_post.c: ... here.
7919         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7920         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7921         * nptl/sem_timedwait.c: ... here.
7922         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7923         * nptl/sem_trywait.c: ... here.
7924         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7925         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7926         * nptl/sem_wait.c: ... here.
7927         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7928         * nptl/structsem.sym: ... here.
7929         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7930         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7931         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7932         * nptl/unregister-atfork.c: ... here.
7933         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7934         * nptl/unwindbuf.sym: ... here.
7935         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7936         * sysdeps/nptl/fork.c: ... here.
7937         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7938         * sysdeps/nptl/fork.h: ... here.
7939         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7940         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7941         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7942         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7943         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7944         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7945         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7946         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7947         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7948         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7949         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7950         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7951         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7952         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7953         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7954         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7955         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7956         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7957         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7958         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7959         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7960         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7961         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7962         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7963         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7964         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7965         * sysdeps/unix/sysv/linux/raise.c: ... here.
7966         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7967         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7968         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7969         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7970         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7971         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7972         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7973         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7974         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7975         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7976         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7977         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7978         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7979         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7980         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7982 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7984         * sysdeps/generic/memcopy.h: Add comment for
7985         MEMCPY_OK_FOR_FWD_MEMMOVE.
7987 2014-07-04  Will Newton  <will.newton@linaro.org>
7989         * string/memchr.c: Merge from gnulib.
7990         [_LIBC]: Remove conditionals.
7991         (__ptr_t): Remove define.
7992         (LONG_MAX_32_BITS): Likewise.
7993         (LONG_MAX): Likewise.
7994         (MEMCHR): Use ANSI prototype and optimize algorithm.
7996         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7998 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8000         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8001         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8003         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8004         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8005         in a bare environment with no <stdlib.h> installed.
8006         * sysdeps/nptl/configure: Regenerated.
8008         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8010         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8011         AC_EGREP_CPP for kernel header checks, so they only succeed if
8012         including <linux/version.h> actually works right.
8013         * sysdeps/unix/sysv/linux/configure: Regenerated.
8015         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8016         value so it's not diagnosed as unused.
8018         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8019         thing) with "ifeq ($(subdir),rt)".
8021 2014-07-03  Richard Henderson  <rth@redhat.com>
8023         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8024         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8025         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8027         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8028         (math_force_eval): New.
8030         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8031         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8033         * sysdeps/alpha/fpu/s_round.c: Remove file.
8034         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8036         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8037         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8038         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8039         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8040         (_dl_start, print_statistics): Likewise.
8041         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8042         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8044         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8045         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8046         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8047         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8049         (HP_SMALL_TIMING_AVAIL): Define.
8050         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8051         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8052         (HP_SMALL_TIMING_AVAIL): Define.
8053         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8054         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8056         * sysdeps/aarch64/hp-timing.h: New file.
8058         * sysdeps/generic/hp-timing.h: Remove dead comment.
8059         * sysdeps/generic/hp-timing-common.h: New file.
8060         * sysdeps/alpha/hp-timing.h: Include it.
8061         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8062         * sysdeps/i386/i686/hp-timing.h: Likewise.
8063         * sysdeps/ia64/hp-timing.h: Likewise.
8064         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8065         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8066         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8067         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8068         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8069         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8070         (hp_timing_t): New.
8072         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8073         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8074         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8075         * elf/rtld.c (_dl_start_final): Likewise.
8076         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8077         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8078         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8079         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8080         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8081         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8082         (HP_TIMING_DIFF_INIT): Remove.
8083         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8084         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8085         (HP_TIMING_DIFF_INIT): Remove.
8086         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8087         * sysdeps/i386/i686/hp-timing.c: Remove file.
8088         * sysdeps/x86_64/hp-timing.c: Remove file.
8089         * sysdeps/ia64/hp-timing.c: Remove file.
8090         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8091         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8092         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8093         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8095         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8096         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8097         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8098         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8099         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8100         (HP_TIMING_ACCUM): Remove.
8101         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8102         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8103         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8105         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8106         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8107         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8108         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8109         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8110         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8111         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8112         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8114         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8116 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8118         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8120 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8122         Sync up with gettext.
8123         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8124         [_MSC_VER]: Include malloc.h
8125         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8126         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8127         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8128         TEMP_FAILURE_RETRY.  Cast return of alloca.
8129         [!_LIBC] Call gl_rwlock_init.
8130         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8132 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8134         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8135         before checking its value.
8137 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8139         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8141         * debug/memcpy_chk.c: Don't include pagecopy.h.
8142         * debug/mempcpy_chk.c: Likewise.
8143         * string/memcpy.c: Likewise.
8144         * string/memmove.c: Likewise.
8145         * sysdeps/powerpc/memmove.c: Likewise.
8146         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8147         definition of PAGE_COPY_FWD_MAYBE here...
8148         * sysdeps/generic/pagecopy.h: ... from here.
8149         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8151 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8152             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8154         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8156         optimizations.
8157         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8158         (__libc_ifunc_impl_list): Likewise.
8159         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8160         multiarch strcat for PPC64.
8161         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8162         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8164 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8166         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8168 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8170         * intl/loadmsgcat.c: Remove declaration of
8171         get_sysdep_segment_value.
8172         (get_sysdep_segment_value): Use ISO C style.
8173         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8174         semicolon.  Fix typo and formatting in comment.
8175         (_nl_unload_domain): Use ISO C style.
8177         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8179 2014-07-02  Will Newton  <will.newton@linaro.org>
8181         * malloc/obstack.c: Merge from gnulib master.
8182         [HAVE_CONFIG_H]: Remove conditional code.
8183         [!_LIBC]: Include config.h.
8184         [!ELIDE_CODE]: Don't include inttypes.h, include
8185         stdint.h unconditionally.
8186         (print_and_abort): Mark as _Noreturn.
8187         (_obstack_allocated_p): Mark as __attribute_pure__.
8188         (obstack_free): Rename to __obstack_free.
8189         [!__attribute__]: Remove conditional code.
8190         * malloc/obstack.h: Merge from gnulib master.
8191         [__cplusplus]: Move conditional down.
8192         [!__attribute_pure__]: Define __attribute_pure__ here
8193         if it is not already defined.
8194         (_obstack_memory_used): Mark as __attribute_pure__.
8195         [!__obstack_free]: Define as obstack_free.
8196         [__GNUC__]: Remove check for ancient NeXT gcc.
8198 2014-07-02  Will Newton  <will.newton@linaro.org>
8199             Paul Eggert  <eggert@cs.ucla.edu>
8201         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8203 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8205         * resolv/gethnamaddr.c: Add comment warning that the file is
8206         not maintained.
8208 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8210         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8211         entries.
8213         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8214         entry for aio_cancel and aio_cancel64.
8215         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8216         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8217         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8218         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8219         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8220         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8221         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8222         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8223         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8224         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8225         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8226         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8227         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8229 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8231         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8232         * nptl/pthread_mutex_lock.c: Likewise.
8233         * nptl/pthread_mutex_timedlock.c: Likewise.
8234         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8236 2014-07-01  Richard henderson  <rth@redhat.com>
8238         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8239         (__isnan, __isnanl): Remove.
8240         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8242         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8244 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8246         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8248 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8250         * resolv/nss_dns/dns-host.c (getanswer_r)
8251         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8253 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8255         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8256         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8257         undefine.
8258         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8259         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8261 2014-07-01  Roland McGrath <roland@hack.frob.com>
8263         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8264         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8266         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8267         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8269         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8270         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8271         ... here.
8272         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8273         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8275         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8276         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8277         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8278         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8280         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8281         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8282         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8283         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8284         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8285         Moved ...
8286         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8287         ... here.
8288         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8289         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8290         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8291         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8292         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8293         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8294         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8295         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8296         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8297         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8298         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8299         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8300         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8301         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8302         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8303         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8304         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8305         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8307         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8308         ... here.
8309         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8310         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8311         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8312         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8313         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8314         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8315         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8316         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8318 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8320         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8321         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8322         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8323         Add sysdep.
8325 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8329 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8331         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8332         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8334         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8336         * sysdeps/arm/libm-test-ulps: Regenerated.
8338 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8339             Roland McGrath <roland@hack.frob.com>
8341         * test-skeleton.c (signal_handler): Kill the whole process group
8342         before killing the child individually.
8343         (main): Report any failure on `setpgid'.
8345 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8347         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8348         from _TLS_H to _ARM_NPTL_TLS_H.
8349         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8350         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8352 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8354         [BZ #16539]
8355         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8356         (__expm1l): Return argument unchanged when small but not
8357         subnormal.
8359         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8360         include macro name.
8361         (_FP_UNPACK_RAW_1_P): Likewise.
8362         (_FP_PACK_RAW_1): Likewise.
8363         (_FP_PACK_RAW_1_P): Likewise.
8364         (_FP_MUL_MEAT_1_wide): Likewise.
8365         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8366         (_FP_MUL_MEAT_1_hard): Likewise.
8367         (_FP_DIV_MEAT_1_imm): Likewise.
8368         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8369         (_FP_DIV_MEAT_1_udiv): Likewise.
8370         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8371         (_FP_UNPACK_RAW_2): Likewise.
8372         (_FP_UNPACK_RAW_2_P): Likewise.
8373         (_FP_PACK_RAW_2): Likewise.
8374         (_FP_PACK_RAW_2_P): Likewise.
8375         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8376         (_FP_MUL_MEAT_2_wide): Likewise.
8377         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8378         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8379         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8380         (_FP_MUL_MEAT_2_gmp): Likewise.
8381         (_FP_DIV_MEAT_2_udiv): Likewise.
8382         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8383         (_FP_FRAC_SRL_4): Likewise.
8384         (_FP_FRAC_SRST_4): Likewise.
8385         (_FP_FRAC_SRS_4): Likewise.
8386         (_FP_UNPACK_RAW_4): Likewise.
8387         (_FP_UNPACK_RAW_4_P): Likewise.
8388         (_FP_PACK_RAW_4): Likewise.
8389         (_FP_PACK_RAW_4_P): Likewise.
8390         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8391         (_FP_MUL_MEAT_4_wide): Likewise.
8392         (_FP_MUL_MEAT_4_gmp): Likewise.
8393         (umul_ppppmnnn): Likewise.
8394         (_FP_DIV_MEAT_4_udiv): Likewise.
8395         (__FP_FRAC_ADD_4): Likewise.
8396         (__FP_FRAC_SUB_3): Likewise.
8397         (__FP_FRAC_SUB_4): Likewise.
8398         (__FP_FRAC_DEC_3): Likewise.
8399         (__FP_FRAC_DEC_4): Likewise.
8400         (__FP_FRAC_ADDI_4): Likewise.
8401         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8402         (_FP_FRAC_SRL_8): Likewise.
8403         (_FP_FRAC_SRS_8): Likewise.
8405         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8406         include macro name.
8407         (FP_UNPACK_RAW_EP): Likewise.
8408         (FP_PACK_RAW_E): Likewise.
8409         (FP_PACK_RAW_EP): Likewise.
8410         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8411         (_FP_ISSIGNAN): Likewise.
8412         (_FP_ADD_INTERNAL): Likewise.
8413         (_FP_FMA): Likewise.
8414         (_FP_CMP): Likewise.
8415         (_FP_SQRT): Likewise.
8416         (_FP_TO_INT): Likewise.
8417         (_FP_FROM_INT): Likewise.
8418         (FP_EXTEND): Likewise.
8419         (_FP_DIV_MEAT_N_loop): Likewise.
8421 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8423         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8424         throughout.
8426 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8428         [BZ #17097]
8429         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8430         result with correct sign in case of exponents that produce
8431         overflow except for X very close to 1.
8433 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8435         mktime: merge #if/#ifdef usage from glibc
8436         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8437         as that works with both Glibc's and Gnulib's style.
8438         See thread starting at Siddhesh Poyarekar's bug report at:
8439         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8441 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8443         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8444         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8445         * sysdeps/tile/tilegx/memmove.c: Remove file.
8447 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8449         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8450         abi-name definition.
8451         * scripts/soversions.awk: Do not handle or generate ABI lines.
8452         * shlib-versions: Remove ABI entries.
8453         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8454         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8456 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8458         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8459         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8460         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8461         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8462         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8463         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8465         Moved ...
8466         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8467         ... here.
8468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8469         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8471         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8472         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8473         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8475         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8477         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8479         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8481         Moved ...
8482         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8484         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8486         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8488         Moved ...
8489         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8490         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8491         Moved ...
8492         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8494         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8495         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8496         Moved ...
8497         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8498         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8499         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8501         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8502         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8503         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8505         Moved ...
8506         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8508         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8509         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8510         Moved ...
8511         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8512         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8513         Moved ...
8514         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8515         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8516         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8517         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8518         Moved ...
8519         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8520         ... here.
8521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8522         Identical file removed.
8523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8524         Moved ...
8525         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8526         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8527         Identical file removed.
8528         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8529         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8530         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8531         Moved ...
8532         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8533         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8534         Identical file removed.
8535         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8536         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8537         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8538         Identical file removed.
8539         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8540         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8541         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8542         Identical file removed.
8543         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8544         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8545         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8546         Identical file removed.
8547         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8548         Moved ...
8549         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8551         Identical file removed.
8552         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8553         Moved ...
8554         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8555         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8556         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8557         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8558         Identical file removed.
8559         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8560         Moved ...
8561         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8562         ... here.
8563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8564         Identical file removed.
8565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8566         Moved ...
8567         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8569         Identical file removed.
8570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8571         Moved ...
8572         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8573         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8574         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8575         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8576         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8578         Moved ...
8579         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8580         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8581         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8583         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8584         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8585         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8586         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8587         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8589 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8591         [BZ #17092]
8592         * nscd/nscd.c (monitor_child): Return exit status of child
8593         instead of return value from wait syscall.
8595 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8597         * configure.ac (libc_commonpagesize): Remove variable.
8598         (libc_relro_required): Likewise.
8599         (libc_cv_z_relro): Remove configure test.
8600         * configure: Regenerated.
8601         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8602         variable.
8603         (libc_relro_required): Likewise.
8604         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8605         (libc_relro_required): Likewise.
8606         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8607         (libc_relro_required): Likewise.
8608         * sysdeps/arm/preconfigure: Regenerated.
8609         * sysdeps/ia64/preconfigure: Remove file.
8610         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8611         variable.
8612         (libc_relro_required): Likewise.
8614         [BZ #16561]
8615         [BZ #16562]
8616         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8617         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8618         recompute overflowing results in original rounding mode.
8619         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8620         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8621         recompute overflowing results in original rounding mode.
8622         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8623         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8624         recompute overflowing results in original rounding mode.
8625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8626         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8627         recompute overflowing results in original rounding mode.
8628         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8629         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8630         recompute overflowing results in original rounding mode.
8631         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8632         (libc_feholdsetround_ctx): New macro.
8633         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8634         * sysdeps/i386/fpu/libm-test-ulps: Update.
8635         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8637 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8639         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8640         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8641         corresponding .cpsetup call.
8643 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8645         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8646         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8647         * sysdeps/arm/Makefile [$(subdir) = csu]
8648         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8649         (static-only-routines): Add aeabi_read_tp here.
8650         (shared-only-routines): Add libc-aeabi_read_tp here.
8651         (CFLAGS-libc-start.c): Add -fexceptions here.
8652         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8653         (sysdep_routines, static-only-routines, shared-only-routines):
8654         Don't add to these here.
8655         (CFLAGS-libc-start.c): Likewise.
8657         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8658         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8659         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8660         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8661         * sysdeps/arm/Makefile [$(subdir) = rt]
8662         (librt-sysdep_routines, librt-shared-only-routines):
8663         Append rt-aeabi_unwind_cpp_pr1 here.
8664         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8665         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8666         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8667         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8668         Append nptl-aeabi_unwind_cpp_pr1 here.
8669         (tests): Filter out tst-cleanupx4 here.
8670         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8671         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8672         Don't do those here.
8674 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8676         * scripts/list-sources.sh: Do not handle ports specially.
8678 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8680         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8681         * sysdeps/arm/feupdateenv.c: Likewise.
8683         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8685 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8687         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8688         trailing whitespace removed.
8689         * scripts/config.guess: Update to version 2014-03-23.
8690         * scripts/config.sub: Update to version 2014-05-01
8691         * scripts/install-sh: Update to version 2013-12-25.23.
8692         * scripts/move-if-change: Update from gnulib.
8694 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8696         * debug/memmove_chk.c: Remove pagecopy.h include.
8698 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8700         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8701         identical to gnulib mktime.
8703 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8705         * configure.ac: Do not test for machine being rs6000.  Do not test
8706         for powerpc*-*soft.
8707         * configure: Regenerated.
8709         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8710         test.
8711         * configure: Regenerated.
8712         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8713         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8714         Remove configure test.
8715         * sysdeps/arm/configure: Regenerated.
8716         * sysdeps/nptl/configure.ac: Do not check
8717         libc_cv_asm_cfi_directives.
8718         * sysdeps/nptl/configure: Regenerated.
8719         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8720         * sysdeps/x86_64/nptl/configure: Remove generated file.
8721         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8722         unconditional.
8723         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8725 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8727         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8728         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8729         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8730         it is defined.
8732         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8733         instead of whether it is defined.
8734         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8735         * sysdeps/hppa/dl-machine.h: Likewise.
8736         * sysdeps/ia64/dl-machine.h: Likewise.
8737         * sysdeps/m68k/dl-machine.h: Likewise.
8738         * sysdeps/microblaze/dl-machine.h: Likewise.
8739         * sysdeps/mips/dl-machine.: Likewise.
8740         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8741         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8742         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8743         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8744         * sysdeps/sh/dl-machine.h: Likewise.
8745         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8746         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8747         * sysdeps/tile/dl-machine.h: Likewise.
8748         * sysdeps/x86_64/dl-machine.h: Likewise.
8750         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8751         code.
8752         (verify_persistent_db): Likewise.
8754 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8756         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8757         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8759         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8760         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8761         Moved ...
8762         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8763         ... here.
8764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8765         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8767         Identical file removed.
8768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8771         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8773         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8775         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8777         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8779         Moved ...
8780         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8782         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8784         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8786         Moved ...
8787         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8789         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8791         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8792         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8793         Identical file removed.
8794         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8795         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8797         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8799         Moved ...
8800         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8801         ... here.
8802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8803         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8805         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8807         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8809         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8811         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8813         Moved ...
8814         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8816         Moved ...
8817         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8819         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8821         Moved ...
8822         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8824         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8826         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8827         folded into ...
8828         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8829         * sysdeps/unix/sysv/linux/s390/Versions
8830         (libpthread: GLIBC_2.19): New version set.
8831         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8832         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8833         (librt: GLIBC_2.3.3): New version set.
8834         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8835         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8836         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8837         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8838         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8839         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8840         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8841         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8842         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8843         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8844         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8845         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8846         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8847         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8848         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8849         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8850         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8851         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8852         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8853         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8854         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8855         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8856         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8857         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8858         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8859         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8860         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8861         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8862         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8863         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8864         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8865         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8866         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8867         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8868         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8870         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8871         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8872         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8874         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8876         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8878         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8880         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8881         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8882         (__libc_vfork): Define the function under this name.
8883         [!NOT_IN_libc] (__vfork): Make this an alias.
8884         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8886         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8887         (__libc_vfork): Define the function under this name.
8888         [!NOT_IN_libc] (__vfork): Make this an alias.
8889         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8890         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8891         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8893         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8894         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8896         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8897         code that was previously under [RESET_PID].
8898         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8899         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8900         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8903         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8904         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8905         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8907         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8908         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8909         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8910         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8911         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8912         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8913         Moved ...
8914         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8915         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8916         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8917         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8918         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8919         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8920         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8921         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8922         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8923         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8924         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8925         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8926         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8931         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8932         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8934         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8935         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8936         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8937         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8938         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8939         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8940         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8941         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8942         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8944 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8946         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8947         that was previously under [RESET_PID].
8948         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8950 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8952         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8953         not undefine and redefine.
8954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8955         [O_CLOEXEC]: Make code unconditional.
8956         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8957         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8958         <kernel-features.h>.
8959         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8960         conditional variable definition.
8961         (shm_open) [O_CLOEXEC]: Make code unconditional.
8962         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8963         code.
8965         * configure.ac (USE_REGPARMS): Don't define here.
8966         * configure: Regenerated.
8967         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8968         * sysdeps/i386/configure: Regenerated.
8970         * nptl/createthread.c: Don't include kernel-features.h.
8971         * nptl/pthread_cancel.c: Likewise.
8972         * nptl/pthread_condattr_setclock.c: Likewise.
8973         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8974         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8975         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8976         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8977         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8978         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8979         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8982         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8983         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8984         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8985         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8986         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8987         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8988         * nscd/gai.c: Likewise.
8989         * nss/nss_db/db-open.c: Likewise.
8990         * sysdeps/generic/ldsodefs.h: Likewise.
8991         * sysdeps/sh/nptl/tls.h: Likewise.
8992         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8993         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8994         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8995         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8996         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8997         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8998         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8999         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9000         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9001         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9002         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9003         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9004         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9005         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9006         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9007         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9008         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9009         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9010         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9011         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9012         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9013         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9014         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9015         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9016         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9020         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9021         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9022         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9023         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9024         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9025         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9026         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9027         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9028         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9029         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9030         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9031         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9032         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9033         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9034         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9035         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9036         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9037         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9038         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9039         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9040         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9041         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9042         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9043         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9044         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9045         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9046         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9047         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9048         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9049         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9072         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9073         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9074         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9075         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9076         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9077         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9078         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9079         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9080         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9081         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9082         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9083         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9084         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9085         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9086         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9087         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9088         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9089         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9090         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9091         * sysdeps/unix/sysv/linux/system.c: Likewise.
9092         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9093         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9094         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9095         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9096         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9097         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9098         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9100         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9101         * configure: Regenerated.
9102         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9104         * configure.ac (base_machine): Do not set specially for particular
9105         machines here.
9106         * configure: Regenerated.
9107         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9108         settings from configure.ac.
9109         * sysdeps/i386/preconfigure: New file.
9110         * sysdeps/s390/preconfigure: Likewise.
9111         * sysdeps/sh/preconfigure: Likewise.
9112         * sysdeps/sparc/preconfigure: Likewise.
9114 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9116         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9117         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9118         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9119         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9120         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9121         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9122         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9123         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9124         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9125         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9126         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9127         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9128         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9129         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9130         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9131         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9132         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9133         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9134         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9136         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9137         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9138         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9139         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9140         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9141         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9142         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9143         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9144         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9145         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9146         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9147         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9148         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9149         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9150         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9151         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9152         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9153         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9154         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9155         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9156         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9157         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9159         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9160         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9161         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9163         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9165         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9166         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9167         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9168         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9169         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9170         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9171         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9172         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9173         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9175         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9176         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9178         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9180         Moved ...
9181         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9182         ... here.
9183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9184         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9186         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9188         Moved ...
9189         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9191         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9193         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9195         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9197         Moved ...
9198         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9200         Moved ...
9201         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9203         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9205         Moved ...
9206         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9208         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9210         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9212         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9214         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9216         Moved ...
9217         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9218         ... here.
9219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9220         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9222         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9224         Moved ...
9225         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9227         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9229         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9231         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9233         Moved ...
9234         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9236         Moved ...
9237         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9239         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9241         Moved ...
9242         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9244         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9246         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9248 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9250         * timezone/checktab.awk: Update from tzcode 2014e.
9251         * timezone/private.h: Likewise.
9252         * timezone/tzfile.h: Likewise.
9253         * timezone/zdump.c: Likewise.
9254         * timezone/zic.c: Likewise.
9256         * sysdeps/unix/sysv/linux/kernel-features.h
9257         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9258         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9259         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9260         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9261         Remove conditional code.
9263 2014-06-25  Will Newton  <will.newton@linaro.org>
9265         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9266         (_dl_arm_cap_flags): Add HWCAP2 values.
9267         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9268         (_DL_HWCAP_COUNT): Increase to 37.
9269         (_DL_HWCAP_LAST): New define.
9270         (_DL_HWCAP2_LAST): New define.
9271         (_dl_procinfo): Add support for printing
9272         AT_HWCAP2 entries.
9273         (_dl_string_hwcap): Use _dl_hwcap_string.
9275 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9279 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9281         * README: Do not mention ports directory.
9283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9284         Remove macro.
9285         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9286         <kernel-features.h>.
9287         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9288         conditional variable definition.
9289         (__futimes): Update comment.
9290         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9291         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9293         [BZ #16560]
9294         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9295         arguments close to 0.
9296         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9297         Likewise.
9298         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9299         Likewise.
9300         * math/auto-libm-test-in: Add more tests of exp10.
9301         * math/auto-libm-test-out: Regenerated.
9302         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9304         * sysdeps/unix/sysv/linux/kernel-features.h
9305         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9306         * sysdeps/unix/sysv/linux/readv.c: Do not include
9307         <kernel-features.h>.
9308         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9309         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9310         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9311         unconditional.
9312         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9313         conditional code.
9314         * sysdeps/unix/sysv/linux/writev.c: Do not include
9315         <kernel-features.h>.
9316         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9317         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9318         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9319         unconditional.
9320         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9321         conditional code.
9323 2014-06-25  Will Newton  <will.newton@linaro.org>
9325         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9326         comment changes throughout the file.  Remove checks
9327         for HAVE_*_H definitions that are not required.
9328         (__gen_tempname): Call abort if an unknown kind value is
9329         passed.
9331 2014-06-25  Andreas Schwab  <schwab@suse.de>
9333         [BZ #17086]
9334         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9335         scalbln, scalblnf, scalblnl in libc.
9337 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9339         [BZ #17086]
9340         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9341         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9342         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9344 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9346         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9347         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9348         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9349         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9350         Update #include.
9351         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9352         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9353         Update #include.
9354         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9355         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9356         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9357         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9358         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9359         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9360         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9361         * sysdeps/x86/bits/semaphore.h: ... here.
9362         * sysdeps/x86/nptl/elide.h: Moved ...
9363         * sysdeps/x86/elide.h: ... here.
9364         * sysdeps/x86_64/nptl/Implies: File removed.
9365         * sysdeps/i386/nptl/Implies: File removed.
9367 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9369         [BZ #16539]
9370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9371         return the argument for normal arguments with exponent below -64.
9372         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9373         Likewise.
9374         * math/auto-libm-test-in: Add another test of expm1.
9375         * math/auto-libm-test-out: Regenerated.
9377         [BZ #16287]
9378         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9379         calling __erfcl for arguments at least 16.
9380         * math/auto-libm-test-in: Add more tests of erf.
9381         * math/auto-libm-test-out: Regenerated.
9383         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9384         individual architectures.
9385         * sysdeps/unix/sysv/linux/configure: Regenerated.
9386         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9387         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9388         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9389         (ldd_rewrite_script): Define variable.
9390         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9392         file.
9393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9394         generated file.
9395         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9396         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9397         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9398         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9399         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9400         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9401         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9402         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9404 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9406         [BZ #17084]
9407         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9408         Rename member __data.d to __data.__elision_data.
9410 2014-06-24  Wilco  <wdijkstr@arm.com>
9412         * NEWS: Add 16918 to fixed bug list.
9414 2014-06-24  Wilco  <wdijkstr@arm.com>
9416         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9418 2014-06-24  Wilco  <wdijkstr@arm.com>
9420         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9421         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9422         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9423         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9424         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9425         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9426         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9427         Use _FPU_MASK_RM.
9429 2014-06-24  Wilco  <wdijkstr@arm.com>
9431         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9433 2014-06-24  Wilco  <wdijkstr@arm.com>
9435         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9436         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9437         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9438         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9440 2014-06-24  Wilco  <wdijkstr@arm.com>
9442         [BZ #16918]
9443         * sysdeps/arm/feupdateenv.c (feupdateenv):
9444         Rewrite to reduce FPSCR accesses and fix return value.
9446 2014-06-24  Wilco  <wdijkstr@arm.com>
9448         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9449         Optimize to avoid unnecessary FPSCR writes.
9450         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9451         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9452         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9453         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9455 2014-06-24  Wilco  <wdijkstr@arm.com>
9457         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9458         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9459         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9460         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9461         Call libc_fetestexcept_vfp.
9462         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9463         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9464         __SOFTFP__ ifdef so that they can be built for softfp.
9466 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9468         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9469         argument type signed char.
9471         * Makerules (check-abi): Dump diff of symlist if the test
9472         fails.
9474 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9476         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9477         using abort.
9479         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9480         Remove unused variable ST.
9482 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9484         [BZ #16354]
9485         [BZ #17061]
9486         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9487         small arguments before calling __expm1.
9488         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9489         small arguments before calling __expm1f.
9490         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9491         small arguments before calling __expm1l.
9492         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9493         Likewise.
9494         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9495         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9496         spurious underflow for some cosh tests.
9497         * math/auto-libm-test-out: Regenerated.
9498         * sysdeps/i386/fpu/libm-test-ulps: Update.
9500         [BZ #17050]
9501         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9502         (__ieee754_y1): Set errno if return value overflows.
9503         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9504         (__ieee754_y1f): Set errno if return value overflows.
9505         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9506         (__ieee754_y1l): Set errno if return value overflows.
9507         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9508         (__ieee754_y1l): Set errno if return value overflows.
9509         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9510         * math/auto-libm-test-out: Regenerated.
9512         * math/gen-auto-libm-tests.c: Document use of
9513         ignore-zero-inf-sign.
9514         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9515         (input_flags): Add ignore-zero-inf-sign.
9516         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9517         * math/gen-libm-test.pl (generate_testfile): Handle
9518         ignore-zero-inf-sign.
9519         * math/auto-libm-test-in: Mark some cpow tests with
9520         ignore-zero-inf-sign and some with xfail-rounding.
9521         * math/auto-libm-test-out: Regenerated.
9522         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9523         * sysdeps/i386/fpu/libm-test-ulps: Update.
9524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9526         [BZ #16315]
9527         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9528         overflowing or underflowing operations take place with sign of
9529         result.
9530         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9531         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9532         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9533         (__ieee754_pow): Recompute overflowing and underflowing results in
9534         original rounding mode.
9535         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9536         (__powl_helper): Allow negative argument X and scale negated value
9537         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9538         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9539         overflowing or underflowing operations take place with sign of
9540         result.
9541         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9542         Include <math.h>.
9543         * math/auto-libm-test-in: Add more tests of pow.
9544         * math/auto-libm-test-out: Regenerated.
9545         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9546         (pow_tonearest_test_data): Remove.
9547         (pow_test_tonearest): Likewise.
9548         (pow_towardzero_test_data): Likewise.
9549         (pow_test_towardzero): Likewise.
9550         (pow_downward_test_data): Likewise.
9551         (pow_test_downward): Likewise.
9552         (pow_upward_test_data): Likewise.
9553         (pow_test_upward): Likewise.
9554         (main): Don't call removed functions.
9555         * sysdeps/i386/fpu/libm-test-ulps: Update.
9556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9558 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9561         Moved ...
9562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9564         Moved ...
9565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9567         Moved ...
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9570         Moved ...
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9573         File removed.
9574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9575         File removed.
9576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9577         File removed.
9578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9579         File removed.
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9581         File removed.
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9583         File removed.
9584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9585         File removed.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9587         File removed.
9588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9589         File removed.
9590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9591         File removed.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9593         File removed.
9594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9595         File removed.
9596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9597         Moved ...
9598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9600         Moved ...
9601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9602         ... here.
9603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9604         Moved ...
9605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9607         Moved ...
9608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9610         Moved ...
9611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9613         Moved ...
9614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9616         Moved ...
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9619         Moved ...
9620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9622         Moved ...
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9626         ... here.
9627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9628         Moved ...
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9631         Moved ...
9632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9633         ... here.
9634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9635         Moved ...
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9637         ... here.
9638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9639         Moved ...
9640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9641         ... here.
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9643         Moved ...
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9646         Moved ...
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9651         Moved ...
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9653         ... here.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9655         Moved ...
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9657         ... here.
9658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9659         Moved ...
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9662         Moved ...
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9665         Moved ...
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9668         Moved ...
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9671         Moved ...
9672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9673         ... here.
9674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9675         Moved ...
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9678         Moved ...
9679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9681         Moved ...
9682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9684         Moved ...
9685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9689         Moved ...
9690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9692         Moved ...
9693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9695         Moved ...
9696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9697         ... here.
9698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9699         Moved ...
9700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9701         ... here.
9702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9703         Moved ...
9704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9705         ... here.
9706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9707         Moved ...
9708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9710         Moved ...
9711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9713         Moved ...
9714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9716         Moved ...
9717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9718         ... here.
9719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9720         Moved ...
9721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9722         ... here.
9723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9724         Moved ...
9725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9726         ... here.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9728         Moved ...
9729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9731         Moved ...
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9734 2014-06-23  Will Newton  <will.newton@linaro.org>
9735             Wilco  <wdijkstr@arm.com>
9737         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9738         implementation.  Include get-rounding-mode.h.
9739         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9740         [!libc_feholdsetround_noex_ctx]: Define
9741         libc_feholdsetround_noex_ctx.
9742         [!libc_feholdsetround_noexf_ctx]: Define
9743         libc_feholdsetround_noexf_ctx.
9744         [!libc_feholdsetround_noexl_ctx]: Define
9745         libc_feholdsetround_noexl_ctx.
9746         (libc_feholdsetround_ctx): New function.
9747         (libc_feresetround_ctx): New function.
9748         (libc_feholdsetround_noex_ctx): New function.
9749         (libc_feresetround_noex_ctx): New function.
9751 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9753         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9754         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9755         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9756         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9757         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9758         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9760         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9761         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9762         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9763         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9764         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9765         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9766         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9767         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9768         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9769         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9770         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9771         Moved ...
9772         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9773         ... here.
9774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9775         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9777         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9778         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9779         Moved ...
9780         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9782         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9784         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9786         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9788         Moved ...
9789         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9791         Moved ...
9792         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9794         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9796         Moved ...
9797         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9798         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9799         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9800         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9801         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9802         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9803         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9804         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9805         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9806         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9807         Moved ...
9808         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9809         ... here.
9810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9813         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9815         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9823         Moved ...
9824         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9826         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9828         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9830         Moved ...
9831         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9833         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9834         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9835         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9837         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9838         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9839         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9840         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9841         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9842         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9843         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9844         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9845         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9846         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9847         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9848         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9849         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9850         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9852         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9853         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9854         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9855         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9856         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9857         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9858         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9859         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9860         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9861         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9862         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9863         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9864         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9866 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9869         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9870         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9871         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9872         (IPV6_PMTUDISC_INTERFACE): Likewise.
9873         (IPV6_PMTUDISC_OMIT): Likewise.
9875 2014-06-23  Andreas Schwab  <schwab@suse.de>
9877         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9878         Remove unused errout label.
9880 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9882         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9883         macro: hardware supports Vector Crypto instructions.
9885 2014-06-23  Will Newton  <will.newton@linaro.org>
9887         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9888         rather than __builtin_expect.
9890         * elf/dl-lookup.c (undefined_msg): Remove variable.
9891         (_dl_lookup_symbol_x): Replace undefined_msg with string
9892         literal.
9894         * elf/dl-lookup.c (do_lookup_unique): New function.
9895         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9896         to a separate function.
9898 2014-06-23  Andreas Schwab  <schwab@suse.de>
9900         [BZ #17079]
9901         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9902         before reading the next line.
9904 2014-06-23  Will Newton  <will.newton@linaro.org>
9906         * test-skeleton.c (signal_handler): Use printf and %m
9907         rather than perror.  Use printf rather than fprintf to
9908         stderr.  Use puts rather than fputs to stderr.
9909         (main): Likewise.
9911 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9913         * nscd/nscd.c (thread_info_t): Remove typedef.
9914         (thread_info): Remove variable.
9916 2014-06-21  Allan McRae  <allan@archlinux.org>
9918         * NEWS: Mention CVE-2014-4043.
9920 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9922         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9923         * nptl/smp.h: ... here.
9925         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9927         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9928         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9929         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9930         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9932         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9933         * nptl/stack-aliasing.h: New file.
9934         * sysdeps/i386/i686/stack-aliasing.h: New file.
9935         * sysdeps/i386/i686/nptl/Makefile: File removed.
9936         * sysdeps/x86_64/stack-aliasing.h: New file.
9937         * sysdeps/x86_64/nptl/Makefile
9938         (CFLAGS-pthread_create.c): Variable removed.
9940         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9941         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9942         old file.
9943         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9944         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9945         old file.
9947 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9949         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9950         (__ASSUME_SIGFRAME_V2): Remove macro.
9951         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9952         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9953         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9954         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9955         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9956         Declare as function.  Remove conditional macro definitions.
9957         (__default_rt_sa_restorer): Likewise.
9958         (__default_sa_restorer_v1): Remove declaration.
9959         (__default_sa_restorer_v2): Likewise.
9960         (__default_rt_sa_restorer_v1): Likewise.
9961         (__default_rt_sa_restorer_v2): Likewise.
9962         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9963         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9964         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9966 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9968         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9969         (libpthread-routines): Add sysdep.
9970         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9971         * sysdeps/unix/sysv/linux/sparc/Versions
9972         (libpthread: GLIBC_2.3.3): New version set.
9973         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9974         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9975         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9976         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9977         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9978         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9979         Moved ...
9980         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9981         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9982         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9983         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9984         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9985         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9986         * sysdeps/sparc/nptl/sem_init.c: ... here.
9987         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9988         * sysdeps/sparc/nptl/sem_post.c: ... here.
9989         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9990         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9991         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9992         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9993         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9994         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9995         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9996         (libpthread-routines): Add cpu_relax.
9997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9998         File removed.
9999         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10000         (librt: GLIBC_2.3.3): New version set.
10001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10002         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10003         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10004         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10006         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10007         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10009         Moved ...
10010         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10012         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10016         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10018         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10020         Moved ...
10021         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10022         Update #include.
10023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10024         Moved ...
10025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10026         Update #include.
10027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10028         Moved ...
10029         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10030         Update #include.
10031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10032         Moved ...
10033         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10034         Update #include.
10035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10036         Moved ...
10037         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10038         Update #include.
10039         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10040         Moved ...
10041         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10042         Update #include.
10043         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10044         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10050         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10052         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10054         Moved ...
10055         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10057         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10059         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10061 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10063         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10064         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10065         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10066         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10067         * nscd/nscd.c: Likewise.
10068         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10069         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10070         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10071         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10073         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10074         <kernel-features.h>.
10075         (init_mq_netlink): Remove conditional have_sock_cloexec
10076         definitions.  Remove code conditional on have_sock_cloexec < 0.
10077         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10078         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10079         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10080         <kernel-features.h>.
10081         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10082         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10084 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10087         Add tests for memset_chk and memset.
10089         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10090         with AVX2_Usable.
10092 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10094         [BZ #16046]
10095         * elf/tst-dl-iter-static.c: New file.
10096         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10098         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10099         error.
10101 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10103         * sysdeps/unix/sysv/linux/kernel-features.h
10104         (__ASSUME_F_GETOWN_EX): Remove macro.
10105         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10106         <kernel-features.h>.
10107         (miss_F_GETOWN_EX): Remove variable or macro.
10108         (do_fcntl): Do not check miss_F_GETOWN_EX.
10109         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10111         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10112         Remove macro.
10113         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10114         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10115         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10117         * sysdeps/unix/sysv/linux/kernel-features.h
10118         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10119         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10120         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10121         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10123 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10125         [BZ #17075]
10126         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10127         Fix calculation of the symbol's value.
10128         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10129         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10130         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10131         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10132         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10133         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10134         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10135         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10136         (modules-names): Add `tst-armtlsdescmod',
10137         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10138         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10139         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10140         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10141         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10142         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10143         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10144         ($(objpfx)tst-armtlsdescloc): New dependency.
10145         ($(objpfx)tst-armtlsdescextnow): Likewise.
10146         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10147         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10148         TLS scheme support.
10149         * sysdeps/arm/configure: Regenerate.
10151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10153         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10154         (__atfct_seterrno_2): Likewise.
10155         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10156         <kernel-features.h>.
10157         (__ASSUME_ATFCTS): Do not undefine and redefine.
10158         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10159         (__have_atfcts): Remove conditional definition.
10160         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10161         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10162         unreachable if [__ASSUME_ATFCTS].
10163         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10164         not undefine and redefine.
10165         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10166         <kernel-features.h>.
10167         (faccessat) [__NR_faccessat]: Make code unconditional.
10168         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10169         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10170         <kernel-features.h>.
10171         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10172         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10173         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10174         <kernel-features.h>.
10175         (fchownat) [__NR_fchownat]: Make code unconditional.
10176         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10177         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10178         <kernel-features.h>.
10179         (futimesat) [__NR_futimesat]: Make code unconditional.
10180         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10181         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10182         <kernel-features.h>.
10183         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10184         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10185         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10186         <kernel-features.h>.
10187         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10188         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10189         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10190         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10191         <kernel-features.h>.
10192         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10193         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10194         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10195         <kernel-features.h>.
10196         (linkat) [__NR_linkat]: Make code unconditional.
10197         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10198         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10199         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10200         <kernel-features.h>.
10201         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10202         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10203         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10204         <kernel-features.h>.
10205         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10206         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10207         * sysdeps/unix/sysv/linux/openat.c: Do not include
10208         <kernel-features.h>.
10209         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10210         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10211         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10212         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10213         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10214         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10215         <kernel-features.h>.
10216         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10217         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10218         result of INLINE_SYSCALL directly, not via int variable.
10219         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10220         <kernel-features.h>.
10221         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10222         (renameat) [__NR_renameat]: Make code unconditional.
10223         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10224         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10225         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10226         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10227         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10228         (__ASSUME_ATFCTS): Do not undefine and redefine.
10229         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10230         <kernel-features.h>.
10231         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10232         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10233         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10234         <kernel-features.h>.
10235         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10236         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10237         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10238         (__ASSUME_ATFCTS): Do not undefine and redefine.
10239         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10240         <kernel-features.h>.
10241         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10243         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10244         <kernel-features.h>.
10245         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10246         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10248 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10250         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10252 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10254         [BZ #17069]
10255         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10256         constructed tree before returning error.
10257         * posix/bug-regexp36.c: Expand test case.
10259 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10261         [BZ #6803]
10262         * math/libm-test.inc (scalbln_test_date):
10263         Add errno expectations.
10264         * math/w_scalblnf.c: New File.
10265         Add wrapper which checks for setting errno to ERANGE.
10266         Add weak_alias for corresponding scalbln function.
10267         * math/w_scalbln.c: Likewise.
10268         * math/w_scalblnl.c: Likewise.
10269         * math/Makefile (libm-calls): Add w_scalbln.
10270         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10271         Remove weak_alias for corresponding scalbln function.
10272         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10274         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10276         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10277         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10278         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10279         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10280         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10281         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10282         Remove long_double_symbol for scalblnl function in libm, libc.
10283         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10284         Add wrapper which checks for setting errno to ERANGE.
10285         Add long_double_symbol for scalblnl function in libm, libc.
10286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10287         Remove long_double_symbol for scalblnl in libm.
10288         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10289         Add wrapper which checks for setting errno to ERANGE.
10290         Add long_double_symbol for scalblnl function in libm.
10291         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10292         Do not use wrapper because of own implementation.
10294 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10296         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10297         3 bytes for __pad1 for x32.
10298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10300 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10301             H.J. Lu  <hongjiu.lu@intel.com>
10303         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10304         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10305         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10306         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10307         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10309 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10311         [BZ #17069]
10312         * posix/regcomp.c (parse_expression): Deallocate partially
10313         constructed tree before returning error.
10314         * posix/Makefile.c (tests): Add bug-regex36.
10315         (generated): Add bug-regex36.mtrace.
10316         (tests-special): Add $(objpfx)bug-regex36-mem.out
10317         (bug-regex36-ENV): New variable.
10318         ($(objpfx)bug-regex36-mem.out): New rule.
10319         * posix/bug-regex36.c: New file.
10321 2014-06-19  Will Newton  <will.newton@linaro.org>
10323         * malloc/malloc.c (systrim): If extra is zero then return
10324         early.
10326 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10328         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10330 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10332         * sysdeps/aarch64/strchr.S: New file.
10334 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10336         [BZ #17022]
10337         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10338         from arguments -2 or below.
10339         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10340         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10342 2014-06-18  Andreas Schwab  <schwab@suse.de>
10344         [BZ #17062]
10345         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10346         of a bracket expr not to run off the end of the string.
10347         * posix/Makefile (tests): Add tst-fnmatch3.
10348         * posix/tst-fnmatch3.c: New file.
10350 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10352         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10353         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10354         [$(cross-compiling) = no]: Likewise.
10355         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10356         [$(cross-compiling) = no]: Likewise.
10358 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10360         [BZ #17031]
10361         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10362         double, adjusted for any remainder from the high double.
10363         * math/libm-test.inc (nearbyint): Add tests.
10364         (rint): Likewise.
10366 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10368         * nptl/sysdeps/powerpc/Makefile: Moved ...
10369         * sysdeps/powerpc/nptl/Makefile: ... here.
10370         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10371         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10372         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10373         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10374         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10375         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10376         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10377         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10378         * nptl/sysdeps/powerpc/tls.h: Moved ...
10379         * sysdeps/powerpc/nptl/tls.h: ... here.
10381 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10383         [BZ #16681]
10384         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10385         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10386         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10387         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10388         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10389         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10390         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10391         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10392         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10394 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10396         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10398 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10400         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10401         defined operator.
10403         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10404         $TIMEOUTFACTOR.
10406 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10408         [BZ #17058]
10409         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10410         non-executed part of the test.
10412 2014-06-16  Andreas Schwab  <schwab@suse.de>
10414         * string/bits/string2.h (strdup, strndup): Update feature guard.
10416 2014-06-14  David S. Miller  <davem@davemloft.net>
10418         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10420 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10422         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10423         that was previously under [RESET_PID].
10424         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10426         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10427         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10428         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10429         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10430         (__libc_vfork): New strong alias.
10431         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10433 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10435         * sysdeps/generic/elide.h: New file.
10437 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10439         * Makefile (installed-headers): Adjust path of pthread.h header.
10441 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10443         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10444         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10445         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10446         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10448         * nptl/sysdeps/s390/Makefile: Moved ...
10449         * sysdeps/s390/nptl/Makefile: ... here.
10450         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10451         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10452         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10453         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10454         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10455         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10456         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10457         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10458         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10459         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10460         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10461         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10462         * nptl/sysdeps/s390/tls.h: Moved ...
10463         * sysdeps/s390/nptl/tls.h: ... here.
10465         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10466         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10468 2014-06-13  David S. Miller  <davem@davemloft.net>
10470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10473         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10477         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10478         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10479         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10480         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10481         Remove RESET_PID cpp guards.
10482         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10483         Remove RESET_PID cpp guards.
10484         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10486 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10488         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10489         __sp to uintptr_t.
10491 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10493         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10494         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10496         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10497         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10498         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10499         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10500         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10501         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10502         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10503         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10504         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10505         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10506         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10507         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10508         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10509         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10510         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10511         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10512         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10514         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10515         (pthread_rwlock_rdlock): Add elision.
10516         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10517         (pthread_rwlock_wrlock): Add elision.
10518         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10519         (pthread_rwlock_trywrlock): Add elision.
10520         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10521         (pthread_rwlock_tryrdlock): Add elision.
10522         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10523         (pthread_rwlock_tryrdlock): Add elision unlock.
10524         * nptl/sysdeps/pthread/pthread.h:
10525         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10526         (PTHREAD_RWLOCK_INITIALIZER,
10527         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10528         Handle new elision field.
10529         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10530         * sysdeps/arm/nptl/bits/pthreadtypes.h
10531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10532         * sysdeps/sh/nptl/bits/pthreadtypes.h
10533         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10534         * sysdeps/tile/nptl/bits/pthreadtypes.h
10535         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10536         * sysdeps/a/nptl/bits/pthreadtypes.h
10537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10538         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10540         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10542         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10543         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10544         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10546         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10548         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10550         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10552         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10554         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10555         (elision_init): Set try_xbegin to zero when no RTM.
10556         * sysdeps/x86/nptl/bits/pthreadtypes.h
10557         (pthread_rwlock_t): Change __pad1 to __rwelision.
10558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10560 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10562         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10563         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10564         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10565         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10567 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10569         [BZ #16996]
10570         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10571         that the cached result has been set before returning it.
10573 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10575         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10576         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10577         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10578         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10579         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10580         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10582         * nptl/sysdeps/sparc/Makefile: Moved ...
10583         * sysdeps/sparc/nptl/Makefile: ... here.
10584         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10585         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10586         * nptl/sysdeps/sparc/tls.h: Moved ...
10587         * sysdeps/sparc/nptl/tls.h: ... here.
10588         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10589         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10590         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10591         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10592         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10593         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10594         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10595         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10596         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10597         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10598         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10599         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10600         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10601         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10602         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10603         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10604         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10605         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10606         Update #include.
10607         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10608         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10609         Update #include.
10610         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10612         Update #include.
10613         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10615         Update #include.
10617         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10619         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10620         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10622         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10623         (struct list_links): Type removed.
10624         (struct thread_node, struct timer_node): Replace struct list_links
10625         with struct list_head.
10626         (list_unlink_ip): Likewise.
10627         * sysdeps/pthread/timer_routines.c
10628         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10629         (list_append, list_insbefore): Likewise.
10630         (list_init): Function removed.
10631         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10632         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10633         * sysdeps/pthread/Makefile: ... here, new file.
10635         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10636         * sysdeps/nptl/Implies: ... here.
10637         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10638         * nptl/sysdeps/pthread/list.h: Moved ...
10639         * include/list.h: ... here.
10640         * nptl/sysdeps/pthread/createthread.c: Moved ...
10641         * nptl/createthread.c: ... here.
10642         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10643         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10644         * nptl/pt-longjmp.c: ... here.
10645         * nptl/sysdeps/pthread/Makefile: Moved ...
10646         * sysdeps/nptl/Makefile: ... here.
10647         * nptl/sysdeps/pthread/Subdirs: Moved ...
10648         * sysdeps/nptl/Subdirs: ... here.
10649         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10650         * sysdeps/nptl/aio_misc.h: ... here.
10651         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10652         * sysdeps/nptl/bits/libc-lock.h: ... here.
10653         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10654         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10655         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10656         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10657         * nptl/sysdeps/pthread/configure: Moved ...
10658         * sysdeps/nptl/configure: ... here.
10659         * nptl/sysdeps/pthread/configure.ac: Moved ...
10660         * sysdeps/nptl/configure.ac: ... here.
10661         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10662         * sysdeps/nptl/gai_misc.h: ... here.
10663         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10664         * sysdeps/nptl/librt-cancellation.c: ... here.
10665         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10666         * sysdeps/nptl/malloc-machine.h: ... here.
10667         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10668         * sysdeps/nptl/pthread-functions.h: ... here.
10669         * nptl/sysdeps/pthread/pthread.h: Moved ...
10670         * sysdeps/nptl/pthread.h: ... here.
10671         * nptl/sysdeps/pthread/setxid.h: Moved ...
10672         * sysdeps/nptl/setxid.h: ... here.
10673         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10674         * sysdeps/nptl/sigfillset.c: ... here.
10675         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10676         * sysdeps/nptl/tcb-offsets.h: ... here.
10677         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10678         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10679         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10680         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10681         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10682         * sysdeps/pthread/allocalim.h: ... here.
10683         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10684         * sysdeps/pthread/bits/sigthread.h: ... here.
10685         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10686         * sysdeps/pthread/flockfile.c: ... here.
10687         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10688         * sysdeps/pthread/ftrylockfile.c: ... here.
10689         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10690         * sysdeps/pthread/funlockfile.c: ... here.
10691         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10692         * sysdeps/pthread/posix-timer.h: ... here.
10693         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10694         * sysdeps/pthread/timer_create.c: ... here.
10695         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10696         * sysdeps/pthread/timer_delete.c: ... here.
10697         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10698         * sysdeps/pthread/timer_getoverr.c: ... here.
10699         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10700         * sysdeps/pthread/timer_gettime.c: ... here.
10701         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10702         * sysdeps/pthread/timer_routines.c: ... here.
10703         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10704         * sysdeps/pthread/timer_settime.c: ... here.
10705         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10706         * sysdeps/pthread/tst-timer.c: ... here.
10707         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10708         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10710         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10711         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10713         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10714         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10715         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10716         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10717         Update #include target.
10718         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10719         * sysdeps/i386/i686/nptl/Makefile: ... here.
10720         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10721         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10722         Update #include target.
10723         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10724         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10725         * nptl/sysdeps/i386/Makefile: Moved ...
10726         * sysdeps/i386/nptl/Makefile: ... here.
10727         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10728         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10729         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10730         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10731         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10732         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10733         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10734         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10735         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10736         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10737         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10738         * nptl/sysdeps/i386/tls.h: Moved ...
10739         * sysdeps/i386/nptl/tls.h: ... here.
10741         * sysdeps/sh/Makefile [$(subdir) = csu]
10742         (gen-as-const-headers): Add tcb-offsets.sym.
10743         * nptl/sysdeps/sh/Makefile: File removed.
10744         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10745         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10746         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10747         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10748         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10749         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10750         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10751         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10752         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10753         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10754         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10755         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10756         * nptl/sysdeps/sh/tls.h: Moved ...
10757         * sysdeps/sh/nptl/tls.h: ... here.
10758         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10759         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10760         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10761         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10762         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10763         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10764         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10765         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10766         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10767         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10768         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10769         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10770         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10771         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10772         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10773         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10775         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10777         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10779         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10780         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10781         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10782         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10783         Moved ...
10784         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10786         Moved ...
10787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10789         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10791         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10792         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10793         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10794         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10795         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10796         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10797         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10798         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10799         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10800         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10801         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10802         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10803         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10804         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10805         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10807 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10809         * posix/spawn_faction_addopen.c: Include string.h.
10811 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10813         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10814         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10815         * nptl/sysdeps/x86_64/Makefile: Moved ...
10816         * sysdeps/x86_64/nptl/Makefile: ... here.
10817         * nptl/sysdeps/x86_64/configure: Moved ...
10818         * sysdeps/x86_64/nptl/configure: ... here.
10819         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10820         * sysdeps/x86_64/nptl/configure.ac: ... here.
10821         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10822         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10823         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10824         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10825         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10826         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10827         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10828         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10829         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10830         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10831         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10832         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10833         * nptl/sysdeps/x86_64/tls.h: Moved ...
10834         * sysdeps/x86_64/nptl/tls.h: ... here.
10835         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10836         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10837         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10838         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10840         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10842 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10846 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10848         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10849         type.
10850         [POSIX] (off_t): Likewise.
10851         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10852         [POSIX] (S_ISBLK): Require macro.
10853         [POSIX] (S_ISCHR): Likewise.
10854         [POSIX] (S_ISDIR): Likewise.
10855         [POSIX] (S_ISFIFO): Likewise.
10856         [POSIX] (S_ISREG): Likewise.
10857         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10858         optional-macro.
10859         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10860         type.
10861         [POSIX] (time_t): Likewise.
10862         [POSIX] (timer_t): Likewise.
10864 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10866         [BZ #17048]
10867         * posix/spawn_int.h (struct __spawn_action): Make the path string
10868         non-const to support deallocation.
10869         * posix/spawn_faction_addopen.c
10870         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10871         * posix/spawn_faction_destroy.c
10872         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10873         path in all spawn_do_open actions.
10874         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10875         posix_spawn_file_actions_addopen.
10877 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10879         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10880         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10881         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10882         conditional code always true.
10883         (__libc_vfork): New alias.
10885 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10887         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10888         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10890         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10892         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10893         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10895         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10896         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10898         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10899         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10901 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10903         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10904         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10905         multiarch strcmp for PPC64.
10906         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10907         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10909         multiarch optimizations.
10910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10911         (__libc_ifunc_impl_list): Likewise.
10913 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10915         * benchtests/scripts/validate_benchout.py: New script.
10916         * benchtests/Makefile (bench-func): Call it.
10917         * benchtests/scripts/benchout.schema.json: New file.
10919 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10921         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10922         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10923         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10924         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10925         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10926         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10927         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10928         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10929         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10930         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10931         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10932         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10933         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10934         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10935         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10936         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10937         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10938         Moved ...
10939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10940         ... here.
10941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10942         Moved ...
10943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10945         Moved ...
10946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10947         ... here.
10948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10951         ... here.
10952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10953         Moved ...
10954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10956         Moved ...
10957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10958         ... here.
10959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10960         Moved ...
10961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10962         ... here.
10963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10964         Moved ...
10965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10967         Moved ...
10968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10969         ... here.
10970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10971         Moved ...
10972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10973         ... here.
10974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10975         Moved ...
10976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10977         ... here.
10978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10979         Moved ...
10980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10982         Moved ...
10983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10984         ... here.
10985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10986         Moved ...
10987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10988         ... here.
10989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10990         Moved ...
10991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10992         ... here.
10993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10994         Moved ...
10995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10997         Moved ...
10998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10999         ... here.
11000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11001         Moved ...
11002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11003         ... here.
11004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11005         Moved ...
11006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11008         Moved ...
11009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11010         ... here.
11011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11012         Moved ...
11013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11015         Moved ...
11016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11018         Moved ...
11019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11020         ... here.
11021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11022         Moved ...
11023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11024         ... here.
11025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11026         Moved ...
11027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11028         ... here.
11029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11030         Moved ...
11031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11033         Moved ...
11034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11035         ... here.
11036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11037         Moved ...
11038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11039         ... here.
11040         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11041         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11042         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11043         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11044         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11045         Moved ...
11046         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11047         ... here.
11048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11049         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11050         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11051         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11052         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11053         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11055         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11057         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11058         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11059         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11061         Moved ...
11062         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11064         Moved ...
11065         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11067         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11069         Moved ...
11070         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11071         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11072         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11073         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11074         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11075         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11076         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11078 2014-06-10  Wilco  <wdijkstr@arm.com>
11080         * math/test-fenv-return.c: New file.
11081         * math/Makefile: Add new test test-fenv-return.
11083 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11085         [BZ #17042]
11086         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11087         when x - 1 is zero.
11088         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11089         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11090         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11091         0.0L for an argument of 1.0L.
11092         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11093         Likewise.
11094         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11095         value when x - 1 is zero.
11096         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11097         * sysdeps/i386/fpu/libm-test-ulps: Update.
11098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11100 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11102         [BZ #15119]
11103         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11105 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11107         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11108         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11110 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11112         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11113         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11115         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11116         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11118         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11119         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11121         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11122         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11124         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11125         if not already defined.
11126         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11127         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11128         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11129         (TLS_INIT_TP): Use it.
11130         (TLS_DEFINE_INIT_TP): New macro.
11131         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11133 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11135         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11136         constant.
11137         [POSIX] (IXANY): Likewise.
11138         [POSIX] (OLCUC): Likewise.
11139         [POSIX || POSIX2008] (CBAUD): Do not allow.
11140         [POSIX || POSIX2008] (DEFECHO): Likewise.
11141         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11142         [POSIX || POSIX2008] (ECHOKE): Likewise.
11143         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11144         [POSIX || POSIX2008] (EXTA): Likewise.
11145         [POSIX || POSIX2008] (EXTB): Likewise.
11146         [POSIX || POSIX2008] (FLUSHO): Likewise.
11147         [POSIX || POSIX2008] (LOBLK): Likewise.
11148         [POSIX || POSIX2008] (PENDIN): Likewise.
11149         [POSIX || POSIX2008] (SWTCH): Likewise.
11150         [POSIX || POSIX2008] (VDISCARD): Likewise.
11151         [POSIX || POSIX2008] (VDSUSP): Likewise.
11152         [POSIX || POSIX2008] (VLNEXT): Likewise.
11153         [POSIX || POSIX2008] (VREPRINT): Likewise.
11154         [POSIX || POSIX2008] (VSTATUS): Likewise.
11155         [POSIX || POSIX2008] (VWERASE): Likewise.
11156         (B*): Change to B[0123456789]*.
11157         * conform/data/time.h-data [POSIX || UNIX98]
11158         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11159         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11160         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11161         [POSIX] (tm_*): Do not allow.
11163 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11165         * Makefile (install): Don't set LANGUAGE.
11166         * Makefile.in (install): Likewise.
11167         * assert/Makefile (test-assert-ENV): Remove variable.
11168         (test-assert-perr-ENV): Likewise.
11169         * elf/Makefile (neededtest4-ENV): Likewise.
11170         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11171         [$(cross-compiling) = no]: Don't set LANGUAGE.
11172         * io/ftwtest-sh (LANG): Remove variable.
11173         * libio/Makefile (tst-widetext-ENV): Likewise.
11174         * manual/install.texi (Running make install): Don't refer to
11175         environment settings for make install.
11176         * INSTALL: Regenerated.
11177         * nptl/tst-tls6.sh: Don't set LANG.
11178         * posix/globtest.sh (LANG): Remove variable.
11179         * string/Makefile (tester-ENV): Likewise.
11180         (inl-tester-ENV): Likewise.
11181         (noinl-tester-ENV): Likewise.
11182         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11183         [$(cross-compiling) = no]: Don't set LANGUAGE.
11184         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11185         without explicit environment settings.
11187 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11189         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11190         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11191         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11192         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11194 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11196         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11197         other files in the crypt directory.
11198         * crypt/crypt.c: Remove duplicate includes.
11199         * crypt/crypt-entry.c: Likewise.
11200         * crypt/crypt_util.c: Likewise.
11202 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11204         * Makeconfig (run-program-env): New variable.
11205         (run-program-prefix-before-env): Likewise.
11206         (run-program-prefix-after-env): Likewise.
11207         (run-program-prefix): Define in terms of new variables.
11208         (built-program-cmd-before-env): New variable.
11209         (built-program-cmd-after-env): Likewise.
11210         (built-program-cmd): Define in terms of new variables.
11211         (test-program-prefix-before-env): New variable.
11212         (test-program-prefix-after-env): Likewise.
11213         (test-program-prefix): Define in terms of new variables.
11214         (test-program-cmd-before-env): New variable.
11215         (test-program-cmd-after-env): Likewise.
11216         (test-program-cmd): Define in terms of new variables.
11217         * Rules (make-test-out): Use $(run-program-env).
11218         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11219         (help): Do not mention environment variables.  Mention
11220         --timeoutfactor option.
11221         (timeoutfactor): New variable.
11222         (blacklist_exports): Remove function.
11223         (exports): Remove variable.
11224         (command): Do not include ${exports}.
11225         * manual/install.texi (Configuring and compiling): Do not mention
11226         test wrappers preserving environment variables.  Mention that last
11227         assignment to a variable must take precedence.
11228         * INSTALL: Regenerated.
11229         * benchtests/Makefile (run-bench): Use $(run-program-env).
11230         * catgets/Makefile ($(objpfx)test1.cat): Use
11231         $(built-program-cmd-before-env), $(run-program-env) and
11232         $(built-program-cmd-after-env).
11233         ($(objpfx)test2.cat): Do not specify environment variables
11234         explicitly.
11235         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11236         $(run-program-env) and $(built-program-cmd-after-env).
11237         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11238         $(run-program-env) and $(test-program-cmd-after-env).
11239         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11240         explicitly.
11241         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11242         run_program_env and test_program_cmd_after_env arguments.
11243         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11244         * elf/tst-pathopt.sh: Use run_program_env argument.
11245         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11246         $(test-wrapper-env) and $(run-program-env).
11247         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11248         run_program_env arguments.
11249         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11250         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11251         $(test-program-prefix-before-env), $(run-program-env) and
11252         $(test-program-prefix-after-env).
11253         ($(objpfx)tst-gettext2.out): Likewise.
11254         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11255         run_program_env and test_program_prefix_after_env arguments.
11256         * intl/tst-gettext2.sh: Likewise.
11257         * intl/tst-gettext4.sh: Do not set environment variables
11258         explicitly.
11259         * intl/tst-gettext6.sh: Likewise.
11260         * intl/tst-translit.sh: Likewise.
11261         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11262         $(test-program-prefix-before-env), $(run-program-env) and
11263         $(test-program-prefix-after-env).
11264         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11265         run_program_env and test_program_prefix_after_env arguments.
11266         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11267         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11268         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11269         explicitly with each use of ${test_wrapper_env}.
11270         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11271         $(test-program-prefix-before-env), $(run-program-env) and
11272         $(test-program-prefix-after-env).
11273         * posix/tst-getconf.sh: Do not set environment variables
11274         explicitly.
11275         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11276         run_program_env and test_program_prefix_after_env arguments.
11277         * stdio-common/tst-printf.sh: Do not set environment variables
11278         explicitly.
11279         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11280         $(test-program-prefix-before-env), $(run-program-env) and
11281         $(test-program-prefix-after-env).
11282         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11283         run_program_env and test_program_prefix_after_env arguments.
11284         Split $test calls into $test_pre and $test.
11285         * timezone/Makefile (build-testdata): Use
11286         $(built-program-cmd-before-env), $(run-program-env) and
11287         $(built-program-cmd-after-env).
11289 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11291         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11292         strlen for non SHARED builds.
11294 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11296         * nptl/allocatestack.c (check_list): Inlined function...
11297         (__reclaim_stacks): ... here.
11299 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11301         [BZ #15698]
11302         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11303         memory overrun.
11305 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11307         * Rules (make-test-out): Include
11308         LOCPATH=$(common-objpfx)localedata in default environment.
11309         * debug/Makefile (tst-chk1-ENV): Remove variable.
11310         (tst-chk2-ENV): Likewise.
11311         (tst-chk3-ENV): Likewise.
11312         (tst-chk4-ENV): Likewise.
11313         (tst-chk5-ENV): Likewise.
11314         (tst-chk6-ENV): Likewise.
11315         (tst-lfschk1-ENV): Likewise.
11316         (tst-lfschk2-ENV): Likewise.
11317         (tst-lfschk3-ENV): Likewise.
11318         (tst-lfschk4-ENV): Likewise.
11319         (tst-lfschk5-ENV): Likewise.
11320         (tst-lfschk6-ENV): Likewise.
11321         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11322         (tst-iconv7-ENV): Likewise.
11323         * intl/Makefile (LOCPATH-ENV): Likewise.
11324         (tst-codeset-ENV): Likewise.
11325         (tst-gettext3-ENV): Likewise.
11326         (tst-gettext5-ENV): Likewise.
11327         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11328         (tst-fopenloc-ENV): Likewise.
11329         (tst-fgetws-ENV): Remove variable.
11330         (tst-ungetwc1-ENV): Likewise.
11331         (tst-ungetwc2-ENV): Likewise.
11332         (bug-ungetwc2-ENV): Likewise.
11333         (tst-swscanf-ENV): Likewise.
11334         (bug-ftell-ENV): Likewise.
11335         (tst-fgetwc-ENV): Likewise.
11336         (tst-fseek-ENV): Likewise.
11337         (tst-ftell-partial-wide-ENV): Likewise.
11338         (tst-ftell-active-handler-ENV): Likewise.
11339         (tst-ftell-append-ENV): Likewise.
11340         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11341         (tst-regexloc-ENV): Likewise.
11342         (bug-regex1-ENV): Likewise.
11343         (tst-regex-ENV): Likewise.
11344         (tst-regex2-ENV): Likewise.
11345         (bug-regex5-ENV): Likewise.
11346         (bug-regex6-ENV): Likewise.
11347         (bug-regex17-ENV): Likewise.
11348         (bug-regex18-ENV): Likewise.
11349         (bug-regex19-ENV): Likewise.
11350         (bug-regex20-ENV): Likewise.
11351         (bug-regex22-ENV): Likewise.
11352         (bug-regex23-ENV): Likewise.
11353         (bug-regex25-ENV): Likewise.
11354         (bug-regex26-ENV): Likewise.
11355         (bug-regex30-ENV): Likewise.
11356         (bug-regex32-ENV): Likewise.
11357         (bug-regex33-ENV): Likewise.
11358         (bug-regex34-ENV): Likewise.
11359         (bug-regex35-ENV): Likewise.
11360         (tst-rxspencer-ENV): Likewise.
11361         (tst-rxspencer-no-utf8-ENV): Likewise.
11362         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11363         (tst-sscanf-ENV): Likewise.
11364         (tst-swprintf-ENV): Likewise.
11365         (tst-swscanf-ENV): Likewise.
11366         (test-vfprintf-ENV): Likewise.
11367         (scanf13-ENV): Likewise.
11368         (bug14-ENV): Likewise.
11369         (tst-grouping-ENV): Likewise.
11370         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11371         (tst-strtod3-ENV): Likewise.
11372         (tst-strtod4-ENV): Likewise.
11373         (tst-strtod5-ENV): Likewise.
11374         (testmb2-ENV): Likewise./
11375         * string/Makefile (tst-strxfrm-ENV): Likewise.
11376         (tst-strxfrm2-ENV): Likewise.
11377         (bug-strcoll1-ENV): Likewise.
11378         (test-strcasecmp-ENV): Likewise.
11379         (test-strncasecmp-ENV): Likewise.
11380         * time/Makefile (tst-strptime-ENV): Likewise.
11381         (tst-ftime_l-ENV): Likewise.
11382         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11383         (tst-mbrtowc-ENV): Likewise.
11384         (tst-wcrtomb-ENV): Likewise.
11385         (tst-mbrtowc2-ENV): Likewise.
11386         (tst-c16c32-1-ENV): Likewise.
11387         (tst-mbsnrtowcs-ENV): Likewise.
11389 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11391         * manual/resource.texi (How to get information about the memory
11392         subsystem?): Fix typo.
11393         Reported by Peon de la Parra Ivan <peon@keba.com>
11395 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11397         [BZ #16882]
11398         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11399         (pthread_spin_lock): Branch out of spin loop to proper location.
11400         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11401         (pthread_spin_lock): Likewise.
11403         * nptl/tst-spin4.c: New test.
11404         * nptl/Makefile (tests): Add tst-spin4.
11406 2014-06-03  Andreas Schwab  <schwab@suse.de>
11408         [BZ #15946]
11409         * resolv/res_send.c (send_dg): Reload file descriptor after
11410         calling reopen.
11412 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11414         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11416 2014-06-03  Richard Henderson  <rth@redhat.com>
11418         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11419         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11420         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11421         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11422         in the SAVE_PID block.
11423         (__libc_vfork): New alias.
11424         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11426         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11427         child in registers, not on the stack.  Remove RESET_PID conditionals.
11428         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11430 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11432         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11434 2014-06-03  Wilco  <wdijkstr@arm.com>
11436         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11437         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11438         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11439         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11440         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11441         Likewise.
11443 2014-06-03  Wilco  <wdijkstr@arm.com>
11445         * sysdeps/aarch64/fpu/math_private.h
11446         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11447         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11448         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11449         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11450         Fix declarations.
11452 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11454         * crypt/crypt-private.h: Include ufc-crypt.h.
11455         (__b64_from_24bit): Declare extern.
11456         * crypt/crypt_util.c(__b64_from_24bit): New function.
11457         (b64t): New static const variable.
11458         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11459         (b64t): Remove variable.
11460         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11461         * crypt/sha256-crypt.c: Include crypt-private.h.
11462         (b64t): Remove variable.
11463         (__sha256_crypt_r): Remove b64_from_24bit and replace
11464         with __b64_from_24bit.
11465         * crypt/sha512-crypt.c: Likewise.
11467 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11469         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11470         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11471         Label the code __libc_vfork rather than __vfork.
11472         [!NOT_IN_libc] (vfork): Define as weak alias.
11473         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11474         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11475         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11477 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11479         * malloc/malloc.c (malloc_info): Fix format specifier for
11480         n_mmaps.
11482 2014-06-02  Wilco  <wdijkstr@arm.com>
11484         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11485         FPCR write.
11487 2014-06-02  Wilco  <wdijkstr@arm.com>
11489         [BZ #17009]
11490         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11491         Rewrite to reduce FPCR/FPSR accesses.
11493 2014-06-01  David S. Miller  <davem@davemloft.net>
11495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11497 2014-05-31  David S. Miller  <davem@davemloft.net>
11499         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11500         to occur in round to nearest mode when |x| >= 2.0
11502 2014-05-30  Richard Henderson  <rth@twiddle.net>
11504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11505         (PSEUDO_RET_NOERRNO): Remove.
11506         (ret): Don't redefine.
11507         (ret_NOERRNO): Define in terms of ret.
11508         (ret_ERRVAL): Likewise.
11510         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11511         use of PSEUDO_RET; perform the error check directly.
11513 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11515         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11516         with __int128_t.
11518 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11520         * malloc/malloc (malloc_info): Fix formatting.
11522 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11523             Roland McGrath  <roland@hack.frob.com>
11525         * malloc/malloc (malloc_info): Also print mmapped statistics.
11527 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11529         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11530         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11532 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11534         * malloc/malloc.c (malloc_info): Inline mi_arena.
11536 2014-05-29  Richard Henderson  <rth@twiddle.net>
11538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11539         Remove comma before expanding ASM_ARGS_##nr.
11540         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11541         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11542         of ASM_ARGS_##nr.
11543         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11544         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11545         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11546         (ASM_ARGS_1): Add leading comma.
11548         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11549         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11550         to __errno_location.
11551         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11552         Remove the expected plt for __errno_location.
11554         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11555         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11556         call to __read_tp.
11558         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11559         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11560         it and break it down.
11561         (DOCARGS_0, DOCARGS_1): Do nothing.
11562         (DOCARGS_2): Update to store into the new stack frame.
11563         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11564         (UNDOCARGS_1): Update to restore from the new stack frame.
11565         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11566         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11569         (SINGLE_THREAD_P): New parameter for result regno.
11570         (PSEUDO): Update to match; use cbz instead of beq.
11572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11573         Use ENTRY to define the _nocancel entry point.  Share the syscall
11574         and syscall error check paths with the cancel path.
11575         (PSEUDO_END): New.
11577         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11578         whitespace; tabs before and after asm mnemonics.
11580 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11582         [BZ #15132]
11583         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11584         Call fstat64 or stat64 internally, depending on arguments passed.
11585         Replace stat buffer argument with file descriptor argument.
11586         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11587         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11588         Pass fd to __internal_statvfs instead of calling fstat64.
11589         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11590         Pass fd to __internal_statvfs64 instead of calling fstat64.
11591         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11592         Pass -1 to __internal_statvfs instead of calling stat64.
11593         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11594         Pass -1 to __internal_statvfs64 instead of calling stat64.
11596 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11598         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11599         that was previously under [RESET_PID].
11600         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11602         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11603         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11605 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11607         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11609         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11610         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11612 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11614         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11616 2014-05-27  Andreas Schwab  <schwab@suse.de>
11618         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11619         TLS_INIT_TP macro.
11620         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11621         * elf/rtld.c (init_tls, dl_main): Likewise.
11622         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11623         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11624         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11625         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11626         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11627         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11628         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11629         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11630         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11631         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11632         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11633         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11634         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11635         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11636         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11637         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11638         * sysdeps/generic/tls.h: Update description.
11640 2014-05-27  Will Newton  <will.newton@linaro.org>
11642         [BZ #16990]
11643         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11644         and restore r2 rather than just restoring.
11646 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11648         [BZ #16724]
11649         * libio/tst-ftell-append.c: New test case.
11650         * libio/Makefile (tests): Add test case.
11651         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11652         append mode.
11653         * libio/wfileops.c (do_ftell_wide): Likewise.
11655 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11659         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11660         ...
11661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11663         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11664         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11665         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11666         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11667         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11668         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11669         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11670         Moved ...
11671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11673         Moved ...
11674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11675         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11676         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11677         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11678         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11679         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11680         ...
11681         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11682         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11683         Moved ...
11684         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11685         here.
11686         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11687         ...
11688         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11689         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11690         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11692         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11693         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11694         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11695         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11697         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11698         merge into ...
11699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11700         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11701         ...
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11704         ...
11705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11707         Moved ...
11708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11709         here.
11710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11711         Moved ...
11712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11714         Moved ...
11715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11718         conditional [RESET_PID].
11719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11721         removed.
11722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11723         removed.
11725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11726         <tcb-offsets.h>.
11727         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11728         (__libc_vfork): New strong alias.
11729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11730         removed.
11731         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11732         Removed.
11734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11735         <tcb-offsets.h>.
11736         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11737         (__libc_vfork): New strong alias.
11738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11739         removed.
11740         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11741         removed.
11743 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11745         * malloc/malloc.c (mi_arena): New function.
11746         (malloc_info): Remove nested function mi_arena. Call non-nosted
11747         function mi_arena.
11749 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11751         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11752         by insrwi.
11753         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11754         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11755         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11756         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11757         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11758         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11759         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11761 2014-05-26  Andreas Schwab  <schwab@suse.de>
11763         [BZ #16984]
11764         * locale/programs/repertoire.c (repertoire_read): Add slash
11765         between I18NPATH element and file name.
11766         * locale/programs/locfile.c (locfile_read): Likewise.
11768 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11770         * nptl/pthread_mutexattr_settype.c
11771         (__pthread_mutexattr_settype):
11772         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11774 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11776         * nptl/tst-mutex5 (do_test):
11777         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11779 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11781         * benchtests/README: Document 'init' directive.
11782         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11783         BENCH_INIT.
11784         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11785         (parse_file): Recognize 'init' directive.
11787 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11789         [BZ #16796]
11790         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11791         alignment of struct pthread.
11793 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11795         [BZ #16878]
11796         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11797         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11798         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11799         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11801 2014-05-25  Richard Henderson  <rth@twiddle.net>
11803         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11804         (SINGLE_THREAD_P_PIC): Remove.
11805         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11806         (SINGLE_THREAD_P_PIC): Remove.
11808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11809         branch to syscall error ...
11810         (PSEUDO): ... here.
11811         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11812         from __local_syscall_error to .Lsyscall_error.
11813         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11814         (SYSCALL_ERROR): Update label name.
11816         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11817         Do not use DOARGS/UNDOARGS.
11818         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11819         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11820         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11821         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11822         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11825         block comment.
11827         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11828         define if !NOT_IN_libc.
11829         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11830         define with non-default symbol versions.
11832 2014-05-23  Richard Henderson  <rth@twiddle.net>
11834         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11835         (vfork, __vfork): Define via compat_symbol.
11837         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11838         [!HAVE_IFUNC] (vfork_compat): Remove.
11839         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11841 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11843         [BZ #16978]
11844         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11845         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11846         variable.
11848 2014-05-23  Richard Henderson  <rth@twiddle.net>
11850         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11851         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11852         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11853         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11855         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11856         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11857         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11858         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11859         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11860         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11861         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11862         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11863         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11864         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11865         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11866         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11867         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11868         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11869         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11870         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11871         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11872         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11873         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11874         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11875         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11876         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11877         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11878         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11879         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11880         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11881         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11882         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11883         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11884         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11885         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11886         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11887         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11888         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11889         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11890         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11891         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11892         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11893         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11894         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11895         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11896         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11897         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11898         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11899         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11900         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11901         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11902         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11903         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11904         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11905         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11906         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11907         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11908         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11909         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11910         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11912         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11913         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11914         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11915         before exiting on error.
11916         (__libc_vfork): New strong alias.
11917         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11918         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11920         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11921         that was previously under [RESET_PID].
11922         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11924         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11926 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11928         [BZ #16977]
11929         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11930         value when x - 1 is zero.
11931         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11932         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11933         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11934         0.0L for an argument of 1.0L.
11935         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11936         Likewise.
11937         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11938         value when x - 1 is zero.
11939         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11940         * sysdeps/i386/fpu/libm-test-ulps: Update.
11941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11943 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11945         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11946         alphasort and versionsort.
11948 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11950         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11951         macro.
11952         [copysignf]: Likewise.
11954 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11956         * crypt/md5-crypt.c: Fix formatting.
11958 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11960         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11961         (b64_from_24bit): New function.
11963 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11966         libc_hidden_builtin_def to ifunc.
11967         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11968         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11970 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11972         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11973         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11975 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11977         * nscd/Depend (linuxthreads): Remove.
11978         (nptl): Add.
11979         * resolv/Depend (linuxthreads): Remove.
11980         * rt/Depend (linuxthreads): Remove.
11982         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11983         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11984         $(common-objpfx)elf/.
11985         (link-libc-before-gnulib): Likewise.
11986         (elfobjdir): Remove variable.
11987         * Makefile (install): Use $(elf-objpfx) instead of
11988         $(common-objpfx)elf/.
11989         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11990         $(elfobjdir)/.
11991         (link-libc-deps): Likewise.
11992         ($(common-objpfx)libc.so): Likewise.
11993         ($(common-objpfx)linkobj/libc.so): Likewise.
11994         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11995         instead of $(common-objpfx)elf/.
11996         (symbolic-link-list): Likewise.
11997         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11998         [$(cross-compiling) = no]: Likewise.
11999         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12000         $(elfobjdir)/.
12001         (static-gnulib-arch): Likewise.
12002         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12003         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12004         $(common-objpfx)elf/.
12006 2014-05-21  Richard Henderson  <rth@redhat.com>
12008         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12009         (SINGLE_THREAD_P): Use the correct width load.  Fold
12010         into the ldr offset.
12012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12013         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12015 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12017         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12018         (libgcc_s_resume): Use __attribute_used__.
12019         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12020         Likewise.
12022 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12024         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12025         optimization when used with float constants.
12027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12029 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12031         [BZ #16915]
12032         * locale/nl_langinfo_l.c: Make direct reference to every
12033         _nl_current_CATEGORY symbol.
12034         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12035         (tests-static): Add tst-langinfo-static.
12036         (tests-special): Add tst-langinfo-static.out.
12037         ($(objpfx)tst-langinfo.out): Redirect output.
12038         ($(objpfx)tst-langinfo-static.out): New.
12039         * localedata/tst-langinfo.sh: Send output to stdout.
12040         * localedata/tst-langinfo-static.c: New file.
12042         [BZ #16965]
12043         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12044         when the shift amount is modulo the limb size.
12046 2014-05-20  Richard Henderson  <rth@redhat.com>
12048         [BZ #16967]
12049         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12050         Change type of sa_flags from unsigned int to int.
12052         [BZ #16966]
12053         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12055         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12057 2014-05-20  Will Newton  <will.newton@linaro.org>
12059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12060         Test the return value of the system call in the nocancel case.
12062 2014-05-20  Will Newton  <will.newton@linaro.org>
12063             Yvan Roux  <yvan.roux@linaro.org>
12065         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12066         #include of asm/ptrace.h.
12067         (PTRACE_GET_THREAD_AREA): Remove #undef.
12068         (PTRACE_GETHBPREGS): Likewise.
12069         (PTRACE_SETHBPREGS): Likewise.
12070         (struct user_regs_struct): New structure.
12071         (struct user_fpsimd_struct): New structure.
12072         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12073         #include of asm/ptrace.h and second #include of sys/user.h.
12074         (PTRACE_GET_THREAD_AREA): Remove #undef.
12075         (PTRACE_GETHBPREGS): Likewise.
12076         (PTRACE_SETHBPREGS): Likewise.
12077         (ELF_NGREG): Use new struct user_regs_struct.
12078         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12080 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12082         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12083         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12085 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12087         [BZ #16958]
12088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12089         membar to avoid block loads/stores to overlap previous stores.
12091 2014-05-17  Richard Henderson  <rth@redhat.com>
12093         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12094         Create the __##syscall_name##_nocancel entry point.
12095         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12096         Remove; let the sysdep-cancel.h code create it.
12098 2014-05-17  David S. Miller  <davem@davemloft.net>
12100         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12101         Protect with __USE_GNU.
12102         (TIOCSET_TEMPT): Likewise.
12103         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12104         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12105         these are already provided in bits/ioctl-types.h
12107 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12109         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12110         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12112         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12113         Use wait4 regardless of [__NR_waitpid].
12115 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12117         PR libgcc/60166
12118         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12119         (_FP_NANSIGN_Q): Set the quiet bit.
12121 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12123         * benchtests/Makefile
12124         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12125         not $(common-objpfx)math/libm.so.
12126         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12127         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12128         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12129         $(common-objpfx)dlfcn/libdl.so.
12130         ($(objpfx)tst-audit8): Depend on $(libm), not
12131         $(common-objpfx)math/libm.so.
12132         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12133         not $(common-objpfx)dlfcn/libdl.so.
12134         * math/Makefile
12135         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12136         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12137         [$(build-shared) = yes].
12138         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12139         $(common-objpfx)nptl/libpthread.so.
12140         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12141         $(common-objpfx)math/libm.so$(libm.so-version) or
12142         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12143         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12144         $(common-objpfx)dlfcn/libdl.so.
12145         * setjmp/Makefile (link-libm): Remove variable.
12146         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12147         * stdio-common/Makefile (link-libm): Remove variable.
12148         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12149         * stdlib/Makefile (link-libm): Remove variable.
12150         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12151         ($(objpfx)tst-strtod-round): Likewise.
12152         ($(objpfx)tst-tininess): Likewise.
12153         ($(objpfx)tst-strtod-underflow): Likewise.
12154         ($(objpfx)tst-strtod6): Likewise.
12155         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12156         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12157         $(common-objpfx)dlfcn/libdl.so.
12159 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12161         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12162         BSD terminal modes definitions.
12164 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12166         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12167         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12169         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12170         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12171         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12172         Don't do #include_next.
12173         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12174         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12175         Don't do #include_next.
12176         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12177         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12178         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12179         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12181 2014-05-16  Allan McRae  <allan@archlinux.org>
12183         * po/sv.po: Update Swedish translation from translation project.
12185         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12186         in sed expression.
12188 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12190         [BZ #16917]
12191         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12192         errno if the TIOCGPTN ioctl fails with an error different than
12193         EINVAL.
12194         * login/tst-ptsname.c: New file.
12195         * login/Makefile (tests): Add tst-ptsname.
12197         [BZ #16943]
12198         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12199         and prlimit64.
12201 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12203         [BZ #16849]
12204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12205         herrno to return EAI_AGAIN.
12207 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12209         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12210         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12211         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12212         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12213         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12214         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12215         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12216         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12217         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12218         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12219         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12220         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12221         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12222         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12223         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12224         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12225         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12226         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12227         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12228         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12229         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12230         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12231         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12232         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12233         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12234         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12235         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12236         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12237         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12238         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12240         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12242         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12244         Moved ...
12245         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12247         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12249         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12251         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12253         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12255         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12257         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12259         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12261         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12263         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12265         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12267         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12268         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12269         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12270         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12271         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12273         Moved ...
12274         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12276         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12278         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12280         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12282         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12284         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12286         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12288         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12290         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12292         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12294         Moved ...
12295         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12297         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12299         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12300         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12301         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12302         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12303         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12304         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12305         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12306         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12307         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12308         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12309         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12310         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12311         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12312         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12313         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12314         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12315         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12316         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12317         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12318         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12319         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12320         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12321         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12322         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12323         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12324         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12325         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12326         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12327         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12328         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12329         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12331         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12332         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12334         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12335         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12336         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12337         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12338         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12339         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12340         Moved ...
12341         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12342         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12343         Moved ...
12344         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12345         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12346         Moved ...
12347         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12348         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12349         Moved ...
12350         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12351         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12352         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12354         Moved ...
12355         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12356         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12357         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12358         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12359         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12360         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12361         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12363         Moved ...
12364         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12366         Moved ...
12367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12368         ... here.
12369         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12370         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12371         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12372         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12373         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12374         Moved ...
12375         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12376         ... here.
12377         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12378         Moved ...
12379         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12380         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12381         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12382         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12383         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12384         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12385         Moved ...
12386         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12387         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12388         Moved ...
12389         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12390         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12391         Moved ...
12392         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12393         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12394         Moved ...
12395         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12396         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12397         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12399         Moved ...
12400         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12401         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12402         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12403         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12404         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12405         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12406         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12408         Moved ...
12409         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12411         Moved ...
12412         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12413         ... here.
12414         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12415         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12416         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12417         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12418         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12419         Moved ...
12420         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12421         ... here.
12422         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12423         Moved ...
12424         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12425         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12426         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12427         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12428         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12429         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12430         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12431         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12432         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12433         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12434         Moved ...
12435         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12436         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12437         Moved ...
12438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12439         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12440         Moved ...
12441         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12443         Moved ...
12444         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12445         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12446         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12447         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12448         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12450         Moved ...
12451         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12452         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12453         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12454         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12455         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12456         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12457         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12458         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12459         Moved ...
12460         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12462         Moved ...
12463         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12464         ... here.
12465         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12466         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12467         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12468         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12469         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12470         Moved ...
12471         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12472         ... here.
12473         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12474         Moved ...
12475         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12476         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12477         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12478         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12479         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12480         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12481         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12482         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12483         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12484         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12485         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12487         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12488         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12490         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12491         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12493         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12494         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12495         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12496         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12497         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12498         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12499         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12500         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12501         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12502         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12503         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12504         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12505         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12506         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12507         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12508         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12509         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12510         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12511         Moved ...
12512         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12513         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12516         Moved ...
12517         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12518         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12521         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12523         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12525         Moved ...
12526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12528         Moved ...
12529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12531         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12535         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12536         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12537         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12538         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12539         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12540         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12541         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12542         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12543         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12544         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12545         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12547         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12548         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12549         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12550         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12551         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12553         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12554         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12555         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12556         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12557         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12558         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12559         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12560         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12561         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12562         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12567         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12568         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12569         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12570         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12571         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12572         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12573         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12574         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12575         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12576         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12577         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12578         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12579         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12580         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12581         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12582         Update #include.
12583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12584         Likewise.
12585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12586         Likewise.
12587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12588         Likewise.
12589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12590         Likewise.
12591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12592         Likewise.
12593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12594         Likewise.
12595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12596         Likewise.
12597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12598         Likewise.
12599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12600         Likewise.
12601         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12602         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12603         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12604         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12606         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12607         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12608         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12609         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12610         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12611         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12612         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12613         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12614         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12615         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12617         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12618         that was previously under [RESET_PID].
12619         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12620         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12621         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12623         * sysdeps/i386/nptl/Implies: New file.
12624         * sysdeps/x86_64/nptl/Implies: New file.
12625         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12626         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12627         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12628         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12630         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12631         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12632         (__libc_vfork): New strong alias.
12633         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12634         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12636         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12637         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12638         (__libc_vfork): New strong alias.
12639         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12640         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12642         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12643         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12644         (__libc_vfork): New strong alias.
12645         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12646         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12647         * nptl/pt-vfork.c: New file.
12648         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12649         (libpthread: GLIBC_2.20): New version set (empty).
12651 2014-05-14  Will Newton  <will.newton@linaro.org>
12653         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12654         rather than #if.
12656 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12658         [BZ #16564]
12659         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12660         arguments with exponent 65 or above.
12661         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12662         arguments 0x1p113L or above.
12663         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12664         to arguments 0x1p107L or above.
12665         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12666         positive arguments with exponent 65 or above.
12667         * math/auto-libm-test-in: Add more tests of log1p.
12668         * math/auto-libm-test-out: Regenerated.
12670         [BZ #16928]
12671         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12672         non-finite arguments is +0.
12673         * math/s_cacosf.c (__cacosf): Likewise.
12674         * math/s_cacosl.c (__cacosl): Likewise.
12675         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12676         * sysdeps/i386/fpu/libm-test-ulps: Update.
12677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12679         [BZ #16927]
12680         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12681         value.
12682         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12683         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12684         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12685         for explicit high bit of mantissa when testing for argument equal
12686         to 1.
12687         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12688         * sysdeps/i386/fpu/libm-test-ulps: Update.
12689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12691         [BZ #16516]
12692         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12693         (__erf): Scale by 16 instead of 8 in potentially underflowing
12694         case.  Ensure exception if result actually underflows.
12695         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12696         (__erff): Scale by 16 instead of 8 in potentially underflowing
12697         case.  Ensure exception if result actually underflows.
12698         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12699         (efx8): Remove variable.
12700         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12701         case.  Ensure exception if result actually underflows.
12702         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12703         (efx8): Remove variable.
12704         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12705         case.  Ensure exception if result actually underflows.
12706         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12707         (efx8): Remove variable.
12708         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12709         case.  Ensure exception if result actually underflows.
12710         * math/auto-libm-test-in: Add more tests of erf.
12711         * math/auto-libm-test-out: Regenerated.
12713 2014-05-14  Andreas Schwab  <schwab@suse.de>
12715         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12716         Remove code conditionalized on USE___THREAD.
12718         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12719         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12720         not definedness.
12722 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12724         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12725         Define unconditionally.
12726         (__ASSUME_O_CLOEXEC): Likewise.
12727         (__ASSUME_SOCK_CLOEXEC): Likewise.
12728         (__ASSUME_IN_NONBLOCK): Likewise.
12729         (__ASSUME_PIPE2): Likewise.
12730         (__ASSUME_EVENTFD2): Likewise.
12731         (__ASSUME_SIGNALFD4): Likewise.
12732         (__ASSUME_DUP3): Likewise.
12733         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12734         (__ASSUME_DUP3): Do not define.
12735         (__ASSUME_EVENTFD2): Likewise.
12736         (__ASSUME_IN_NONBLOCK): Likewise.
12737         (__ASSUME_O_CLOEXEC): Likewise.
12738         (__ASSUME_PIPE2): Likewise.
12739         (__ASSUME_SIGNALFD4): Likewise.
12740         (__ASSUME_SOCK_CLOEXEC): Likewise.
12741         (__ASSUME_UTIMES): Undefine.
12742         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12743         (__ASSUME_UTIMES): Do not define.
12744         (__ASSUME_O_CLOEXEC): Likewise.
12745         (__ASSUME_SOCK_CLOEXEC): Likewise.
12746         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12747         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12748         0x020621].
12749         (__ASSUME_PIPE2): Likewise.
12750         (__ASSUME_EVENTFD2): Likewise.
12751         (__ASSUME_SIGNALFD4): Likewise.
12752         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12753         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12754         Do not define.
12755         (__ASSUME_EVENTFD2): Likewise.
12756         (__ASSUME_SIGNALFD4): Likewise.
12757         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12758         (__ASSUME_32BITUIDS): Likewise.
12759         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12760         (__ASSUME_IPC64): Likewise.
12761         (__ASSUME_ST_INO_64_BIT): Likewise.
12762         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12763         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12764         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12765         (__ASSUME_UTIMES): Do not define.
12766         (__ASSUME_PSELECT): Likewise.
12767         (__ASSUME_PPOLL): Likewise.
12768         (__ASSUME_O_CLOEXEC): Likewise.
12769         (__ASSUME_SOCK_CLOEXEC): Likewise.
12770         (__ASSUME_IN_NONBLOCK): Likewise.
12771         (__ASSUME_PIPE2): Likewise.
12772         (__ASSUME_EVENTFD2): Likewise.
12773         (__ASSUME_SIGNALFD4): Likewise.
12774         (__ASSUME_DUP3): Likewise.
12775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12776         (__ASSUME_UTIMES): Likewise.
12777         (__ASSUME_O_CLOEXEC): Likewise.
12778         (__ASSUME_SOCK_CLOEXEC): Likewise.
12779         (__ASSUME_IN_NONBLOCK): Likewise.
12780         (__ASSUME_PIPE2): Likewise.
12781         (__ASSUME_EVENTFD2): Likewise.
12782         (__ASSUME_SIGNALFD4): Likewise.
12783         (__ASSUME_DUP3): Likewise.
12784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12785         (__ASSUME_UTIMES): Likewise.
12786         (__ASSUME_O_CLOEXEC): Likewise.
12787         (__ASSUME_SOCK_CLOEXEC): Likewise.
12788         (__ASSUME_IN_NONBLOCK): Likewise.
12789         (__ASSUME_PIPE2): Likewise.
12790         (__ASSUME_EVENTFD2): Likewise.
12791         (__ASSUME_SIGNALFD4): Likewise.
12792         (__ASSUME_DUP3): Likewise.
12793         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12794         Likewise.
12795         (__ASSUME_UTIMES): Likewise.
12796         (__ASSUME_EVENTFD2): Likewise.
12797         (__ASSUME_SIGNALFD4): Likewise.
12798         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12799         (__ASSUME_O_CLOEXEC): Likewise.
12800         (__ASSUME_SOCK_CLOEXEC): Likewise.
12801         (__ASSUME_IN_NONBLOCK): Likewise.
12802         (__ASSUME_PIPE2): Likewise.
12803         (__ASSUME_EVENTFD2): Likewise.
12804         (__ASSUME_SIGNALFD4): Likewise.
12805         (__ASSUME_DUP3): Likewise.
12806         (__ASSUME_UTIMES): Undefine.
12808         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12809         feclearexcept.  Remove symbol versioning code.
12810         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12811         symbol versioning code.
12812         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12813         symbol versioning code.
12814         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12815         feupdateenv.  Remove symbol versioning code.
12816         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12817         fegetexceptflag.  Remove symbol versioning code.
12818         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12819         fesetexceptflag.  Remove symbol versioning code.
12820         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12821         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12822         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12823         (__posix_fadvise64_l32): Remove prototype.
12824         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12825         code.
12827 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12830         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12831         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12832         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12834 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12836         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12837         current working directory
12839 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12841         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12842         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12843         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12844         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12845         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12846         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12847         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12848         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12849         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12850         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12851         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12852         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12853         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12854         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12855         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12856         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12857         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12858         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12859         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12860         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12861         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12862         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12863         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12864         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12865         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12866         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12867         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12868         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12869         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12870         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12871         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12872         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12873         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12874         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12875         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12876         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12877         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12878         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12879         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12880         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12881         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12882         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12884         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12885         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12887         * sysdeps/unix/sysv/linux/arm/Makefile
12888         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12889         Add rt-aeabi_unwind_cpp_pr1.
12890         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12891         Add nptl-aeabi_unwind_cpp_pr1.
12892         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12893         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12894         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12895         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12896         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12897         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12899         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12900         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12901         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12902         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12904         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12905         Deconditionalize the code that was previously under [RESET_PID].
12906         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12908         * sysdeps/generic/exit-thread.h: New file.
12909         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12910         * include/unistd.h (__exit_thread): Remove declaration.
12911         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12912         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12913         * csu/libc-start.c: Include <exit-thread.h>.
12914         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12915         * nptl/pthread_create.c: Include <exit-thread.h>.
12916         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12917         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12918         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12919         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12920         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12921         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12922         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12923         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12924         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12925         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12926         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12927         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12928         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12929         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12930         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12931         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12932         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12934 2014-05-13  Andreas Schwab  <schwab@suse.de>
12936         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12938 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12940         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12941         (__ASSUME_UTIMES): Do not condition on kernel version.
12942         (__ASSUME_PSELECT): Define unconditionally.
12943         (__ASSUME_PPOLL): Likewise.
12944         (__ASSUME_ATFCTS): Likewise.
12945         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12946         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12947         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12948         (__ASSUME_UTIMENSAT): Define unconditionally.
12949         (__ASSUME_PRIVATE_FUTEX): Likewise.
12950         (__ASSUME_FALLOCATE): Likewise.
12951         (__ASSUME_O_CLOEXEC): Likewise.
12952         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12953         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12954         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12955         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12956         (__ASSUME_IN_NONBLOCK): Likewise.
12957         (__ASSUME_PIPE2): Likewise.
12958         (__ASSUME_EVENTFD2): Likewise.
12959         (__ASSUME_SIGNALFD4): Likewise.
12960         (__ASSUME_DUP3): Likewise.
12961         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12962         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12963         (__ASSUME_AT_RANDOM): Likewise.
12964         (__ASSUME_PREADV): Likewise.
12965         (__ASSUME_PWRITEV): Likewise.
12966         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12967         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12968         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12969         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12970         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12971         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12972         (__ASSUME_O_CLOEXEC): Define unconditionally.
12973         (__ASSUME_PSELECT): Do not undefine conditionally.
12974         (__ASSUME_PPOLL): Likewise.
12975         (__ASSUME_ATFCTS): Likewise.
12976         (__ASSUME_SET_ROBUST_LIST): Likewise.
12977         (__ASSUME_UTIMENSAT): Likewise.
12978         (__ASSUME_FDATASYNC): Define unconditionally.
12979         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12980         (__ASSUME_SIGFRAME_V2): Likewise.
12981         )__ASSUME_EVENTFD2): Likewise.
12982         (__ASSUME_SIGNALFD4): Likewise.
12983         (__ASSUME_PSELECT): Do not undefine conditionally.
12984         (__ASSUME_PPOLL): Likewise.
12985         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12986         (__ASSUME_PSELECT): Define unconditionally.
12987         (__ASSUME_PPOLL): Likewise.
12988         (__ASSUME_O_CLOEXEC): Likewise.
12989         (__ASSUME_SOCK_CLOEXEC): Likewise.
12990         (__ASSUME_IN_NONBLOCK): Likewise.
12991         (__ASSUME_PIPE2): Likewise.
12992         (__ASSUME_EVENTFD2): Likewise.
12993         (__ASSUME_SIGNALFD4): Likewise.
12994         (__ASSUME_DUP3): Likewise.
12995         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12996         (__ASSUME_O_CLOEXEC): Likewise.
12997         (__ASSUME_SOCK_CLOEXEC): Likewise.
12998         (__ASSUME_IN_NONBLOCK): Likewise.
12999         (__ASSUME_PIPE2): Likewise.
13000         (__ASSUME_EVENTFD2): Likewise.
13001         (__ASSUME_SIGNALFD4): Likewise.
13002         (__ASSUME_DUP3): Likewise.
13003         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13004         (__ASSUME_EVENTFD2): Likewise.
13005         (__ASSUME_SIGNALFD4): Likewise.
13006         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13008 2014-05-12  Andreas Schwab  <schwab@suse.de>
13010         [BZ #16932]
13011         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13012         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13013         than maximum RPC packet size.
13014         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13015         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13016         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13017         (_nss_nis_getservbyport_r): Likewise.
13019 2014-05-12  Will Newton  <will.newton@linaro.org>
13021         * malloc/Makefile (tests): Add tst-mallopt.
13022         * malloc/tst-mallopt.c: New file.
13024 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13026         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13027         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13029 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13031         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13032         (tst-tlsmod6.so): Likewise.
13034 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13036         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13038 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13040         [BZ #16064]
13041         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13042         and <dl-procinfo.h>.
13043         (__fegetenv): Save SSE state in envp->__eip if supported.
13044         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13045         envp->__eip if supported.
13046         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13047         and <dl-procinfo.h>.
13048         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13049         __data_offset and __data_selector in environment to 0.  Set SSE
13050         state if supported.
13051         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13052         test-fenv-sse.
13053         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13054         -mfpmath=sse.
13055         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13057 2014-05-09  Will Newton  <will.newton@linaro.org>
13059         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13060         and libc_relro_required for ARM.
13061         * sysdeps/arm/preconfigure: Regenerate.
13063 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13064             Stefan Liebler  <stli@linux.vnet.ibm.com>
13066         * config.make.in (enable-lock-elision): New Makefile variable.
13067         * configure.ac: Likewise.
13068         * configure: Regenerate.
13069         * sysdeps/s390/configure.ac:
13070         Add check for gcc transactions support.
13071         * sysdeps/s390/configure: Regenerate.
13072         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13073         Build elision files if enabled.
13074         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13075         Add lock elision support for s390.
13076         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13077         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13078         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13079         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13080         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13081         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13082         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13083         Likewise.
13084         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13085         Likewise.
13086         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13087         Likewise.
13088         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13089         Likewise.
13090         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13091         (__lll_timedlock_elision, __lll_lock_elision)
13092         (__lll_unlock_elision, __lll_trylock_elision)
13093         (lll_timedlock_elision, lll_lock_elision)
13094         (lll_unlock_elision, lll_trylock_elision): Add.
13095         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13096         (pthread_mutex_t): Add lock elision support for s390.
13098 2014-05-14  Wilco  <wdijkstr@arm.com>
13100         * sysdeps/arm/fclrexcpt.c: Cleanup.
13101         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13102         * sysdeps/arm/feenablxcpt.c: Cleanup.
13103         * sysdeps/arm/fegetenv.c: Cleanup.
13104         * sysdeps/arm/fegetexcept.c: Cleanup.
13105         * sysdeps/arm/fegetround.c: Cleanup.
13106         * sysdeps/arm/feholdexcpt.c: Cleanup.
13107         * sysdeps/arm/fesetenv.c: Cleanup.
13108         * sysdeps/arm/fesetround.c: Cleanup.
13109         * sysdeps/arm/feupdateenv.c: Cleanup.
13110         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13111         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13112         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13113         * sysdeps/arm/ftestexcept.c: Cleanup.
13114         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13115         * sysdeps/arm/setfpucw.c: Cleanup.
13117 2014-05-09  Will Newton  <will.newton@linaro.org>
13119         * sysdeps/arm/armv7/strcmp.S: New file.
13120         * NEWS: Mention addition of ARMv7 optimized strcmp.
13122 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13124         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13125         look for %.ac rather than %.in.
13127         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13128         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13129         * sysdeps/mach/hurd/configure: Regenerated.
13130         * sysdeps/unix/sysv/linux/configure: Regenerated.
13132         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13134 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13136         [BZ# 16922]
13137         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13138         (LONG_SUB): Ditto.
13139         (PTR_SUB): Ditto.
13141 2014-05-07  Andreas Schwab  <schwab@suse.de>
13143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13144         when skipping over non-matching result from nscd.
13146 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13148         [BZ #16876]
13149         * nptl/sockperf.c (client): Check socket return value.
13151         [BZ #16877]
13152         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13153         nscd security class.
13155 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13157         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13158         * sysdeps/arm/unwind.h: ... here.
13160 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13162         [BZ# 16916]
13163         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13164         Define.
13166 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13168         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13169         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13170         multiarch strncpy for PPC64.
13171         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13172         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13174         multiarch optimizations.
13175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13176         (__libc_ifunc_impl_list): Likewise.
13177         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13178         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13179         multiarch stpncpy for PPC64.
13180         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13181         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13183 2014-05-06  Andreas Schwab  <schwab@suse.de>
13185         [BZ #16912]
13186         * gmon/mcount.c (_MCOUNT_DECL): Use
13187         atomic_compare_and_exchange_bool_acq instead of
13188         catomic_compare_and_exchange_bool_acq.
13190 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13192         * elf/Makefile (others, install-bin): Remove pldd.
13193         (pldd-modules): Variable removed.
13194         ($(objpfx)pldd): Target removed.
13195         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13196         (others, install-bin): Append pldd here.
13197         ($(objpfx)pldd): New target.
13199         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13200         to 0, so the first #if test emitted later doesn't see it undefined.
13201         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13202         * sysdeps/gnu/errlist.c: Regenerated.
13204 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13206         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13207         [libc_hidden_builtin_def]: Define to empty value.
13208         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13209         [libc_hidden_builtin_def]: Likewise.
13210         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13211         [libc_hidden_builtin_def]: Likewise.
13212         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13213         [libc_hidden_builtin_def]: Likewise.
13214         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13215         __redirect_memcpy and define ifunc as default hidden symbol.
13216         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13217         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13219 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13221         * locale/iso-4217.def: Reintroduce XDR currency.
13223 2014-05-04  Allan McRae  <allan@archlinux.org>
13225         * po/eo.po: Update Esperanto translation from translation project.
13227 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13229         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13230         and FEATURE_INDEX_MAX to 1.
13231         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13233 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13235         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13236         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13237         * iconvdata/big5.c (ONE_DIRECTION): Define.
13238         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13239         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13240         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13241         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13242         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13243         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13244         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13245         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13246         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13247         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13248         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13249         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13250         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13251         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13252         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13253         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13254         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13255         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13256         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13257         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13258         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13259         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13260         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13261         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13262         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13263         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13264         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13265         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13266         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13267         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13268         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13269         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13270         * iconvdata/johab.c (ONE_DIRECTION): Define.
13271         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13272         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13273         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13274         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13275         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13276         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13277         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13278         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13279         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13280         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13282 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13284         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13285         (_IO_JUMPS_OFFSET): Define to 0.
13287         * nptl/sysdeps/pthread/bits/libc-lock.h
13288         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13289         (__libc_lock_define_initialized_recursive): Always define using
13290         initializer.  Modern compilers treat uninitialized (implicit zero) and
13291         explicit zero initializers the same (i.e. put the datum in bss).
13293 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13295         * nscd/nscd-client.h: Include <string.h>.
13297 2014-05-01  David S. Miller  <davem@davemloft.net>
13299         [BZ #16885]
13300         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13301         multiple zero bytes exist at the end of a string.
13302         Reported by Aurelien Jarno <aurelien@aurel32.net>
13304         * string/test-strcmp.c (check): Add explicit test for situations where
13305         there are multiple zero bytes after the first.
13307 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13309         [BZ #16890]
13310         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13311         when compiling wprintf.
13312         * stdio-common/tstdiomisc.c (t3): New function.
13313         (main): Call it.
13315 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13317         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13318         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13319         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13320         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13322 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13324         * stdlib/longlong.h: Updated from GCC.
13326 2014-05-01  Will Newton  <will.newton@linaro.org>
13327             Bernard Ogden  <bernie.ogden@linaro.org>
13329         * NEWS: Update fixed bug list.
13331         [BZ #15119]
13332         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13334 2014-04-30  David S. Miller  <davem@davemloft.net>
13336         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13337         (libc_feholdexcept_setround_sparc_ctx): New function.
13338         (libc_fesetenv_sparc_ctx): Likewise.
13339         (libc_feupdateenv_sparc_ctx): Likewise.
13340         (libc_feholdsetround_sparc_ctx): Likewise.
13341         (libc_feholdexcept_setround_ctx): Define.
13342         (libc_feholdexcept_setroundf_ctx): Likewise.
13343         (libc_feholdexcept_setroundl_ctx): Likewise.
13344         (libc_fesetenv_ctx): Likewise.
13345         (libc_fesetenvf_ctx): Likewise.
13346         (libc_fesetenvl_ctx): Likewise.
13347         (libc_feupdateenv_ctx): Likewise.
13348         (libc_feupdateenvf_ctx): Likewise.
13349         (libc_feupdateenvl_ctx): Likewise.
13350         (libc_feresetround_ctx): Likewise.
13351         (libc_feresetroundf_ctx): Likewise.
13352         (libc_feresetroundl_ctx): Likewise.
13353         (libc_feholdsetround_ctx): Likewise.
13354         (libc_feholdsetroundf_ctx): Likewise.
13355         (libc_feholdsetroundl_ctx): Likewise.
13357         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13358         with __USE_GNU instead of XOPEN cpp guards.
13360         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13361         0.
13363         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13364         with XOPEN cpp guards.
13366 2014-04-30  Julian Brown  <julian@codesourcery.com>
13368         [BZ #16888]
13369         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13370         handling.
13372 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13374         [BZ #9894]
13375         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13376         Change to 2.6.32.
13377         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13378         * sysdeps/unix/sysv/linux/configure: Regenerated.
13379         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13380         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13381         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13382         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13383         * README: Update reference to required Linux kernel version.
13384         * manual/install.texi (Linux): Update reference to required Linux
13385         kernel headers version.
13386         * INSTALL: Regenerated.
13388         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13389         header inclusion.
13390         [POSIX] (limits.h): Likewise.
13391         [POSIX] (math.h): Likewise.
13392         [POSIX] (sys/wait.h): Likewise.
13393         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13394         function.
13395         [POSIX] (stddef.h): Do not allow header inclusion.
13397 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13399         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13401 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13403         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13404         Return immediately after lll_futex_wake.
13406 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13408         [BZ #16791]
13409         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13410         structure.
13411         (datahead_init_pos): Call datahead_init_common early.
13412         (datahead_init_neg): Likewise.
13414         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13415         datahead_init_neg): New functions.
13416         * nscd/aicache.c (addhstaiX): Use them.
13417         * nscd/grpcache.c (cache_addgr): Likewise.
13418         * nscd/hstcache.c (cache_addhst): Likewise.
13419         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13420         * nscd/netgroupcache.c (do_notfound): Likewise.
13421         (addgetnetgrentX): Likewise.
13422         (addinnetgrX): Likewise.
13423         * nscd/pwdcache.c (cache_addpw): Likewise.
13424         * nscd/servicescache.c (cache_addserv): Likewise.
13426 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13427             Atsushi Onoe  <atsushi@onoe.org>
13429         [BZ #14308]
13430         [BZ #12994]
13431         [BZ #13651]
13432         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13433         one response is valid.
13434         * resolv/res_send.c (send_dg): Check for validity of other
13435         response if the current response is a referral.
13437 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13439         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13441 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13443         [BZ #16823]
13444         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13445         Always divide by positive zero when computing -Inf result.
13446         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13447         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13449 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13451         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13452         FPSCR if value do not change.
13453         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13455         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13457         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13458         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13459         function.
13461 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13463         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13464         * sysdeps/unix/sysv/linux/hppa: Move directory from
13465         ports/systeps/unix/sysv/linux/hppa.
13466         * README: Update listing for hppa-*-linux-gnu.
13468 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13470         [BZ #16754]
13471         * manual/stdio.texi (Hook functions): Fix types of stream hook
13472         functions.
13473         [BZ #16854]
13474         * socket/sys/socket.h: Fix typo in comment.
13476 2014-04-28  Wilco  <wdijkstr@arm.com>
13478         * sysdeps/arm/fenv_private.h: New file.
13479         * sysdeps/arm/math_private.h: New file.
13480         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13482 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13484         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13485         with __int128_t.
13486         (La_x86_64_retval): Likewise.
13488 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13490         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13491         fpsr if value didn't change.
13492         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13493         to fpcr if value didn't change.
13494         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13495         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13496         fpsr or fpcr if value didn't change.
13497         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13498         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13499         fpcr if value didn't change.
13500         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13501         to fpsr if value didn't change.
13503 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13505         * nptl/tst-sem3.c: Use test-skeleton.c
13506         (main): Rename to do_test.  Use return instead of
13507         exit.
13508         * nptl/tst-sem4.c: Use test-skeleton.c
13509         (main): Rename to do_test.
13511 2014-04-22  David S. Miller  <davem@davemloft.net>
13513         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13514         (struct sigaction): New struct member __glibc_reserved0, change
13515         type of sa_flags to int.
13517 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13519         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13520         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13522 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13524         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13525         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13527 2014-04-22  Will Newton  <will.newton@linaro.org>
13528             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13530         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13531         (__longjmp): Add longjmp and longjmp_target SystemTap
13532         probes.
13533         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13534         (__sigsetjmp): Add setjmp SystemTap probe.
13536 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13538         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13539         match manual order.
13541 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13543         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13545         * sysdeps/powerpc/fpu/fenv_private.h
13546         (libc_feholdexcept_setroundl_ctx): Define to
13547         libc_feholdexcept_setround_ppc_ctx.
13548         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13549         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13550         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13551         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13553 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13555         * sysdeps/aarch64/math-tests.h: New file.
13557 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13559         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13560         New.
13561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13562         Check and set bit_AVX2_Usable.
13563         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13564         macro.
13565         (bit_AVX2): Likewise.
13566         (index_AVX2_Usable): Likewise.
13567         (CPUID_AVX2): Likewise.
13568         (HAS_AVX2): Likewise.
13570 2014-04-17  Will Newton  <will.newton@linaro.org>
13572         * manual/setjmp.texi (System V contexts): Add note that
13573         calling setcontext on a context created by a call to a
13574         signal handler is undefined.  Update text to note that
13575         setcontext from a signal handler is possible but not
13576         recommended.
13578         [BZ #16629]
13579         * stdlib/tst-setcontext.c: Include signal.h.
13580         (main): Check that the signal stack before and
13581         after swapcontext is the same.
13583         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13584         Re-implement to restore registers in user code and avoid
13585         rt_sigreturn system call.
13587 2014-04-17  Wilco  <wdijkstr@arm.com>
13589         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13590         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13591         * math/test-fenv.c: Skip exception trap tests on targets which only
13592         support non-stop mode.
13594 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13595             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13597         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13598         (libc_feholdsetround_aarch64_ctx)
13599         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13600         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13601         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13602         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13603         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13604         (libc_feresetround_noexl_ctx): Define.
13606 2014-04-16  Richard Henderson  <rth@redhat.com>
13608         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13610         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13611         unwind tables.
13613         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13614         const from the non-libc, non-ldso copy.
13616         * sysdeps/alpha/libm-test-ulps: Regenerate.
13618 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13619             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13621         * sysdeps/aarch64/fpu/math_private.h: New file.
13623 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13625         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13627 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13629         [BZ #16275]
13630         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13631         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13632         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13633         Intel MPX bound registers before _dl_profile_fixup.
13634         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13635         registers after _dl_profile_fixup.  Save and restore bound
13636         registers bnd0/bnd1 when calling _dl_call_pltexit.
13637         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13638         (LR_BND_OFFSET): Likewise.
13639         (LRV_BND0_OFFSET): Likewise.
13640         (LRV_BND1_OFFSET): Likewise.
13642 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13644         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13645         to...
13646         * sysdeps/mach/hurd/i386/tls.h: ... here.
13647         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13648         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13649         fields.
13651 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13653         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13655 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13657         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13659 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13661         [BZ #14770]
13662         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13663         * sysdeps/s390/configure: Regenerate.
13665         [BZ #16824]
13666         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13667         Set round-to-nearest internally to reduce error accumulation.
13669 2014-04-16  Alan Modra  <amodra@gmail.com>
13671         [BZ #16740]
13672         [BZ #16619]
13673         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13674         * math/libm-test.inc (frexp_test_data): Add tests.
13675         * NEWS: Update fixed bug list.
13677 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13679         * benchtests/Makefile: Depend on libraries in build directory.
13680         (bench-math): Separate out math tests.
13681         (bench-pthread): Separate out pthread tests.
13682         (bench): Include math and pthread tests.
13684 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13686         [BZ #16831]
13687         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13688         _dl_debug_initialize.
13690         * configure.ac: Remove SELinux header check.
13691         * configure: Regenerate.
13692         * nscd/selinux.c (perms): Array of const char* to permission names.
13693         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13694         default policy. Call string_to_security_class and string_to_av_perm to
13695         translate strings. Enforce default policy and call avs_has_perm with
13696         results of translated strings.
13698 2014-04-13  David S. Miller  <davem@davemloft.net>
13700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13702 2014-04-12  Allan McRae  <allan@archlinux.org>
13704         [BZ #16838]
13705         * manual/string.texi (Collation Functions): Fix qsort argument
13706         order in example.
13707         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13709 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13711         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13712         Make the test a no-op if there are no exceptions defined.
13714 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13716         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13717         enable-hardcoded-path-in-tests
13719 2014-04-11  Will Newton  <will.newton@linaro.org>
13721         * benchtests/Makefile (extra-objs): Add json-lib.o.
13722         (bench-func): Tidy up JSON output.
13723         * benchtests/bench-skeleton.c: Include json-lib.h.
13724         (main): Use JSON library functions to do output of
13725         benchmark results.
13726         * benchtests/bench-timing-type.c (main): Output the
13727         timing type simply, leaving formatting to the user.
13728         * benchtests/json-lib.c: New file.
13729         * benchtests/json-lib.h: Likewise.
13731 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13733         [BZ #15215]
13734         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13735         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13736         memory barriers.  Add comments.
13737         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13738         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13739         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13740         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13741         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13742         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13744 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13746         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13747         * sysdeps/s390/s390-64/configure.ac: ... this ...
13748         * sysdeps/s390/configure.ac: ... to here.
13749         * sysdeps/s390/s390-32/configure: Delete file.
13750         * sysdeps/s390/s390-64/configure: Delete file.
13751         * sysdeps/s390/configure: Regenerate.
13753 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13755         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13757 2014-04-11  Will Newton  <will.newton@linaro.org>
13759         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13760         to zero if it is not defined elsewhere.  (mtrim): Test
13761         the value of MALLOC_DEBUG with #if rather than #ifdef.
13763 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13765         * benchtests/pthread_once-inputs: New file.
13766         * benchtests/pthread_once-source.c: New file.
13767         * benchtests/README: Update documentation.
13769 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13770             H.J. Lu  <hongjiu.lu@intel.com>
13772         [BZ #16275]
13773         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13774         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13775         * sysdeps/x86_64/configure: Regenerated.
13776         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13777         macro.
13778         (REGISTER_SAVE_RAX): Likewise.
13779         (REGISTER_SAVE_RCX): Likewise.
13780         (REGISTER_SAVE_RDX): Likewise.
13781         (REGISTER_SAVE_RSI): Likewise.
13782         (REGISTER_SAVE_RDI): Likewise.
13783         (REGISTER_SAVE_R8): Likewise.
13784         (REGISTER_SAVE_R9): Likewise.
13785         (REGISTER_SAVE_BND0): Likewise.
13786         (REGISTER_SAVE_BND1): Likewise.
13787         (REGISTER_SAVE_BND2): Likewise.
13788         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13789         bound registers when calling _dl_fixup.
13791 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13793         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13794         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13795         of its definition.
13796         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13797         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13798         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13799         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13800         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13801         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13802         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13804 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13806         [BZ #15514]
13807         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13808         pathconf(_PC_NAME_MAX).
13810 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13812         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13813         Remove macro usage.
13814         (__PTHREAD_SPINS): Move definition to ...
13815         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13816         (__PTHREAD_SPINS): ... here.
13817         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13818         (__PTHREAD_SPIN): Likewise.
13819         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13820         (__PTHREAD_SPIN): Likewise.
13821         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13822         (__PTHREAD_SPIN): Likewise.
13823         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13824         (__PTHREAD_SPIN): Likewise.
13825         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13826         (__PTHREAD_SPIN): Likewise.
13827         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13828         (__PTHREAD_SPIN): Likewise.
13829         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13830         (__PTHREAD_SPIN): Likewise.
13831         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13832         (__PTHREAD_SPIN): Likewise.
13833         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13834         (__PTHREAD_SPIN): Likewise.
13835         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13836         (__PTHREAD_SPIN): Likewise.
13837         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13838         (__PTHREAD_SPIN): Likewise.
13839         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13840         (__PTHREAD_SPIN): Likewise.
13842         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13843         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13844         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13845         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13846         imply folder.
13847         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13848         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13849         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13850         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13851         correct imply path.
13852         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13853         strlen symbol for non multi-arch builds.
13854         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13855         missing hidden_def and weak_alias.
13857 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13859         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13861 2014-04-07  Will Newton  <will.newton@linaro.org>
13863         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13864         and contents.  [!_LIBC] Remove #ifndef and contents.
13865         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13866         * string/memccpy.c (__memccpy): Use ANSI prototype.
13867         * string/memfrob.c (memfrob): Likewise.
13868         * string/strcoll.c (STRCOLL): Likewise.
13869         * string/strlen.c (strlen): Likewise.
13870         * string/strtok.c (STRTOK): Likewise.
13871         * string/strcat.c: Remove unused #include of memcopy.h.
13872         (strcat): Use ANSI prototype.
13873         * string/strchr.c: Remove unused #include of memcopy.h.
13874         (strchr): Use ANSI prototype.
13875         * string/strcmp.c: Remove unused #include of memcopy.h.
13876         (strcmp): Use ANSI prototype.
13877         * string/strcpy.c: Remove unused #include of memcopy.h.
13878         (strcpy): Use ANSI prototype.
13880 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13882         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13883         * config.make.in (config-extra-cppflags): Set it from
13884         libc_extra_cppflags.
13885         * configure.ac (libc_extra_cflags): Make it accumulate over
13886         configure fragments.
13887         (libc_extra_cppflags): New flag.
13888         * configure. Regenerate.
13889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13890         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13891         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13894         [BZ #16815]
13895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13896         result for FE_DOWNWARD rounding mode.
13897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13898         Likewise.
13899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13901 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13903         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13904         in function argument name.
13906 2014-04-03  David Svoboda  <svoboda@cert.org>
13908         [BZ #5666]
13909         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13910         explicitly.
13912 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13914         * elf/dl-unmap-segments.h: New file.
13915         * sysdeps/generic/ldsodefs.h
13916         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13917         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13918         * elf/dl-fptr.c: Likewise.
13919         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13920         * sysdeps/aarch64/tlsdesc.c: Likewise.
13921         * sysdeps/arm/tlsdesc.c: Likewise.
13922         * sysdeps/i386/tlsdesc.c: Likewise.
13923         * sysdeps/tile/dl-runtime.c: Likewise.
13924         * sysdeps/x86_64/tlsdesc.c: Likewise.
13925         * elf/dl-load.h: New file.
13926         * elf/dl-load.c: Include it.
13927         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13928         Macros moved to dl-load.h.
13929         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13930         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13931         Use _dl_unmap_segments in place of __munmap.
13932         Break out segment-mapping loop into ...
13933         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13935 2014-04-03  Will Newton  <will.newton@linaro.org>
13937         * elf/dl-lookup.c (do_lookup_x): Remove comment
13938         referring to nested function and move variable
13939         declarations down to before first use.
13941 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13943         [BZ #16799]
13944         [BZ #16800]
13945         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13946         with 0 numerator.
13947         * math/s_catanf.c (__catanf): Likewise.
13948         * math/s_catanh.c (__catanh): Likewise.
13949         * math/s_catanhf.c (__catanhf): Likewise.
13950         * math/s_catanhl.c (__catanhl): Likewise.
13951         * math/s_catanl.c (__catanl): Likewise.
13952         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13953         by positive zero when computing -Inf result.
13954         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13955         (catanh_test): Likewise.
13956         * sysdeps/i386/fpu/libm-test-ulps: Update.
13957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13959         [BZ #16789]
13960         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13961         instead of using underflowing value in computing result.
13962         * math/s_clog10.c (__clog10): Likewise.
13963         * math/s_clog10f.c (__clog10f): Likewise.
13964         * math/s_clog10l.c (__clog10l): Likewise.
13965         * math/s_clogf.c (__clogf): Likewise.
13966         * math/s_clogl.c (__clogl): Likewise.
13967         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13968         (clog10_test): Likewise.
13969         * sysdeps/i386/fpu/libm-test-ulps: Update.
13970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13972 2014-04-02  Alan Modra  <amodra@gmail.com>
13974         [BZ #16739]
13975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13976         output when value is near a power of two.  Use int64_t for lx and
13977         remove casts.  Use decimal rather than hex exponent constants.
13978         Don't use long double multiplication when double will suffice.
13979         * math/libm-test.inc (nextafter_test_data): Add tests.
13980         * NEWS: Add 16739 and 16786 to bug list.
13982         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13984         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13986 2014-04-01  Will Newton  <will.newton@linaro.org>
13988         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13989         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13991 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13993         [BZ #13347]
13994         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13995         * nptl/tst-setuid2.c: New file.
13996         * nptl/Makefile (xtests): Add tst-setuid2.
13998 2014-04-01  Alan Modra  <amodra@gmail.com>
14000         [BZ #16786]
14001         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14003 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14005         [BZ #6803]
14006         [BZ #6804]
14007         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14008         set errno as appropriate.
14009         * math/w_scalbf.c (__scalbf): Likewise.
14010         * math/w_scalbl.c (__scalbl): Likewise.
14011         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14012         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14013         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14014         Add more NaN tests.
14016         [BZ #16349]
14017         * math/w_atan2.c: Include <errno.h>.
14018         (__atan2): Set errno for result underflowing to zero.
14019         * math/w_atan2f.c: Include <errno.h>.
14020         (__atan2f): Set errno for result underflowing to zero.
14021         * math/w_atan2l.c: Include <errno.h>.
14022         (__atan2l): Set errno for result underflowing to zero.
14023         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14024         tests.
14025         * math/auto-libm-test-out: Regenerated.
14027 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14029         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14030         Encode instruction correctly in little endian.
14031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14032         Likewise.
14033         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14034         Likewise.
14035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14036         Likewise.
14037         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14038         Likewise.
14040 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14042         [BZ #9894]
14043         * sysdeps/unix/sysv/linux/kernel-features.h
14044         [__sparc__ && !__arch64__ && !__sparc_v9__]
14045         (__ASSUME_SET_ROBUST_LIST): Do not define.
14046         [__sparc__ && !__arch64__ && !__sparc_v9__]
14047         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14048         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14049         Likewise.
14050         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14051         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14052         (__ASSUME_REQUEUE_PI): Likewise.
14053         (__ASSUME_SET_ROBUST_LIST): Likewise.
14054         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14055         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14056         Undefine.
14057         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14058         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14059         Likewise.
14060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14061         Likewise.
14062         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14063         Likewise.
14064         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14065         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14066         Undefine.
14067         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14068         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14069         Likewise.
14071         [BZ #16648]
14072         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14073         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14074         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14076 2014-03-31  Will Newton  <will.newton@linaro.org>
14078         * benchtests/Makefile (bench): Add ffs and ffsll to list
14079         of tests.
14080         * benchtests/ffs-inputs: New file.
14081         * benchtests/ffsll-inputs: Likewise.
14083 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #16770]
14086         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14087         too large before casting to int.
14088         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14089         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14090         * math/libm-test.inc (scalb_test_data): Add more tests.
14092 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14094         * benchtests/Makefile (DETAILED_OPT): New make option.
14095         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14096         set.
14097         * benchtests/bench-skeleton.c: Include stdbool.h.
14098         (main): Store and print timings per input.
14099         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14100         member to each argument value.
14101         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14102         (_print_arg_data): Initialize per-input timing to 0.
14104         * benchtests/Makefile (timing-type): New binary.
14105         (bench-clean): Also remove bench-timing-type.
14106         (bench): New target for timing-type.
14107         (bench-func): Print output in JSON format.
14108         * benchtests/bench-skeleton.c (main): Print output in JSON
14109         format.
14110         * benchtests/bench-timing-type.c: New file.
14111         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14112         (TIMING_PRINT_STATS): Remove.
14113         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14114         name separately.
14116         * benchtests/bench-modf.c: Remove.
14117         * benchtests/modf-inputs: New inputs file.
14119 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14121         [BZ #16362]
14122         * math/s_clog10.c (M_PI_LOG10E): New macro.
14123         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14124         imaginary parts are 0.
14125         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14126         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14127         imaginary parts are 0.
14128         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14129         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14130         imaginary parts are 0.
14131         * math/libm-test.inc (clog10_test_data): Update expected results
14132         for when real and imaginary parts are 0.
14134 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14136         * elf/dl-load.c: Finish conversion of __builtin_expect into
14137         __glibc_{un}likely.
14139 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14141         [BZ #16348]
14142         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14143         1+x for argument with exponent below -67.
14144         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14145         Likewise.
14146         * math/auto-libm-test-in: Add more tests of exp.
14147         * math/auto-libm-test-out: Regenerated.
14149 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14151         [BZ #16759]
14152         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14153         (nscd_getnetgrent): Use it.
14155         [BZ #16760]
14156         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14157         of stpcpy.
14159 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14161         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14162         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14163         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14164         (lll_robust_unlock): Remove out of line section. Use cfi
14165         intrinsics.
14166         (LLL_STUB_UNWIND_INFO*): Remove.
14167         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14168         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14169         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14170         (lll_robust_unlock): Remove out of line section. Use cfi
14171         intrinsics.
14172         (LLL_STUB_UNWIND_INFO*): Remove.
14174 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14176         [BZ #16758]
14177         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14178         blank values.
14180 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14182         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14184 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14186         [BZ #16198]
14187         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14188         fnstenv.
14189         * math/test-fenv-preserve.c: New file.
14190         * math/Makefile (tests): Add test-fenv-preserve.
14192 2014-03-26  Will Newton <will.newton@linaro.org>
14194         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14196 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14198         * scripts/versionlist.awk: Partition the version sets and emit all
14199         GLIBC_* (sorted) before all others (sorted).
14201 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14203         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14204         GLIBC_2.2.5 version.
14206 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14208         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14209         calls.
14211         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14212         previous change.
14214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14216 2014-03-25  Andreas Schwab  <schwab@suse.de>
14218         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14219         label to be used after in6ailist is initialized.
14221 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14223         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14224         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14226 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14228         [BZ #16357]
14229         [BZ #16599]
14230         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14231         min_plus_half.
14232         (fp_formats): Update initializers.
14233         (init_fp_formats): Initialize new field.
14234         (output_for_one_input_case): Allow underflow for results up to
14235         min_plus_half.
14236         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14237         * math/auto-libm-test-in: Don't mark some underflows from asin and
14238         atanh as spurious.
14239         * math/auto-libm-test-out: Regenerated.
14240         * sysdeps/i386/fpu/libm-test-ulps: Update.
14241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14243 2014-03-25  Andreas Schwab  <schwab@suse.de>
14245         * libio/Makefile (tst-ftell-partial-wide-ENV)
14246         (tst-ftell-active-handler-ENV): Define.
14248 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14250         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14252 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14254         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14256 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14258         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14259         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14260         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14262 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14264         [BZ #16634]
14265         * elf/dl-load.c (open_verify): Add mode parameter.
14266         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14267         (open_path): Change from boolean 'secure' to complete flag 'mode'
14268         (_dl_map_object): Adjust.
14269         * elf/Makefile (tests): Add tst-dlopen-aout.
14270         * elf/tst-dlopen-aout.c: New test.
14272 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14274         [BZ #16714]
14275         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14276         (struct stat): Rename member pad0 to __glibc_reserved0.
14278         [BZ #16712]
14279         * sysdeps/s390/s390-32/bits/wordsize.h
14280         (__WORDSIZE32_SIZE_ULONG): New define.
14281         * sysdeps/s390/s390-64/bits/wordsize.h
14282         (__WORDSIZE32_SIZE_ULONG): Likewise.
14283         * sysdeps/generic/stdint.h (SIZE_MAX):
14284         Define as UL if __WORDSIZE32_SIZE_ULONG.
14286         [BZ #16713]
14287         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14288         (__glibc_reserved0): New variable.
14289         (sa_flags): Change type to int.
14291         * posix/Makefile (before-compile): Use += before-compile instead
14292         of a :=.
14294         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14295         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14297 2014-03-20  Andreas Schwab  <schwab@suse.de>
14299         [BZ #16743]
14300         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14301         non-matching result from nscd.
14303 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14305         * scripts/bench.py: Moved to ...
14306         * benchtests/scripts/bench.py: ... here.
14307         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14309 2014-03-24  Andreas Schwab  <schwab@suse.de>
14311         [BZ #16002]
14312         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14313         alloca_account and account alloca use for struct in6ailist.
14315 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14317         [BZ #16284]
14318         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14319         rounding mode to recompute results that overflow to infinity or
14320         underflow to zero.
14321         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14322         bug 16284.
14323         * math/auto-libm-test-out: Regenerated.
14324         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14325         (ccosh_test): Likewise.
14326         (csin_test_data): Use plus_oflow.
14327         (csin_test): Use ALL_RM_TEST.
14328         (csinh_test_data): Use plus_oflow.
14329         (csinh_test): Use ALL_RM_TEST.
14330         * sysdeps/i386/fpu/libm-test-ulps: Update.
14331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14333 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14335         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14336         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14337         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14339         [BZ #16731]
14340         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14341         when x - 1 is zero.
14342         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14343         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14344         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14345         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14346         argument is 1.
14347         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14348         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14349         zero.
14350         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14351         * sysdeps/i386/fpu/libm-test-ulps: Update.
14352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14354 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14356         * scripts/bench.pl: Remove file.
14357         * scripts/bench.py: New benchmark script.
14358         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14359         * benchtests/README: Mention python dependency.
14360         * scripts/pylintrc: New file.
14361         * scripts/pylint: New file.
14363         * bits/mathdef.h: Use #ifdef instead of #if.
14364         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14365         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14366         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14367         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14368         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14369         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14371 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14372             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14374         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14376         and strpbrk-ppc64 objects.
14377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14378         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14379         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14380         multiarch strpbrk for POWER7.
14381         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14382         multiarch strpbrk for PPC64.
14383         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14384         ifunc selector.
14385         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14386         strpbrk for POWER7.
14388 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14390         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14391         (atan_test): Likewise.
14392         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14393         (atanh_test): Use ALL_RM_TEST.
14394         (atan2_test_data): Likewise.
14395         (cabs_test): Likewise.
14396         (cacosh_test): Likewise.
14397         (carg_test): Likewise.
14398         (casin_test): Likewise.
14399         (casinh_test): Likewise.
14400         (cbrt_test): Likewise.
14401         (csqrt_test): Likewise.
14402         (erf_test): Likewise.
14403         (erfc_test): Likewise.
14404         (pow10_test): Likewise.
14405         (exp2_test): Likewise.
14406         (hypot_test): Likewise.
14407         (j0_test): Likewise.
14408         (j1_test): Likewise.
14409         (lgamma_test): Likewise.
14410         (gamma_test): Likewise.
14411         (sincos_test): Likewise.
14412         (tanh_test): Likewise.
14413         (y0_test): Likewise.
14414         (y1_test): Likewise.
14415         * sysdeps/i386/fpu/libm-test-ulps: Update.
14416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14418 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14420         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14422         and strcspn-ppc64 objects.
14423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14424         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14425         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14426         multiarch strcspn for POWER7.
14427         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14428         multiarch strcspn for PPC64.
14429         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14430         ifunc selector.
14431         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14432         strcspn for POWER7.
14434 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14436         * math/gen-libm-test.pl (generate_testfile): Expect only function
14437         name as argument to AUTO_TESTS_* and pass results for all rounding
14438         modes to parse_args.
14439         (parse_auto_input): Separate inputs of automatic tests from
14440         outputs before storing in %auto_tests.
14441         * math/libm-test.inc (acos_test_data): Update call to
14442         AUTO_TESTS_f_f.
14443         (acos_test): Use ALL_RM_TEST.
14444         (acos_tonearest_test_data): Remove.
14445         (acos_test_tonearest): Likewise.
14446         (acos_towardzero_test_data): Likewise.
14447         (acos_test_towardzero): Likewise.
14448         (acos_downward_test_data): Likewise.
14449         (acos_test_downward): Likewise.
14450         (acos_upward_test_data): Likewise.
14451         (acos_test_upward): Likewise.
14452         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14453         (asin_test_data): Likewise.
14454         (asin_test): Use ALL_RM_TEST.
14455         (asin_tonearest_test_data): Remove.
14456         (asin_test_tonearest): Likewise.
14457         (asin_towardzero_test_data): Likewise.
14458         (asin_test_towardzero): Likewise.
14459         (asin_downward_test_data): Likewise.
14460         (asin_test_downward): Likewise.
14461         (asin_upward_test_data): Likewise.
14462         (asin_test_upward): Likewise.
14463         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14464         (atan_test_data): Likewise.
14465         (atanh_test_data): Likewise.
14466         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14467         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14468         (carg_test_data): Likewise.
14469         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14470         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14471         (ccosh_test_data): Likewise.
14472         (cexp_test_data): Likewise.
14473         (clog_test_data): Likewise.
14474         (clog10_test_data): Likewise.
14475         (cos_test_data): Update call to AUTO_TESTS_f_f.
14476         (cos_test): Use ALL_RM_TEST.
14477         (cos_tonearest_test_data): Remove.
14478         (cos_test_tonearest): Likewise.
14479         (cos_towardzero_test_data): Likewise.
14480         (cos_test_towardzero): Likewise.
14481         (cos_downward_test_data): Likewise.
14482         (cos_test_downward): Likewise.
14483         (cos_upward_test_data): Likewise.
14484         (cos_test_upward): Likewise.
14485         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14486         (cosh_test): Use ALL_RM_TEST.
14487         (cosh_tonearest_test_data): Remove.
14488         (cosh_test_tonearest): Likewise.
14489         (cosh_towardzero_test_data): Likewise.
14490         (cosh_test_towardzero): Likewise.
14491         (cosh_downward_test_data): Likewise.
14492         (cosh_test_downward): Likewise.
14493         (cosh_upward_test_data): Likewise.
14494         (cosh_test_upward): Likewise.
14495         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14496         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14497         (ctan_test_data): Likewise.
14498         (ctan_test): Use ALL_RM_TEST.
14499         (ctan_tonearest_test_data): Remove.
14500         (ctan_test_tonearest): Likewise.
14501         (ctan_towardzero_test_data): Likewise.
14502         (ctan_test_towardzero): Likewise.
14503         (ctan_downward_test_data): Likewise.
14504         (ctan_test_downward): Likewise.
14505         (ctan_upward_test_data): Likewise.
14506         (ctan_test_upward): Likewise.
14507         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14508         (ctanh_test): Use ALL_RM_TEST.
14509         (ctanh_tonearest_test_data): Remove.
14510         (ctanh_test_tonearest): Likewise.
14511         (ctanh_towardzero_test_data): Likewise.
14512         (ctanh_test_towardzero): Likewise.
14513         (ctanh_downward_test_data): Likewise.
14514         (ctanh_test_downward): Likewise.
14515         (ctanh_upward_test_data): Likewise.
14516         (ctanh_test_upward): Likewise.
14517         (erf_test_data): Update call to AUTO_TESTS_f_f.
14518         (erfc_test_data): Likewise.
14519         (exp_test_data): Likewise.
14520         (exp_test): Use ALL_RM_TEST.
14521         (exp_tonearest_test_data): Remove.
14522         (exp_test_tonearest): Likewise.
14523         (exp_towardzero_test_data): Likewise.
14524         (exp_test_towardzero): Likewise.
14525         (exp_downward_test_data): Likewise.
14526         (exp_test_downward): Likewise.
14527         (exp_upward_test_data): Likewise.
14528         (exp_test_upward): Likewise.
14529         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14530         (exp10_test): Use ALL_RM_TEST.
14531         (exp10_tonearest_test_data): Remove.
14532         (exp10_test_tonearest): Likewise.
14533         (exp10_towardzero_test_data): Likewise.
14534         (exp10_test_towardzero): Likewise.
14535         (exp10_downward_test_data): Likewise.
14536         (exp10_test_downward): Likewise.
14537         (exp10_upward_test_data): Likewise.
14538         (exp10_test_upward): Likewise.
14539         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14540         (expm1_test_data): Likewise.
14541         (expm1_test): Use ALL_RM_TEST.
14542         (expm1_tonearest_test_data): Remove.
14543         (expm1_test_tonearest): Likewise.
14544         (expm1_towardzero_test_data): Likewise.
14545         (expm1_test_towardzero): Likewise.
14546         (expm1_downward_test_data): Likewise.
14547         (expm1_test_downward): Likewise.
14548         (expm1_upward_test_data): Likewise.
14549         (expm1_test_upward): Likewise.
14550         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14551         (fma_test): Use ALL_RM_TEST.
14552         (fma_towardzero_test_data): Remove.
14553         (fma_test_towardzero): Likewise.
14554         (fma_downward_test_data): Likewise.
14555         (fma_test_downward): Likewise.
14556         (fma_upward_test_data): Likewise.
14557         (fma_test_upward): Likewise.
14558         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14559         (j0_test_data): Update call to AUTO_TESTS_f_f.
14560         (j1_test_data): Likewise.
14561         (jn_test_data): Update call to AUTO_TESTS_if_f.
14562         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14563         (log_test_data): Update call to AUTO_TESTS_f_f.
14564         (log10_test_data): Likewise.
14565         (log1p_test_data): Likewise.
14566         (log2_test_data): Likewise.
14567         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14568         (pow_tonearest_test_data): Likewise.
14569         (sin_test_data): Update call to AUTO_TESTS_f_f.
14570         (sin_test): Use ALL_RM_TEST.
14571         (sin_tonearest_test_data): Remove.
14572         (sin_test_tonearest): Likewise.
14573         (sin_towardzero_test_data): Likewise.
14574         (sin_test_towardzero): Likewise.
14575         (sin_downward_test_data): Likewise.
14576         (sin_test_downward): Likewise.
14577         (sin_upward_test_data): Likewise.
14578         (sin_test_upward): Likewise.
14579         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14580         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14581         (sinh_test): Use ALL_RM_TEST.
14582         (sinh_tonearest_test_data): Remove.
14583         (sinh_test_tonearest): Likewise.
14584         (sinh_towardzero_test_data): Likewise.
14585         (sinh_test_towardzero): Likewise.
14586         (sinh_downward_test_data): Likewise.
14587         (sinh_test_downward): Likewise.
14588         (sinh_upward_test_data): Likewise.
14589         (sinh_test_upward): Likewise.
14590         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14591         (sqrt_test): Use ALL_RM_TEST.
14592         (sqrt_tonearest_test_data): Remove.
14593         (sqrt_test_tonearest): Likewise.
14594         (sqrt_towardzero_test_data): Likewise.
14595         (sqrt_test_towardzero): Likewise.
14596         (sqrt_downward_test_data): Likewise.
14597         (sqrt_test_downward): Likewise.
14598         (sqrt_upward_test_data): Likewise.
14599         (sqrt_test_upward): Likewise.
14600         (tan_test_data): Update call to AUTO_TESTS_f_f.
14601         (tan_test): Use ALL_RM_TEST.
14602         (tan_tonearest_test_data): Remove.
14603         (tan_test_tonearest): Likewise.
14604         (tan_towardzero_test_data): Likewise.
14605         (tan_test_towardzero): Likewise.
14606         (tan_downward_test_data): Likewise.
14607         (tan_test_downward): Likewise.
14608         (tan_upward_test_data): Likewise.
14609         (tan_test_upward): Likewise.
14610         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14611         (tgamma_test_data): Likewise.
14612         (y0_test_data): Likewise.
14613         (y1_test_data): Likewise.
14614         (yn_test_data): Update call to AUTO_TESTS_if_f.
14615         (main): Do not call removed functions.
14617 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14619         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14620         (ldexp_test_data): Remove.
14621         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14622         scalbn_test_data.
14623         (scalb_test): Use ALL_RM_TEST.
14625 2014-03-19  Andreas Schwab  <schwab@suse.de>
14627         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14629 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14631         [BZ #16649]
14632         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14633         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14634         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14636         (__ASSUME_PREADV): Undefine.
14637         (__ASSUME_PWRITEV): Likewise.
14639 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14641         * bits/mman-linux.h: Add comment about non-Linux use.
14642         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14643         bits/mman-linux.h resting place.
14645         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14646         * bits/mman-linux.h: ... here.
14648 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14650         * conform/conformtest.pl: Add standard definition when calling C
14651         preprocessor on data files.
14652         (checknamespace): Remove unused variable.
14654 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14656         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14657         minus_oflow, plus_uflow and minus_uflow in expected results.
14658         * math/libm-test.inc (scalbn_test_data): Add more tests of
14659         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14660         minus_uflow.
14661         (scalbn_test): Use ALL_RM_TEST.
14662         (scalbln_test_data): Add more tests of negative arguments.  Use
14663         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14664         (scalbln_test): Use ALL_RM_TEST.
14666 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14668         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14670 2014-03-18  Will Newton  <will.newton@linaro.org>
14672         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14673         inaccurate comment.
14675 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14677         * Makerules [!subdir] (check-abi): Exit with error status if a
14678         test failed.
14680 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14682         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14683         for rint.  Include results for all rounding modes.
14684         (nearbyint_test): Use ALL_RM_TEST.
14685         (rint_test_data): Include all tests used for nearbyint.
14687 2014-03-17  Will Newton  <will.newton@linaro.org>
14689         * nptl/sysdeps/pthread/pthread.h: Revert previous
14690         change.
14692         * sysdeps/generic/ldsodefs.h: Revert previous
14693         change.
14695         * libio/genops.c: Revert previous change.
14696         * libio/libioP.h: Likewise.
14697         * stdio-common/vfprintf.c: Likewise.
14699         * sysdeps/generic/math_private.h: Revert previous
14700         change.
14702         * sysdeps/generic/math_private.h: Check whether
14703         HAVE_RM_CTX is defined with #ifdef rather
14704         than #if.
14706         * argp/argp-fmtstream.h: Check whether
14707         __STRICT_ANSI__ is defined with #ifdef rather
14708         than #if.
14709         * argp/argp.h: Likewise.
14711         * libio/genops.c: Check whether
14712         _IO_JUMPS_OFFSET is defined with #ifdef rather
14713         than #if.
14714         * libio/libioP.h: Likewise.
14715         * stdio-common/vfprintf.c: Likewise.
14717         * sysdeps/generic/ldsodefs.h: Check whether
14718         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14719         than #if.
14721         * nptl/sysdeps/pthread/pthread.h: Check
14722         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14723         its value.
14725 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14727         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14728         setting O_APPEND.
14729         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14730         test case.
14732         [BZ #16680]
14733         * libio/fileops.c (_IO_file_open): Seek to end of file but
14734         don't cache the offset.
14735         (get_file_offset): Remove function.
14736         (do_ftell): Use cached offset when available.
14737         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14738         don't cache the offset.
14739         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14740         case.
14741         (do_one_test): Call it.
14742         (do_ftell_test): Fix up expected old offset for a+ mode.
14743         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14744         available.
14746         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14747         up test status with function return status.
14748         (do_write_test): Likewise.
14749         (do_append_test): Likewise.
14751         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14752         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14753         Remove.
14755 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14757         * math/gen-libm-test.pl (parse_args): Handle results specified for
14758         each rounding mode separately.
14759         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14760         tests and results from lrint_tonearest_test_data,
14761         lrint_towardzero_test_data, lrint_downward_test_data and
14762         lrint_upward_test_data.
14763         (lrint_test): Use ALL_RM_TEST.
14764         (lrint_tonearest_test_data): Remove.
14765         (lrint_test_tonearest): Likewise.
14766         (lrint_towardzero_test_data): Likewise.
14767         (lrint_test_towardzero): Likewise.
14768         (lrint_downward_test_data): Likewise.
14769         (lrint_test_downward): Likewise.
14770         (lrint_upward_test_data): Likewise.
14771         (lrint_test_upward): Likewise.
14772         (llrint_test_data): Merge in per-rounding-mode tests and results
14773         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14774         llrint_downward_test_data and llrint_upward_test_data.
14775         (llrint_test): Use ALL_RM_TEST.
14776         (llrint_tonearest_test_data): Remove.
14777         (llrint_test_tonearest): Likewise.
14778         (llrint_towardzero_test_data): Likewise.
14779         (llrint_test_towardzero): Likewise.
14780         (llrint_downward_test_data): Likewise.
14781         (llrint_test_downward): Likewise.
14782         (llrint_upward_test_data): Likewise.
14783         (llrint_test_upward): Likewise.
14784         (rint_test_data): Merge in per-rounding-mode tests and results
14785         from rint_tonearest_test_data, rint_towardzero_test_data,
14786         rint_downward_test_data and rint_upward_test_data.  Add
14787         per-rounding-mode results for tests not in those arrays.
14788         (rint_test): Use ALL_RM_TEST.
14789         (rint_tonearest_test_data): Remove.
14790         (rint_test_tonearest): Likewise.
14791         (rint_towardzero_test_data): Likewise.
14792         (rint_test_towardzero): Likewise.
14793         (rint_downward_test_data): Likewise.
14794         (rint_test_downward): Likewise.
14795         (rint_upward_test_data): Likewise.
14796         (rint_test_upward): Likewise.
14797         (main): Don't call removed functions.
14799 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14801         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14802         "Compiled on ..." crapola.  It is anti-useful.
14804 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14806         * scripts/evaluate-test.sh: Handle fourth argument to determine
14807         whether test run should stop on failure.
14808         * Makeconfig (stop-on-test-failure): New variable.
14809         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14810         $(stop-on-test-failure).
14811         * Makefile (tests): Give a summary of results from testing and
14812         exit with failure status if they include an ERROR or FAIL.
14813         (xtests): Likewise.
14814         * manual/install.texi (Configuring and compiling): Mention
14815         stop-on-test-failure=y.
14816         * INSTALL: Regenerated.
14818 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14820         * scripts/versionlist.awk: New file.
14821         * Makerules [$(build-shared) = yes]
14822         (postclean-generated): Add Versions.def, not Versions.def.v and
14823         Versions.def.v.i.
14824         ($(common-objpfx)Versions.def.v.i): Target removed.
14825         ($(common-objpfx)Versions.def): New target.
14826         ($(common-objpfx)Versions.all): Depend on that rather that
14827         $(common-objpfx)Versions.def.v.
14828         * Versions.def: File removed.
14830         * Makeconfig (+gccwarn): Add -Wundef.
14831         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14832         a dl-sysdep.h breaking its contract.
14833         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14834         * include/stackinfo.h: New file.
14835         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14836         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14837         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14838         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14839         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14840         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14841         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14842         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14843         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14844         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14845         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14846         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14847         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14848         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14849         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14851 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14853         [BZ #16707]
14854         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14855         implementation.
14856         * math/libm-test.inc (round_test_data): Add more tests.
14858         [BZ #16706]
14859         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14860         implementation.
14861         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14863         [BZ #16701]
14864         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14865         implementation.
14866         * math/libm-test.inc (ceil_test_data): Add more tests.
14868         * math/libm-test.inc (trunc_test_data): Add more tests related to
14869         BZ#16414.
14871 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14873         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14874         with #if rather than #ifdef.
14875         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14877 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14879         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14880         first.  Disable AVX-512 GCC support if assembler doesn't support
14881         it.
14882         * sysdeps/x86_64/configure: Regenerated.
14884 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14886         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14887         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14888         (__old_pthread_attr_setstack): Likewise.
14889         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14890         [!_STACK_GROWS_DOWN]: Likewise.
14892 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14894         * config.make.in (have-bash2): Delete.
14895         * configure.ac (libc_cv_have_bash2): Delete.
14896         * configure: Regenerate.
14897         * elf/Makefile (common-ldd-rewrite): Rename to ...
14898         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14899         (sh-ldd-rewrite): Delete.
14900         (bash-ldd-rewrite): Delete.
14901         (have-bash2): Delete checks.
14902         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14903         ldd-rewrite.
14905         * config.make.in (have-ksh): Delete.
14906         (KSH): Delete.
14907         * configure.ac (libc_cv_have_ksh): Delete.
14908         * configure: Regenerate.
14910         * elf/Makefile: Delete $(have-ksh) check.
14911         ($(objpfx)sotruss): Change KSH to BASH.
14912         * elf/sotruss.ksh: Rename to ...
14913         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14914         function style to match POSIX.  Drop ksh vim mode setting.
14916         * manual/time.texi (Specifying the Time Zone with TZ): Change
14917         Tuesday to Thursday.
14919         * debug/tst-longjmp_chk2.c: Update header comment.
14920         (stackoverflow_handler): Add comment.  Call assert on pass value.
14922 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14924         [BZ #16194]
14925         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14926         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14927         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14928         (La_x86_64_vector): Add zmm.
14929         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14930         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14931         ($(objpfx)tst-audit10): New target.
14932         ($(objpfx)tst-audit10.out): Likewise.
14933         (tst-audit10-ENV): New.
14934         (AVX512-CFLAGS): Likewise.
14935         (CFLAGS-tst-audit10.c): Likewise.
14936         (CFLAGS-tst-auditmod10a.c): Likewise.
14937         (CFLAGS-tst-auditmod10b.c): Likewise.
14938         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14939         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14940         * sysdeps/x86_64/configure: Regenerated.
14941         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14942         AVX-512 zmm register support.
14943         (_dl_x86_64_save_sse): Likewise.
14944         (_dl_x86_64_restore_sse): Likewise.
14945         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14946         size vector registers.
14947         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14948         (ZMM_SIZE): Likewise.
14949         * sysdeps/x86_64/tst-audit10.c: New file.
14950         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14951         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14953 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14955         * configure.ac (HAVE_EHDR_START): New check.
14956         * configure: Regenerated.
14957         * config.h.in (HAVE_EHDR_START): New #undef.
14958         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14959         assuming the lowest-addressed segment maps the start of the file.
14961 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14963         * INSTALL: Regenerated.
14965 2014-03-13  Will Newton  <will.newton@linaro.org>
14967         * manual/setjmp.texi (System V contexts): Improve
14968         clarity and grammar of documentation.
14970 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14972         [BZ #16381]
14973         * elf/Makefile (tests): Add tst-pie2.
14974         (tests-pie): Add tst-pie2.
14975         * elf/tst-pie2.c: New file.
14976         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14977         for ET_EXEC.
14978         * elf/rtld.c (map_doit): Load executable as lt_executable.
14979         (dl_main): Likewise.
14981 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14983         [BZ #16642]
14984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14985         (__ASSUME_PSELECT): Undefine.
14987 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14989         [BZ #16689]
14990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14991         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14992         static build.
14993         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14994         selector for static builds.
14996 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14998         [BZ #16695]
14999         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15000         key in the buffer.
15002 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15004         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15005         IFUNC selector for static builds.
15007 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15009         * sysdeps/mips/math_private.h [__mips_hard_float]
15010         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15011         libc_feresetround_mips_ctx.
15012         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15013         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15014         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15016         [BZ #16677]
15017         * math/s_nextafter.c (__nextafter): Do not return value from
15018         overflowing computation.
15019         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15020         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15021         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15022         Likewise.
15023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15024         Likewise.
15025         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15026         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15028 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15030         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15031         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15032         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15033         the new mov targetting sp.
15035 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15037         [BZ #16683]
15038         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15039         Define it for static builds as well.
15040         (NO_BZERO_IMPL): Likewise.
15042 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15044         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15045         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15046         multiarch strspn for PPC64.
15047         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15048         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15050         (__libc_ifunc_impl_list): Likewise.
15051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15052         multiarch optimizations
15053         * string/strspn.c (strspn): Using macro to redefine symbol name.
15055 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15056             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15058         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15059         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15060         multiarch strncat for PPC64.
15061         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15062         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15064         (__libc_ifunc_impl_list): Likewise.
15065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15066         multiarch optimizations
15068 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15070         [BZ #16639]
15071         * nscd/nscd.service: Make service type forking.
15073 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15075         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15076         sign in non default rounding modes.
15077         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15079 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15081         * math/libm-test.inc (ALL_RM_TEST): New macro.
15082         (ceil_test): Use ALL_RM_TEST.
15083         (cimag_test): Likewise.
15084         (conj_test): Likewise.
15085         (copysign_test): Likewise.
15086         (cproj_test): Likewise.
15087         (creal_test): Likewise.
15088         (fabs_test): Likewise.
15089         (floor_test): Likewise.
15090         (fmax_test): Likewise.
15091         (fmin_test): Likewise.
15092         (fmod_test): Likewise.
15093         (fpclassify_test): Likewise.
15094         (frexp_test): Likewise.
15095         (ilogb_test): Likewise.
15096         (isfinite_test): Likewise.
15097         (finite_test): Likewise.
15098         (isgreater_test): Likewise.
15099         (isgreaterequal_test): Likewise.
15100         (isinf_test): Likewise.
15101         (isless_test): Likewise.
15102         (islessequal_test): Likewise.
15103         (islessgreater_test): Likewise.
15104         (isnan_test): Likewise.
15105         (isnormal_test): Likewise.
15106         (issignaling_test): Likewise.
15107         (isunordered_test): Likewise.
15108         (logb_test): Likewise.
15109         (logb_downward_test_data): Remove.
15110         (logb_test_downward): Likewise.
15111         (lround_test): Use ALL_RM_TEST.
15112         (llround_test): Likewise.
15113         (modf_test): Likewise.
15114         (nexttoward_test): Likewise.
15115         (remainder_test): Likewise.
15116         (drem_test): Likewise.
15117         (remainder_tonearest_test_data): Likewise.
15118         (remainder_test_tonearest): Likewise.
15119         (drem_test_tonearest): Likewise.
15120         (remainder_towardzero_test_data): Likewise.
15121         (remainder_test_towardzero): Likewise.
15122         (drem_test_towardzero): Likewise.
15123         (remainder_downward_test_data): Likewise.
15124         (remainder_test_downward): Likewise.
15125         (drem_test_downward): Likewise.
15126         (remainder_upward_test_data): Likewise.
15127         (remainder_test_upward): Likewise.
15128         (drem_test_upward): Likewise.
15129         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15130         (round_test): Use ALL_RM_TEST.
15131         (signbit_test): Likewise.
15132         (trunc_test): Likewise.
15133         (significand_test): Likewise.
15134         (main): Don't call removed functions.
15136 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15138         [BZ #16674]
15139         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15140         || __USE_XOPEN2K8].
15141         (ILL_ILLOPN): Likewise.
15142         (ILL_ILLADR): Likewise.
15143         (ILL_ILLTRP): Likewise.
15144         (ILL_PRVOPC): Likewise.
15145         (ILL_PRVREG): Likewise.
15146         (ILL_COPROC): Likewise.
15147         (ILL_BADSTK): Likewise.
15148         (FPE_INTDIV): Likewise.
15149         (FPE_INTOVF): Likewise.
15150         (FPE_FLTDIV): Likewise.
15151         (FPE_FLTOVF): Likewise.
15152         (FPE_FLTUND): Likewise.
15153         (FPE_FLTRES): Likewise.
15154         (FPE_FLTINV): Likewise.
15155         (FPE_FLTSUB): Likewise.
15156         (SEGV_MAPERR): Likewise.
15157         (SEGV_ACCERR): Likewise.
15158         (BUS_ADRALN): Likewise.
15159         (BUS_ADRERR): Likewise.
15160         (BUS_OBJERR): Likewise.
15161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15162         (TRAP_TRACE): Likewise.
15163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15164         __USE_XOPEN2K8].
15165         (CLD_KILLED): Likewise.
15166         (CLD_DUMPED): Likewise.
15167         (CLD_TRAPPED): Likewise.
15168         (CLD_STOPPED): Likewise.
15169         (CLD_CONTINUED): Likewise.
15170         (POLL_IN): Likewise.
15171         (POLL_OUT): Likewise.
15172         (POLL_MSG): Likewise.
15173         (POLL_ERR): Likewise.
15174         (POLL_PRI): Likewise.
15175         (POLL_HUP): Likewise.
15176         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15177         Likewise.
15178         (ILL_ILLOPN): Likewise.
15179         (ILL_ILLADR): Likewise.
15180         (ILL_ILLTRP): Likewise.
15181         (ILL_PRVOPC): Likewise.
15182         (ILL_PRVREG): Likewise.
15183         (ILL_COPROC): Likewise.
15184         (ILL_BADSTK): Likewise.
15185         (FPE_INTDIV): Likewise.
15186         (FPE_INTOVF): Likewise.
15187         (FPE_FLTDIV): Likewise.
15188         (FPE_FLTOVF): Likewise.
15189         (FPE_FLTUND): Likewise.
15190         (FPE_FLTRES): Likewise.
15191         (FPE_FLTINV): Likewise.
15192         (FPE_FLTSUB): Likewise.
15193         (SEGV_MAPERR): Likewise.
15194         (SEGV_ACCERR): Likewise.
15195         (BUS_ADRALN): Likewise.
15196         (BUS_ADRERR): Likewise.
15197         (BUS_OBJERR): Likewise.
15198         (BUS_MCEERR_AR): Likewise.
15199         (BUS_MCEERR_AO): Likewise.
15200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15201         (TRAP_TRACE): Likewise.
15202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15203         __USE_XOPEN2K8].
15204         (CLD_KILLED): Likewise.
15205         (CLD_DUMPED): Likewise.
15206         (CLD_TRAPPED): Likewise.
15207         (CLD_STOPPED): Likewise.
15208         (CLD_CONTINUED): Likewise.
15209         (POLL_IN): Likewise.
15210         (POLL_OUT): Likewise.
15211         (POLL_MSG): Likewise.
15212         (POLL_ERR): Likewise.
15213         (POLL_PRI): Likewise.
15214         (POLL_HUP): Likewise.
15215         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15216         (ILL_ILLOPN): Likewise.
15217         (ILL_ILLADR): Likewise.
15218         (ILL_ILLTRP): Likewise.
15219         (ILL_PRVOPC): Likewise.
15220         (ILL_PRVREG): Likewise.
15221         (ILL_COPROC): Likewise.
15222         (ILL_BADSTK): Likewise.
15223         (FPE_INTDIV): Likewise.
15224         (FPE_INTOVF): Likewise.
15225         (FPE_FLTDIV): Likewise.
15226         (FPE_FLTOVF): Likewise.
15227         (FPE_FLTUND): Likewise.
15228         (FPE_FLTRES): Likewise.
15229         (FPE_FLTINV): Likewise.
15230         (FPE_FLTSUB): Likewise.
15231         (SEGV_MAPERR): Likewise.
15232         (SEGV_ACCERR): Likewise.
15233         (BUS_ADRALN): Likewise.
15234         (BUS_ADRERR): Likewise.
15235         (BUS_OBJERR): Likewise.
15236         (BUS_MCEERR_AR): Likewise.
15237         (BUS_MCEERR_AO): Likewise.
15238         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15239         (TRAP_TRACE): Likewise.
15240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15241         __USE_XOPEN2K8].
15242         (CLD_KILLED): Likewise.
15243         (CLD_DUMPED): Likewise.
15244         (CLD_TRAPPED): Likewise.
15245         (CLD_STOPPED): Likewise.
15246         (CLD_CONTINUED): Likewise.
15247         (POLL_IN): Likewise.
15248         (POLL_OUT): Likewise.
15249         (POLL_MSG): Likewise.
15250         (POLL_ERR): Likewise.
15251         (POLL_PRI): Likewise.
15252         (POLL_HUP): Likewise.
15253         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15254         Likewise.
15255         (ILL_ILLOPN): Likewise.
15256         (ILL_ILLADR): Likewise.
15257         (ILL_ILLTRP): Likewise.
15258         (ILL_PRVOPC): Likewise.
15259         (ILL_PRVREG): Likewise.
15260         (ILL_COPROC): Likewise.
15261         (ILL_BADSTK): Likewise.
15262         (ILL_BADIADDR): Likewise.
15263         (ILL_BREAK): Likewise.
15264         (FPE_INTDIV): Likewise.
15265         (FPE_INTOVF): Likewise.
15266         (FPE_FLTDIV): Likewise.
15267         (FPE_FLTOVF): Likewise.
15268         (FPE_FLTUND): Likewise.
15269         (FPE_FLTRES): Likewise.
15270         (FPE_FLTINV): Likewise.
15271         (FPE_FLTSUB): Likewise.
15272         (FPE_DECOVF): Likewise.
15273         (FPE_DECDIV): Likewise.
15274         (FPE_DECERR): Likewise.
15275         (FPE_INVASC): Likewise.
15276         (FPE_INVDEC): Likewise.
15277         (SEGV_MAPERR): Likewise.
15278         (SEGV_ACCERR): Likewise.
15279         (SEGV_PSTKOVF): Likewise.
15280         (BUS_ADRALN): Likewise.
15281         (BUS_ADRERR): Likewise.
15282         (BUS_OBJERR): Likewise.
15283         (BUS_MCEERR_AR): Likewise.
15284         (BUS_MCEERR_AO): Likewise.
15285         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15286         (TRAP_TRACE): Likewise.
15287         (TRAP_BRANCH): Likewise.
15288         (TRAP_HWBKPT): Likewise.
15289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15290         __USE_XOPEN2K8].
15291         (CLD_KILLED): Likewise.
15292         (CLD_DUMPED): Likewise.
15293         (CLD_TRAPPED): Likewise.
15294         (CLD_STOPPED): Likewise.
15295         (CLD_CONTINUED): Likewise.
15296         (POLL_IN): Likewise.
15297         (POLL_OUT): Likewise.
15298         (POLL_MSG): Likewise.
15299         (POLL_ERR): Likewise.
15300         (POLL_PRI): Likewise.
15301         (POLL_HUP): Likewise.
15302         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15303         (ILL_ILLOPN): Likewise.
15304         (ILL_ILLADR): Likewise.
15305         (ILL_ILLTRP): Likewise.
15306         (ILL_PRVOPC): Likewise.
15307         (ILL_PRVREG): Likewise.
15308         (ILL_COPROC): Likewise.
15309         (ILL_BADSTK): Likewise.
15310         (FPE_INTDIV): Likewise.
15311         (FPE_INTOVF): Likewise.
15312         (FPE_FLTDIV): Likewise.
15313         (FPE_FLTOVF): Likewise.
15314         (FPE_FLTUND): Likewise.
15315         (FPE_FLTRES): Likewise.
15316         (FPE_FLTINV): Likewise.
15317         (FPE_FLTSUB): Likewise.
15318         (SEGV_MAPERR): Likewise.
15319         (SEGV_ACCERR): Likewise.
15320         (BUS_ADRALN): Likewise.
15321         (BUS_ADRERR): Likewise.
15322         (BUS_OBJERR): Likewise.
15323         (BUS_MCEERR_AR): Likewise.
15324         (BUS_MCEERR_AO): Likewise.
15325         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15326         (TRAP_TRACE): Likewise.
15327         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15328         __USE_XOPEN2K8].
15329         (CLD_KILLED): Likewise.
15330         (CLD_DUMPED): Likewise.
15331         (CLD_TRAPPED): Likewise.
15332         (CLD_STOPPED): Likewise.
15333         (CLD_CONTINUED): Likewise.
15334         (POLL_IN): Likewise.
15335         (POLL_OUT): Likewise.
15336         (POLL_MSG): Likewise.
15337         (POLL_ERR): Likewise.
15338         (POLL_PRI): Likewise.
15339         (POLL_HUP): Likewise.
15340         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15341         (ILL_ILLOPN): Likewise.
15342         (ILL_ILLADR): Likewise.
15343         (ILL_ILLTRP): Likewise.
15344         (ILL_PRVOPC): Likewise.
15345         (ILL_PRVREG): Likewise.
15346         (ILL_COPROC): Likewise.
15347         (ILL_BADSTK): Likewise.
15348         (FPE_INTDIV): Likewise.
15349         (FPE_INTOVF): Likewise.
15350         (FPE_FLTDIV): Likewise.
15351         (FPE_FLTOVF): Likewise.
15352         (FPE_FLTUND): Likewise.
15353         (FPE_FLTRES): Likewise.
15354         (FPE_FLTINV): Likewise.
15355         (FPE_FLTSUB): Likewise.
15356         (SEGV_MAPERR): Likewise.
15357         (SEGV_ACCERR): Likewise.
15358         (BUS_ADRALN): Likewise.
15359         (BUS_ADRERR): Likewise.
15360         (BUS_OBJERR): Likewise.
15361         (BUS_MCEERR_AR): Likewise.
15362         (BUS_MCEERR_AO): Likewise.
15363         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15364         (TRAP_TRACE): Likewise.
15365         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15366         __USE_XOPEN2K8].
15367         (CLD_KILLED): Likewise.
15368         (CLD_DUMPED): Likewise.
15369         (CLD_TRAPPED): Likewise.
15370         (CLD_STOPPED): Likewise.
15371         (CLD_CONTINUED): Likewise.
15372         (POLL_IN): Likewise.
15373         (POLL_OUT): Likewise.
15374         (POLL_MSG): Likewise.
15375         (POLL_ERR): Likewise.
15376         (POLL_PRI): Likewise.
15377         (POLL_HUP): Likewise.
15378         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15379         (ILL_ILLOPN): Likewise.
15380         (ILL_ILLADR): Likewise.
15381         (ILL_ILLTRP): Likewise.
15382         (ILL_PRVOPC): Likewise.
15383         (ILL_PRVREG): Likewise.
15384         (ILL_COPROC): Likewise.
15385         (ILL_BADSTK): Likewise.
15386         (FPE_INTDIV): Likewise.
15387         (FPE_INTOVF): Likewise.
15388         (FPE_FLTDIV): Likewise.
15389         (FPE_FLTOVF): Likewise.
15390         (FPE_FLTUND): Likewise.
15391         (FPE_FLTRES): Likewise.
15392         (FPE_FLTINV): Likewise.
15393         (FPE_FLTSUB): Likewise.
15394         (SEGV_MAPERR): Likewise.
15395         (SEGV_ACCERR): Likewise.
15396         (BUS_ADRALN): Likewise.
15397         (BUS_ADRERR): Likewise.
15398         (BUS_OBJERR): Likewise.
15399         (BUS_MCEERR_AR): Likewise.
15400         (BUS_MCEERR_AO): Likewise.
15401         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15402         (TRAP_TRACE): Likewise.
15403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15404         __USE_XOPEN2K8].
15405         (CLD_KILLED): Likewise.
15406         (CLD_DUMPED): Likewise.
15407         (CLD_TRAPPED): Likewise.
15408         (CLD_STOPPED): Likewise.
15409         (CLD_CONTINUED): Likewise.
15410         (POLL_IN): Likewise.
15411         (POLL_OUT): Likewise.
15412         (POLL_MSG): Likewise.
15413         (POLL_ERR): Likewise.
15414         (POLL_PRI): Likewise.
15415         (POLL_HUP): Likewise.
15416         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15417         (ILL_ILLOPN): Likewise.
15418         (ILL_ILLADR): Likewise.
15419         (ILL_ILLTRP): Likewise.
15420         (ILL_PRVOPC): Likewise.
15421         (ILL_PRVREG): Likewise.
15422         (ILL_COPROC): Likewise.
15423         (ILL_BADSTK): Likewise.
15424         (ILL_DBLFLT): Likewise.
15425         (ILL_HARDWALL): Likewise.
15426         (FPE_INTDIV): Likewise.
15427         (FPE_INTOVF): Likewise.
15428         (FPE_FLTDIV): Likewise.
15429         (FPE_FLTOVF): Likewise.
15430         (FPE_FLTUND): Likewise.
15431         (FPE_FLTRES): Likewise.
15432         (FPE_FLTINV): Likewise.
15433         (FPE_FLTSUB): Likewise.
15434         (SEGV_MAPERR): Likewise.
15435         (SEGV_ACCERR): Likewise.
15436         (BUS_ADRALN): Likewise.
15437         (BUS_ADRERR): Likewise.
15438         (BUS_OBJERR): Likewise.
15439         (BUS_MCEERR_AR): Likewise.
15440         (BUS_MCEERR_AO): Likewise.
15441         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15442         (TRAP_TRACE): Likewise.
15443         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15444         __USE_XOPEN2K8].
15445         (CLD_KILLED): Likewise.
15446         (CLD_DUMPED): Likewise.
15447         (CLD_TRAPPED): Likewise.
15448         (CLD_STOPPED): Likewise.
15449         (CLD_CONTINUED): Likewise.
15450         (POLL_IN): Likewise.
15451         (POLL_OUT): Likewise.
15452         (POLL_MSG): Likewise.
15453         (POLL_ERR): Likewise.
15454         (POLL_PRI): Likewise.
15455         (POLL_HUP): Likewise.
15456         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15457         (ILL_ILLOPN): Likewise.
15458         (ILL_ILLADR): Likewise.
15459         (ILL_ILLTRP): Likewise.
15460         (ILL_PRVOPC): Likewise.
15461         (ILL_PRVREG): Likewise.
15462         (ILL_COPROC): Likewise.
15463         (ILL_BADSTK): Likewise.
15464         (FPE_INTDIV): Likewise.
15465         (FPE_INTOVF): Likewise.
15466         (FPE_FLTDIV): Likewise.
15467         (FPE_FLTOVF): Likewise.
15468         (FPE_FLTUND): Likewise.
15469         (FPE_FLTRES): Likewise.
15470         (FPE_FLTINV): Likewise.
15471         (FPE_FLTSUB): Likewise.
15472         (SEGV_MAPERR): Likewise.
15473         (SEGV_ACCERR): Likewise.
15474         (BUS_ADRALN): Likewise.
15475         (BUS_ADRERR): Likewise.
15476         (BUS_OBJERR): Likewise.
15477         (BUS_MCEERR_AR): Likewise.
15478         (BUS_MCEERR_AO): Likewise.
15479         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15480         (TRAP_TRACE): Likewise.
15481         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15482         __USE_XOPEN2K8].
15483         (CLD_KILLED): Likewise.
15484         (CLD_DUMPED): Likewise.
15485         (CLD_TRAPPED): Likewise.
15486         (CLD_STOPPED): Likewise.
15487         (CLD_CONTINUED): Likewise.
15488         (POLL_IN): Likewise.
15489         (POLL_OUT): Likewise.
15490         (POLL_MSG): Likewise.
15491         (POLL_ERR): Likewise.
15492         (POLL_PRI): Likewise.
15493         (POLL_HUP): Likewise.
15494         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15495         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15497         [BZ #16670]
15498         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15499         before #include of <time.h>.
15500         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15501         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15502         (test-xfail-UNIX98/sched.h/conform): Likewise.
15504 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15506         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15507         error absence of trapping exception support.
15508         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15510 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15512         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15513         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15514         * timezone/Makefile (testdata): Move definition above include of
15515         Rules.
15516         (test-zones): New variable.
15517         (tests-special): Add zone files.
15518         (build-testdata): Use $(evaluate-test).
15520         * elf/Makefile (tests-special): Rename tests to end with .out.
15521         ($(objpfx)noload-mem): Likewise.
15522         ($(objpfx)tst-leaks1-mem): Likewise.
15523         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15524         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15525         $(objpfx)test-iconvconfig.out.
15526         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15527         set -e inside subshell and redirect output to file.
15528         * iconvdata/Makefile (generated): Rename tests to end with .out.
15529         Correct type.
15530         (tests-special): Rename tests to end with .out.
15531         ($(objpfx)mtrace-tst-loading): Likewise.
15532         * intl/Makefile (generated): Likewise.
15533         (tests-special): Likewise.
15534         ($(objpfx)mtrace-tst-gettext): Likewise.
15535         * misc/Makefile (generated): Likewise.
15536         (tests-special): Likewise.
15537         ($(objpfx)tst-error1-mem): Likewise.
15538         * nptl/Makefile (tests-special): Likewise.
15539         ($(objpfx)tst-stack3-mem): Likewise.
15540         (generated): Likewise.
15541         * posix/Makefile (generated): Likewise.
15542         (tests-special): Likewise.
15543         (xtests-special): Likewise.
15544         ($(objpfx)tst-fnmatch-mem): Likewise.
15545         ($(objpfx)bug-regex2-mem): Likewise.
15546         ($(objpfx)bug-regex14-mem): Likewise.
15547         ($(objpfx)bug-regex21-mem): Likewise.
15548         ($(objpfx)bug-regex31-mem): Likewise.
15549         ($(objpfx)tst-vfork3-mem): Likewise.
15550         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15551         ($(objpfx)tst-pcre-mem): Likewise.
15552         ($(objpfx)tst-boost-mem): Likewise.
15553         ($(objpfx)bug-ga2-mem): Likewise.
15554         ($(objpfx)bug-glob2-mem): Likewise.
15555         * resolv/Makefile (generate): Likewise.
15556         (tests-special): Likewise.
15557         (xtests-special): Likewise.
15558         (generated): Likewise.
15559         ($(objpfx)mtrace-tst-leaks): Likewise.
15560         ($(objpfx)mtrace-tst-leaks2): Likewise.
15562         * scripts/merge-test-results.sh: New file.
15563         * Makefile (tests-special-notdir): New variable.
15564         (tests): Run merge-test-results.sh.
15565         (xtests): Likewise.
15566         * Rules (tests-special-notdir): New variable.
15567         (xtests-special-notdir): Likewise.
15568         (tests): Run merge-test-results.sh
15569         (xtests): Likewise.
15571         * Makeconfig (test-xfail-name): New variable.
15572         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15573         compute variable name for expected failures.
15574         * conform/Makefile (conformtest-headers-data): New variable.
15575         (conformtest-standards): Likewise.
15576         (conformtest-headers-ISO): Likewise.
15577         (conformtest-headers-ISO99): Likewise.
15578         (conformtest-headers-ISO11): Likewise.
15579         (conformtest-headers-POSIX): Likewise.
15580         (conformtest-headers-XPG3): Likewise.
15581         (conformtest-headers-XPG4): Likewise.
15582         (conformtest-headers-UNIX98): Likewise.
15583         (conformtest-headers-XOPEN2K): Likewise.
15584         (conformtest-headers-POSIX2008): Likewise.
15585         (conformtest-headers-XOPEN2K8): Likewise.
15586         (conformtest-header-list-base): Likewise.
15587         (conformtest-header-list-tests): Likewise.
15588         (conformtest-header-base): Likewise.
15589         (conformtest-header-tests): Likewise.
15590         (tests-special): Add $(conformtest-header-list-tests).  If
15591         [$(fast-check) && !$(cross-compiling)], add
15592         $(conformtest-header-tests) instead of
15593         $(objpfx)run-conformtest.out.
15594         (generated): Add $(conformtest-header-list-base).  If
15595         [$(fast-check) && !$(cross-compiling)], add
15596         $(conformtest-header-base).  Remove previous setting.
15597         ($(conformtest-header-list-tests)): New target.
15598         (test-xfail-run-conformtest): Remove variable.
15599         ($(objpfx)run-conformtest.out): Remove target.
15600         (test-xfail-ISO11/complex.h/conform): New variable.
15601         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15602         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15603         (test-xfail-XPG3/varargs.h/conform): Likewise.
15604         (test-xfail-XPG4/varargs.h/conform): Likewise.
15605         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15606         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15607         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15608         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15609         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15610         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15611         (test-xfail-XPG3/ftw.h/conform): Likewise.
15612         (test-xfail-XPG3/grp.h/conform): Likewise.
15613         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15614         (test-xfail-XPG3/limits.h/conform): Likewise.
15615         (test-xfail-XPG3/pwd.h/conform): Likewise.
15616         (test-xfail-XPG3/search.h/conform): Likewise.
15617         (test-xfail-XPG3/signal.h/conform): Likewise.
15618         (test-xfail-XPG3/stdio.h/conform): Likewise.
15619         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15620         (test-xfail-XPG3/string.h/conform): Likewise.
15621         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15622         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15623         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15624         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15625         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15626         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15627         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15628         (test-xfail-XPG3/termios.h/conform): Likewise.
15629         (test-xfail-XPG3/time.h/conform): Likewise.
15630         (test-xfail-XPG3/unistd.h/conform): Likewise.
15631         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15632         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15633         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15634         (test-xfail-XPG4/netdb.h/conform): Likewise.
15635         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15636         (test-xfail-XPG4/signal.h/conform): Likewise.
15637         (test-xfail-XPG4/stdio.h/conform): Likewise.
15638         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15639         (test-xfail-XPG4/stropts.h/conform): Likewise.
15640         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15641         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15642         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15643         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15644         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15645         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15646         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15647         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15648         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15649         (test-xfail-XPG4/termios.h/conform): Likewise.
15650         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15651         (test-xfail-XPG4/unistd.h/conform): Likewise.
15652         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15653         (test-xfail-POSIX/sched.h/conform): Likewise.
15654         (test-xfail-POSIX/signal.h/conform): Likewise.
15655         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15656         (test-xfail-POSIX/tar.h/conform): Likewise.
15657         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15658         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15659         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15660         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15661         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15662         (test-xfail-UNIX98/sched.h/conform): Likewise.
15663         (test-xfail-UNIX98/signal.h/conform): Likewise.
15664         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15665         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15666         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15667         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15668         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15669         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15670         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15671         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15672         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15673         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15674         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15675         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15676         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15677         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15678         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15679         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15680         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15681         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15682         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15683         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15684         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15685         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15686         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15687         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15688         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15689         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15690         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15691         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15692         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15693         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15694         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15695         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15696         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15697         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15698         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15699         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15700         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15701         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15702         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15703         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15704         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15705         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15706         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15707         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15708         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15709         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15710         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15711         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15712         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15713         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15714         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15715         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15716         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15717         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15718         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15719         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15720         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15721         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15722         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15723         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15724         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15725         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15726         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15727         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15728         (conformtest-cc-flags): Likewise.
15729         ($(conformtest-header-tests): New target.
15730         * conform/check-header-lists.sh: New file.
15731         * conform/run-conformtest.sh: Remove.
15733         * conform/conformtest.pl: Allow ' and \ in values given for
15734         constants.
15735         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15736         inclusion.
15737         [POSIX] (sys/types.h): Likewise.
15738         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15739         inclusion.
15740         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15741         inclusion.
15742         * conform/data/signal.h-data (SIGIO): Remove expectation.
15743         [XPG3] (SIGBUS): Do not expect.
15744         [POSIX || XPG3] (SIGPOLL): Likewise.
15745         [POSIX || XPG3] (SIGPROF): Likewise.
15746         [POSIX || XPG3] (SIGSYS): Likewise.
15747         [XPG3] (SIGTRAP): Likewise.
15748         [POSIX || XPG3] (SIGURG): Likewise.
15749         [POSIX || XPG3] (SIGVTALRM): Likewise.
15750         [POSIX || XPG3] (SIGXCPU): Likewise.
15751         [POSIX || XPG3] (SIGXFSZ): Likewise.
15752         [POSIX] (SA_SIGINFO): Expect.
15753         [XPG3] (siginfo_t): Do not expect type or contents.
15754         [POSIX] (si_pid): Do not expect element.
15755         [POSIX] (si_uid): Likewise.
15756         [POSIX] (si_addr): Likewise.
15757         [POSIX] (si_status): Likewise.
15758         [POSIX] (si_band): Likewise.
15759         [XPG4] (si_value): Likewise.
15760         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15761         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15762         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15763         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15764         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15765         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15766         [POSIX || XPG3] (ILL_COPROC): Likewise.
15767         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15768         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15769         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15770         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15771         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15772         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15773         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15774         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15775         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15776         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15777         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15778         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15779         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15780         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15781         [POSIX || XPG3] (CLD_EXITED): Likewise.
15782         [POSIX || XPG3] (CLD_KILLED): Likewise.
15783         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15784         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15785         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15786         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15787         [POSIX || XPG3] (POLL_IN): Likewise.
15788         [POSIX || XPG3] (POLL_OUT): Likewise.
15789         [POSIX || XPG3] (POLL_MSG): Likewise.
15790         [POSIX || XPG3] (POLL_ERR): Likewise.
15791         [POSIX || XPG3] (POLL_PRI): Likewise.
15792         [POSIX || XPG3] (POLL_HUP): Likewise.
15793         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15794         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15795         (SIG*): Do not allow.
15796         [XPG3] (si_*): Likewise.
15797         [XPG3] (SI_*): Likewise.
15798         [XPG3 || XPG4] (sigev_*): Likewise.
15799         [XPG3 || XPG4] (SIGEV_*): Likewise.
15800         [XPG3 || XPG4] (sival_*): Likewise.
15801         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15802         [POSIX || XPG3] (BUS_*): Likewise.
15803         [POSIX || XPG3] (CLD_*): Likewise.
15804         [POSIX || XPG3] (FPE_*): Likewise.
15805         [POSIX || XPG3] (ILL_*): Likewise.
15806         [POSIX || XPG3] (POLL_*): Likewise.
15807         [POSIX || XPG3] (SEGV_*): Likewise.
15808         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15809         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15810         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15811         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15812         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15813         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15814         Specify type and value.
15815         (TVERSLEN): Likewise.
15816         (REGTYPE): Likewise.
15817         (AREGTYPE): Likewise.
15818         (LNKTYPE): Likewise.
15819         (SYMTYPE): Likewise.
15820         (CHRTYPE): Likewise.
15821         (BLKTYPE): Likewise.
15822         (DIRTYPE): Likewise.
15823         (FIFOTYPE): Likewise.
15824         (CONTTYPE): Likewise.
15825         (TSUID): Likewise.
15826         (TSGID): Likewise.
15827         (TSVTX): Likewise.
15828         (TUREAD): Likewise.
15829         (TUWRITE): Likewise.
15830         (TUEXEC): Likewise.
15831         (TGREAD): Likewise.
15832         (TGWRITE): Likewise.
15833         (TGEXEC): Likewise.
15834         (TOREAD): Likewise.
15835         (TOWRITE): Likewise.
15836         (TOEXEC): Likewise.
15837         [POSIX] (TSVTX): Expect constant.
15839 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15841         * Makefile (tests): Change dependencies to ....
15842         (tests-special): ... additions to this variable.
15843         (tests): Depend on $(tests-special).
15844         * Makerules (check-abi-list): New variable.
15845         (check-abi): Depend on $(check-abi-list).
15846         [$(subdir) = elf] (tests-special): Add
15847         $(objpfx)check-abi-libc.out.
15848         [$(build-shared) = yes && subdir] (tests-special): Add
15849         $(check-abi-list).
15850         [$(build-shared) = yes && subdir] (tests): Do not depend on
15851         check-abi.
15852         * Rules (tests): Depend on $(tests-special).
15853         (xtests): Depend on $(xtests-special).
15854         * catgets/Makefile (tests): Change dependencies to ....
15855         (tests-special): ... additions to this variable.
15856         * conform/Makefile (tests): Change dependencies to ....
15857         (tests-special): ... additions to this variable.
15858         * elf/Makefile (tests): Change dependencies to ....
15859         (tests-special): ... additions to this variable.
15860         * grp/Makefile (tests): Change dependencies to ....
15861         (tests-special): ... additions to this variable.
15862         * iconv/Makefile (xtests): Change dependencies to ....
15863         (xtests-special): ... additions to this variable.
15864         * iconvdata/Makefile (tests): Change dependencies to ....
15865         (tests-special): ... additions to this variable.
15866         * intl/Makefile (tests): Change dependencies to ....
15867         (tests-special): ... additions to this variable.  Also add
15868         $(objpfx)tst-gettext.out.
15869         * io/Makefile (tests): Change dependencies to ....
15870         (tests-special): ... additions to this variable.
15871         * libio/Makefile (tests): Change dependencies to ....
15872         (tests-special): ... additions to this variable.
15873         * malloc/Makefile (tests): Change dependencies to ....
15874         (tests-special): ... additions to this variable.
15875         * misc/Makefile (tests): Change dependencies to ....
15876         (tests-special): ... additions to this variable.
15877         * nptl/Makefile (tests): Change dependencies to ....
15878         (tests-special): ... additions to this variable.
15879         * nptl_db/Makefile (tests): Change dependencies to ....
15880         (tests-special): ... additions to this variable.
15881         * posix/Makefile (tests): Change dependencies to ....
15882         (tests-special): ... additions to this variable.
15883         (xtests): Change dependencies to ....
15884         (xtests-special): ... additions to this variable.
15885         * resolv/Makefile (tests): Change dependencies to ....
15886         (tests-special): ... additions to this variable.
15887         (xtests): Change dependencies to ....
15888         (xtests-special): ... additions to this variable.
15889         * stdio-common/Makefile (tests): Change dependencies to ....
15890         (tests-special): ... additions to this variable.
15891         (do-tst-unbputc): Remove target.
15892         (do-tst-printf): Likewise.
15893         * stdlib/Makefile (tests): Change dependencies to ....
15894         (tests-special): ... additions to this variable.
15895         * string/Makefile (tests): Change dependencies to ....
15896         (tests-special): ... additions to this variable.
15897         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15898         (tests-special): ... additions to this variable.
15900         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15901         whole file.
15902         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15903         whole file.
15904         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15905         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15907         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15908         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15909         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15910         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15911         * conform/data/libgen.h-data [XPG3]: Likewise.
15912         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15913         * conform/data/ndbm.h-data [XPG3]: Likewise.
15914         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15915         * conform/data/netdb.h-data [XPG3]: Likewise.
15916         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15917         * conform/data/poll.h-data [XPG3]: Likewise.
15918         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15919         * conform/data/strings.h-data [XPG3]: Likewise.
15920         * conform/data/stropts.h-data [XPG3]: Likewise.
15921         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15922         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15923         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15924         Likewise.
15925         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15926         * conform/data/sys/time.h-data [XPG3]: Likewise.
15927         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15928         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15929         * conform/data/sys/un.h-data [XPG3]: Likewise.
15930         * conform/data/syslog.h-data [XPG3]: Likewise.
15931         * conform/data/ucontext.h-data [XPG3]: Likewise.
15932         * conform/data/utmpx.h-data [XPG3]: Likewise.
15933         * conform/data/varargs.h-data [UNIX98]: Enable file.
15935         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15937         * math/libm-test.inc (struct test_f_f_data): Move expected results
15938         into structure for each rounding mode.
15939         (struct test_ff_f_data): Likewise.
15940         (struct test_ff_f_data_nexttoward): Likewise.
15941         (struct test_fi_f_data): Likewise.
15942         (struct test_fl_f_data): Likewise.
15943         (struct test_if_f_data): Likewise.
15944         (struct test_fff_f_data): Likewise.
15945         (struct test_c_f_data): Likewise.
15946         (struct test_f_f1_data): Likewise.
15947         (struct test_fF_f1_data): Likewise.
15948         (struct test_ffI_f1_data): Likewise.
15949         (struct test_c_c_data): Likewise.
15950         (struct test_cc_c_data): Likewise.
15951         (struct test_f_i_data): Likewise.
15952         (struct test_ff_i_data): Likewise.
15953         (struct test_f_l_data): Likewise.
15954         (struct test_f_L_data): Likewise.
15955         (struct test_fFF_11_data): Likewise.
15956         (RM_): New macro.
15957         (RM_FE_DOWNWARD): Likewise.
15958         (RM_FE_TONEAREST): Likewise.
15959         (RM_FE_TOWARDZERO): Likewise.
15960         (RM_FE_UPWARD): Likewise.
15961         (RUN_TEST_LOOP_f_f): Update references to expected results.
15962         (RUN_TEST_LOOP_2_f): Likewise.
15963         (RUN_TEST_LOOP_fff_f): Likewise.
15964         (RUN_TEST_LOOP_c_f): Likewise.
15965         (RUN_TEST_LOOP_f_f1): Likewise.
15966         (RUN_TEST_LOOP_fF_f1): Likewise.
15967         (RUN_TEST_LOOP_fI_f1): Likewise.
15968         (RUN_TEST_LOOP_ffI_f1): Likewise.
15969         (RUN_TEST_LOOP_c_c): Likewise.
15970         (RUN_TEST_LOOP_cc_c): Likewise.
15971         (RUN_TEST_LOOP_f_i): Likewise.
15972         (RUN_TEST_LOOP_f_i_tg): Likewise.
15973         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15974         (RUN_TEST_LOOP_f_b): Likewise.
15975         (RUN_TEST_LOOP_f_b_tg): Likewise.
15976         (RUN_TEST_LOOP_f_l): Likewise.
15977         (RUN_TEST_LOOP_f_L): Likewise.
15978         (RUN_TEST_LOOP_fFF_11): Likewise.
15979         * math/gen-libm-test.pl (parse_args): Output four copies of
15980         expected results for each test.
15982         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15983         (__ASSUME_UTIMES): Remove.
15984         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15985         (__ASSUME_UTIMES): Likewise.
15987         * math/gen-auto-libm-tests.c: Update comment on output format.
15988         (output_for_one_input_case): Generate before-rounding and
15989         after-rounding information as conditions on output flags not
15990         floating-point format.
15991         * math/auto-libm-test-out: Regenerated.
15992         * math/gen-libm-test.pl (cond_value): New function.
15993         (or_cond_value): Use cond_value.
15994         (generate_testfile): Handle conditional exceptions.
15996 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15998         * math/libm-test.inc (max_valid_error): New variable.
15999         (init_max_error): Take new argument specifying whether function
16000         results are exactly determined.  Set max_valid_error and bound
16001         other variables for errors based on this argument.
16002         (set_max_error): Do not record results above max_valid_error.
16003         (check_float_internal): Only accept errors of up to 0.5ulps if
16004         also at most max_valid_error.
16005         (START): Take new argument EXACT and pass it to init_max_error.
16006         (acos_test): Update call to START.
16007         (acos_test_tonearest): Likewise.
16008         (acos_test_towardzero): Likewise.
16009         (acos_test_downward): Likewise.
16010         (acos_test_upward): Likewise.
16011         (acosh_test): Likewise.
16012         (asin_test): Likewise.
16013         (asin_test_tonearest): Likewise.
16014         (asin_test_towardzero): Likewise.
16015         (asin_test_downward): Likewise.
16016         (asin_test_upward): Likewise.
16017         (asinh_test): Likewise.
16018         (atan_test): Likewise.
16019         (atanh_test): Likewise.
16020         (atan2_test): Likewise.
16021         (cabs_test): Likewise.
16022         (cacos_test): Likewise.
16023         (cacosh_test): Likewise.
16024         (carg_test): Likewise.
16025         (casin_test): Likewise.
16026         (casinh_test): Likewise.
16027         (catan_test): Likewise.
16028         (catanh_test): Likewise.
16029         (cbrt_test): Likewise.
16030         (ccos_test): Likewise.
16031         (ccosh_test): Likewise.
16032         (ceil_test): Likewise.
16033         (cexp_test): Likewise.
16034         (cimag_test): Likewise.
16035         (clog_test): Likewise.
16036         (clog10_test): Likewise.
16037         (conj_test): Likewise.
16038         (copysign_test): Likewise.
16039         (cos_test): Likewise.
16040         (cos_test_tonearest): Likewise.
16041         (cos_test_towardzero): Likewise.
16042         (cos_test_downward): Likewise.
16043         (cos_test_upward): Likewise.
16044         (cosh_test): Likewise.
16045         (cosh_test_tonearest): Likewise.
16046         (cosh_test_towardzero): Likewise.
16047         (cosh_test_downward): Likewise.
16048         (cosh_test_upward): Likewise.
16049         (cpow_test): Likewise.
16050         (cproj_test): Likewise.
16051         (creal_test): Likewise.
16052         (csin_test): Likewise.
16053         (csinh_test): Likewise.
16054         (csqrt_test): Likewise.
16055         (ctan_test): Likewise.
16056         (ctan_test_tonearest): Likewise.
16057         (ctan_test_towardzero): Likewise.
16058         (ctan_test_downward): Likewise.
16059         (ctan_test_upward): Likewise.
16060         (ctanh_test): Likewise.
16061         (ctanh_test_tonearest): Likewise.
16062         (ctanh_test_towardzero): Likewise.
16063         (ctanh_test_downward): Likewise.
16064         (ctanh_test_upward): Likewise.
16065         (erf_test): Likewise.
16066         (erfc_test): Likewise.
16067         (exp_test): Likewise.
16068         (exp_test_tonearest): Likewise.
16069         (exp_test_towardzero): Likewise.
16070         (exp_test_downward): Likewise.
16071         (exp_test_upward): Likewise.
16072         (exp10_test): Likewise.
16073         (exp10_test_tonearest): Likewise.
16074         (exp10_test_towardzero): Likewise.
16075         (exp10_test_downward): Likewise.
16076         (exp10_test_upward): Likewise.
16077         (pow10_test): Likewise.
16078         (exp2_test): Likewise.
16079         (expm1_test): Likewise.
16080         (expm1_test_tonearest): Likewise.
16081         (expm1_test_towardzero): Likewise.
16082         (expm1_test_downward): Likewise.
16083         (expm1_test_upward): Likewise.
16084         (fabs_test): Likewise.
16085         (fdim_test): Likewise.
16086         (floor_test): Likewise.
16087         (fma_test): Likewise.
16088         (fma_test_towardzero): Likewise.
16089         (fma_test_downward): Likewise.
16090         (fma_test_upward): Likewise.
16091         (fmax_test): Likewise.
16092         (fmin_test): Likewise.
16093         (fmod_test): Likewise.
16094         (fpclassify_test): Likewise.
16095         (frexp_test): Likewise.
16096         (hypot_test): Likewise.
16097         (ilogb_test): Likewise.
16098         (isfinite_test): Likewise.
16099         (finite_test): Likewise.
16100         (isgreater_test): Likewise.
16101         (isgreaterequal_test): Likewise.
16102         (isinf_test): Likewise.
16103         (isless_test): Likewise.
16104         (islessequal_test): Likewise.
16105         (islessgreater_test): Likewise.
16106         (isnan_test): Likewise.
16107         (isnormal_test): Likewise.
16108         (issignaling_test): Likewise.
16109         (isunordered_test): Likewise.
16110         (j0_test): Likewise.
16111         (j1_test): Likewise.
16112         (jn_test): Likewise.
16113         (ldexp_test): Likewise.
16114         (lgamma_test): Likewise.
16115         (gamma_test): Likewise.
16116         (lrint_test): Likewise.
16117         (lrint_test_tonearest): Likewise.
16118         (lrint_test_towardzero): Likewise.
16119         (lrint_test_downward): Likewise.
16120         (lrint_test_upward): Likewise.
16121         (llrint_test): Likewise.
16122         (llrint_test_tonearest): Likewise.
16123         (llrint_test_towardzero): Likewise.
16124         (llrint_test_downward): Likewise.
16125         (llrint_test_upward): Likewise.
16126         (log_test): Likewise.
16127         (log10_test): Likewise.
16128         (log1p_test): Likewise.
16129         (log2_test): Likewise.
16130         (logb_test): Likewise.
16131         (logb_test_downward): Likewise.
16132         (lround_test): Likewise.
16133         (llround_test): Likewise.
16134         (modf_test): Likewise.
16135         (nearbyint_test): Likewise.
16136         (nextafter_test): Likewise.
16137         (nexttoward_test): Likewise.
16138         (pow_test): Likewise.
16139         (pow_test_tonearest): Likewise.
16140         (pow_test_towardzero): Likewise.
16141         (pow_test_downward): Likewise.
16142         (pow_test_upward): Likewise.
16143         (remainder_test): Likewise.
16144         (drem_test): Likewise.
16145         (remainder_test_tonearest): Likewise.
16146         (drem_test_tonearest): Likewise.
16147         (remainder_test_towardzero): Likewise.
16148         (drem_test_towardzero): Likewise.
16149         (remainder_test_downward): Likewise.
16150         (drem_test_downward): Likewise.
16151         (remainder_test_upward): Likewise.
16152         (drem_test_upward): Likewise.
16153         (remquo_test): Likewise.
16154         (rint_test): Likewise.
16155         (rint_test_tonearest): Likewise.
16156         (rint_test_towardzero): Likewise.
16157         (rint_test_downward): Likewise.
16158         (rint_test_upward): Likewise.
16159         (round_test): Likewise.
16160         (scalb_test): Likewise.
16161         (scalbn_test): Likewise.
16162         (scalbln_test): Likewise.
16163         (signbit_test): Likewise.
16164         (sin_test): Likewise.
16165         (sin_test_tonearest): Likewise.
16166         (sin_test_towardzero): Likewise.
16167         (sin_test_downward): Likewise.
16168         (sin_test_upward): Likewise.
16169         (sincos_test): Likewise.
16170         (sinh_test): Likewise.
16171         (sinh_test_tonearest): Likewise.
16172         (sinh_test_towardzero): Likewise.
16173         (sinh_test_downward): Likewise.
16174         (sinh_test_upward): Likewise.
16175         (sqrt_test): Likewise.
16176         (sqrt_test_tonearest): Likewise.
16177         (sqrt_test_towardzero): Likewise.
16178         (sqrt_test_downward): Likewise.
16179         (sqrt_test_upward): Likewise.
16180         (tan_test): Likewise.
16181         (tan_test_tonearest): Likewise.
16182         (tan_test_towardzero): Likewise.
16183         (tan_test_downward): Likewise.
16184         (tan_test_upward): Likewise.
16185         (tanh_test): Likewise.
16186         (tgamma_test): Likewise.
16187         (trunc_test): Likewise.
16188         (y0_test): Likewise.
16189         (y1_test): Likewise.
16190         (yn_test): Likewise.
16191         (significand_test): Likewise.
16193         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16194         individual tests in comment.
16195         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16196         (prev_max_error): New variable.
16197         (prev_real_max_error): Likewise.
16198         (prev_imag_max_error): Likewise.
16199         (compare_ulp_data): Don't refer to test names in comment.
16200         (find_test_ulps): Remove function.
16201         (find_function_ulps): Likewise.
16202         (find_complex_function_ulps): Likewise.
16203         (init_max_error): Take function name as argument.  Look up ulps
16204         for that function.
16205         (print_ulps): Remove function.
16206         (print_max_error): Use prev_max_error instead of calling
16207         find_function_ulps.
16208         (print_complex_max_error): Use prev_real_max_error and
16209         prev_imag_max_error instead of calling find_complex_function_ulps.
16210         (check_float_internal): Take max_ulp parameter instead of calling
16211         find_test_ulps.  Don't call print_ulps.
16212         (check_float): Update call to check_float_internal.
16213         (check_complex): Update calls to check_float_internal.
16214         (START): Pass argument to init_max_error.
16215         * math/gen-libm-test.pl (%results): Don't include "kind"
16216         information.
16217         (parse_ulps): Don't handle ulps of individual tests.
16218         (print_ulps_file): Likewise.
16219         (output_ulps): Likewise.
16220         * math/README.libm-test: Update.
16221         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16222         individual tests.
16223         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16224         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16225         * sysdeps/arm/libm-test-ulps: Likewise.
16226         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16227         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16228         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16229         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16230         * sysdeps/microblaze/libm-test-ulps: Likewise.
16231         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16232         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16233         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16234         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16235         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16236         * sysdeps/sh/libm-test-ulps: Likewise.
16237         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16238         * sysdeps/tile/libm-test-ulps: Likewise.
16239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16241 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16243         * math/libm-test.inc (print_complex_max_error): Check separately
16244         whether real and imaginary errors are within allowed range and
16245         pass 0 to print_complex_function_ulps instead of value within
16246         allowed range.
16248 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16250         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16251         formatting.
16252         (get_handles_fopen): Likewise.
16253         (do_write_test): Likewise.
16255         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16257         * libio/fileops.c (do_ftell): Use cached offset when
16258         available.
16259         * libio/iofwide.c (do_ftell_wide): Likewise.
16260         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16261         _IO_file_attach.
16262         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16264         [BZ #16532]
16265         * libio/libioP.h (get_file_offset): New function.
16266         * libio/fileops.c (get_file_offset): Likewise.
16267         (do_ftell): Likewise.
16268         (_IO_new_file_seekoff): Split out ftell logic.
16269         * libio/wfileops.c (do_ftell_wide): Likewise.
16270         (_IO_wfile_seekoff): Split out ftell logic.
16271         * libio/tst-ftell-active-handler.c: New test case.
16272         * libio/Makefile (tests): Add it.
16274 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16276         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16277         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16279 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16281         [BZ #16639]
16282         * nscd/connections.c (nscd_init): Call do_exit.
16283         (start_threads): Call do_exit and notify_parent.
16284         (begin_drop_privileges): Call do_exit.
16285         (finish_drop_privileges): Likewise.
16286         * nscd/selinux.c (preserve_capabilities): Likewise.
16287         (install_real_capabilities): Likewise.
16288         (nscd_selinux_enabled): Likewise.
16289         (avc_create_thread): Likewise.
16290         (avc_alloc_lock): Likewise.
16291         (nscd_avc_init): Likewise.
16292         * nscd/nscd.c (parent_fd): New static variable.
16293         (main): Create a pipe between parent and child processes.
16294         Skip closing parent_fd.
16295         (monitor_child): New function.
16296         (do_exit): Likewise.
16297         (notify_parent): Likewise.
16298         * nscd/nscd.h (notify_parent): Likewise.
16299         (do_exit): Likewise.
16301 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16303         * malloc/malloc.c (__libc_calloc): Revert last change.
16305 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16309 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16311         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16313         implementation.
16314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16315         (__libc_ifunc_impl_list): Likewise.
16316         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16317         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16318         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16319         * string/strrchr.c: Define STRRCHR.
16321 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16323         * benchtest/bench-strtok.c (simple_strtok): Delete.
16324         (strtok_string): Use as benchmark.
16325         * string/strtok (STRTOK): New macro.
16327 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16329         * manual/threads.texi: Add header and standard comments to all
16330         functions.
16332         * elf/dl-lookup.c (check_match): New function.
16333         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16334         (do_lookup_x): Remove nested function check_match. Use non-nested
16335         function check_match.
16337 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16339         * csu/Makefile (generated, before-compile): Use += rather than =.
16340         * catgets/Makefile (generated, generated-dirs): Likewise.
16341         * debug/Makefile (generated): Likewise.
16342         * dlfcn/Makefile (generated): Likewise.
16343         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16344         * iconvdata/Makefile (before-compile, generated): Likewise.
16345         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16346         * libio/Makefile (generated): Likewise.
16347         * malloc/Makefile (generated): Likewise.
16348         * manual/Makefile (generated, generated-dirs): Likewise.
16349         * misc/Makefile (generated): Likewise.
16350         * posix/Makefile (generated): Likewise.
16351         * resolv/Makefile (generated): Likewise.
16352         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16353         * timezone/Makefile (generated, generated-dirs): Likewise.
16355         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16357 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16360         power8 implementation.
16361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16362         file: POWER8 llround ifunc implementation.
16363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16364         (__lllround): Add POWER8 implementation.
16365         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16366         POWER8 llround implementation.
16368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16369         power8 implementation.
16370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16371         file: POWER8 llrint ifunc implementation.
16372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16373         Add POWER8 implementation.
16374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16375         POWER8 llrint implementation.
16377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16378         power8 implementation.
16379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16380         file: POWER8 finite ifunc implementation.
16381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16382         Add POWER8 implementation.
16383         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16384         Likewise.
16385         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16386         POWER8 finite implementation.
16387         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16390         power8 implementation.
16391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16392         file: POWER8 isinf ifunc implementation.
16393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16394         POWER8 implementation.
16395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16396         Likewise.
16397         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16398         isinf implementation.
16399         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16401         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16402         (INIT_ARCH): Add hwcap2 initialization.
16403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16404         power8 implementation.
16405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16406         file: POWER8 isnan ifunc implementation.
16407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16408         POWER8 implementation.
16409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16410         Likewise.
16411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16412         isnan implementation.
16413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16415 2014-02-27  Joey Ye  <joey.ye@arm.com>
16417         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16418         (_FP_NANFRAC_Q): Set to zero.
16420 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16422         [BZ #16623]
16423         * math/auto-libm-test-in: New test inputs.
16424         * math/auto-libm-test-out: Regenerate.
16425         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16426         and DA.
16427         (__cos): Likewise.
16428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16430 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16432         * scripts/evaluate-test.sh: Take new argument indicating whether
16433         failure is expected.
16434         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16435         indicating whether failure is expected.
16436         * conform/Makefile (test-xfail-run-conformtest): New variable.
16437         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16438         level.
16439         * posix/Makefile (test-xfail-annexc): New variable.
16440         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16442 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16444         * argp/Makefile: Include Makeconfig immediately after defining
16445         subdir.
16446         * assert/Makefile: Likewise.
16447         * benchtests/Makefile: Likewise.
16448         * catgets/Makefile: Likewise.
16449         * conform/Makefile: Likewise.
16450         * crypt/Makefile: Likewise.
16451         * csu/Makefile: Likewise.
16452         (all): Remove target.
16453         * ctype/Makefile: Include Makeconfig immediately after defining
16454         subdir.
16455         * debug/Makefile: Likewise.
16456         * dirent/Makefile: Likewise.
16457         * dlfcn/Makefile: Likewise.
16458         * gmon/Makefile: Likewise.
16459         * gnulib/Makefile: Likewise.
16460         * grp/Makefile: Likewise.
16461         * gshadow/Makefile: Likewise.
16462         * hesiod/Makefile: Likewise.
16463         * hurd/Makefile: Likewise.
16464         (all): Remove target.
16465         * iconvdata/Makefile: Include Makeconfig immediately after
16466         defining subdir.
16467         * inet/Makefile: Likewise.
16468         * intl/Makefile: Likewise.
16469         * io/Makefile: Likewise.
16470         * libio/Makefile: Likewise.
16471         (all): Remove target.
16472         * locale/Makefile: Include Makeconfig immediately after defining
16473         subdir.
16474         * login/Makefile: Likewise.
16475         * mach/Makefile: Likewise.
16476         (all): Remove target.
16477         * malloc/Makefile: Include Makeconfig immediately after defining
16478         subdir.
16479         (all): Remove target.
16480         * manual/Makefile: Include Makeconfig immediately after defining
16481         subdir.
16482         * math/Makefile: Likewise.
16483         * misc/Makefile: Likewise.
16484         * nis/Makefile: Likewise.
16485         * nss/Makefile: Likewise.
16486         * po/Makefile: Likewise.
16487         (all): Remove target.
16488         * posix/Makefile: Include Makeconfig immediately after defining
16489         subdir.
16490         * pwd/Makefile: Likewise.
16491         * resolv/Makefile: Likewise.
16492         * resource/Makefile: Likewise.
16493         * rt/Makefile: Likewise.
16494         * setjmp/Makefile: Likewise.
16495         * shadow/Makefile: Likewise.
16496         * signal/Makefile: Likewise.
16497         * socket/Makefile: Likewise.
16498         * soft-fp/Makefile: Likewise.
16499         * stdio-common/Makefile: Likewise.
16500         * stdlib/Makefile: Likewise.
16501         * streams/Makefile: Likewise.
16502         * string/Makefile: Likewise.
16503         * sunrpc/Makefile: Likewise.
16504         (all): Remove target.
16505         * sysvipc/Makefile: Include Makeconfig immediately after defining
16506         subdir.
16507         * termios/Makefile: Likewise.
16508         * time/Makefile: Likewise.
16509         * timezone/Makefile: Likewise.
16510         (all): Remove target.
16511         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16512         subdir.
16513         * wctype/Makefile: Likewise.
16515 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16517         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16518         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16519         (libc_feholdexcept_setround_mips): Ditto.
16520         (libc_feholdsetround): New.
16521         (libc_feholdsetroundf): New.
16522         (libc_feholdsetroundl): New.
16523         (libc_feupdateenv_test_mips): New.
16524         (libc_feupdateenv_test): New.
16525         (libc_feupdateenv_testf): New.
16526         (libc_feupdateenv_testl): New.
16527         (libc_feresetround): New.
16528         (libc_feresetroundf): New.
16529         (libc_feresetroundl): New.
16530         (libc_fetestexcept_mips): New.
16531         (libc_fetestexcept): New.
16532         (libc_fetestexceptf): New.
16533         (libc_fetestexceptl): New.
16534         (HAVE_RM_CTX): New.
16535         (libc_feholdexcept_setround_mips_ctx): New.
16536         (libc_feholdexcept_setround_ctx): New.
16537         (libc_feholdexcept_setroundf_ctx): New.
16538         (libc_feholdexcept_setroundl_ctx): New.
16539         (libc_fesetenv_mips_ctx): New.
16540         (libc_fesetenv_ctx): New.
16541         (libc_fesetenv_ctxf): New.
16542         (libc_fesetenv_ctxl): New.
16543         (libc_feupdateenv_mips_ctx): New.
16544         (libc_feupdateenv_ctx): New.
16545         (libc_feupdateenvf_ctx): New.
16546         (libc_feupdateenvl_ctx): New.
16547         (libc_feholdsetround_mips_ctx): New.
16548         (libc_feholdsetround_ctx): New.
16549         (libc_feholdsetroundf_ctx): New.
16550         (libc_feholdsetroundl_ctx): New.
16551         (libc_feresetround_mips_ctx): New.
16552         (libc_feresetround_ctx): New.
16553         (libc_feresetroundf_ctx): New.
16554         (libc_feresetroundl_ctx): New.
16556 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16558         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16560         * manual/ipc.texi: New file.
16561         * manual/Makefile (chapters): Add ipc.
16562         * manual/job.texi: Add "Inter-Process Communication" to next.
16563         * manual/process.texi: Add "Inter-Process Communication" to prev.
16565 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16569 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16571         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16573         * manual/arith.texi: Fix spaces after sentences.
16574         * manual/charset.texi: Likewise.
16575         * manual/errno.texi: Likewise.
16576         * manual/install.texi: Likewise.
16577         * manual/llio.texi: Likewise.
16578         * manual/locale.texi: Likewise.
16579         * manual/maint.texi: Likewise.
16580         * manual/math.texi: Likewise.
16581         * manual/memory.texi: Likewise.
16582         * manual/message.texi: Likewise.
16583         * manual/probes.texi: Likewise.
16584         * manual/resource.texi: Likewise.
16585         * manual/signal.texi: Likewise.
16586         * manual/socket.texi: Likewise.
16587         * manual/stdio.texi: Likewise.
16588         * manual/string.texi: Likewise.
16589         * manual/time.texi: Likewise.
16590         * manual/users.texi: Likewise.
16592 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16594         [BZ #16632]
16595         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16596         _DEFAULT_SOURCE is defined.
16598 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16599             Carlos O'Donell  <carlos@redhat.com>
16601         [BZ #16613]
16602         * elf/dl-tls.c (_dl_count_modids): New function.
16603         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16604         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16605         audit library and increment generation counter.
16606         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16607         * elf/tst-audit9.c: New file.
16608         * elf/tst-auditmod9a.c: New file.
16609         * elf/tst-auditmod9b.c: New file.
16610         * elf/Makefile: Add rules to build and run tst-audit9.
16612 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16614         [BZ #15347]
16615         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16617 2014-02-25  Will Newton  <will.newton@linaro.org>
16619         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16620         (__longjmp): Restore sp and lr before restoring callee
16621         saved registers.  Add longjmp and longjmp_target
16622         SystemTap probe point.
16623         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16624         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16625         Define to zero to match jmpbuf layout.
16626         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16627         (__sigsetjmp): Save sp and lr before saving callee
16628         saved registers.  Add setjmp SystemTap probe point.
16630 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16632         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16634 2014-02-24  Andreas Schwab  <schwab@suse.de>
16636         [BZ #15804]
16637         * elf/pldd.c (wait_for_ptrace_stop): New function.
16638         (main): Call it after attaching.
16640 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16642         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16643         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16644         Versions files is now verboten.
16645         * hurd/Versions (libc: GLIBC_2.0):
16646         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16647         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16648         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16649         * mach/Versions: Likewise.
16651         * csu/Versions: Remove unused %include.
16652         * resolv/Versions: Likewise.
16654 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16656         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16657         ($(objpfx)check-local-headers.out): Likewise.
16658         ($(objpfx)begin-end-check.out): Likewise.
16659         * Makerules (check-abi-%.out): Likewise.
16660         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16661         ($(objpfx)test2.cat): Likewise.
16662         ($(objpfx)de/libc.cat): Likewise.
16663         ($(objpfx)test-gencat.out): Likewise.
16664         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16665         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16666         ($(objpfx)noload-mem): Likewise.
16667         ($(objpfx)tst-pathopt.out): Likewise.
16668         ($(objpfx)tst-rtld-load-self.out): Likewise.
16669         ($(objpfx)tst-array1-cmp.out): Likewise.
16670         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16671         ($(objpfx)tst-array2-cmp.out): Likewise.
16672         ($(objpfx)tst-array3-cmp.out): Likewise.
16673         ($(objpfx)tst-array4-cmp.out): Likewise.
16674         ($(objpfx)tst-array5-cmp.out): Likewise.
16675         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16676         ($(objpfx)check-textrel.out): Likewise.
16677         ($(objpfx)check-execstack.out): Likewise.
16678         ($(objpfx)check-localplt.out): Likewise.
16679         ($(objpfx)order2-cmp.out): Likewise.
16680         ($(objpfx)tst-leaks1-mem): Likewise.
16681         ($(objpfx)tst-leaks1-static-mem): Likewise.
16682         ($(objpfx)tst-initorder-cmp.out): Likewise.
16683         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16684         ($(objpfx)tst-unused-dep.out): Likewise.
16685         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16686         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16687         * iconv/Makefile (test-iconvconfig): Likewise.
16688         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16689         ($(objpfx)iconv-test.out): Likewise.
16690         ($(objpfx)tst-tables.out): Likewise.
16691         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16692         ($(objpfx)tst-gettext.out): Likewise.
16693         ($(objpfx)tst-translit.out): Likewise.
16694         ($(objpfx)tst-gettext2.out): Likewise.
16695         ($(objpfx)tst-gettext4.out): Likewise.
16696         ($(objpfx)tst-gettext6.out): Likewise.
16697         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16698         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16699         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16700         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16701         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16702         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16703         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16704         ($(objpfx)wordexp-tst.out): Likewise.
16705         ($(objpfx)annexc.out): Likewise.
16706         ($(objpfx)tst-fnmatch-mem): Likewise.
16707         ($(objpfx)bug-regex2-mem): Likewise.
16708         ($(objpfx)bug-regex14-mem): Likewise.
16709         ($(objpfx)bug-regex21-mem): Likewise.
16710         ($(objpfx)bug-regex31-mem): Likewise.
16711         ($(objpfx)tst-vfork3-mem): Likewise.
16712         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16713         ($(objpfx)tst-pcre-mem): Likewise.
16714         ($(objpfx)tst-boost-mem): Likewise.
16715         ($(objpfx)tst-getconf.out): Likewise.
16716         ($(objpfx)bug-ga2-mem): Likewise.
16717         ($(objpfx)bug-glob2-mem): Likewise.
16718         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16719         ($(objpfx)mtrace-tst-leaks2): Likewise.
16720         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16721         ($(objpfx)tst-printf.out): Likewise.
16722         ($(objpfx)tst-setvbuf1.out): Likewise.
16723         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16724         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16725         ($(objpfx)tst-fmtmsg.out): Likewise.
16726         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16727         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16729         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16730         * bits/sigaction.h [__USE_MISC]: Likewise.
16731         * bits/waitstatus.h: Update #endif comments.
16732         * ctype/ctype.h: Likewise.
16733         * dirent/dirent.h: Likewise.
16734         [__USE_MISC]: Remove redundant conditionals.
16735         * grp/grp.h: Update #endif comments.
16736         [__USE_GNU]: Remove redundant conditionals.
16737         [__USE_MISC]: Likewise.
16738         * inet/netinet/in.h [__USE_GNU]: Likewise.
16739         * io/sys/stat.h [__USE_MISC]: Likewise.
16740         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16741         * libio/bits/stdio.h: Update #endif comments.
16742         [__USE_MISC]: Remove redundant conditionals.
16743         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16744         * libio/stdio.h: Update #endif comments.
16745         [__USE_MISC]: Remove redundant conditionals.
16746         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16747         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16748         * math/math.h: Update #else and #endif comments.
16749         [__USE_MISC]: Remove redundant conditionals.
16750         * misc/sys/uio.h: Update #endif comments.
16751         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16752         * posix/glob.h [__USE_MISC]: Likewise.
16753         * posix/sys/types.h: Update #endif comments.
16754         [__USE_MISC]: Remove redundant conditionals.
16755         * posix/sys/wait.h: Update #endif comments.
16756         [__USE_MISC]: Remove redundant conditionals.
16757         * posix/unistd.h: Update #endif comments.
16758         [__USE_MISC]: Remove redundant conditionals.
16759         * pwd/pwd.h [__USE_GNU]: Likewise.
16760         [__USE_MISC]: Likewise.
16761         * resolv/netdb.h [__USE_GNU]: Likewise.
16762         * signal/signal.h: Update #endif comments.
16763         [__USE_MISC]: Remove redundant conditionals.
16764         * stdlib/stdlib.h: Update #else and #endif comments.
16765         [__USE_MISC]: Remove redundant conditionals.
16766         [__USE_GNU]: Likewise.
16767         * string/bits/string2.h [__USE_MISC]: Likewise.
16768         * string/string.h: Update #endif comments.
16769         [__USE_MISC]: Remove redundant conditionals.
16770         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16771         Likewise.
16772         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16773         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16774         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16775         Likewise.
16776         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16777         Likewise.
16778         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16779         comments.
16780         [__USE_MISC]: Remove redundant conditionals.
16781         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16782         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16783         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16784         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16785         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16786         Likewise.
16787         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16788         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16789         Likewise.
16790         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16791         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16792         Likewise.
16793         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16794         Likewise.
16795         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16796         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16797         Likewise.
16798         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16799         Likewise.
16800         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16801         * sysdeps/x86/bits/string.h: Update #endif comments.
16802         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16803         conditionals.
16804         * time/sys/time.h: Update #endif comments.
16805         * time/time.h: Likewise.
16806         [__USE_MISC]: Remove redundant conditionals.
16808 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16810         [BZ #16600]
16811         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16813 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16815         * Versions.def (librt): Add GLIBC_2.17.
16817 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16819         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16820         synonym for _SYS_AUXV_H to allow direct inclusion.
16821         * sysdeps/sparc/bits/hwcap.h: Likewise.
16822         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16823         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16824         * sysdeps/sparc/sysdep.h: Likewise.
16826 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16828         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16830 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16832         * benchtests/bench-strrchr.c: Print length instead of position.
16834 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16836         [BZ #16611]
16837         * sysdeps/unix/sysv/linux/kernel-features.h
16838         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16839         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16840         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16841         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16842         Likewise.
16843         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16844         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16845         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16846         (__ASSUME_SENDMMSG): Define instead of using previous
16847         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16848         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16849         (__ASSUME_SENDMMSG_SYSCALL): Define.
16850         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16851         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16852         Likewise.
16853         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16854         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16855         Likewise.
16856         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16857         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16858         Likewise.
16859         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16860         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16861         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16862         [__ASSUME_SENDMMSG]: Change conditionals to
16863         [__ASSUME_SENDMMSG_SOCKETCALL].
16864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16865         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16866         Define.
16867         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16868         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16869         Likewise.
16870         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16871         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16872         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16873         [!__ASSUME_SENDMMSG]: Change conditional to
16874         [!__ASSUME_SENDMMSG_SOCKETCALL].
16875         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16876         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16877         Define.
16879         [BZ #16610]
16880         * sysdeps/unix/sysv/linux/kernel-features.h
16881         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16882         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16883         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16884         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16885         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16886         [__i386__ || __sparc__]
16887         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16888         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16889         (__ASSUME_RECVMMSG): Define instead of using previous
16890         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16891         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16892         (__ASSUME_RECVMMSG_SYSCALL): Define.
16893         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16894         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16895         Likewise.
16896         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16897         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16898         Likewise.
16899         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16900         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16901         Likewise.
16902         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16903         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16904         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16905         [__ASSUME_RECVMMSG]: Change condition to
16906         [__ASSUME_RECVMMSG_SOCKETCALL].
16907         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16909         Define.
16910         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16911         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16912         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16913         Likewise.
16914         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16915         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16916         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16917         [!__ASSUME_RECVMMSG]: Change condition to
16918         [!__ASSUME_RECVMMSG_SOCKETCALL].
16919         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16920         (__ASSUME_RECVMMSG_SYSCALL): Define.
16922         [BZ #16609]
16923         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16924         __powerpc__ || __s390__ || __sh__ || __sparc__]
16925         (__ASSUME_SOCKETCALL): Define.
16926         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16927         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16928         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16929         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16930         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16931         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16932         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16933         (__ASSUME_ACCEPT4): Define instead of using previous
16934         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16935         __powerpc__ || __sparc__ || __s390__)] condition.
16936         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16937         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16938         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16939         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16940         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16941         [!__ASSUME_ACCEPT4]: Change condition to
16942         [!__ASSUME_ACCEPT4_SOCKETCALL].
16943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16944         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16945         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16947         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16948         __ASSUME_ACCEPT4_SYSCALL.
16949         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16950         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16951         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16952         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16953         __ASSUME_ACCEPT4_SYSCALL.
16954         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16955         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16956         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16957         [__ASSUME_ACCEPT4]: Change condition to
16958         [__ASSUME_ACCEPT4_SOCKETCALL].
16959         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16960         (__ASSUME_SOCKETCALL): Define.
16961         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16962         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16963         (__ASSUME_SOCKETCALL): Define.
16964         (__ASSUME_ACCEPT4): Remove.
16965         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16966         Define.
16967         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16968         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16969         Likewise.
16970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16971         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16973         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16974         macro.
16975         (HWCAP_ARM_LPAE): Likewise.
16976         (HWCAP_ARM_EVTSTRM): Likewise.
16977         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16978         Add vpfd32, lpae and evtstrm.
16979         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16980         Increase to 22.
16982 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16984         * math/auto-libm-test-in: Add tests of clog10.
16985         * math/auto-libm-test-out: Regenerated.
16986         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16987         * sysdeps/i386/fpu/libm-test-ulps: Update.
16988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16990 2014-02-18  Andreas Schwab  <schwab@suse.de>
16992         [BZ #16574]
16993         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16994         Store non-zero if the second buffer was newly allocated.
16995         (send_dg): Likewise.
16996         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16997         to send_vc and send_dg.
16998         (res_nsend): Pass NULL for ansp2_malloced.
16999         * resolv/res_query.c (__libc_res_nquery): Add parameter
17000         answerp2_malloced and pass it down to __libc_res_nsend.
17001         (res_nquery): Pass additional NULL to __libc_res_nquery.
17002         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17003         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17004         second answer buffer if answerp2_malloced was set.
17005         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17006         (__libc_res_nquerydomain): Add parameter
17007         answerp2_malloced and pass it down to __libc_res_nquery.
17008         (res_nquerydomain): Pass additional NULL to
17009         __libc_res_nquerydomain.
17010         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17011         additional NULL to __libc_res_nsend and __libc_res_nquery.
17012         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17013         additional NULL to __libc_res_nsearch.
17014         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17015         parameter of __libc_res_nsearch to check for separately allocated
17016         second buffer.
17017         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17018         __libc_res_nquery.
17019         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17020         additional NULL to __libc_res_nquery.
17021         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17022         __libc_res_nsearch.
17023         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17024         * include/resolv.h: Update prototypes of __libc_res_nquery,
17025         __libc_res_nsearch, __libc_res_nsend.
17027 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17029         * math/auto-libm-test-in: Add tests of fma.
17030         * math/auto-libm-test-out: Regenerated.
17031         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17032         (fma_towardzero_test_data): Likewise.
17033         (fma_downward_test_data): Likewise.
17034         (fma_upward_test_data): Likewise.
17035         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17036         mpc_mode.
17037         (rounding_modes): Add values for new field.
17038         (func_calc_method): Add value mpfr_fff_f.
17039         (func_calc_desc): Add mpfr_fff_f union field.
17040         (test_function): Add field exact_args.
17041         (FUNC): Add macro argument EXACT_ARGS.
17042         (FUNC_mpfr_f_f): Update call to FUNC.
17043         (FUNC_mpfr_f_f): Likewise.
17044         (FUNC_mpfr_ff_f): Likewise.
17045         (FUNC_mpfr_if_f): Likewise.
17046         (FUNC_mpc_c_f): Likewise.
17047         (FUNC_mpc_c_c): Likewise.
17048         (test_functions): Add fma.  Update calls to FUNC.
17049         (handle_input_arg): Add argument exact_args.
17050         (add_test): Update call to handle_input_arg.
17051         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17052         (output_for_one_input_case): Update call to calc_generic_results.
17053         Recalculate exact zero results in each rounding mode.
17055         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17056         non-negative before setting low bit.
17057         * math/auto-libm-test-in: Mark one asin test possibly having
17058         spurious underflow.
17059         * math/auto-libm-test-out: Regenerated.
17060         * sysdeps/i386/fpu/libm-test-ulps: Update.
17061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17063 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17065         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17066         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17067         ports/sysdeps/unix/sysv/linux/microblaze.
17068         * README: Add missing listing for microblaze*-*-linux-gnu.
17070 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17072         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17073         duplicate code
17075 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17077         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17078         * sysdeps/unix/sysv/linux/ia64: Move directory from
17079         ports/sysdeps/unix/sysv/linux/ia64.
17080         * README: Update listing for ia64-*-linux-gnu.
17082 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17083             Joseph Myers  <joseph@codesourcery.com>
17085         * Makeconfig (test-name): New variable.
17086         (evaluate-test): Likewise.
17087         * Makerules (do-test-clean): Remove .test-result files.
17088         (common-mostlyclean): Likewise.
17089         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17090         * scripts/evaluate-test.sh: New file.
17092 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17094         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17095         separate $(objpfx)tst-fopenloc-cmp.out and
17096         $(objpfx)tst-fopenloc-mem.out targets.
17097         (tests): Update dependencies.
17098         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17099         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17100         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17101         (tst-rxspencer-no-utf8-ARGS): New variable.
17102         (tst-rxspencer-no-utf8-ENV): Likewise.
17103         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17104         instead of $(objpfx)tst-rxspencer-mem.
17105         ($(objpfx)tst-rxspencer-mem): Change target to
17106         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17107         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17108         * posix/tst-rxspencer-no-utf8.c: New file.
17110         * elf/Makefile ($(objpfx)order.out): Remove rule.
17111         [$(run-built-tests) = yes] (tests): Depend on
17112         $(objpfx)order-cmp.out.
17113         ($(objpfx)order-cmp.out): New rule.
17114         [$(run-built-tests) = yes] (tests): Depend on
17115         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17116         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17117         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17118         $(objpfx)tst-array5-static-cmp.out.
17119         ($(objpfx)tst-array1.out): Remove rule.
17120         ($(objpfx)tst-array1-cmp.out): New rule.
17121         ($(objpfx)tst-array1-static.out): Remove rule.
17122         ($(objpfx)tst-array1-static-cmp.out): New rule.
17123         ($(objpfx)tst-array2.out): Remove rule.
17124         ($(objpfx)tst-array2-cmp.out): New rule.
17125         ($(objpfx)tst-array3.out): Remove rule.
17126         ($(objpfx)tst-array3-cmp.out): New rule.
17127         ($(objpfx)tst-array4.out): Remove rule.
17128         ($(objpfx)tst-array4-cmp.out): New rule.
17129         ($(objpfx)tst-array5.out): Remove rule.
17130         ($(objpfx)tst-array5-cmp.out): New rule.
17131         ($(objpfx)tst-array5-static.out): Remove rule.
17132         ($(objpfx)tst-array5-static-cmp.out): New rule.
17133         [$(run-built-tests) = yes] (tests): Depend on
17134         $(objpfx)order2-cmp.out.
17135         ($(objpfx)order2.out): Remove rule.
17136         ($(objpfx)order2-cmp.out): New rule.
17137         ($(objpfx)tst-initorder.out): Remove rule.
17138         [$(run-built-tests) = yes] (tests): Depend on
17139         $(objpfx)tst-initorder-cmp.out.
17140         ($(objpfx)tst-initorder-cmp.out): New rule.
17141         ($(objpfx)tst-initorder2.out): Remove rule.
17142         [$(run-built-tests) = yes] (tests): Depend on
17143         $(objpfx)tst-initorder2-cmp.out.
17144         ($(objpfx)tst-initorder2-cmp.out): New rule.
17145         [$(run-built-tests) = yes] (tests): Depend on
17146         $(objpfx)tst-unused-dep-cmp.out.
17147         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17148         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17149         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17150         on $(objpfx)tst-setvbuf1-cmp.out.
17151         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17152         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17153         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17154         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17155         ($(objpfx)tst-svc.out): Remove rule.
17156         ($(objpfx)tst-svc-cmp.out): New rule.
17158 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17160         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17161         * ctype/ctype.h [__USE_MISC]: Likewise.
17162         * dirent/dirent.h [__USE_MISC]: Likewise.
17163         * grp/grp.h [__USE_MISC]: Likewise.
17164         * io/fcntl.h [__USE_MISC]: Likewise.
17165         * io/sys/stat.h [__USE_MISC]: Likewise.
17166         * libio/stdio.h [__USE_MISC]: Likewise.
17167         * posix/unistd.h [__USE_MISC]: Likewise.
17168         * pwd/pwd.h [__USE_MISC]: Likewise.
17169         * stdlib.h [__USE_MISC]: Likewise.
17170         * string/bits/string2.h [__USE_MISC]: Likewise.
17171         * string/string.h [__USE_MISC]: Likewise.
17172         * time/time.h [__USE_MISC]: Likewise.
17174 2014-02-13  Andreas Schwab  <schwab@suse.de>
17176         [BZ #16574]
17177         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17178         second answer buffer if it was separately allocated.
17180 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17182         * sysdeps/mips/math-tests.h: Include <features.h>.
17183         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17184         (ROUNDING_TESTS_long_double): Do not define.
17185         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17186         (EXCEPTION_TESTS_long_double): Likewise.
17187         * sysdeps/mips/mips64/libm-test-ulps: Update.
17189         * include/features.h (__USE_BSD): Remove macro definitions.
17190         (__USE_SVID): Likewise.
17191         (_BSD_SOURCE): Likewise.
17192         (_SVID_SOURCE): Likewise.
17193         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17194         from definition of _DEFAULT_SOURCE.
17195         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17196         [_DEFAULT_SOURCE].
17197         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17198         * bits/mman.h [__USE_BSD]: Likewise.
17199         * bits/termios.h [__USE_BSD]: Likewise.
17200         * bits/waitstatus.h [__USE_BSD]: Likewise.
17201         * ctype/ctype.h [__USE_SVID]: Likewise.
17202         * dirent/dirent.h [__USE_BSD]: Likewise.
17203         * grp/grp.h [__USE_SVID]: Likewise.
17204         [__USE_BSD]: Likewise.
17205         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17206         * io/fcntl.h [__USE_BSD]: Likewise.
17207         * io/ftw.h [__USE_BSD]: Likewise.
17208         * io/sys/stat.h [__USE_BSD]: Likewise.
17209         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17210         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17211         * libio/stdio.h [__USE_SVID]: Likewise.
17212         [__USE_BSD]: Likewise.
17213         * math/math.h [__USE_SVID]: Likewise.
17214         [__USE_BSD]: Likewise.
17215         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17216         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17217         * misc/search.h [__USE_SVID]: Likewise.
17218         * misc/sys/mman.h [__USE_BSD]: Likewise.
17219         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17220         * misc/sys/uio.h [__USE_BSD]: Likewise.
17221         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17222         * posix/glob.h [__USE_BSD]: Likewise.
17223         * posix/regex.h [__USE_BSD]: Likewise.
17224         * posix/sys/types.h [__USE_BSD]: Likewise.
17225         [__USE_SVID]: Likewise.
17226         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17227         * posix/sys/wait.h [__USE_BSD]: Likewise.
17228         [__USE_SVID]: Likewise.
17229         * posix/unistd.h [__USE_BSD]: Likewise.
17230         [__USE_SVID]: Likewise.
17231         * pwd/pwd.h [__USE_SVID]: Likewise.
17232         * resolv/netdb.h [__USE_BSD]: Likewise.
17233         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17234         * signal/signal.h [__USE_BSD]: Likewise.
17235         [__USE_SVID]: Likewise.
17236         * socket/sys/socket.h [__USE_BSD]: Likewise.
17237         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17238         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17239         [__USE_SVID]: Likewise.
17240         * string/bits/string2.h [__USE_BSD]: Likewise.
17241         [__USE_SVID]: Likewise.
17242         * string/bits/string3.h [__USE_BSD]: Likewise.
17243         * string/endian.h [__USE_BSD]: Likewise.
17244         * string/string.h [__USE_SVID]: Likewise.
17245         [__USE_BSD]: Likewise.
17246         * string/strings.h [__USE_BSD]: Likewise.
17247         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17248         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17249         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17250         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17251         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17252         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17253         Likewise.
17254         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17255         Likewise.
17256         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17257         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17258         Likewise.
17259         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17260         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17261         Likewise.
17262         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17263         Likewise.
17264         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17265         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17266         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17267         Likewise.
17268         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17269         Likewise.
17270         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17271         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17272         * termios/termios.h [__USE_BSD]: Likewise.
17273         * time/sys/time.h [__USE_BSD]: Likewise.
17274         * time/time.h [__USE_BSD]: Likewise.
17275         [__USE_SVID]: Likewise.
17277         * Makefile (subdir_targets): Remove subdir_lint.out.
17279         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17280         (do-tst-printf): Likewise.
17281         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17282         $(objpfx)tst-printf.out.
17284         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17286         * Makerules (check-abi-%): Change target to
17287         $(objpfx)check-abi-%.out.
17288         (check-abi target): Update dependencies.
17289         (check-abi-pattern variable): Redirect output of diff to $@.
17290         (check-abi variable): Likewise.
17291         * elf/Makefile (check-abi): Update dependencies.
17293         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17294         unused.
17295         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17296         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17297         subnormal range.
17298         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17299         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17300         value has largest subnormal exponent.
17301         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17302         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17303         * sysdeps/aarch64/soft-fp/sfp-machine.h
17304         (_FP_TININESS_AFTER_ROUNDING): New macro.
17305         * sysdeps/alpha/soft-fp/sfp-machine.h
17306         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17307         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17308         Likewise.
17309         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17310         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17311         * sysdeps/mips/soft-fp/sfp-machine.h
17312         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17313         * sysdeps/powerpc/soft-fp/sfp-machine.h
17314         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17315         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17316         Likewise.
17317         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17318         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17319         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17320         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17321         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17322         Likewise.
17324 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17326         [BZ #16545]
17327         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17328         model 1.
17330 2014-02-12  Richard Henderson  <rth@redhat.com>
17332         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17333         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17334         * sysdeps/unix/sysv/linux/alpha: Move directory from
17335         ports/sysdeps/unix/sysv/linux/alpha.
17336         * README: Update listing for alpha-*-linux-gnu.
17338 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17340         * include/features.h: Update comment documenting feature test
17341         macros.
17342         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17343         _DEFAULT_SOURCE.
17344         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17345         (_SVID_SOURCE): Likewise.
17346         (_DEFAULT_SOURCE): Update description of default features.
17347         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17348         with _GNU_SOURCE.
17349         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17350         (S_ISVTX): Likewise.
17351         * manual/math.texi (Mathematical Constants): Likewise.
17352         * manual/signal.texi (Interrupted Primitives): Likewise.
17353         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17354         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17355         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17356         Don't refer to _SVID_SOURCE in warning text.
17358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17360         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17361         already defined.
17362         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17363         * sysdeps/mips/dl-lookup.c: Remove.
17364         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17366 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17368         [BZ #16447]
17369         * math/auto-libm-test-in: Add testcase for expl.
17370         * math/auto-libm-test-out: Regenerate.
17371         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17372         calculation of unsafe.
17373         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17375 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17377         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17378         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17379         ports/sysdeps/unix/sysv/linux/aarch64.
17380         * README: Update listing for aarch64*-*-linux-gnu.
17382 2014-02-11  Will Newton  <will.newton@linaro.org>
17384         * manual/probes.texi (Mathematical Function Probes): Use
17385         "triggered" instead of "hit".
17387         * manual/probes.texi (Internal Probes): Add documentation
17388         of setjmp, longjmp and longjmp_target probes.
17390         * include/stap-probe.h: Add comment about probe argument
17391         format.
17393         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17394         definition.  (tr_where, tr_freehook, tr_mallochook,
17395         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17397 2014-02-11  David S. Miller  <davem@davemloft.net>
17399         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17400         processing int_tests.
17402 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17404         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17405         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17406         * sysdeps/unix/sysv/linux/mips: Move directory from
17407         ports/sysdeps/unix/sysv/linux/mips.
17408         * README: Update listing for mips-*-linux-gnu and
17409         mips64-*-linux-gnu.
17411 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17413         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17414         * sysdeps/unix/sysv/linux/m68k: Move directory from
17415         ports/sysdeps/unix/sysv/linux/m68k.
17416         * README: Update listing for m68k-*-linux-gnu.
17418 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17420         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17421         * sysdeps/unix/sysv/linux/generic: Move directory from
17422         ports/sysdeps/unix/sysv/linux/generic.
17423         * sysdeps/unix/sysv/linux/tile: Move directory from
17424         ports/sysdeps/unix/sysv/linux/tile.
17425         * README: Update listing for tile*-*-linux-gnu.
17427 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17429         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17430         __builtin_expect.
17431         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17432         * catgets/open_catalog.c (__open_catalog): Likewise.
17433         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17434         * debug/confstr_chk.c: Likewise.
17435         * debug/fread_chk.c (__fread_chk): Likewise.
17436         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17437         * debug/getgroups_chk.c: Likewise.
17438         * debug/mbsnrtowcs_chk.c: Likewise.
17439         * debug/mbsrtowcs_chk.c: Likewise.
17440         * debug/mbstowcs_chk.c: Likewise.
17441         * debug/memcpy_chk.c: Likewise.
17442         * debug/memmove_chk.c: Likewise.
17443         * debug/mempcpy_chk.c: Likewise.
17444         * debug/memset_chk.c: Likewise.
17445         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17446         * debug/strcat_chk.c (__strcat_chk): Likewise.
17447         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17448         * debug/strncat_chk.c (__strncat_chk): Likewise.
17449         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17450         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17451         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17452         * debug/wcpncpy_chk.c: Likewise.
17453         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17454         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17455         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17456         * debug/wcsncpy_chk.c: Likewise.
17457         * debug/wcsnrtombs_chk.c: Likewise.
17458         * debug/wcsrtombs_chk.c: Likewise.
17459         * debug/wcstombs_chk.c: Likewise.
17460         * debug/wmemcpy_chk.c: Likewise.
17461         * debug/wmemmove_chk.c: Likewise.
17462         * debug/wmempcpy_chk.c: Likewise.
17463         * debug/wmemset_chk.c: Likewise.
17464         * dirent/scandirat.c (SCANDIRAT): Likewise.
17465         * dlfcn/dladdr1.c (dladdr1): Likewise.
17466         * dlfcn/dladdr.c (dladdr): Likewise.
17467         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17468         * dlfcn/dlerror.c (__dlerror): Likewise.
17469         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17470         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17471         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17472         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17473         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17474         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17475         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17476         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17477         Likewise.
17478         * elf/dl-conflict.c: Likewise.
17479         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17480         * elf/dl-dst.h: Likewise.
17481         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17482         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17483         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17484         * elf/dl-init.c (call_init, _dl_init): Likewise.
17485         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17486         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17487         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17488         Likewise.
17489         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17490         Likewise.
17491         * elf/dl-minimal.c (__libc_memalign): Likewise.
17492         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17493         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17494         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17495         * elf/dl-sym.c (do_sym): Likewise.
17496         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17497         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17498         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17499         * elf/dl-writev.h (_dl_writev): Likewise.
17500         * elf/ldconfig.c (search_dir): Likewise.
17501         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17502         (dl_main): Likewise.
17503         * elf/setup-vdso.h (setup_vdso): Likewise.
17504         * grp/compat-initgroups.c (compat_call): Likewise.
17505         * grp/fgetgrent.c (fgetgrent): Likewise.
17506         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17507         * grp/putgrent.c (putgrent): Likewise.
17508         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17509         Likewise.
17510         * hurd/hurdinit.c: Likewise.
17511         * iconvdata/8bit-gap.c (struct): Likewise.
17512         * iconvdata/ansi_x3.110.c : Likewise.
17513         * iconvdata/big5.c : Likewise.
17514         * iconvdata/big5hkscs.c : Likewise.
17515         * iconvdata/cp1255.c: Likewise.
17516         * iconvdata/cp1258.c : Likewise.
17517         * iconvdata/cp932.c : Likewise.
17518         * iconvdata/euc-cn.c: Likewise.
17519         * iconvdata/euc-jisx0213.c : Likewise.
17520         * iconvdata/euc-jp.c: Likewise.
17521         * iconvdata/euc-jp-ms.c : Likewise.
17522         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17523         * iconvdata/gb18030.c : Likewise.
17524         * iconvdata/gbbig5.c (const): Likewise.
17525         * iconvdata/gbgbk.c: Likewise.
17526         * iconvdata/gbk.c : Likewise.
17527         * iconvdata/ibm1364.c : Likewise.
17528         * iconvdata/ibm930.c : Likewise.
17529         * iconvdata/ibm932.c: Likewise.
17530         * iconvdata/ibm933.c : Likewise.
17531         * iconvdata/ibm935.c : Likewise.
17532         * iconvdata/ibm937.c : Likewise.
17533         * iconvdata/ibm939.c : Likewise.
17534         * iconvdata/ibm943.c: Likewise.
17535         * iconvdata/iso_11548-1.c: Likewise.
17536         * iconvdata/iso-2022-cn.c : Likewise.
17537         * iconvdata/iso-2022-cn-ext.c : Likewise.
17538         * iconvdata/iso-2022-jp-3.c: Likewise.
17539         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17540         * iconvdata/iso-2022-kr.c : Likewise.
17541         * iconvdata/iso646.c (gconv_end): Likewise.
17542         * iconvdata/iso_6937-2.c : Likewise.
17543         * iconvdata/iso_6937.c : Likewise.
17544         * iconvdata/iso8859-1.c: Likewise.
17545         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17546         * iconvdata/shift_jisx0213.c : Likewise.
17547         * iconvdata/sjis.c : Likewise.
17548         * iconvdata/t.61.c : Likewise.
17549         * iconvdata/tcvn5712-1.c : Likewise.
17550         * iconvdata/tscii.c: Likewise.
17551         * iconvdata/uhc.c : Likewise.
17552         * iconvdata/unicode.c (gconv_end): Likewise.
17553         * iconvdata/utf-16.c (gconv_end): Likewise.
17554         * iconvdata/utf-32.c (gconv_end): Likewise.
17555         * iconvdata/utf-7.c (base64): Likewise.
17556         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17557         * iconv/gconv_close.c (__gconv_close): Likewise.
17558         * iconv/gconv_open.c (__gconv_open): Likewise.
17559         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17560         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17561         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17562         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17563         (ucs4le_internal_loop_single): Likewise.
17564         * iconv/iconv.c (iconv): Likewise.
17565         * iconv/iconv_close.c: Likewise.
17566         * iconv/loop.c (SINGLE): Likewise.
17567         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17568         * include/atomic.h: Likewise.
17569         * inet/inet6_option.c (option_alloc): Likewise.
17570         * intl/bindtextdom.c (set_binding_values): Likewise.
17571         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17572         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17573         * intl/localealias.c (read_alias_file): Likewise.
17574         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17575         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17576         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17577         * libio/fmemopen.c (fmemopen): Likewise.
17578         * libio/iofgets.c (_IO_fgets): Likewise.
17579         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17580         * libio/iofgetws.c (fgetws): Likewise.
17581         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17582         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17583         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17584         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17585         * locale/findlocale.c (_nl_find_locale): Likewise.
17586         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17587         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17588         Likewise.
17589         * locale/setlocale.c (setlocale): Likewise.
17590         * login/programs/pt_chown.c (main): Likewise.
17591         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17592         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17593         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17594         (mmap, mmap64, mremap, munmap): Likewise.
17595         * math/e_exp2l.c: Likewise.
17596         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17597         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17598         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17599         * math/s_catan.c (__catan): Likewise.
17600         * math/s_catanf.c (__catanf): Likewise.
17601         * math/s_catanh.c (__catanh): Likewise.
17602         * math/s_catanhf.c (__catanhf): Likewise.
17603         * math/s_catanhl.c (__catanhl): Likewise.
17604         * math/s_catanl.c (__catanl): Likewise.
17605         * math/s_ccosh.c (__ccosh): Likewise.
17606         * math/s_ccoshf.c (__ccoshf): Likewise.
17607         * math/s_ccoshl.c (__ccoshl): Likewise.
17608         * math/s_cexp.c (__cexp): Likewise.
17609         * math/s_cexpf.c (__cexpf): Likewise.
17610         * math/s_cexpl.c (__cexpl): Likewise.
17611         * math/s_clog10.c (__clog10): Likewise.
17612         * math/s_clog10f.c (__clog10f): Likewise.
17613         * math/s_clog10l.c (__clog10l): Likewise.
17614         * math/s_clog.c (__clog): Likewise.
17615         * math/s_clogf.c (__clogf): Likewise.
17616         * math/s_clogl.c (__clogl): Likewise.
17617         * math/s_csin.c (__csin): Likewise.
17618         * math/s_csinf.c (__csinf): Likewise.
17619         * math/s_csinh.c (__csinh): Likewise.
17620         * math/s_csinhf.c (__csinhf): Likewise.
17621         * math/s_csinhl.c (__csinhl): Likewise.
17622         * math/s_csinl.c (__csinl): Likewise.
17623         * math/s_csqrt.c (__csqrt): Likewise.
17624         * math/s_csqrtf.c (__csqrtf): Likewise.
17625         * math/s_csqrtl.c (__csqrtl): Likewise.
17626         * math/s_ctan.c (__ctan): Likewise.
17627         * math/s_ctanf.c (__ctanf): Likewise.
17628         * math/s_ctanh.c (__ctanh): Likewise.
17629         * math/s_ctanhf.c (__ctanhf): Likewise.
17630         * math/s_ctanhl.c (__ctanhl): Likewise.
17631         * math/s_ctanl.c (__ctanl): Likewise.
17632         * math/w_pow.c: Likewise.
17633         * math/w_powf.c: Likewise.
17634         * math/w_powl.c: Likewise.
17635         * math/w_scalb.c (sysv_scalb): Likewise.
17636         * math/w_scalbf.c (sysv_scalbf): Likewise.
17637         * math/w_scalbl.c (sysv_scalbl): Likewise.
17638         * misc/error.c (error_tail): Likewise.
17639         * misc/pselect.c (__pselect): Likewise.
17640         * nis/nis_callback.c (__nis_create_callback): Likewise.
17641         * nis/nis_call.c (__nisfind_server): Likewise.
17642         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17643         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17644         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17645         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17646         * nis/nis_lookup.c (nis_lookup): Likewise.
17647         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17648         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17649         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17650         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17651         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17652         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17653         * nis/nss_compat/compat-initgroups.c (add_group)
17654         (internal_getgrent_r): Likewise.
17655         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17656         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17657         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17658         (internal_getspnam_r): Likewise.
17659         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17660         (_nss_nis_getaliasbyname_r): Likewise.
17661         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17662         (_nss_nis_getntohost_r): Likewise.
17663         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17664         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17665         (_nss_nis_getgrgid_r): Likewise.
17666         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17667         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17668         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17669         (_nss_nis_gethostbyname4_r): Likewise.
17670         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17671         (initgroups_netid): Likewise.
17672         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17673         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17674         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17675         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17676         (_nss_nis_getprotobynumber_r): Likewise.
17677         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17678         (_nss_nis_getsecretkey): Likewise.
17679         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17680         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17681         (_nss_nis_getpwuid_r): Likewise.
17682         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17683         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17684         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17685         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17686         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17687         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17688         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17689         Likewise.
17690         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17691         (_nss_nisplus_getntohost_r): Likewise.
17692         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17693         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17694         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17695         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17696         Likewise.
17697         * nis/nss_nisplus/nisplus-initgroups.c
17698         (_nss_nisplus_initgroups_dyn): Likewise.
17699         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17700         (_nss_nisplus_getnetbyaddr_r): Likewise.
17701         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17702         (_nss_nisplus_getprotobynumber_r): Likewise.
17703         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17704         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17705         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17706         Likewise.
17707         * nis/nss_nisplus/nisplus-service.c
17708         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17709         (_nss_nisplus_getservbyport_r): Likewise.
17710         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17711         (_nss_nisplus_getspnam_r): Likewise.
17712         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17713         Likewise.
17714         * nscd/aicache.c (addhstaiX): Likewise.
17715         * nscd/cache.c (cache_search, prune_cache): Likewise.
17716         * nscd/connections.c (register_traced_file, send_ro_fd)
17717         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17718         (main_loop_epoll): Likewise.
17719         * nscd/grpcache.c (addgrbyX): Likewise.
17720         * nscd/hstcache.c (addhstbyX): Likewise.
17721         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17722         * nscd/mem.c (gc, mempool_alloc): Likewise.
17723         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17724         (addinnetgrX): Likewise.
17725         * nscd/nscd-client.h (__nscd_acquire_maplock)
17726         (__nscd_drop_map_ref): Likewise.
17727         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17728         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17729         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17730         Likewise.
17731         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17732         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17733         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17734         (__nscd_get_map_ref): Likewise.
17735         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17736         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17737         Likewise.
17738         * nscd/pwdcache.c (addpwbyX): Likewise.
17739         * nscd/selinux.c (preserve_capabilities): Likewise.
17740         * nscd/servicescache.c (addservbyX): Likewise.
17741         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17742         * posix/fnmatch.c (fnmatch): Likewise.
17743         * posix/getopt.c (_getopt_internal_r): Likewise.
17744         * posix/glob.c (glob, glob_in_dir): Likewise.
17745         * posix/wordexp.c (exec_comm_child): Likewise.
17746         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17747         (getanswer_r, gaih_getanswer_slice): Likewise.
17748         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17749         * resolv/res_init.c: Likewise.
17750         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17751         * resolv/res_query.c (__libc_res_nquery): Likewise.
17752         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17753         Likewise.
17754         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17755         * stdio-common/perror.c (perror): Likewise.
17756         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17757         * stdio-common/tmpnam.c (tmpnam): Likewise.
17758         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17759         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17760         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17761         Likewise.
17762         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17763         * stdlib/putenv.c (putenv): Likewise.
17764         * stdlib/setenv.c (__add_to_environ): Likewise.
17765         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17766         * stdlib/strtol_l.c (INTERNAL): Likewise.
17767         * string/memmem.c (memmem): Likewise.
17768         * string/strerror.c (strerror): Likewise.
17769         * string/strnlen.c (__strnlen): Likewise.
17770         * string/test-memmem.c (simple_memmem): Likewise.
17771         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17772         * sunrpc/pm_getport.c (__get_socket): Likewise.
17773         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17774         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17775         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17776         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17777         Likewise.
17778         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17779         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17780         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17781         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17782         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17783         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17784         Likewise.
17785         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17786         Likewise.
17787         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17788         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17789         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17790         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17791         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17793         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17794         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17795         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17796         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17797         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17798         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17799         Likewise.
17800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17801         Likewise.
17802         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17803         Likewise.
17804         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17805         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17807         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17808         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17809         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17810         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17811         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17812         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17813         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17814         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17815         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17816         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17817         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17819         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17820         Likewise.
17821         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17822         Likewise.
17823         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17824         Likewise.
17825         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17826         Likewise.
17827         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17828         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17829         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17830         Likewise.
17831         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17832         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17833         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17834         * sysdeps/posix/sleep.c: Likewise.
17835         * sysdeps/posix/tempname.c: Likewise.
17836         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17837         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17838         Likewise.
17839         * sysdeps/powerpc/powerpc32/dl-machine.h
17840         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17841         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17843         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17844         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17845         Likewise.
17846         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17847         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17848         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17849         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17850         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17851         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17852         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17853         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17854         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17855         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17856         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17857         (elf_machine_lazy_rel): Likewise.
17858         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17859         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17860         (elf_machine_lazy_rel): Likewise.
17861         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17862         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17863         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17864         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17865         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17866         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17867         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17868         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17869         Likewise.
17870         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17871         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17872         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17873         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17874         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17875         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17876         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17877         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17878         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17879         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17880         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17881         Likewise.
17882         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17883         (__posix_fallocate64_l64): Likewise.
17884         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17885         (posix_fallocate): Likewise.
17886         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17887         Likewise.
17888         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17889         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17890         (getifaddrs_internal): Likewise.
17891         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17892         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17893         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17894         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17895         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17896         (__posix_fallocate64_l64): Likewise.
17897         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17898         Likewise.
17899         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17900         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17901         (__get_clockfreq): Likewise.
17902         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17903         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17904         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17906         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17907         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17908         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17909         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17910         Likewise.
17911         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17912         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17913         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17915         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17916         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17917         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17918         Likewise.
17919         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17920         (posix_fallocate): Likewise.
17921         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17922         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17923         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17924         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17925         (elf_machine_rela, elf_machine_rela_relative)
17926         (elf_machine_lazy_rel): Likewise.
17927         * time/asctime.c (asctime_internal): Likewise.
17928         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17929         * time/tzset.c (__tzset_parse_tz): Likewise.
17930         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17931         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17932         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17933         * wcsmbs/wcsmbsload.h: Likewise.
17935         [BZ #15894]
17936         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17938         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17939         (arena_get2): Remove THREAD_STATS conditionals.
17940         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17941         (__malloc_stats, int): Likewise.
17943 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17945         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17946         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17948         * manual/setjmp.texi: Fix typos/grammar errors.
17950         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17951         Only return early when n is <= 0.  Delete unused return statement.
17953         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17954         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17955         * debug/tst-longjmp_chk3.c: New file.
17957         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17958         (test_main): Replace code with set_fortify_handler call.
17959         * debug/test-strcpy_chk.c: Likewise.
17960         * debug/tst-chk1.c: Likewise.
17961         * debug/tst-longjmp_chk.c: Likewise.
17962         * test-skeleton.c: Include fcntl.h & paths.h
17963         (set_fortify_handler): Define.
17965         * debug/tst-longjmp_chk.c: Add header comment and include
17966         ../test-skeleton.c.
17967         (do_test): Mark static.
17968         (TEST_FUNCTION): Define.
17970         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17971         (IP_PMTUDISC_INTERFACE): Likewise.
17972         (IP_MULTICAST_IF): Likewise.
17973         (IP_MULTICAST_TTL): Likewise.
17974         (IP_MULTICAST_LOOP): Likewise.
17975         (IP_ADD_MEMBERSHIP): Likewise.
17976         (IP_DROP_MEMBERSHIP): Likewise.
17977         (IP_UNBLOCK_SOURCE): Likewise.
17978         (IP_BLOCK_SOURCE): Likewise.
17979         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17980         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17981         (IP_MSFILTER): Likewise.
17982         (MCAST_JOIN_GROUP): Likewise.
17983         (MCAST_BLOCK_SOURCE): Likewise.
17984         (MCAST_UNBLOCK_SOURCE): Likewise.
17985         (MCAST_LEAVE_GROUP): Likewise.
17986         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17987         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17988         (MCAST_MSFILTER): Likewise.
17989         (IP_MULTICAST_ALL): Likewise.
17990         (IP_UNICAST_IF): Likewise.
17992         * timezone/Makefile: Delete $(have-ksh) check.
17993         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17994         * timezone/tzselect.ksh: Add +x mode bits.
17996         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17997         (ANON_INODE_FS_MAGIC): Likewise.
17998         (BDEVFS_MAGIC): Likewise.
17999         (BINFMTFS_MAGIC): Likewise.
18000         (BTRFS_TEST_MAGIC): Likewise.
18001         (CRAMFS_MAGIC_WEND): Likewise.
18002         (DEBUGFS_MAGIC): Likewise.
18003         (ECRYPTFS_SUPER_MAGIC): Likewise.
18004         (EXT3_SUPER_MAGIC): Likewise.
18005         (EXT4_SUPER_MAGIC): Likewise.
18006         (FUTEXFS_SUPER_MAGIC): Likewise.
18007         (HOSTFS_SUPER_MAGIC): Likewise.
18008         (HUGETLBFS_MAGIC): Likewise.
18009         (MINIX3_SUPER_MAGIC): Likewise.
18010         (MTD_INODE_FS_MAGIC): Likewise.
18011         (NILFS_SUPER_MAGIC): Likewise.
18012         (OPENPROM_SUPER_MAGIC): Likewise.
18013         (PIPEFS_MAGIC): Likewise.
18014         (PSTOREFS_MAGIC): Likewise.
18015         (QNX6_SUPER_MAGIC): Likewise.
18016         (RAMFS_MAGIC): Likewise.
18017         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18018         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18019         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18020         (SECURITYFS_MAGIC): Likewise.
18021         (SELINUX_MAGIC): Likewise.
18022         (SMACK_MAGIC): Likewise.
18023         (SOCKFS_MAGIC): Likewise.
18024         (SQUASHFS_MAGIC): Likewise.
18025         (STACK_END_MAGIC): Likewise.
18026         (TMPFS_MAGIC): Likewise.
18027         (USBDEVICE_SUPER_MAGIC): Likewise.
18028         (V9FS_MAGIC): Likewise.
18029         (XENFS_SUPER_MAGIC): Likewise.
18030         (CRAMFS_MAGIC): Fix typo in comment.
18031         (EXT2_SUPER_MAGIC): Update comment.
18032         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18034 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18036         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18037         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18038         * sysdeps/unix/sysv/linux/arm: Move directory from
18039         ports/sysdeps/unix/sysv/linux/arm.
18040         * README: Update listing for arm-*-linux-gnueabi.
18042         * README: Remove mention of am33.
18044 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18046         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18047         than the comma operator, to avoid "rhs of comma has no effect"
18048         compiler warnings.
18049         (__sigfillset, __sigandset, __sigorset): Likewise.
18050         * include/signal.h (__sigemptyset): Likewise.
18051         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18053 2014-02-07  Allan McRae  <allan@archlinux.org>
18055         * version.h (RELEASE): Set to "development".
18056         (VERSION): Set to "2.19.90"
18057         * NEWS: Add 2.20 section.
18059 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18061         [BZ #16529]
18062         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18064 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18066         * manual/contrib.texi: Update entry for Carlos O'Donell,
18067         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18069 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18071         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18073         * sysdeps/unix/sysv/linux/kernel-features.h
18074         [__LINUX_KERNEL_VERSION >= 0x020621]
18075         (__ASSUME_PROC_PID_TASK_COMM): Define.
18077 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18079         [BZ #16398]
18080         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18081         conversion when destination buffer does not have enough space.
18082         * libio/tst-ftell-partial-wide.c: New test case.
18083         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18085         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18086         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18087         Leonard and Allan McRae.
18089 2014-02-04  David S. Miller  <davem@davemloft.net>
18091         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18092         32-bit.
18094 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18097         New file
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18099         New file
18100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18101         New file.
18102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18103         New file.
18104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18105         New file.
18106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18107         New file.
18108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18109         New file.
18110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18111         New file.
18112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18113         New file.
18114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18115         New file.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18117         New file.
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18119         New file.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18121         New file.
18123 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18125         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18126         * shlib-versions: Likewise.
18128 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18129             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18131         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18132         (abilist-pattern): New variable, set to %-le.abilist.
18134         * Makerules (abilist-pattern): New variable.
18135         (vpath): Use $(abilist-pattern) in place of %.abilist.
18136         (check-abi-% pattern rule): Likewise.
18137         (check-abi, update-abi): Likewise.
18139 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18143 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18145         * manual/startup.texi: Add next, previous, and top entries for
18146         the `Program Arguments' and `Environment Variables' nodes.
18148 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18150         * manual/macros.texi: Add comments before MTASC-safety macros.
18152         * manual/users.texi: Document MTASC-safety properties.
18154         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18155         (pthread_getspecific, pthread_setspecific): Format with
18156         @deftypefun, and add @safety note.
18157         * manual/signal.texi: Move comments that analyze the above
18158         functions to their home place.
18160 2014-02-03  Allan McRae  <allan@archlinux.org>
18162         * po/sl.po: Update Slovenian translation from translation project.
18164 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18166         * manual/time.texi (timegm): Add missing blank after @c.
18167         Reported by Joseph Myers <joseph@codesourcery.com>.
18169 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18171         * manual/check-safety.sh: New.
18172         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18174         * manual/terminal.texi: Document MTASC-safety properties.
18176         * manual/filesys.texi: Document MTASC-safety properties.
18178         * manual/errno.texi: Document MTASC-safety properties.
18180         * manual/intro.texi: Document safety identifiers and
18181         conditionals.
18183         * manual/string.texi (wcstok): Fix prototype.
18184         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18186         * manual/time.texi: Document MTASC-safety properties.
18188         * manual/string.texi: Document MTASC-safety properties.
18190         * manual/threads.texi: Document MTASC-safety properties.
18192         * manual/stdio.texi: Document MTASC-safety properties.
18194         * manual/syslog.texi: Document MTASC-safety properties.
18196         * manual/sysinfo.texi: Document MTASC-safety properties.
18198         * manual/startup.texi: Document MTASC-safety properties.
18200         * manual/socket.texi: Document MTASC-safety properties.
18202         * manual/signal.texi: Document MTASC-safety properties.
18204 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18206         * manual/setjmp.texi: Document MTASC-safety properties.
18208         * manual/search.texi: Document MTASC-safety properties.
18210         * manual/resource.texi: Document MTASC-safety properties.
18212         * manual/process.texi: Document MTASC-safety properties.
18214         * manual/platform.texi: Document MTASC-safety properties.
18216         * manual/pipe.texi: Document MTASC-safety properties.
18218         * manual/pattern.texi: Document MTASC-safety properties.
18220         * manual/message.texi: Document MTASC-safety properties.
18222         [BZ #12751]
18223         * manual/memory.texi: Document MTASC-safety properties.
18225         * manual/math.texi: Document MTASC-safety properties.
18227         * manual/locale.texi: Document MTASC-safety properties.
18229         * manual/llio.texi: Document MTASC-safety properties.
18231         * manual/libdl.texi: New.
18233         * manual/lang.texi: Document MTASC-safety properties.
18235         * manual/job.texi: Document MTASC-safety properties.
18237         * manual/getopt.texi: Document MTASC-safety properties.
18239         * manual/ctype.texi: Document MTASC-safety properties.
18241 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18243         [BZ #16046]
18244         * csu/libc-tls.c (static_map): Remove variable.
18245         (__libc_setup_tls): Use main executable's link map for TLS data.
18246         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18247         casing for LM_ID_BASE and GL(dl_nns).
18248         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18249         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18250         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18251         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18252         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18253         member.
18254         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18255         l_phnum members.
18257 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18259         * manual/debug.texi: Document MTASC-safety properties.
18261 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18263         [BZ #16510]
18264         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18265         of __x86_64__ when disabling x87 inline functions.
18267 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18269         * manual/charset.texi: Document MTASC-safety properties.
18271         * manual/crypt.texi: Document MTASC-safety properties.
18273         * manual/conf.texi: Document MTASC-safety properties.
18275         * manual/arith.texi: Document MTASC-safety properties.
18277         * manual/argp.texi: Document MTASC-safety properties.
18279         * manual/macros.texi: Introduce macros to document multi
18280         thread, asynchronous signal and asynchronous cancellation
18281         safety properties.
18282         * manual/intro.texi: Introduce the properties themselves.
18284 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18286         * sysdeps/sh/sh4/Makefile: New file.
18288 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18290         * math/gen-libm-test.pl ($srcdir): New variable.
18291         ($auto_input): Use it.
18293 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18295         [BZ #16506]
18296         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18297         access beyond array bounds when parsing netgroups file.
18299         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18300         the old buffer before realloc.
18302 2014-01-27  Allan McRae  <allan@archlinux.org>
18304         * po/fr.po: Update French translation from translation project.
18306 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18308         * sysdeps/sh/libm-test-ulps: Regenerate.
18310 2014-01-24  David S. Miller  <davem@davemloft.net>
18312         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18314 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18316         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18317         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18319 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18321         [BZ #16474]
18322         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18323         string pointers after reallocation.
18325 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18327         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18328         __SH4A__ instead of __SH_FPU_ANY__.
18330 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18332         * sysdeps/sh/fpu_control.h: New file.
18333         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18334         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18335         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18336         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18337         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18338         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18339         * sysdeps/sh/sys/ucontext.h: Remove.
18340         * sysdeps/sh/sys: Remove directory.
18342 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18344         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18345         s390/sys/ucontext.h.
18346         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18349 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18351         [BZ #15605]
18352         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18354 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18356         [BZ#16431]
18357         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18358         Adjust the vDSO correctly for internal calls.
18359         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18361 2014-01-20  Allan McRae  <allan@archlinux.org>
18363         * po/ca.po: Update Catalan translation from translation project.
18365 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18367         * sysdeps/s390/sotruss-lib.c: New file.
18369 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18371         [BZ#16430]
18372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18373         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18374         local calls issues by not having a PLT stub required for IFUNC calls.
18375         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18377 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18379         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18380         * math/test-fpucw-static.c: Likewise.
18382 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18384         [BZ #16453]
18385         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18387 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18389         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18390         implementation for powerpc.
18392 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18394         [BZ #14782]
18395         * sysdeps/posix/system.c (__libc_system): Do not enable
18396         asynchronous cancellation.
18398 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18400         [BZ #16427]
18401         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18402         handling only for numbers special also in the IEEE case.
18404 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18406         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18408 2014-01-11  Allan McRae  <allan@archlinux.org>
18410         * po/bg.po: Update Bulgarian translation from translation project.
18412         * po/de.po: Update German translation from translation project.
18414 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18416         * sysdeps/generic/gcc-compat.h: New file.
18418 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18420         * benchtests/asin-inputs: Correct slow inputs.
18421         * benchtests/acos-inputs: Likewise.
18423 2014-01-10  Allan McRae  <allan@archlinux.org>
18425         * po:sv.po: Update Swedish translation from translation project.
18427         * po/vi.po: Update Vietnamese translation from translation project.
18429         * po/eo.po: Update Esperanto translation from translation project.
18431         * po/cs.po: Update Czech translation from translation project.
18433         * po/nl.po: Update Dutch translation from translation project.
18435         * po/pl.po: Update Polish translation from translation project.
18437         * po/ru.po: Update Russian translation from translation project.
18439         * po/uk.po: Update Ukrainian translation from translation project.
18441 2014-01-08  Brooks Moses  <bmoses@google.com>
18443         * elf/dl-load.c: Fix comment typo.
18445 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18447         * po/header.pot: Rename to...
18448         * po/pot.header: ... this.
18449         * po/Makefile: Use pot.header.
18451 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18452             Maxim Kuvyrkov  <maxim@kugelworks.com>
18454         [BZ #16394]
18455         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18456         SRC and DEST against LEN.
18458 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18460         [BZ #16414]
18461         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18462         implementation.
18463         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18465 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18469 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18471         [BZ #16408]
18472         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18473         for large positive arguments.
18475 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18477         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18479         * math/auto-libm-test-in: Mark various tests with
18480         xfail-rounding:ldbl-128ibm.
18481         * math/auto-libm-test-out: Regenerated.
18483         [BZ #16407]
18484         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18485         Increase overflow threshold.
18487 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18489         [BZ #14286]
18490         * stdio-common/vfprintf.c: Check for integer overflow.
18492 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18494         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18495         the first argument and return value of __tls_get_addr_internal.
18497 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18499         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18500         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18502 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18504         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18505         * sysdeps/s390/rtld-global-offsets.sym: New file.
18506         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18507         GLIBC_2.19 symbol.
18508         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18511         ... this.
18512         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18514         ... this.
18515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18516         Regenerate.
18517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18518         Regenerate.
18519         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18520         halfs of GPRs for high_gprs contexts.
18521         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18522         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18523         field.
18524         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18525         uc_flags field.
18526         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18527         64 bit versions:
18528         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18529         for high GPRs (uc_high_gprs) and for future extensions
18530         (__reserved).
18531         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18532         for future extensions (__reserved).
18533         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18534         64 bit versions:
18535         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18536         SC_HIGHGPRS offset definition.
18537         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18538         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18540         * Versions.def: Add GLIBC_2.19 for libpthread.
18541         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18542         siglongjmp for libpthread with GLIBC_2.19 symver.
18543         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18544         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18545         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18546         * sysdeps/s390/__longjmp.c: New file.
18547         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18548         * sysdeps/s390/longjmp.c: New file.
18549         * sysdeps/s390/setjmp.S: New file.
18550         * sysdeps/s390/sigjmp.S: New file.
18551         * sysdeps/s390/v1-longjmp.c: New file.
18552         * sysdeps/s390/v1-setjmp.h: New file.
18553         * sysdeps/s390/v1-sigjmp.c: New file.
18554         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18555         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18556         GLIBC_2.19 version.
18557         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18558         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18559         versioned symbols for ____longjmp_chk.
18560         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18561         Likewise.
18562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18563         Regenerate.
18564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18565         Regenerate.
18566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18567         Regenerate.
18568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18569         Regenerate.
18570         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18571         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18572         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18573         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18574         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18575         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18576         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18577         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18578         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18579         * sysdeps/s390/rtld-__longjmp.c: New file.
18580         * sysdeps/s390/rtld-setjmp.S: New file.
18582 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18584         [BZ #16400]
18585         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18586         Return -__logl (x) for small positive arguments without evaluating
18587         a polynomial.
18589 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18591         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18592         Rename to ...
18593         (__ptrace_peeksiginfo_args): ... this.
18594         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18595         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18596         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18598 2014-01-06  Allan McRae  <allan@archlinux.org>
18600         * inet/netinet/in.h: Fix typo in comment.
18602 2014-01-05  Andreas Jaeger  <aj@suse.de>
18604         * sysdeps/i386/fpu/libm-test-ulps: Update.
18606 2014-01-05  Allan McRae  <allan@archlinux.org>
18608         * po/libc.pot: Regenerated.
18610         * malloc/memusagestat.c: Fix gettext call formatting.
18612 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18614         * nscd/nscd.c: Improve usage() output.
18616 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18618         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18619         * sysdeps/unix/sysv/linux/configure: Regenerated.
18620         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18621         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18623 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18625         [BZ #16390]
18626         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18627         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18629 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18632         extra tokens at end of #undef directive.
18633         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18634         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18635         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18637 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18639         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18641         * math/auto-libm-test-in: Mark various tests with
18642         xfail-rounding:ldbl-128ibm.
18643         * math/auto-libm-test-out: Regenerated.
18645 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18647         [BZ #16386]
18648         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18649         numbers with subnormal high part when calculating exponent.
18651         [BZ #16385]
18652         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18653         fabs.
18655         [BZ #16384]
18656         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18657         M_LN2l.
18658         (__ieee754_acoshl): Use __log1pl not __log1p.
18660 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18662         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18663         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18664         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18665         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18666         (reused_arena, arena_get2): Convert to GNU style.
18667         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18668         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18669         (memalign_check, __malloc_set_state): Likewise.
18670         * malloc/mallocbug.c (main): Likewise.
18671         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18672         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18673         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18674         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18675         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18676         (__posix_memalign, malloc_info): Likewise.
18677         * malloc/malloc.h: Likewise.
18678         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18679         (mallochook, memalignhook, reallochook, mabort): Likewise.
18680         * malloc/mcheck.h: Likewise.
18681         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18682         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18683         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18684         * malloc/morecore.c (__default_morecore): Likewise.
18685         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18686         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18687         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18688         (print_and_abort): Likewise.
18689         * malloc/obstack.h: Likewise.
18690         * malloc/set-freeres.c (__libc_freeres): Likewise.
18691         * malloc/tst-mallocstate.c (main): Likewise.
18692         * malloc/tst-mtrace.c (main): Likewise.
18693         * malloc/tst-realloc.c (do_test): Likewise.
18695 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18697         [BZ #16366]
18698         * nscd/netgroupcache.c (do_notfound): New function.
18699         (addgetnetgrentX): Use it.
18701         [BZ # 16365]
18702         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18703         NSS_STATUS_NOTFOUND.
18705 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18707         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18710 2014-01-01  Allan McRae  <allan@archlinux.org>
18712         * scripts/update-copyrights: Update configure input file suffix.
18714         * NEWS: Update copyright year.
18715         * catgets/gencat.c: Likewise.
18716         * csu/version.c: Likewise.
18717         * debug/catchsegv.sh: Likewise.
18718         * debug/pcprofiledump.c: Likewise.
18719         * debug/xtrace.sh: Likewise.
18720         * elf/ldconfig.c: Likewise.
18721         * elf/ldd.bash.in: Likewise.
18722         * elf/pldd.c: Likewise.
18723         * elf/sotruss.ksh: Likewise.
18724         * elf/sprof.c: Likewise.
18725         * iconv/iconv_prog.c: Likewise.
18726         * iconv/iconvconfig.c: Likewise.
18727         * locale/programs/locale.c: Likewise.
18728         * locale/programs/localedef.c: Likewise.
18729         * login/programs/pt_chown.c: Likewise.
18730         * malloc/memusage.sh: Likewise.
18731         * malloc/memusagestat.c: Likewise.
18732         * malloc/mtrace.pl: Likewise.
18733         * manual/libc.texinfo: Likewise.
18734         * nscd/nscd.c: Likewise.
18735         * nss/getent.c: Likewise.
18736         * nss/makedb.c: Likewise.
18737         * posix/getconf.c: Likewise.
18738         * scripts/test-installation.pl: Likewise.
18740         * All files with FSF copyright notices: Update copyright dates
18741         using scripts/update-copyrights.
18742         * intl/plural.c: Regenerated.
18743         * locale/programs/charmap-kw.h: Likewise.
18744         * locale/programs/locfile-kw.h: Likewise.
18746 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18748         * sysdeps/unix/sysv/linux/configure: Regenerated.
18749         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18750         the linux/fanotify.h header.
18751         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18752         HAVE_LINUX_FANOTIFY_H is defined.
18754 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18756         * benchtests/cos-inputs: New inputs.
18757         * benchtests/sin-inputs: Likewise.
18759         * benchtests/atan-inputs: New inputs. Fix name of multiple
18760         precision fallback inputs.
18762         * benchtests/atanh-inputs: New inputs.
18763         * benchtests/tanh-inputs: Likewise.
18765         * benchtests/acosh-inputs: New inputs.
18766         * benchtests/asinh-inputs: Likewise.
18768         * benchtests/cosh-inputs: New inputs.
18769         * benchtests/sinh-inputs: Likewise.
18771         * benchtests/acos-inputs: Add more inputs.
18772         * benchtests/asin-inputs: Likewise.
18774 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18776         [BZ #16375]
18777         * manual/arith.texi: Fix spelling.
18778         * manual/charset.texi: Likewise.
18779         * manual/errno.texi: Likewise.
18780         * manual/filesys.texi: Likewise.
18781         * manual/lang.texi: Likewise.
18782         * manual/llio.texi: Likewise.
18783         * manual/locale.texi: Likewise.
18784         * manual/message.texi: Likewise.
18785         * manual/resource.texi: Likewise.
18786         * manual/search.texi: Likewise.
18787         * manual/setjmp.texi: Likewise.
18788         * manual/stdio.texi: Likewise.
18789         * manual/string.texi: Likewise.
18790         * manual/sysinfo.texi: Likewise.
18791         * manual/time.texi: Likewise.
18793 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18795         * po/sl.po: New file.
18797 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18799         * .gitignore: Add core/.gdbinit/.gdb_history.
18801 2013-12-27  Allan McRae  <allan@archlinux.org>
18803         [BZ #16369]
18804         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18805         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18807 2013-12-24  Brooks Moses  <bmoses@google.com>
18809         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18810         all compilers that claim C++98 compliance, not just GCC.
18811         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18812         Likewise.
18814 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18816         * NEWS: Restore accidentally deleted bug-fix entries.
18818 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18819             Ondřej Bílka  <neleai@seznam.cz>
18821         [BZ #15073]
18822         * malloc/malloc.c (_int_free): Perform sanity check only if we
18823         have_lock.
18825 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18827         [BZ #12986]
18828         * manual/stdio.texi (String Input Conversions): Clarify that character
18829         classes are not supported.
18831 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18835 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18837         [BZ #16337]
18838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18839         Calculate results for small negative arguments directly rather
18840         than using reflection formula with special underflow handling.
18842         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18843         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18844         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18845         (fchflags): Likewise.
18846         (revoke): Likewise.
18847         (setlogin): Likewise.
18848         (sigaltstack): Likewise.
18849         (wait4): Likewise.
18850         (sigblock): Remove.
18851         (sigsetmask): Likewise.
18852         (wait3): Likewise.
18853         (waitpid): Likewise.
18854         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18855         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18856         file.
18857         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18858         * sysdeps/unix/bsd/Makefile: ... here.
18859         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18860         * sysdeps/unix/bsd/Versions: ... here.
18861         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18862         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18863         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18864         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18865         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18866         * sysdeps/unix/bsd/sigblock.c: ... here.
18867         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18868         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18869         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18870         * sysdeps/unix/bsd/sigvec.c: ... here.
18871         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18872         * sysdeps/unix/bsd/tcdrain.c: ... here.
18873         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18874         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18875         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18876         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18877         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18878         * sysdeps/unix/bsd/wait.c: ... here.
18879         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18880         * sysdeps/unix/bsd/wait3.c: ... here.
18881         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18882         * sysdeps/unix/bsd/waitpid.c: ... here.
18884 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18886         [BZ #16356]
18887         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18888         round-to-nearest for [!USE_AS_EXPM1L].
18889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18890         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18891         more tests of exp and exp10.  Expect some exp10 tests to miss
18892         exceptions or fail in directed rounding modes.
18893         * math/auto-libm-test-out: Regenerated.
18894         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18895         (exp10_test_tonearest): New function.
18896         (exp10_towardzero_test_data): New array.
18897         (exp10_test_towardzero): New function.
18898         (exp10_downward_test_data): New array.
18899         (exp10_test_downward): New function.
18900         (exp10_upward_test_data): New array.
18901         (exp10_test_upward): New function.
18902         (main): Call the new functions.
18903         * sysdeps/i386/fpu/libm-test-ulps: Update.
18904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18906 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18908         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18909         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18910         * math/auto-libm-test-out: Regenerated.
18911         * math/libm-test.inc (acosh_test_data): Add more tests.
18912         (atanh_test_data): Likewise.
18913         (ceil_test_data): Likewise.
18914         (copysign_test_data): Likewise.
18915         * sysdeps/i386/fpu/libm-test-ulps: Update.
18916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18918         * timezone/checktab.awk: Update from tzcode 2013i.
18919         * timezone/private.h: Likewise.
18920         * timezone/scheck.c: Likewise.
18921         * timezone/tzfile.h: Likewise.
18922         * timezone/tzselect.ksh: Likewise.
18923         * timezone/zdump.c: Likewise.
18924         * timezone/zic.c: Likewise.
18926         * math/auto-libm-test-in: Add tests of cpow.
18927         * math/auto-libm-test-out: Regenerated.
18928         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18929         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18930         mpc_cc_c.
18931         (func_calc_desc): Add mpc_cc_c union field.
18932         (test_functions): Add cpow.
18933         (special_fill_2pi): New function.
18934         (special_real_inputs): Add 2pi.
18935         (calc_generic_results): Handle mpc_cc_c.
18936         * sysdeps/i386/fpu/libm-test-ulps: Update.
18937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18939         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18940         csqrt, ctan and ctanh.
18941         * math/auto-libm-test-out: Regenerated.
18942         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18943         (TEST_COND_x86): Likewise.
18944         (ccos_test_data): Use AUTO_TESTS_c_c.
18945         (ccosh_test_data): Likewise.
18946         (cexp_test_data): Likewise.
18947         (clog_test_data): Likewise.
18948         (csqrt_test_data): Likewise.
18949         (ctan_test_data): Likewise.
18950         (ctan_tonearest_test_data): Likewise.
18951         (ctan_towardzero_test_data): Likewise.
18952         (ctan_downward_test_data): Likewise.
18953         (ctan_upward_test_data): Likewise.
18954         (ctanh_test_data): Likewise.
18955         (ctanh_tonearest_test_data): Likewise.
18956         (ctanh_towardzero_test_data): Likewise.
18957         (ctanh_downward_test_data): Likewise.
18958         (ctanh_upward_test_data): Likewise.
18959         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18960         mpc_c_c.
18961         (func_calc_desc): Add mpc_c_c union field.
18962         (FUNC_mpc_c_c): New macro.
18963         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18964         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18965         ctanh.
18966         (special_fill_min_subnorm_p120): New function.
18967         (special_real_inputs): Add min_subnorm_p120.
18968         (calc_generic_results): Handle mpc_c_c.
18969         * sysdeps/i386/fpu/libm-test-ulps: Update.
18970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18972 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18975         (do_sin_slow): New functions.
18976         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18977         (cslow2, csloww1, csloww2): Use the new functions.
18979         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18980         Use M to change sign of result instead of X.  Assume X is
18981         positive.
18982         (csloww1): Likewise.
18983         (__sin): Adjust.
18984         (__cos): Adjust.
18986         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18987         arguments A and DA.
18988         (__sin): Adjust.
18989         (__cos): Likewise.
18991         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18992         (__cos): Likewise.
18993         (sloww1): Don't adjust sign of DX.
18994         (csloww1): Likewise.
18995         (sloww2): Use X directly and don't adjust sign of DX.
18996         (csloww2): Likewise.
18998 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19000         * math/auto-libm-test-in: Add tests of cabs and carg.
19001         * math/auto-libm-test-out: Regenerated.
19002         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19003         (carg_test_data): Likewise.
19004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19005         mpc_c_f.
19006         (func_calc_desc): Add mpc_c_f union field.
19007         (test_functions): Add cabs and carg.
19008         (calc_generic_results): Handle mpc_c_f.
19010         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19011         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19012         as a macro and a compat symbol.
19013         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19014         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19015         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19016         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19017         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19018         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19019         not use .hidden.
19020         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19021         Likewise.
19022         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19023         Likewise.
19024         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19025         Likewise.
19026         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19027         Likewise.
19028         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19029         Likewise.
19030         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19031         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19032         from GLIBC_2.3.2.
19034 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19038 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19040         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19041         trailing whitespace removed.
19042         * scripts/config.guess: Update to version 2013-11-29.
19043         * scripts/config.sub: Update to version 2013-10-01.
19045         * math/auto-libm-test-in: Add tests of sincos.
19046         * math/auto-libm-test-out: Regenerated.
19047         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19048         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19049         mpfr_f_11.
19050         (func_calc_desc): Add mpfr_f_11 union field.
19051         (test_functions): Add sincos.
19052         (calc_generic_results): Handle mpfr_f_11.
19053         * sysdeps/i386/fpu/libm-test-ulps: Update.
19054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19056 2013-12-19  Andreas Schwab  <schwab@suse.de>
19058         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19059         CALL_MCOUNT.
19060         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19062         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19064 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19066         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19067         * sysdeps/i386/fpu/libm-test-ulps: Update.
19068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19070         [BZ #16293]
19071         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19072         round-to-nearest mode when using frndint.
19073         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19074         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19075         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19076         Likewise.
19077         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19078         sinh test to fail.
19079         * math/auto-libm-test-out: Regenerated.
19080         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19081         (TEST_COND_x86): Likewise.
19082         (expm1_tonearest_test_data): New array.
19083         (expm1_test_tonearest): New function.
19084         (expm1_towardzero_test_data): New array.
19085         (expm1_test_towardzero): New function.
19086         (expm1_downward_test_data): New array.
19087         (expm1_test_downward): New function.
19088         (expm1_upward_test_data): New array.
19089         (expm1_test_upward): New function.
19090         (main): Run the new test functions.
19091         * sysdeps/i386/fpu/libm-test-ulps: Update.
19092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19094         * include/features.h: Update comment documenting feature test
19095         macros.  Mention _DEFAULT_SOURCE in comment.
19096         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19097         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19098         _BSD_SOURCE and _SVID_SOURCE.
19099         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19100         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19101         !_SVID_SOURCE]: Likewise.
19102         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19103         (__USE_POSIX_IMPLICITLY): Define.
19104         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19105         (_POSIX_SOURCE): Undefine and redefine.
19106         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19107         (_POSIX_C_SOURCE): Likewise.
19108         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19109         (Feature Test Macros): Update documentation of default features.
19111 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19113         * benchtests/Makefile: Add bench-strtok.
19114         * benchtests/bench-strtok.c: New file: strtok benchtest.
19116 2013-12-19  Allan McRae  <allan@archlinux.org>
19118         * manual/install.texi: Suppress menu for plain text output.
19119         * INSTALL: Regenerated.
19121 2013-12-18  Brooks Moses  <bmoses@google.com>
19123         [BZ #15846]
19124         * misc/getauxval.c: Include errno.h.
19125         (__getauxval): Set errno to ENOENT if the requested type is not
19126         found.
19127         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19128         don't declare with __attribute_const__.
19129         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19130         * manual/startup.texi: Document that getauxval sets errno.
19132 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19134         * math/auto-libm-test-in: Add tests of jn and yn.
19135         * math/auto-libm-test-out: Regenerated.
19136         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19137         (yn_test_data): Likewise.
19138         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19139         mpfr_if_f.
19140         (func_calc_desc): Add mpfr_if_f union field.
19141         (FUNC_mpfr_if_f): New macro.
19142         (test_functions): Add jn and yn.
19143         (calc_generic_results): Assert type of second input for
19144         mpfr_ff_f.  Handle mpfr_if_f.
19145         (output_for_one_input_case): Disable all checking for arguments
19146         fitting floating-point types in case of an integer argument.
19147         * sysdeps/i386/fpu/libm-test-ulps: Update.
19148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19151         Don't expect fegetround reference in libm.so.
19153 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19155         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19156         $(config-cflags-nofma).
19158 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19160         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19161         * math/auto-libm-test-out: Regenerated.
19163         [BZ #16338]
19164         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19165         to determine exponent and adjust argument to have exponent of -1.
19166         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19167         log2.
19168         * math/auto-libm-test-out: Regenerated.
19169         * sysdeps/i386/fpu/libm-test-ulps: Update.
19170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19172 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19174         * manual/probes.texi: Remove cases when per-thread arenas are
19175         disabled.
19177 2013-12-18  Andreas Schwab  <schwab@suse.de>
19179         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19180         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19181         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19182         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19183         * sysdeps/i386/i686/multiarch/Makefile: Update.
19184         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19186 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19188         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19189         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19191 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19193         [BZ #15968]
19194         Support TZ transition times < 00:00:00.
19195         This is needed for version-3 tz-format files; it supports time
19196         stamps past 2037 for America/Godthab (the only entry in the tz
19197         database for which this change is relevant).
19198         * manual/time.texi (TZ Variable): Document transition times
19199         from -167:59:59 through -00:00:01.
19200         * time/tzset.c (tz_rule): Time of day is now signed.
19201         (__tzset_parse_tz): Parse negative time of day.
19203         Document TZ transition times >= 25:00:00.
19204         * manual/time.texi (TZ Variable): Document transition times from
19205         25:00:00 through 167:59:59.  These are already supported, and this
19206         support will help with version-3 tz-format files.
19208         * manual/time.texi (TZ Variable): Modernize North America example
19209         to reflect current (i.e., 2007-and-later) daylight saving rules.
19211         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19213 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19215         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19216         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19219         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19220         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19221         * sysdeps/unix/bsd/clock.c: Likewise.
19222         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19223         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19224         * sysdeps/unix/bsd/init-posix.c: Likewise.
19225         * sysdeps/unix/bsd/poll.c: Likewise.
19226         * sysdeps/unix/bsd/ptsname.c: Likewise.
19227         * sysdeps/unix/bsd/seekdir.c: Likewise.
19228         * sysdeps/unix/bsd/setegid.c: Likewise.
19229         * sysdeps/unix/bsd/seteuid.c: Likewise.
19230         * sysdeps/unix/bsd/setgid.c: Likewise.
19231         * sysdeps/unix/bsd/setrgid.c: Likewise.
19232         * sysdeps/unix/bsd/setruid.c: Likewise.
19233         * sysdeps/unix/bsd/setsid.c: Likewise.
19234         * sysdeps/unix/bsd/setuid.c: Likewise.
19235         * sysdeps/unix/bsd/sigaction.c: Likewise.
19236         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19237         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19238         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19239         * sysdeps/unix/bsd/telldir.c: Likewise.
19240         * sysdeps/unix/bsd/times.c: Likewise.
19241         * sysdeps/unix/bsd/usleep.c: Likewise.
19243         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19244         ($(objpfx)libbsd-compat.a): Remove rule.
19246         * include/features.h (__FAVOR_BSD): Do not define.
19247         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19248         features conflicting with POSIX.
19249         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19250         (_BSD_SOURCE): Remove description of not being a subset of other
19251         feature test macros.
19252         * manual/job.texi (getpgrp): Do not document BSD version.
19253         (getpgid): Do not document by reference to BSD getpgrp.
19254         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19255         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19256         * signal/signal.h [__FAVOR_BSD]: Likewise.
19257         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19258         instead of making contents conditional on [__FAVOR_BSD].
19259         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19261 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19265 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19267         [BZ #16314]
19268         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19269         values below 2**-450, not 2**-500.
19270         * math/auto-libm-test-in: Don't allow spurious underflow from
19271         hypot.
19272         * math/auto-libm-test-out: Regenerated.
19274         [BZ #16316]
19275         [BZ #16330]
19276         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19277         values of ha and hb and sort them after adjusting subnormal
19278         arguments.
19279         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19280         Likewise.
19281         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19282         values of ea and eb and sort them after adjusting subnormal
19283         arguments.
19284         * math/auto-libm-test-in: Do not expect some hypot tests of
19285         subnormals to fail.  Add more hypot tests.
19286         * math/auto-libm-test-out: Regenerated.
19288 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19290         [BZ #13304]
19291         * sysdeps/sh/s_fma.c: New file.
19292         * sysdeps/sh/s_fmaf.c: New file.
19293         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19294         version.
19295         * sysdeps/sh/Implies: Add sh/soft-fp.
19297 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19299         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19300         level of indirection to members `objname', `errstring', `malloced'.
19301         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19302         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19303         it as the __longjmp argument (just pass 1 instead).
19304         (_dl_catch_error): Initialize C with argument pointers and address of
19305         volatile local ERRCODE rather than copying values out of C at return.
19307 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19309         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19310         * math/auto-libm-test-out: Regenerated.
19311         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19312         (hypot_test_data): Likewise.
19313         (pow_test_data): Likewise.
19314         (pow_tonearest_test_data): Likewise.
19315         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19316         mpfr_ff_f.
19317         (func_calc_desc): Add mpfr_ff_f union field.
19318         (FUNC_mpfr_ff_f): New macro.
19319         (test_functions): Add atan2, hypot and pow.
19320         (special_fill_min): New function.
19321         (special_fill_minus_min): Likewise.
19322         (special_fill_min_subnorm): Likewise.
19323         (special_fill_minus_min_subnorm): Likewise.
19324         (special_real_inputs): Add min, -min, min_subnorm and
19325         -min_subnorm.
19326         (calc_generic_results): Handle mpfr_ff_f.
19327         * sysdeps/i386/fpu/libm-test-ulps: Update.
19328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19330 2013-12-16  Will Newton  <will.newton@linaro.org>
19332         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19333         (Aligned Memory Blocks): Add documentation for aligned_alloc
19334         and suggest it as an alternative to posix_memalign.
19335         (Hooks for Malloc): Document __memalign_hook is also called
19336         for aligned_alloc.  (Summary of Malloc): Add summary for
19337         aligned alloc.  Document __memalign_hook is also called
19338         for aligned_alloc.
19340 2013-12-16  Will Newton  <will.newton@linaro.org>
19342         * manual/memory.texi (Malloc Examples): Clarify default
19343         alignment documentation.  Suggest posix_memalign rather
19344         than memalign or valloc.
19345         (Aligned Memory Blocks): Remove suggestion to use memalign
19346         or valloc.  Remove obsolete comment about BSD.
19347         Document memalign errno values and mark the function obsolete.
19348         Document posix_memalign returned error codes.  Mark valloc
19349         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19350         called for posix_memalign and valloc.
19351         (Summary of Malloc): Add posix_memalign to function summary.
19352         __memalign_hook is also called for posix_memalign and valloc.
19354 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19356         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19357         TAYLOR_SIN.
19358         (__sin): Adjust.
19359         (__cos): Likewise.
19360         (sloww): Use mynumber union.  Expand ternary operator into
19361         if-else statements.
19362         (cslow): use mynumber union.
19364 2013-12-16  Allan McRae  <allan@archlinux.org>
19366         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19367         * configure: Regenerated.
19369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19371         [BZ #14120]
19372         * configure.ac: Added --enable-maintainer-mode. Check for
19373         autoconf when enabled.
19374         * configure: Regenerated.
19376         * nscd/nscd.service: New file.
19377         * nscd/nscd.tmpfiles: New file.
19379 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19381         [BZ #12100]
19382         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19383         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19384         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19385         (strstr): Add __strstr_sse2_unaligned ifunc.
19386         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19387         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19388         (strcasestr): Remove __strcasestr_sse42 ifunc.
19389         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19390         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19393 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19395         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19396         * sysdeps/sh/bits/fenv.h: ... here.
19397         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19399 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19401         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19404         hypotf multiarch implementations.
19405         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19406         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19407         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19408         multiarch hypot for PPC64.
19409         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19410         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19412         multiarch hypotf for PPC64.
19414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19415         modff multiarch implementations.
19416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19419         multiarch modf for PPC64.
19420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19423         multiarch modff for PPC64.
19425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19426         and logl multiarch implementations.
19427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19430         multiarch logb for PPC64.
19431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19434         multiarch logb for PPC64.
19435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19438         multiarch logb for PPC64.
19440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19441         isinff multiarch implementation.
19442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19443         file.
19444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19446         multiarch isinf for PPC64.
19447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19448         file.
19449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19450         multiarch isinff for PPC64.
19452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19453         finitef multiarch implementation.
19454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19455         file.
19456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19458         multiarch finite for PPC64.
19459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19460         file.
19461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19462         multiarch finitef for PPC64.
19464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19465         lrint multiarch implementation.
19466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19467         file.
19468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19470         multiarch llrint for PPC64.
19471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19472         multiarch lrint for PPC64.
19474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19475         copysignf multiarch implementation.
19476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19477         file.
19478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19479         file.
19480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19481         multiarch copysign for PPC64.
19482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19483         multiarch copysignf for PPC64.
19485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19486         multiarch implementation.
19487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19488         file.
19489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19490         file.
19491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19492         file.
19493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19494         file.
19495         multiarch llround for PPC64.
19496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19497         multiarch trunc for PPC64.
19498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19499         multiarch truncf for PPC64.
19501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19502         multiarch implementation.
19503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19504         file.
19505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19506         file.
19507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19508         file.
19509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19510         file.
19511         multiarch llround for PPC64.
19512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19513         multiarch round for PPC64.
19514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19515         multiarch roundf for PPC64.
19517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19518         multiarch implementation.
19519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19520         file.
19521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19522         file.
19523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19524         file.
19525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19526         file.
19527         multiarch llround for PPC64.
19528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19529         multiarch floor for PPC64.
19530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19531         multiarch floorf for PPC64.
19533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19534         multiarch implementation.
19535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19536         file.
19537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19538         file.
19539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19540         file.
19541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19542         file.
19543         multiarch llround for PPC64.
19544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19545         multiarch ceil for PPC64.
19546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19547         multiarch ceilf for PPC64.
19549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19550         multiarch implementation.
19551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19552         file.
19553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19554         file.
19555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19556         file.
19557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19558         multiarch llround for PPC64.
19559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19560         multiarch lround for PPC64.
19562         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19563         multiarch implementation.
19564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19567         file.
19568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19571         multiarch isnan for PPC64.
19572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19573         multiarch isnanf for PPC64.
19575         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19576         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19577         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19578         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19579         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19582         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19583         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19584         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19585         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19588         multiarch implementations.
19589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19590         (__libc_ifunc_impl_list): Likewise.
19591         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19592         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19593         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19594         multiarch stpcpy for PPC64.
19596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19597         multiarch implementations.
19598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19599         (__libc_ifunc_impl_list): Likewise.
19600         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19601         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19602         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19603         multiarch strcpy for PPC64.
19605         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19606         redefine function name.
19607         (_wordcopy_fwd_dest_aligned): Likewise.
19608         (_wordcopy_bwd_aligned): Likewise.
19609         (_wordcopy_bwd_dest_aligned): Likewise.
19610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19611         multiarch implementations.
19612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19613         (__libc_ifunc_impl_list): Likewise.
19614         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19615         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19616         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19617         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19618         multiarch wcscpy for PPC64.
19620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19621         multiarch implementations.
19622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19623         (__libc_ifunc_impl_list): Likewise.
19624         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19625         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19626         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19627         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19628         multiarch wcscpy for PPC64.
19630         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19631         multiarch implementations.
19632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19633         (__libc_ifunc_impl_list): Likewise.
19634         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19635         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19636         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19637         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19638         multiarch wcsrchr for PPC64.
19640         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19641         multiarch implementations.
19642         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19643         (__libc_ifunc_impl_list): Likewise.
19644         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19645         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19646         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19647         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19648         multiarch wcschr for PPC64.
19650         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19651         multiarch implementations.
19652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19653         (__libc_ifunc_impl_list): Likewise.
19654         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19655         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19656         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19657         multiarch strchrnul for PPC64.
19659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19660         implementations.
19661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19662         (__libc_ifunc_impl_list): Likewise.
19663         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19664         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19665         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19666         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19667         strchr for PPC64.
19669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19670         implementations.
19671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19672         (__libc_ifunc_impl_list): Likewise.
19673         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19674         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19675         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19676         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19677         strncmp for PPC64.
19679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19680         multiarch implementations.
19681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19682         (__libc_ifunc_impl_list): Likewise.
19683         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19684         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19685         strncasecmp for PPC64.
19686         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19687         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19688         multiarch strncasecmp_l for PPC64.
19690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19691         multiarch implementations.
19692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19693         (__libc_ifunc_impl_list): Likewise.
19694         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19695         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19696         multiarch strcasecmp for PPC64.
19697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19698         file.
19699         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19700         multiarch strcasecmp_l for PPC64.
19702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19703         implementations.
19704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19705         (__libc_ifunc_impl_list): Likewise.
19706         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19707         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19708         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19709         strnlen for PPC64.
19711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19712         implementations.
19713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19714         (__libc_ifunc_impl_list): Likewise.
19715         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19716         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19717         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19718         strlen for PPC64.
19720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19721         implementations.
19722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19723         (__libc_ifunc_impl_list): Likewise.
19724         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19725         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19726         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19727         rawmemrchr for PPC64.
19729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19730         implementation.
19731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19732         (__libc_ifunc_impl_list): Likewise.
19733         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19734         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19735         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19736         memrchr for PPC64.
19738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19739         implementation.
19740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19741         (__libc_ifunc_impl_list): Likewise.
19742         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19743         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19744         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19745         memchr for PPC64.
19747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19748         implementation.
19749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19750         (__libc_ifunc_impl_list): Likewise.
19751         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19752         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19753         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19754         mempcpy for PPC64.
19756         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19757         avoid cretion of __bzero symbol.
19758         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19759         Likewise.
19760         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19761         Likewise.
19762         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19763         Likewise.
19764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19765         multiarch implementations.
19766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19767         (__libc_ifunc_impl_list): Likewise.
19768         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19769         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19770         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19771         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19772         bzero for PPC32.
19773         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19774         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19775         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19776         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19777         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19778         memset for PPC64.
19779         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19781         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19783         implementations.
19784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19785         (__libc_ifunc_impl_list): Likewise.
19786         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19787         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19788         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19789         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19790         memcmp for PPC64.
19792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19793         multiarch for POWER/PPC64.
19794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19795         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19796         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19797         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19798         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19800         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19801         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19802         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19803         memcpy for PPC64.
19805         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19806         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19807         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19808         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19809         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19810         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19811         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19812         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19813         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19814         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19815         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19816         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19817         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19818         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19819         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19828 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19830         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19832 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19834         * benchtests/Makefile (bench): Add exp2 and log2.
19835         (LDLIBS-bench-exp2): Add -lm.
19836         (LDLIBS-bench-log2): Likewise.
19837         * benchtests/exp2-inputs: New inputs file.
19838         * benchtests/log2-inputs: New inputs file.
19839         * benchtests/log-inputs: Add new inputs.
19840         * benchtests/tan-inputs: Likewise.
19842 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19844         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19845         definition...
19846         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19847         (csloww2): ... from here.
19849         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19850         instead of structures.
19851         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19852         (POLYNOMIAL): Likewise.
19853         (TAYLOR_SLOW): Likewise.
19854         (__sin): Likewise.
19855         (__cos): Likewise.
19856         (slow1): Likewise.
19857         (slow2): Likewise.
19858         (sloww): Likewise.
19859         (sloww1); Likewise.
19860         (sloww2): Likewise.
19861         (bsloww1): Likewise.
19862         (bsloww2): Likewise.
19863         (cslow2): Likewise.
19864         (csloww): Likewise.
19865         (csloww1): Likewise.
19866         (csloww2): Likewise.
19868 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19870         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19871         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19872         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19873         * malloc/hooks.c (realloc_check): Likewise.
19875         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19876         * malloc/arena.c: Remove PER_THREAD conditional.
19877         [!PER_THREAD]: Remove code.
19878         (ptmalloc_unlock_all2): Likewise.
19879         (ptmalloc_init): Likewise.
19880         (_int_new_arena): Likewise.
19881         (arena_get2): Likewise.
19882         * malloc/hooks.c (__malloc_get_state): Likewise.
19883         (__malloc_set_state): Likewise.
19884         * malloc/malloc.c: Likewise.
19885         (struct malloc_state): Likewise.
19886         (struct malloc_par): Likewise.
19887         (__libc_realloc): Likewise.
19888         (__libc_mallopt): Likewise.
19890 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19892         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19894 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19896         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19897         macro to a function.  Check for zero perturb_byte.
19898         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19900         * malloc/malloc.c: (force_reg): Remove.
19901         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19902         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19903         force_reg by atomic_forced_read.
19904         * malloc/arena.c (ptmalloc_init): Likewise.
19905         * malloc/hooks.c (top_check): Likewise.
19907 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19911 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19915 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19917         * math/auto-libm-test-in: Add tests of lgamma.
19918         * math/auto-libm-test-out: Regenerated.
19919         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19920         (M_LOG_2_SQRT_PIl): Likewise.
19921         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19922         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19923         mpfr_f_f1.
19924         (func_calc_desc): Add mpfr_f_f1 union field.
19925         (ARGS1): New macro.
19926         (ARGS2): Likewise.
19927         (ARGS3): Likewise.
19928         (ARGS4): Likewise.
19929         (RET1): Likewise.
19930         (RET2): Likewise.
19931         (CALC): Likewise.
19932         (FUNC): Likewise.
19933         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19934         (test_functions): Add lgamma.
19935         (calc_generic_results): Handle mpfr_f_f1.
19936         * sysdeps/i386/fpu/libm-test-ulps: Update.
19937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19939 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19941         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19942         __mpn_add_n for PowerPC64/POWER7.
19943         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19944         __mpn_sub_n for PowerPC64/POWER7.
19946         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19947         __mpn_addmul_1 for PowerPC64.
19948         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19949         __mpn_submul_1 for PowerPC64.
19950         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19951         for PowerPC64.
19952         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19953         for PowerPC64.
19955 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19957         [BZ #15089]
19958         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19960 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19962         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19964         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19965         add multiarch folders.
19966         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19967         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19968         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19969         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19970         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19971         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19972         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19973         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19974         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19975         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19976         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19985         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19987         New file.
19988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19989         New file.
19990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19991         multiarch __ieee754_hypot for PowerPC32.
19992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19993         New file.
19994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19995         New file.
19996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19997         multiarch __ieee754_hypotf for PowerPC32.
19999         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20000         long_double_symbol only if __logbl is defined.
20001         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20002         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20004         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20006         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20007         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20008         path for implementation.
20009         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20010         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20012         logb, and logbl multiarch implementations for PowerPC32.
20013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20014         file.
20015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20016         file.
20017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20018         multiarch logb for PowerPC32.
20019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20020         file.
20021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20022         file.
20023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20024         multiarch logbf for PowerPC32.
20025         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20027         file.
20028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20029         multiarch logbl implementation for PowerPC32.
20031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20032         and modff multiarch implementations.
20033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20034         New file.
20035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20036         New file.
20037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20038         multiarch modf for PowerPC32.
20039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20040         New file.
20041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20042         New file.
20043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20044         multiarch modff for PowerPC32.
20046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20047         and lrintf multiarch implementations.
20048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20049         New file.
20050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20051         New file.
20052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20053         multiarch lrint for PowerPC32.
20054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20055         file: multiarch lrintf for PowerPC32.
20057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20058         and lroundf multiarch implementations.
20059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20060         New file.
20061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20062         New file.
20063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20064         New file.
20065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20066         multiarch lround for PowerPC32.
20067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20068         file: multiarch lroundf for PowerPC32.
20070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20071         copysign and copysignf multiarch implementations.
20072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20073         New file.
20074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20075         New file.
20076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20077         file: multiarch copysign for PowerPC32.
20078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20079         file: multiarch copysignf for PowerPC32.
20081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20082         and truncf multiarch implementations.
20083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20084         New file.
20085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20086         file.
20087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20088         multiarch trunc for PowerPC32.
20089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20090         New file.
20091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20092         New file.
20093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20094         multiarch truncf for PowerPC32.
20096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20097         and roundf multiarch implementations.
20098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20099         New file.
20100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20101         file.
20102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20103         multiarch round for PowerPC32.
20104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20105         New file.
20106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20107         New file.
20108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20109         multiarch roundf for PowerPC32.
20111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20112         and floorf multiarch implementations.
20113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20114         New file.
20115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20116         file.
20117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20118         multiarch floor for PowerPC32.
20119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20120         New file.
20121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20122         New file.
20123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20124         multiarch floorf for PowerPC32.
20126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20127         and ceilf multiarch implementations.
20128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20129         New file.
20130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20131         file.
20132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20133         multiarch ceil for PowerPC32.
20134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20135         New file.
20136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20137         file.
20138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20139         multiarch ceilf for PowerPC32.
20141         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20142         is defined.
20143         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20144         FINITEF is defined.
20145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20146         and finitef multiarch implementations.
20147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20148         New file.
20149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20150         file.
20151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20152         multiarch finite for PowerPC32.
20153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20154         New file.
20155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20156         file: multiarch finitef for PowerPC32.
20158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20159         and isinff multiarch implementations.
20160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20161         file.
20162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20163         file.
20164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20165         multiarch isinf for PowerPC32.
20166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20167         New file.
20168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20169         multiarch isinff for PowerPC32.
20171         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20172         alias when __isnan is defined.
20173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20174         and isnanf multiarch implementations.
20175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20176         file.
20177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20178         file.
20179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20180         file.
20181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20182         file.
20183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20184         multiarch isnan for PowerPC32.
20185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20186         New file.
20187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20188         New file.
20189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20190         multiarch isnanf for PowerPC32.
20192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20193         and sqrtf multiarch implementations.
20194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20195         file.
20196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20197         file.
20198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20199         multiarch sqrt for PowerPC32.
20200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20201         file.
20202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20203         file.
20204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20205         multiarch sqrtf for PowerPC32.
20207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20208         and llroundf multiarch implementations.
20209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20210         New file.
20211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20212         New file.
20213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20214         New file.
20215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20216         file: multiarch llround for PowerPC32.
20217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20218         file: multiarch llroundf for PowerPC32.
20220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20221         multiarch PowerPC32 fpu implementations.
20222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20223         New file.
20224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20225         New file.
20226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20227         multiarch llrint for PowerPC32.
20228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20229         New file.
20230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20231         New file.
20232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20233         file.
20235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20237         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20238         file.
20239         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20240         file.
20241         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20242         file.
20243         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20244         multiarch wordcopy for PPC32.
20245         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20246         wordcopy objects.
20247         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20248         (__libc_ifunc_impl_list): Likewise.
20249         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20250         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20251         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20252         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20253         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20254         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20256         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20258         file.
20259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20260         file.
20261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20262         file.
20263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20264         multiarch wcscpy for PPC32.
20265         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20266         multiarch objects.
20267         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20268         (__libc_ifunc_impl_list): Likewise.
20269         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20270         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20271         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20272         sysdeps/powerpc/power6/wcscpy.c.
20274         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20276         file.
20277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20278         file.
20279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20280         file.
20281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20282         multiarch wcsrchr for PPC32.
20283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20284         multiarch objects.
20285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20286         (__libc_ifunc_impl_list): Likewise.
20287         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20288         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20289         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20290         sysdeps/powerpc/power6/wcsrchr.c.
20292         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20293         file.
20294         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20295         file.
20296         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20298         multiarch wcschr for PPc32.
20299         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20300         multiarch objects.
20301         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20302         (__libc_ifunc_impl_list): Likewise.
20303         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20304         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20305         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20306         sysdeps/powerpc/power6/wcschr.c.
20308         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20309         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20310         file.
20311         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20312         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20313         file: multiarch strchr for PPC32.
20314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20315         multiarch objects.
20316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20317         (__libc_ifunc_impl_list): Likewise.
20319         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20320         name.
20321         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20322         file.
20323         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20324         file.
20325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20326         multiarch strchrnul for PPC32.
20327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20328         multiarch objects.
20329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20330         (__libc_ifunc_impl_list): Likewise.
20332         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20333         file.
20334         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20335         multiarch strncasecmp for PPC32.
20336         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20337         file.
20338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20339         multiarch strncasecmp_l for PPC32.
20340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20341         strncasecmp multiarch objects.
20342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20343         (__libc_ifunc_impl_list): Likewise.
20345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20346         file.
20347         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20348         multiarch strncasecmp for PPC32.
20349         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20350         New file.
20351         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20352         multiarch strcasecmp_l for PPC32.
20353         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20354         multiarch objects.
20355         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20356         (__libc_ifunc_impl_list): Likewise.
20358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20359         file.
20360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20361         file.
20362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20363         multiarch strncmp for PPC32.
20364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20365         multiarch objects.
20366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20367         (__libc_ifunc_impl_list): Likewise.
20369         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20370         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20371         file.
20372         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20373         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20375         multiarch objects.
20376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20377         (__libc_ifunc_impl_list): Likewise.
20379         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20380         file.
20381         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20382         file.
20383         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20385         multiarch objects.
20386         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20387         (__libc_ifunc_impl_list): Likewise.
20389         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20390         file.
20391         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20392         file.
20393         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20394         multiarch rawmemchr for PPC32.
20395         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20396         multiarch objects.
20397         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20398         (__libc_ifunc_impl_list): Likewise.
20400         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20401         file.
20402         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20403         file.
20404         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20405         file: memrchr multiarch for PPC32.
20406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20407         multiarch objects.
20408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20409         (__libc_ifunc_impl_list): Likewise.
20411         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20412         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20413         file.
20414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20415         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20416         multiarch memchr for PPC32.
20417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20418         multiarch objects.
20419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20420         (__libc_ifunc_impl_list): Likewise.
20422         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20424         file.
20425         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20426         file.
20427         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20428         file: multiarch mempcpy for PPC32.
20429         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20430         multiarch objects.
20431         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20432         (__libc_ifunc_impl_list): Likewise.
20434         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20435         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20436         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20438         multiarch bzero for PPC32.
20439         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20440         file.
20441         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20442         file.
20443         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20444         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20445         file: multiarch memset for PPC32.
20446         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20447         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20448         memset multiarch objects.
20449         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20450         (__libc_ifunc_impl_list): Likewise.
20452         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20453         file.
20454         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20455         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20456         memcmp for PPC32.
20457         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20458         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20459         multiarch objects.
20460         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20461         (__libc_ifunc_impl_list): Likewise.
20463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20464         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20465         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20466         file.
20467         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20468         file.
20469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20470         file.
20471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20472         multiarch memcpy for PPC32.
20473         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20474         multiarch objects.
20475         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20476         (__libc_ifunc_impl_list): Likewise.
20478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20479         support multiarch for POWER/PPC32.
20480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20481         Likewise.
20482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20484         Implies file to make multiarch folder appers before the fpu and
20485         default folder for power4 configuration.
20487 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20489         * scripts/bench.pl: Append volatile keyword to type.
20491 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20493         * sysdeps/sh/sotruss-lib.c: New file.
20494         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20496 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20500 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20502         [BZ #6810]
20503         * math/w_tgamma.c: Include <errno.h>.
20504         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20505         * math/w_tgammaf.c: Include <errno.h>.
20506         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20507         * math/w_tgammal.c: Include <errno.h>.
20508         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20509         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20510         underflow.  Add more tgamma tests.
20511         * math/auto-libm-test-out: Regenerated.
20512         * sysdeps/i386/fpu/libm-test-ulps: Update.
20513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20515         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20516         sin, sinh, tan, tanh, tgamma, y0 and y1.
20517         * math/auto-libm-test-out: Regenerated.
20518         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20519         (TEST_COND_x86): Likewise.
20520         (M_E2l): Remove macro.
20521         (M_E3l): Likewise.
20522         (M_2_SQRT_PIl): Likewise.
20523         (M_SQRT_PIl): Likewise.
20524         (M_1_DIV_El): Likewise.
20525         (log_test_data): Use AUTO_TESTS_f_f.
20526         (log10_test_data): Likewise.
20527         (log1p_test_data): Likewise.
20528         (log2_test_data): Likewise.
20529         (sin_test_data): Likewise.
20530         (sin_tonearest_test_data): Likewise.
20531         (sin_towardzero_test_data): Likewise.
20532         (sin_downward_test_data): Likewise.
20533         (sin_upward_test_data): Likewise.
20534         (sinh_test_data): Likewise.
20535         (sinh_tonearest_test_data): Likewise.
20536         (sinh_towardzero_test_data): Likewise.
20537         (sinh_downward_test_data): Likewise.
20538         (sinh_upward_test_data): Likewise.
20539         (tan_test_data): Likewise.
20540         (tan_tonearest_test_data): Likewise.
20541         (tan_towardzero_test_data): Likewise.
20542         (tan_downward_test_data): Likewise.
20543         (tan_upward_test_data): Likewise.
20544         (tanh_test_data): Likewise.
20545         (tgamma_test_data): Likewise.
20546         (y0_test_data): Likewise.
20547         (y1_test_data): Likewise.
20548         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20549         (special_real_inputs): Add pi/4.
20550         * sysdeps/i386/fpu/libm-test-ulps: Update.
20551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20553 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20555         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20556         "longjmp_target" static probes.
20557         (__longjmp): Rename to __longjmp_symbol.
20558         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20559         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20560         on which longjmp to generate.
20561         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20562         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20563         probe.
20564         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20565         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20566         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20567         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20568         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20569         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20571         __longjmp_symbol based on which __longjmp to generate.
20572         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20573         probe.
20574         (setjmp): Rename to setjmp_symbol.
20575         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20576         (_setjmp): Rename to _setjmp_symbol.
20577         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20578         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20579         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20580         which setjmp to generate.
20581         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20582         "longjmp_target" static probes.
20584 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20586         * benchtests/README: Add note about output arguments.
20587         * benchtests/bench-sincos.c: Remove file.
20588         * benchtests/sincos-inputs: New file.
20589         * scripts/bench.pl: Identify output arguments and define
20590         static variables for them.
20592         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20594         [BZ #15941]
20595         * Makefile (INSTALL): Add install-plain.texi as the primary
20596         dependency.
20597         * manual/install-plain.texi: New file.
20598         * manual/install.texi: Include node directive only for
20599         non-plaintext output.
20601 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20603         * stdlib/longlong.h: Update from GCC.
20605         [BZ #6807]
20606         [BZ #15901]
20607         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20608         * math/w_j0f.c (y0f): Likewise.
20609         * math/w_j0l.c (__y0l): Likewise.
20610         * math/w_j1.c (y1): Likewise.
20611         * math/w_j1f.c (y1f): Likewise.
20612         * math/w_j1l.c (__y1l): Likewise
20613         * math/w_jn.c (yn): Likewise.
20614         * math/w_jnf.c (ynf): Likewise.
20615         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20616         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20617         value for Bessel function domain errors outside _SVID_ mode.
20618         Adjust sign of return value for yn (negative integer, 0).
20619         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20620         by zero in return for negative x and set sign appropriately for
20621         negative n.
20622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20623         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20624         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20625         expectations in error cases.
20626         (y1_test_data): Likewise.
20627         (yn_test_data): Likewise.
20628         * sysdeps/i386/fpu/libm-test-ulps: Update.
20629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20631 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20633         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20634         "64" to "64-v1".  Add "64-v2".
20635         (abi-64-options): Rename to ...
20636         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20637         (abi-64-condition): Rename to ...
20638         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20639         (abi-64-ld-soname): Rename to ...
20640         (abi-64-v1-ld-soname): ... this.
20641         (abi-64-v2-options): Define.
20642         (abi-64-v2-condition): Likewise.
20643         (abi-64-v2-ld-soname): Likewise.
20644         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20645         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20650 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20651             Alan Modra  <amodra@gmail.com>
20653         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20654         New versions for use with the ELFv2 ABI.
20655         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20656         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20657         declaration.
20658         (struct La_ppc64v2_retval): Likewise.
20659         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20660         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20661         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20662         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20663         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20664         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20665         Do not save or restore CR.
20666         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20667         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20668         return values for ELFv2 ABI.  Fix location of FPR return registers.
20669         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20670         updated values for _CALL_ELF == 2.
20671         (La_regs, La_retval, int_retval): Likewise.
20673 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20675         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20676         (FRAME_MIN_SIZE_PARM): Likewise.
20677         (FRAME_BACKCHAIN): Likewise.
20678         (FRAME_CR_SAVE): Likewise.
20679         (FRAME_LR_SAVE): Likewise.
20680         (FRAME_TOC_SAVE): Likewise.
20681         (FRAME_PARM_SAVE): Likewise.
20682         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20683         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20684         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20685         (call_mcount_parm_offset): New macro.
20686         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20687         (PROF): Use symbolic stack frame offsets.
20688         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20689         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20690         Redefine in terms of FRAME_MIN_SIZE.
20691         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20692         (_dl_profile_resolve): Likewise.  Update comment.
20693         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20694         symbols stack frame offsets.
20695         (__sigsetjmp): Likewise.
20696         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20697         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20698         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20699         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20702         (FRAME_BACKCHAIN): Remove.
20703         (FRAME_CR_SAVE): Likewise.
20704         (FRAME_LR_SAVE): Likewise.
20705         (FRAME_COMPILER_DW): Likewise.
20706         (FRAME_LINKER_DW): Likewise.
20707         (FRAME_TOC_SAVE): Likewise.
20708         (FRAME_PARM_SAVE): Likewise.
20709         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20710         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20711         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20713         (CHECK_SP): Use symbolic stack frame offsets.
20714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20715         zone" instead of caller's parameter save area for temp storage.
20716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20717         Likewise.  Also, use symbolic stack frame offsets.
20718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20719         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20720         our own stack frame instead of the caller's.
20721         (__socket): Use symbolic stack frame offsets.
20723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20724             Alan Modra  <amodra@gmail.com>
20726         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20727         Define.
20728         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20729         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20730         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20731         New function.
20732         (elf_machine_fixup_plt): Call it.
20733         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20734         reloc arguments.
20735         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20736         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20737         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20738         r2 before calling target.
20740 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20741             Alan Modra  <amodra@gmail.com>
20743         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20744         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20745         versions of macros to support ELFv2 ABI.
20746         (LOCALENTRY): New macro.
20747         (ENTRY, EALIGN): Use it.
20748         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20749         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20750         fall through into ENTRY entry point.
20751         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20752         Only define if _CALL_ELF != 2.
20754         (elf_machine_matches_host): Verify ABI version matches.
20755         (RTLD_START): Use LOCALENTRY.
20756         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20757         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20758         (PLT_ENTRY_WORDS): New macro.
20759         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20760         (elf_machine_runtime_setup): Support ELFv2 ABI.
20761         (elf_machine_fixup_plt): Likewise.
20762         (elf_machine_plt_conflict): Likewise.
20763         (resolve_ifunc): Likewise.
20764         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20765         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20766         Likewise.
20767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20768         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20770         (makecontext): Support ELFv2 ABI.
20771         * elf/elf.h (EF_PPC64_ABI): Define.
20773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20775         * sysdeps/powerpc/powerpc64/sysdep.h
20776         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20777         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20778         (ENTRY) [ASSEMBLER]: ... but instead here ...
20779         (EALIGN) [ASSEMBLER]: ... and here.
20780         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20781         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20782         (ENTRY_2) [!ASSEMBLER]: Use it.
20783         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20784         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20786         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20787         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20789         Use PPC64_LOAD_FUNCPTR.
20791         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20793 2013-12-04  Alan Modra  <amodra@gmail.com>
20795         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20796         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20797         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20798         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20801         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20802         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20803         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20804         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20805         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20807 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20810         (__makecontext): Fix incorrect CFI when backtracing out of
20811         context created via makecontext.
20812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20813         (__setcontext): Fix incorrect CFI during switch to new context.
20814         (__novec_setcontext): Likewise.
20816 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20818         [BZ #4772]
20819         * time/strptime_l.c (__strptime_internal): Allow modifiers
20820         in strptime.
20821         * time/tst-strptime.c (day_tests): Add testcase.
20823 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20825         * scripts/bench.pl: Skip over blank lines.
20827 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20829         [BZ #926]
20830         * manual/time.texi (Calendar Time): Clarify what timezone functions
20831         use.
20833 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20835         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20837 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20839         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20840         implementation.
20841         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20842         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20843         * debug/memset_chk.c (__memset_chk): Likewise.
20844         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20845         * debug/strncpy_chk.c: Likewise.
20847 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20849         [BZ #15268]
20850         [BZ #15425]
20851         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20852         (__ieee754_exp): For possibly underflowing results, check size of
20853         result and force underflow exception if required.
20854         * math/auto-libm-test-in: Add more tests of exp.
20855         * math/auto-libm-test-out: Regenerated.
20856         * sysdeps/i386/fpu/libm-test-ulps: Update.
20857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20859         [BZ #16283]
20860         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20861         * math/w_exp2f.c (__exp2f): Likewise.
20862         * math/w_exp2l.c (__exp2l): Likewise.
20863         * math/auto-libm-test-in: Do not allow missing errno on exp2
20864         underflow.
20865         * math/auto-libm-test-out: Regenerated.
20867 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20869         [BZ #16274]
20870         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20871         handle filename validation.
20872         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20873         (do_open): Delete.
20875 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20877         [BZ #6786]
20878         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20879         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20880         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20881         <float.h>.
20882         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20883         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20884         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20886         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20888         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20889         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20890         Add more erfc tests.
20891         * math/auto-libm-test-out: Regenerated.
20892         * sysdeps/i386/fpu/libm-test-ulps: Update.
20893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20895         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20896         exp2, expm1, j0 and j1.
20897         * math/auto-libm-test-out: Regenerated.
20898         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20899         (erfc_test_data): Likewise.
20900         (exp_test_data): Likewise.
20901         (exp_tonearest_test_data): Likewise.
20902         (exp_towardzero_test_data): Likewise.
20903         (exp_downward_test_data): Likewise.
20904         (exp_upward_test_data): Likewise.
20905         (exp10_test_data): Likewise.
20906         (exp2_test_data): Likewise.
20907         (expm1_test_data): Likewise.
20908         (j0_test_data): Likewise.
20909         (j1_test_data): Likewise.
20910         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20911         (input_flag_type): Add flag_xfail_rounding.
20912         (input_flags): Add xfail-rounding.
20913         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20914         (output_for_one_input_case): Handle flag_xfail_rounding.
20915         * sysdeps/i386/fpu/libm-test-ulps: Update.
20916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20918 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20920         [BZ #16289]
20921         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20922         division by 0.
20924 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20926         [BZ #16195]
20927         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20928         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20929         (STAP_PROBE0): New macro.
20930         (STAP_PROBE1): Likewise.
20931         (STAP_PROBE2): Likewise.
20932         (STAP_PROBE3): Likewise.
20933         (STAP_PROBE4): Likewise.
20935 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20937         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20939 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20941         * benchtests/Makefile (bench): Add sqrt.
20942         (LDLIBS-bench-sqrt): New.
20943         * benchtests/sqrt-input: New.
20945 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20947         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20948         (GAIH_EAI): Likewise.
20949         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20950         (gaih_inet): Likewise.
20951         (getaddrinfo): Don't use GAIH_EAI.
20953         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20954         (struct gaih): Remove definition.
20956 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20958         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20959         Use HERRNOP directly.
20961 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20965 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20967         * math/gen-auto-libm-tests.c (test_functions): Add more
20968         single-argument functions.
20969         (special_fill_pi_2): New function.
20970         (special_fill_minus_pi_2): Likewise.
20971         (special_fill_pi_6): Likewise.
20972         (special_fill_minus_pi_6): Likewise.
20973         (special_fill_pi_3): Likewise.
20974         (special_fill_2pi_3): Likewise.
20975         (special_fill_e): Likewise.
20976         (special_fill_1_e): Likewise.
20977         (special_fill_e_minus_1): Likewise.
20978         (special_real_inputs): Add more special inputs.
20979         (output_for_one_input_case): Do not require ERANGE on underflow to
20980         zero if round-to-nearest result does not underflow to zero, unless
20981         exact results required.
20982         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20983         atan, atanh, cbrt, cos and cosh.
20984         * math/auto-libm-test-out: Regenerated.
20985         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20986         (acos_tonearest_test_data): Likewise.
20987         (acos_towardzero_test_data): Likewise.
20988         (acos_downward_test_data): Likewise.
20989         (acos_upward_test_data): Likewise.
20990         (acosh_test_data): Likewise.
20991         (asin_test_data): Likewise.
20992         (asin_tonearest_test_data): Likewise.
20993         (asin_towardzero_test_data): Likewise.
20994         (asin_upward_test_data): Likewise.
20995         (asinh_test_data): Likewise.
20996         (atan_test_data): Likewise.
20997         (atanh_test_data): Likewise.
20998         (cbrt_test_data): Likewise.
20999         (cos_test_data): Likewise.
21000         (cos_tonearest_test_data): Likewise.
21001         (cos_towardzero_test_data): Likewise.
21002         (cos_downward_test_data): Likewise.
21003         (cos_upward_test_data): Likewise.
21004         (cosh_test_data): Likewise.
21005         (cosh_tonearest_test_data): Likewise.
21006         (cosh_towardzero_test_data): Likewise.
21007         (cosh_downward_test_data): Likewise.
21008         (cosh_upward_test_data): Likewise.
21009         * sysdeps/i386/fpu/libm-test-ulps: Update.
21010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21012 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21014         [BZ #6787]
21015         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21016         * math/w_exp10f.c (__exp10f): Likewise.
21017         * math/w_exp10l.c (__exp10l): Likewise.
21018         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21019         errno settings in existing tests.
21021         [BZ #14032]
21022         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21023         precision control set to double precision.
21024         * sysdeps/i386/fpu/w_sqrt.c: New file.
21025         * math/auto-libm-test-in: Add more tests.
21026         * math/auto-libm-test-out: Update.
21028         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21029         (sqrt_test_tonearest): New function.
21030         (sqrt_towardzero_test_data): New variable.
21031         (sqrt_test_towardzero): New function.
21032         (sqrt_downward_test_data): New variable.
21033         (sqrt_test_downward): New function.
21034         (sqrt_upward_test_data): New variable.
21035         (sqrt_test_upward): New function.
21036         (main): Call the new functions.
21038         * math/gen-auto-libm-tests.c: New file.
21039         * math/auto-libm-test-in: Likewise.
21040         * math/auto-libm-test-out: New generated file.
21041         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21042         variables.
21043         (%beautify): Add generated representations of zero.
21044         (top level): Set $auto_input and call parse_auto_input.
21045         (beautify): Remove trailing "f" from hex float constants.
21046         (parse_args): Handle XFAIL_TEST.
21047         (convert_condition): New function.
21048         (or_value): Likewise.
21049         (or_cond_value): Likewise.
21050         (generate_testfile): Handle AUTO_TESTS_* lines.
21051         (parse_auto_input): New function.
21052         * math/libm-test.inc (XFAIL_TEST): New macro.
21053         (ERRNO_UNCHANGED): Update value.
21054         (ERRNO_EDOM): Likewise.
21055         (ERRNO_ERANGE): Likewise.
21056         (IGNORE_RESULT): Likewise.
21057         (TEST_COND_flt_32): New macro.
21058         (TEST_COND_dbl_64): Likewise.
21059         (TEST_COND_ldbl_96_intel): Likewise.
21060         (TEST_COND_ldbl_96_m68k): Likewise.
21061         (TEST_COND_ldbl_128): Likewise.
21062         (TEST_COND_ldbl_128ibm): Likewise.
21063         (TEST_COND_long32): Likewise.
21064         (TEST_COND_long64): Likewise.
21065         (TEST_COND_before_rounding): Likewise.
21066         (TEST_COND_after_rounding): Likewise.
21067         (enable_test): Handle XFAIL_TEST flag.
21068         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21069         with finite results.
21070         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21071         auto-libm-test-out.
21073 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21074             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21076         [BZ #16214]
21077         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21078         __tls_get_addr_internal instead of __tls_get_offset in order to
21079         avoid GOT pointer dependency.  Make rtld export
21080         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21081         __tls_get_addr since we are a __tls_get_offset platform.
21082         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21083         GOT pointer being set up before.
21084         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21086 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21088         * manual/math.texi (Errors in Math Functions): Document accuracy
21089         goals.
21091         [BZ #15004]
21092         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21093         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21094         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21095         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21096         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21097         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21098         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21099         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21100         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21101         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21102         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21103         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21104         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21105         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21106         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21107         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21109         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21110         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21111         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21112         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21113         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21114         Likewise.
21115         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21116         Likewise.
21117         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21118         Likewise.
21119         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21120         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21121         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21122         atomic-feupdateenv and flt-rounds.
21123         * sysdeps/powerpc/nofpu/Versions (libc): Add
21124         __atomic_feholdexcept, __atomic_feclearexcept,
21125         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21126         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21127         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21129         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21130         here.
21131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21132         Update.
21134         * manual/arith.texi (FP Exceptions): Document that exceptions may
21135         not be raised when matherr is used.
21136         (Math Error Reporting): Document overflow in directed rounding
21137         modes.  Document that errno may not be set when finite values are
21138         returned on overflow.  Document intent to set errno on underflow
21139         only for underflow to zero.
21141         [BZ #16271]
21142         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21143         round-to-nearest then adjust result for other rounding modes.
21144         * include/fenv.h (fegetround): Use libm_hidden_proto.
21145         * math/fegetround.c (fegetround): Use libm_hidden_def.
21146         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21147         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21148         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21150         Likewise.
21151         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21152         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21153         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21154         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21156 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21158         [BZ #16077]
21159         * nss/Versions (libnss_files): Add
21160         _nss_files_gethostbyname3_r.
21161         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21162         New function.
21163         (HOST_DB_LOOKUP): Remove macro.
21164         (_nss_files_gethostbyname_r): Implement function without the
21165         HOST_DB_LOOKUP macro.
21166         (_nss_files_gethostbyname2_r): Likewise.
21168 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21170         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21172 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21174         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21175         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21176         warning.
21178 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21180         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21181         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21182         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21183         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21184         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21185         __fe_nomask_env_priv and attribute_hidden.
21186         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21187         (libc_feupdateenv_test_ppc): Likewise.
21188         (libc_feresetround_ppc): Likewise.
21189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21190         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21191         compat_symbol macro.
21192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21193         (__fe_nomask_env): Likewise.
21194         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21196 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21198         * string/Makefile: Remove ifunc tests.
21199         * string/test-string.h: Define TEST_IFUNC.
21200         * string/test-bcopy-ifunc.c: Remove.
21201         * string/test-bzero-ifunc.c: Likewise.
21202         * string/test-memccpy-ifunc.c: Likewise.
21203         * string/test-memchr-ifunc.c: Likewise.
21204         * string/test-memcmp-ifunc.c: Likewise.
21205         * string/test-memcpy-ifunc.c: Likewise.
21206         * string/test-memmem-ifunc.c: Likewise.
21207         * string/test-memmove-ifunc.c: Likewise.
21208         * string/test-mempcpy-ifunc.c: Likewise.
21209         * string/test-memrchr-ifunc.c: Likewise.
21210         * string/test-memset-ifunc.c: Likewise.
21211         * string/test-rawmemchr-ifunc.c: Likewise.
21212         * string/test-stpcpy-ifunc.c: Likewise.
21213         * string/test-stpncpy-ifunc.c: Likewise.
21214         * string/test-strcasecmp-ifunc.c: Likewise.
21215         * string/test-strcasestr-ifunc.c: Likewise.
21216         * string/test-strcat-ifunc.c: Likewise.
21217         * string/test-strchr-ifunc.c: Likewise.
21218         * string/test-strchrnul-ifunc.c: Likewise.
21219         * string/test-strcmp-ifunc.c: Likewise.
21220         * string/test-strcpy-ifunc.c: Likewise.
21221         * string/test-strcspn-ifunc.c: Likewise.
21222         * string/test-strlen-ifunc.c: Likewise.
21223         * string/test-strncasecmp-ifunc.c: Likewise.
21224         * string/test-strncat-ifunc.c: Likewise.
21225         * string/test-strncmp-ifunc.c: Likewise.
21226         * string/test-strncpy-ifunc.c: Likewise.
21227         * string/test-strnlen-ifunc.c: Likewise.
21228         * string/test-strpbrk-ifunc.c: Likewise.
21229         * string/test-strrchr-ifunc.c: Likewise.
21230         * string/test-strspn-ifunc.c: Likewise.
21231         * string/test-strstr-ifunc.c: Likewise.
21233 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21235         * benchtests/Makefile: Remove ifunc tests.
21236         * benchtests/bench-string.h: Define TEST_IFUNC.
21237         * benchtests/bench-bcopy-ifunc.c: Remove.
21238         * benchtests/bench-bzero-ifunc.c: Likewise.
21239         * benchtests/bench-memccpy-ifunc.c: Likewise.
21240         * benchtests/bench-memchr-ifunc.c: Likewise.
21241         * benchtests/bench-memcmp-ifunc.c: Likewise.
21242         * benchtests/bench-memcpy-ifunc.c: Likewise.
21243         * benchtests/bench-memmem-ifunc.c: Likewise.
21244         * benchtests/bench-memmove-ifunc.c: Likewise.
21245         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21246         * benchtests/bench-memrchr-ifunc.c: Likewise.
21247         * benchtests/bench-memset-ifunc.c: Likewise.
21248         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21249         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21250         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21251         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21252         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21253         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21254         * benchtests/bench-strcat-ifunc.c: Likewise.
21255         * benchtests/bench-strchr-ifunc.c: Likewise.
21256         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21257         * benchtests/bench-strcmp-ifunc.c: Likewise.
21258         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21259         * benchtests/bench-strcpy-ifunc.c: Likewise.
21260         * benchtests/bench-strcspn-ifunc.c: Likewise.
21261         * benchtests/bench-strlen-ifunc.c: Likewise.
21262         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21263         * benchtests/bench-strncat-ifunc.c: Likewise.
21264         * benchtests/bench-strncmp-ifunc.c: Likewise.
21265         * benchtests/bench-strncpy-ifunc.c: Likewise.
21266         * benchtests/bench-strnlen-ifunc.c: Likewise.
21267         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21268         * benchtests/bench-strrchr-ifunc.c: Likewise.
21269         * benchtests/bench-strsep-ifunc.c: Likewise.
21270         * benchtests/bench-strspn-ifunc.c: Likewise.
21271         * benchtests/bench-strstr-ifunc.c: Likewise.
21273 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21275         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21277 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21279         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21280         * rt/aio.h: Likewise.
21281         * sysdeps/gnu/bits/utmp.h: Likewise.
21282         * sysdeps/gnu/bits/utmpx.h: Likewise.
21283         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21284         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21285         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21286         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21287         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21288         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21289         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21290         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21291         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21292         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21293         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21294         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21295         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21297         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21298         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21299         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21300         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21301         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21302         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21303         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21304         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21305         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21306         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21307         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21309         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21310         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21311         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21312         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21313         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21314         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21315         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21316         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21317         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21318         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21319         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21320         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21321         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21322         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21323         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21324         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21326 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21328         [BZ #16245]
21329         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21330         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21332 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21334         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21335         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21336         Likewise.
21338 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21340         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21341         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21342         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21343         (__fesetround): Remove define.
21344         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21345         rounding and exceptions handling.
21346         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21347         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21348         (__fe_nomask_env): Likewise.
21349         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21350         __fegetround instead of fegetround.
21351         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21352         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21354 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21356         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21357         it's there.
21359         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21361 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21363         [BZ #11157]
21364         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21365         (encrypt_r): Likewise.
21366         * malloc/obstack.h (obstack_free): Likewise.
21367         * posix/unistd.h (encrypt): Likewise.
21369 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21371         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21372         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21373         DL_CALL_DT_FINI() that call the functions directly.
21374         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21375         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21376         * elf/dl-fini.c: Likewise.
21378 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21380         * malloc/hooks.c (memalign_check): Add alignment rounding.
21381         * malloc/malloc.c (_mid_memalign): New function.
21382         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21383         Implement by calling _mid_memalign.
21384         * manual/probes.texi (Memory Allocation Probes): Remove
21385         memory_valloc_retry and memory_pvalloc_retry.
21387 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21389         * locale/programs/locarchive.c (open_archive): Add const
21390         qualifier to ARCHIVEFNAME and copy default fname to
21391         DEFAULT_FNAME.
21393         [BZ #15601]
21394         * libio/tst-widetext.input: Rename Oriya to Odia.
21395         * locale/iso-639.def: Likewise.
21397         * manual/probes.texi (Mathematical Function Probes): Add
21398         documentation for sin, cos, asin and acos probes.
21399         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21400         (__sin32): Add slowasin probe.
21401         (__cos32): Add slowacos probe.
21402         (__mpsin): Add slowsin probe.
21403         (__mpcos): Add slowcos probe.
21405 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21407         [BZ #15483]
21408         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21409         thread-local __sim_exceptions_thread and global
21410         __sim_exceptions_global.
21411         (__sim_disabled_exceptions): Change to thread-local
21412         __sim_disabled_exceptions_thread and global
21413         __sim_disabled_exceptions_global.
21414         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21415         and global __sim_round_mode_global.
21416         (__simulate_exceptions): Use thread-local floating-point state and
21417         set global state from it as needed.
21418         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21419         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21420         __sim_round_mode_thread.
21421         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21422         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21423         and global __sim_exceptions_global.
21424         (__sim_disabled_exceptions): Change to thread-local
21425         __sim_disabled_exceptions_thread and global
21426         __sim_disabled_exceptions_global.
21427         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21428         and global __sim_round_mode_global.
21429         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21430         (SIM_SET_GLOBAL): Likewise.
21431         * sysdeps/powerpc/soft-fp/sfp-machine.h
21432         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21433         __sim_round_mode_thread.
21434         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21435         __sim_disabled_exceptions_thread.
21436         (__sim_exceptions): Change to __sim_exceptions_thread.
21437         (__sim_disabled_exceptions): Change to
21438         __sim_disabled_exceptions_thread.
21439         (__sim_round_mode): Change to __sim_round_mode_thread.
21440         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21441         thread-local floating-point state and set global state from it as
21442         needed.
21443         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21444         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21445         (__sim_disabled_exceptions): Remove extern declaration.
21446         (feenableexcept): Use thread-local floating-point state and set
21447         global state from it as needed.
21448         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21449         extern declaration.
21450         (__sim_disabled_exceptions): Likewise.
21451         (__sim_round_mode): Likewise.
21452         (__fegetenv): Use thread-local floating-point state.
21453         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21454         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21455         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21456         floating-point state and set global state from it as needed.
21457         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21458         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21459         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21460         Likewise.
21461         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21462         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21463         Likewise.
21464         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21465         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21466         Use __sim_round_mode_thread.
21467         * math/test-fenv-tls.c: New file.
21468         * math/Makefile (tests): Add test-fenv-tls.
21469         ($(objpfx)test-fenv-tls): Depend on
21470         $(common-objpfx)nptl/libpthread.so.
21472 2013-11-19  Andreas Schwab  <schwab@suse.de>
21474         * locale/programs/locale.c (show_info): Decode wordarray elements.
21475         * locale/categories.def (LC_MONETARY): Add element for
21476         _NL_MONETARY_CRNCYSTR.
21477         * locale/C-monetary.c (conversion_rate): New variable.
21478         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21479         element.
21481 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21483         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21484         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21486 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21488         * elf/Makefile (tst-auxv): New test.
21489         * elf/tst-auxv.c: New
21490         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21492 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21494         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21495         (hidden_proto): Caller changed.
21496         (hidden_tls_proto): New macro.
21497         (libc_hidden_tls_proto): Likewise.
21498         (rtld_hidden_tls_proto): Likewise.
21499         (libm_hidden_tls_proto): Likewise.
21500         (libresolv_hidden_tls_proto): Likewise.
21501         (librt_hidden_tls_proto): Likewise.
21502         (libdl_hidden_tls_proto): Likewise.
21503         (libnss_files_hidden_tls_proto): Likewise.
21504         (libnsl_hidden_tls_proto): Likewise.
21505         (libnss_nisplus_hidden_tls_proto): Likewise.
21506         (libutil_hidden_tls_proto): Likewise.
21508 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21510         [BZ #10253]
21511         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21512         (decompose_rpath): Defer expansion to fillin_rpath.
21513         (_dl_init_paths): Pass linkmap to fillin_rpath.
21515 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21517         * benchtests/Makefile: Add strsep.
21518         * benchtests/bench-strsep.c: New file: strsep benchtest.
21519         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21521 2013-11-18  Andreas Schwab  <schwab@suse.de>
21523         * locale/programs/locale.c (show_info) [case byte]: Check for
21524         '\377' instead of '\177'.
21525         * locale/C-monetary.c (not_available): Always use "\377".
21526         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21527         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21528         detect unavailable sign_posn locale elements.
21529         * locale/localeconv.c (__localeconv): For grouping and
21530         mon_grouping handle "\177" and "\377" like no grouping.
21531         (INT_ELEM): New macro.  Use it to set all numeric members.
21532         * locale/programs/ld-monetary.c (monetary_read)
21533         <tok_mon_grouping>: Normalize single -1 to the empty string.
21534         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21535         Likewise.
21537 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21539         [BZ #16055]
21540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21541         when we match (nil).
21542         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21544 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21546         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21547         (NO_TEST_INLINE): Update value.
21548         (ERRNO_UNCHANGED): Likewise.
21549         (ERRNO_EDOM): Likewise.
21550         (ERRNO_ERANGE): Likewise.
21551         (IGNORE_RESULT): Likewise.
21552         (check_float_internal): Check signs of NaN results if
21553         TEST_NAN_SIGN used.
21554         (check_complex): Pass TEST_NAN_SIGN flag through to second
21555         check_float_internal call.
21556         (copysign_test_data): Add tests with quiet NaNs as second
21557         argument.  Use TEST_NAN_SIGN.
21558         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21559         TEST_NAN_SIGN.
21560         (signbit_test_data): Add tests of quiet NaN argument.
21561         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21563         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21564         $ignore_result.
21565         (parse_args): Handle function results specified as IGNORE.
21566         * math/libm-test.inc (IGNORE_RESULT): New macro.
21567         (check_float_internal): Do not check numerical result if flag
21568         IGNORE_RESULT set.
21569         (check_complex): Pass through IGNORE_RESULT to second
21570         check_float_internal call.
21571         (check_int): Do not check numerical result if flag IGNORE_RESULT
21572         set.
21573         (check_long): Likewise.
21574         (check_bool): Likewise.
21575         (check_longlong): Likewise.
21576         (lrint_test_data): Add tests of infinite and NaN arguments.
21577         (lrint_tonearest_test_data): Likewise.
21578         (lrint_towardzero_test_data): Likewise.
21579         (lrint_downward_test_data): Likewise.
21580         (lrint_upward_test_data): Likewise.
21581         (llrint_test_data): Likewise.
21582         (llrint_tonearest_test_data): Likewise.
21583         (llrint_towardzero_test_data): Likewise.
21584         (llrint_downward_test_data): Likewise.
21585         (llrint_upward_test_data): Likewise.
21586         (lround_test_data): Likewise.
21587         (llround_test_data): Likewise.
21589         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21590         (ERRNO_UNCHANGED): Update value.
21591         (ERRNO_EDOM): Likewise.
21592         (ERRNO_ERANGE): Likewise.
21593         (NO_TEST_INLINE_FLOAT): New macro.
21594         (NO_TEST_INLINE_DOUBLE): Likewise.
21595         (enable_test): New function.
21596         (RUN_TEST_f_f): Check enable_test before running test.
21597         (RUN_TEST_2_f): Likewise.
21598         (RUN_TEST_fff_f): Likewise.
21599         (RUN_TEST_c_f): Likewise.
21600         (RUN_TEST_f_f1): Likewise.
21601         (RUN_TEST_fF_f1): Likewise.
21602         (RUN_TEST_fI_f1): Likewise.
21603         (RUN_TEST_ffI_f1): Likewise.
21604         (RUN_TEST_c_c): Likewise.
21605         (RUN_TEST_cc_c): Likewise.
21606         (RUN_TEST_f_i): Likewise.
21607         (RUN_TEST_f_i_tg): Likewise.
21608         (RUN_TEST_ff_i_tg): Likewise.
21609         (RUN_TEST_f_b): Likewise.
21610         (RUN_TEST_f_b_tg): Likewise.
21611         (RUN_TEST_f_l): Likewise.
21612         (RUN_TEST_f_L): Likewise.
21613         (RUN_TEST_fFF_11): Likewise.
21614         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21615         conditionals.
21616         (cosh_test_data): Likewise.
21617         (exp_test_data): Likewise.
21618         (expm1_test_data): Likewise.
21619         (hypot_test_data): Likewise.
21620         (pow_test_data): Likewise.
21621         (sinh_test_data): Likewise.
21622         (tanh_test_data): Likewise.
21623         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21624         flags argument.
21626         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21627         tests with quiet NaN input and output.
21628         (acosh_test_data): Likewise.
21629         (asin_test_data): Likewise.
21630         (asinh_test_data): Likewise.
21631         (atan_test_data): Likewise.
21632         (atanh_test_data): Likewise.
21633         (atan2_test_data): Likewise.
21634         (cbrt_test_data): Likewise.
21635         (cos_test_data): Likewise.
21636         (cosh_test_data): Likewise.
21637         (erf_test_data): Likewise.
21638         (erfc_test_data): Likewise.
21639         (exp_test_data): Likewise.
21640         (exp10_test_data): Likewise.
21641         (exp2_test_data): Likewise.
21642         (expm1_test_data): Likewise.
21643         (hypot_test_data): Likewise.
21644         (j0_test_data): Likewise.
21645         (j1_test_data): Likewise.
21646         (jn_test_data): Likewise.
21647         (lgamma_test_data): Likewise.
21648         (log_test_data): Likewise.
21649         (log10_test_data): Likewise.
21650         (log1p_test_data): Likewise.
21651         (log2_test_data): Likewise.
21652         (pow_test_data): Likewise.
21653         (scalb_test_data): Likewise.
21654         (sin_test_data): Likewise.
21655         (sincos_test_data): Likewise.
21656         (sinh_test_data): Likewise.
21657         (tan_test_data): Likewise.
21658         (tanh_test_data): Likewise.
21659         (tgamma_test_data): Likewise.
21660         (y0_test_data): Likewise.
21661         (y1_test_data): Likewise.
21662         (yn_test_data): Likewise.
21664         [BZ #16167]
21665         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21666         argument being NaN and avoid computations with second argument in
21667         that case.
21668         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21669         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21670         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21672 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21674         * locale/iso-639.def: Add Chitwani Tharu (the).
21676 2013-11-14  Andreas Schwab  <schwab@suse.de>
21678         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21679         word instead of empty string.
21681 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21684         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21686         (__fe_nomask_env): Likewise.
21688 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21690         * benchtests/bench-timing.h: Include time.h.
21692 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21694         [BZ #15997]
21695         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21696         to 3.4.0 for x32.
21697         * sysdeps/unix/sysv/linux/configure: Regenerated.
21699 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21701         [BZ #16151]
21702         * stdlib/strtod_l.c (round_and_return): Do not consider
21703         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21704         exponent one less than half the least subnormal exponent.
21705         * stdlib/test-strtod-round-data: Add more tests.
21706         * stdlib/tst-strtod-round.c (tests): Regenerated.
21708 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21710         [BZ #14143]
21711         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21712         (__fe_mask_env): Likewise.
21713         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21714         libm_hidden_proto and add function prototype.
21715         (__fe_mask_env): Add function prototype.
21716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21717         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21719         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21721         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21723 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21725         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21726         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21728 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21730         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21731         of htab_find_slot().
21733 2013-11-11  David S. Miller  <davem@davemloft.net>
21735         [BZ #16150]
21736         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21737         symbol in the non-vis3 case in static builds.
21738         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21739         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21740         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21741         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21743 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21745         [BZ #387]
21746         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21747         it is empty.
21749 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21751         * benchtests/Makefile: Add bench-strtod.
21752         * benchtests/bench-strtod.c: New file: strtod benchtest
21754 2013-11-11  Andreas Schwab  <schwab@suse.de>
21756         [BZ #16153]
21757         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21758         terminating NUL in key length.
21760 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21763         Add artificial ODP entry for vDSO symbol for PPC64.
21764         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21765         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21767 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21769         [BZ #15374]
21770         * nss/getent.c (services_keys): Recognize services starting with digit.
21772 2013-11-06  David S. Miller  <davem@davemloft.net>
21774         [BZ #15985]
21775         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21776         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21778 2013-11-06  Will Newton  <will.newton@linaro.org>
21780         * manual/memory.texi (Malloc Examples): Remove register
21781         keyword from examples.
21783 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21785         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21787 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21789         [BZ #6981]
21790         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21791         depending on [__GCC_IEC_559 > 0].
21792         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21793         depending on [__GCC_IEC_559_COMPLEX > 0].
21795 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21797         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21798         to iso-639.def.
21800 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21802         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21804 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21806         [BZ #16112]
21807         * malloc/malloc (malloc_info): Do not handle first bin as
21808         special case.
21810 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21812         * locale/iso-639.def: Add Central Nahuatl (nhn).
21814 2013-11-01  Bruno Haible  <bruno@clisp.org>
21816         [BZ #7003]
21817         * manual/math.texi (BSD Random): Specify range upper bound as
21818         in POSIX.
21820 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21822         * locale/iso-639.def: Add Meadow Mari (mhr).
21824 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21826         [BZ #14752], [BZ #15763]
21827         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21828         Validate name.
21829         * rt/tst_shm.c: Add test for escaping directory.
21831 2013-10-31  Andreas Schwab  <schwab@suse.de>
21833         [BZ #15917]
21834         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21835         followed by 'x' as part of digit sequence.
21836         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21838 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21840         [BZ #16037]
21841         * configure.ac: allow GNU Make 4.0 and greater.
21842         * configure: Regenerated.
21844 2013-10-30  Will Newton  <will.newton@linaro.org>
21846         [BZ #16038]
21847         * malloc/hooks.c (memalign_check): Limit alignment to the
21848         maximum representable power of two.
21849         * malloc/malloc.c (__libc_memalign): Likewise.
21850         * malloc/tst-memalign.c (do_test): Add test for very
21851         large alignment values.
21852         * malloc/tst-posix_memalign.c (do_test): Likewise.
21854 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21856         [BZ #11087]
21857         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21858         (munmap_chunk): Likewise.
21859         (mremap_chunk): Likewise.
21861 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21863         [BZ #15799]
21864         * stdlib/div.c (div): Remove obsolete code.
21865         * stdlib/ldiv.c (ldiv): Likewise.
21866         * stdlib/lldiv.c (lldiv): Likewise.
21868 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21870         [BZ #16071]
21871         * nss/nss_files/files-XXX.c (get_contents_ret): New
21872         enumerator.
21873         (get_contents): New function.
21874         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21876 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21878         * configure.in: Moved to ...
21879         * configure.ac: ... here. Change reference to configure.in
21880         to configure.ac.
21881         * sysdeps/arm/preconfigure.ac: ... here.
21882         configure.in to configure.ac.
21883         * sysdeps/gnu/configure.in: Moved to ...
21884         * sysdeps/gnu/configure.ac: ... here.
21885         * sysdeps/i386/configure.in: Moved to ...
21886         * sysdeps/i386/configure.ac: ... here.
21887         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21888         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21889         * sysdeps/mach/configure.in: Moved to ...
21890         * sysdeps/mach/configure.ac: ... here.
21891         * sysdeps/mach/hurd/configure.in: Moved to ...
21892         * sysdeps/mach/hurd/configure.ac: ... here.
21893         * sysdeps/powerpc/configure.in: Moved to ...
21894         * sysdeps/powerpc/configure.ac: ... here.
21895         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21896         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21897         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21898         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21899         * sysdeps/s390/s390-32/configure.in: Moved to ...
21900         * sysdeps/s390/s390-32/configure.ac: ... here.
21901         * sysdeps/s390/s390-64/configure.in: Moved to ...
21902         * sysdeps/s390/s390-64/configure.ac: ... here.
21903         * sysdeps/sh/configure.in: Moved to ...
21904         * sysdeps/sh/configure.ac: ... here.
21905         * sysdeps/sparc/configure.in: Moved to ...
21906         * sysdeps/sparc/configure.ac: ... here.
21907         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21908         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21909         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21910         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21911         * sysdeps/x86_64/configure.in: Moved to ...
21912         * sysdeps/x86_64/configure.ac: ... here.
21913         * sysdeps/x86_64/preconfigure.in: Moved to ...
21914         * sysdeps/x86_64/preconfigure.ac: ... here.
21915         * aclocal.m4: Change reference to configure.in to configure.ac.
21916         * config.h.in: Likewise.
21917         * manual/install.texi: Likewise.
21918         * manual/maint.texi: Likewise.
21919         * Makefile: Likewise.
21920         * malloc/Makefile: Likewise.
21921         * nscd/Makefile: Likewise.
21922         * Makeconfig: Change reference to configure.in and
21923         preconfigure.in to configure.ac and preconfigure.ac
21924         respectively.
21925         * INSTALL: Regenerated.
21926         * configure: Likewise.
21927         * sysdeps/gnu/configure: Likewise.
21928         * sysdeps/i386/configure: Likewise.
21929         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21930         * sysdeps/mach/configure: Likewise.
21931         * sysdeps/mach/hurd/configure: Likewise.
21932         * sysdeps/powerpc/configure: Likewise.
21933         * sysdeps/powerpc/powerpc32/configure: Likewise.
21934         * sysdeps/powerpc/powerpc64/configure: Likewise.
21935         * sysdeps/s390/s390-32/configure: Likewise.
21936         * sysdeps/s390/s390-64/configure: Likewise.
21937         * sysdeps/sh/configure: Likewise.
21938         * sysdeps/sparc/configure: Likewise.
21939         * sysdeps/unix/sysv/linux/configure: Likewise.
21940         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21941         * sysdeps/x86_64/configure: Likewise.
21942         * sysdeps/x86_64/preconfigure: Likewise.
21944 2013-10-29  Andreas Schwab  <schwab@suse.de>
21946         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21948 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21950         * benchtests/pow-inputs: Add new inputs.
21952         * benchtests/exp-inputs: Add new inputs.
21954         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21955         conditional check for return value.
21956         (__cos32): Likewise.
21958 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21960         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21961         to provide a boost for large inputs with word alignment.
21962         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21963         implementation based on optimized PPC64 strcpy.
21964         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21965         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21966         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21967         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21969 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21971         [BZ #2801]
21972         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21974 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21976         [BZ #14876]
21977         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21978         * time/tst-strptime.c (day_tests): Add testcase.
21980 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21982         [BZ #14029]
21983         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21985 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21987         [BZ #16074]
21988         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21989         MAP_FAILED on error.
21991 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21993         [BZ #16072]
21994         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21995         heap for large requests.
21997 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21999         [BZ #9954]
22000         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22001         result if the result has no associated interface.
22002         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22003         interface for all 127.X.Y.Z addresses.
22005 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22007         * locale/iso-639.def: Add Ligurian (lij)
22009 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22011         [BZ #15825]
22012         * sunrpc/rpc_main.c: Document rpcgen -5.
22014 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22016         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22018 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22020         [BZ #10278]
22021         * posix/glob.c: Match only directories when trailing slash is present.
22022         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22023         (main): Add testcase.
22025 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22027         [BZ #15670]
22028         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22030 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22032         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22033         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22034         AUTH_DES and cindex for FIPS 140-2.
22035         (DES Encryption): Add cindex FIPS 46-3.
22037         * locale/locarchive.h (struct locarhandle): Add fname.
22038         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22039         if an optional argument was specified to --list-archive,
22040         otherwise NULL.
22041         * locale/programs/locarchive.c (show_archive_content): Take new
22042         argument fname and pass it via ah.fname to open_archive.
22043         * locale/programs/localedef.h: Update decl.
22044         (open_archive): If AH->fname is non-null, open that file
22045         rather than the default file name, and don't ignore ENOENT.
22046         (create_archive): Set AH.fname to NULL.
22047         (delete_locales_from_archive): Likewise.
22048         (add_locales_to_archive): Likewise.
22049         * locale/programs/locfile.c (write_all_categories): Likewise.
22051 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22052             Aldy Hernandez  <aldyh@redhat.com>
22054         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22055         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22056         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22057         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22058         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22059         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22060         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22061         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22062         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22063         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22064         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22065         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22066         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22067         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22068         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22069         Likewise.
22070         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22071         Likewise.
22072         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22073         Likewise.
22074         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22075         Likewise.
22076         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22077         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22078         Likewise.
22079         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22080         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22081         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22082         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22083         Likewise.
22084         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22085         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22086         * sysdeps/powerpc/preconfigure: Likewise.
22087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22088         Likewise.
22089         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22090         Replace contents of file by #include of <fenv_libc.h>.
22091         * sysdeps/powerpc/soft-fp/sfp-machine.h
22092         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22093         and <sys/prctl.h>.
22094         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22095         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22096         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22097         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22098         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22099         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22107         Allow copysignl PLT reference to be missing.
22109 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22110             Joseph Myers  <joseph@codesourcery.com
22112         [BZ #15948]
22113         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22114         single character.
22115         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22117 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22119         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22120         * elf/tst-tls1.c: Likewise.
22121         * elf/tst-tls10.h: Likewise.
22122         * elf/tst-tls14.c: Likewise.
22123         * elf/tst-tls2.c: Likewise.
22124         * elf/tst-tls3.c: Likewise.
22125         * elf/tst-tls4.c: Likewise.
22126         * elf/tst-tls5.c: Likewise.
22127         * elf/tst-tls6.c: Likewise.
22128         * elf/tst-tls7.c: Likewise.
22129         * elf/tst-tls8.c: Likewise.
22130         * elf/tst-tls9.c: Likewise.
22131         * elf/tst-tlsmod1.c: Likewise.
22132         * elf/tst-tlsmod13.c: Likewise.
22133         * elf/tst-tlsmod13a.c: Likewise.
22134         * elf/tst-tlsmod14a.c: Likewise.
22135         * elf/tst-tlsmod16a.c: Likewise.
22136         * elf/tst-tlsmod16b.c: Likewise.
22137         * elf/tst-tlsmod2.c: Likewise.
22138         * elf/tst-tlsmod3.c: Likewise.
22139         * elf/tst-tlsmod4.c: Likewise.
22140         * elf/tst-tlsmod5.c: Likewise.
22141         * elf/tst-tlsmod6.c: Likewise.
22143 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22145         [BZ #12486]
22146         * malloc/malloc.c: remove checks for statistics.
22148 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22150         [BZ #15277]
22151         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22152         * inet/tst-network.c: Add testcase.
22154 2013-10-17  Andreas Schwab  <schwab@suse.de>
22156         [BZ #15218]
22157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22158         to determine canonical name.
22160 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22162         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22163         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22164         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22165         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22166         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22167         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22168         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22169         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22170         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22171         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22172         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22173         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22174         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22175         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22176         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22177         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22179         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22180         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22181         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22182         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22183         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22184         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22185         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22186         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22187         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22190         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22191         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22192         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22193         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22194         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22195         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22196         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22197         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22198         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22199         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22200         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22201         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22202         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22203         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22204         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22205         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22206         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22207         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22208         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22209         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22210         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22211         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22212         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22213         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22214         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22215         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22216         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22217         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22218         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22219         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22221 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22223         [BZ #16041]
22224         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22225         make result into a quiet NaN.
22227 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22229         * soft-fp/adddf3.c: Fix horizontal whitespace.
22230         * soft-fp/addsf3.c: Likewise.
22231         * soft-fp/addtf3.c: Likewise.
22232         * soft-fp/divdf3.c: Likewise.
22233         * soft-fp/divsf3.c: Likewise.
22234         * soft-fp/divtf3.c: Likewise.
22235         * soft-fp/double.h: Likewise.
22236         * soft-fp/eqdf2.c: Likewise.
22237         * soft-fp/eqsf2.c: Likewise.
22238         * soft-fp/eqtf2.c: Likewise.
22239         * soft-fp/extenddftf2.c: Likewise.
22240         * soft-fp/extended.h: Likewise.
22241         * soft-fp/extendsfdf2.c: Likewise.
22242         * soft-fp/extendsftf2.c: Likewise.
22243         * soft-fp/extendxftf2.c: Likewise.
22244         * soft-fp/fixdfdi.c: Likewise.
22245         * soft-fp/fixdfsi.c: Likewise.
22246         * soft-fp/fixdfti.c: Likewise.
22247         * soft-fp/fixsfdi.c: Likewise.
22248         * soft-fp/fixsfsi.c: Likewise.
22249         * soft-fp/fixsfti.c: Likewise.
22250         * soft-fp/fixtfdi.c: Likewise.
22251         * soft-fp/fixtfsi.c: Likewise.
22252         * soft-fp/fixtfti.c: Likewise.
22253         * soft-fp/fixunsdfdi.c: Likewise.
22254         * soft-fp/fixunsdfsi.c: Likewise.
22255         * soft-fp/fixunsdfti.c: Likewise.
22256         * soft-fp/fixunssfdi.c: Likewise.
22257         * soft-fp/fixunssfsi.c: Likewise.
22258         * soft-fp/fixunssfti.c: Likewise.
22259         * soft-fp/fixunstfdi.c: Likewise.
22260         * soft-fp/fixunstfsi.c: Likewise.
22261         * soft-fp/fixunstfti.c: Likewise.
22262         * soft-fp/floatdidf.c: Likewise.
22263         * soft-fp/floatdisf.c: Likewise.
22264         * soft-fp/floatditf.c: Likewise.
22265         * soft-fp/floatsidf.c: Likewise.
22266         * soft-fp/floatsisf.c: Likewise.
22267         * soft-fp/floatsitf.c: Likewise.
22268         * soft-fp/floattidf.c: Likewise.
22269         * soft-fp/floattisf.c: Likewise.
22270         * soft-fp/floattitf.c: Likewise.
22271         * soft-fp/floatundidf.c: Likewise.
22272         * soft-fp/floatundisf.c: Likewise.
22273         * soft-fp/floatunditf.c: Likewise.
22274         * soft-fp/floatunsidf.c: Likewise.
22275         * soft-fp/floatunsisf.c: Likewise.
22276         * soft-fp/floatunsitf.c: Likewise.
22277         * soft-fp/floatuntidf.c: Likewise.
22278         * soft-fp/floatuntisf.c: Likewise.
22279         * soft-fp/floatuntitf.c: Likewise.
22280         * soft-fp/fmadf4.c: Likewise.
22281         * soft-fp/fmasf4.c: Likewise.
22282         * soft-fp/fmatf4.c: Likewise.
22283         * soft-fp/gedf2.c: Likewise.
22284         * soft-fp/gesf2.c: Likewise.
22285         * soft-fp/getf2.c: Likewise.
22286         * soft-fp/ledf2.c: Likewise.
22287         * soft-fp/lesf2.c: Likewise.
22288         * soft-fp/letf2.c: Likewise.
22289         * soft-fp/muldf3.c: Likewise.
22290         * soft-fp/mulsf3.c: Likewise.
22291         * soft-fp/multf3.c: Likewise.
22292         * soft-fp/negdf2.c: Likewise.
22293         * soft-fp/negsf2.c: Likewise.
22294         * soft-fp/negtf2.c: Likewise.
22295         * soft-fp/op-1.h: Likewise.
22296         * soft-fp/op-2.h: Likewise.
22297         * soft-fp/op-4.h: Likewise.
22298         * soft-fp/op-8.h: Likewise.
22299         * soft-fp/op-common.h: Likewise.
22300         * soft-fp/quad.h: Likewise.
22301         * soft-fp/single.h: Likewise.
22302         * soft-fp/soft-fp.h: Likewise.
22303         * soft-fp/sqrtdf2.c: Likewise.
22304         * soft-fp/sqrtsf2.c: Likewise.
22305         * soft-fp/sqrttf2.c: Likewise.
22306         * soft-fp/subdf3.c: Likewise.
22307         * soft-fp/subsf3.c: Likewise.
22308         * soft-fp/subtf3.c: Likewise.
22309         * soft-fp/truncdfsf2.c: Likewise.
22310         * soft-fp/trunctfdf2.c: Likewise.
22311         * soft-fp/trunctfsf2.c: Likewise.
22312         * soft-fp/trunctfxf2.c: Likewise.
22313         * soft-fp/unorddf2.c: Likewise.
22314         * soft-fp/unordsf2.c: Likewise.
22315         * soft-fp/unordtf2.c: Likewise.
22317 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22319         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22320         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22322 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22324         * elf/dl-libc.c: Clear initfini list after freeing.
22326 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22328         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22329         * soft-fp/addsf3.c: Likewise.
22330         * soft-fp/addtf3.c: Likewise.
22331         * soft-fp/divdf3.c: Likewise.
22332         * soft-fp/divsf3.c: Likewise.
22333         * soft-fp/divtf3.c: Likewise.
22334         * soft-fp/double.h: Likewise.
22335         * soft-fp/eqdf2.c: Likewise.
22336         * soft-fp/eqsf2.c: Likewise.
22337         * soft-fp/eqtf2.c: Likewise.
22338         * soft-fp/extenddftf2.c: Likewise.
22339         * soft-fp/extended.h: Likewise.
22340         * soft-fp/extendsfdf2.c: Likewise.
22341         * soft-fp/extendsftf2.c: Likewise.
22342         * soft-fp/extendxftf2.c: Likewise.
22343         * soft-fp/fixdfdi.c: Likewise.
22344         * soft-fp/fixdfsi.c: Likewise.
22345         * soft-fp/fixdfti.c: Likewise.
22346         * soft-fp/fixsfdi.c: Likewise.
22347         * soft-fp/fixsfsi.c: Likewise.
22348         * soft-fp/fixsfti.c: Likewise.
22349         * soft-fp/fixtfdi.c: Likewise.
22350         * soft-fp/fixtfsi.c: Likewise.
22351         * soft-fp/fixtfti.c: Likewise.
22352         * soft-fp/fixunsdfdi.c: Likewise.
22353         * soft-fp/fixunsdfsi.c: Likewise.
22354         * soft-fp/fixunsdfti.c: Likewise.
22355         * soft-fp/fixunssfdi.c: Likewise.
22356         * soft-fp/fixunssfsi.c: Likewise.
22357         * soft-fp/fixunssfti.c: Likewise.
22358         * soft-fp/fixunstfdi.c: Likewise.
22359         * soft-fp/fixunstfsi.c: Likewise.
22360         * soft-fp/fixunstfti.c: Likewise.
22361         * soft-fp/floatdidf.c: Likewise.
22362         * soft-fp/floatdisf.c: Likewise.
22363         * soft-fp/floatditf.c: Likewise.
22364         * soft-fp/floatsidf.c: Likewise.
22365         * soft-fp/floatsisf.c: Likewise.
22366         * soft-fp/floatsitf.c: Likewise.
22367         * soft-fp/floattidf.c: Likewise.
22368         * soft-fp/floattisf.c: Likewise.
22369         * soft-fp/floattitf.c: Likewise.
22370         * soft-fp/floatundidf.c: Likewise.
22371         * soft-fp/floatundisf.c: Likewise.
22372         * soft-fp/floatunsidf.c: Likewise.
22373         * soft-fp/floatunsisf.c: Likewise.
22374         * soft-fp/floatuntidf.c: Likewise.
22375         * soft-fp/floatuntisf.c: Likewise.
22376         * soft-fp/floatuntitf.c: Likewise.
22377         * soft-fp/fmadf4.c: Likewise.
22378         * soft-fp/fmasf4.c: Likewise.
22379         * soft-fp/fmatf4.c: Likewise.
22380         * soft-fp/gedf2.c: Likewise.
22381         * soft-fp/gesf2.c: Likewise.
22382         * soft-fp/getf2.c: Likewise.
22383         * soft-fp/ledf2.c: Likewise.
22384         * soft-fp/lesf2.c: Likewise.
22385         * soft-fp/letf2.c: Likewise.
22386         * soft-fp/muldf3.c: Likewise.
22387         * soft-fp/mulsf3.c: Likewise.
22388         * soft-fp/multf3.c: Likewise.
22389         * soft-fp/negdf2.c: Likewise.
22390         * soft-fp/negsf2.c: Likewise.
22391         * soft-fp/negtf2.c: Likewise.
22392         * soft-fp/op-1.h: Likewise.
22393         * soft-fp/op-2.h: Likewise.
22394         * soft-fp/op-4.h: Likewise.
22395         * soft-fp/op-8.h: Likewise.
22396         * soft-fp/op-common.h: Likewise.
22397         * soft-fp/quad.h: Likewise.
22398         * soft-fp/single.h: Likewise.
22399         * soft-fp/soft-fp.h: Likewise.
22400         * soft-fp/sqrtdf2.c: Likewise.
22401         * soft-fp/sqrtsf2.c: Likewise.
22402         * soft-fp/sqrttf2.c: Likewise.
22403         * soft-fp/subdf3.c: Likewise.
22404         * soft-fp/subsf3.c: Likewise.
22405         * soft-fp/subtf3.c: Likewise.
22406         * soft-fp/truncdfsf2.c: Likewise.
22407         * soft-fp/trunctfdf2.c: Likewise.
22408         * soft-fp/trunctfsf2.c: Likewise.
22409         * soft-fp/trunctfxf2.c: Likewise.
22410         * soft-fp/unorddf2.c: Likewise.
22411         * soft-fp/unordsf2.c: Likewise.
22412         * soft-fp/unordtf2.c: Likewise.
22414 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22416         [BZ #15672]
22417         * misc/error.c (error_tail): Fix possible buffer overflow.
22419 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22421         [BZ #13028]
22422         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22423         address.
22425 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22427         [BZ #832]
22428         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22429         testing pipefail option.
22431 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22433         * soft-fp/double.h: Indent preprocessor directives inside #if.
22434         * soft-fp/extended.h: Likewise.
22435         * soft-fp/op-2.h: Likewise.
22436         * soft-fp/op-4.h: Likewise.
22437         * soft-fp/op-common.h: Likewise.
22438         * soft-fp/quad.h: Likewise.
22439         * soft-fp/single.h: Likewise.
22440         * soft-fp/soft-fp.h: Likewise.
22442 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22444         * iconv/iconv_prog.c: Fix typos.
22445         * stdio-common/psiginfo-data.h: Likewise.
22447 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22449         [BZ #15764]
22450         * locale/setlocale.c: Fix typo.
22452 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22454         [BZ #16036]
22455         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22456         signaling NaN arguments.
22457         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22458         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22460         [BZ #14910]
22461         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22462         unordered operands.
22463         * soft-fp/gesf2.c (__gesf2): Likewise.
22464         * soft-fp/getf2.c (__getf2): Likewise.
22465         * soft-fp/ledf2.c (__ledf2): Likewise.
22466         * soft-fp/lesf2.c (__lesf2): Likewise.
22467         * soft-fp/letf2.c (__letf2): Likewise.
22469         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22470         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22471         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22472         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22473         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22474         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22475         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22476         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22477         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22478         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22479         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22480         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22481         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22482         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22483         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22484         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22485         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22486         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22487         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22488         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22489         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22490         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22491         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22492         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22493         * soft-fp/floattidf.c (__floattidf): Likewise.
22494         * soft-fp/floattisf.c (__floattisf): Likewise.
22495         * soft-fp/floattitf.c (__floattitf): Likewise.
22496         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22497         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22498         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22499         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22500         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22501         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22502         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22503         * soft-fp/gesf2.c (__gesf2): Likewise.
22504         * soft-fp/getf2.c (__getf2): Likewise.
22505         * soft-fp/ledf2.c (__ledf2): Likewise.
22506         * soft-fp/lesf2.c (__lesf2): Likewise.
22507         * soft-fp/letf2.c (__letf2): Likewise.
22509         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22510         Undefine and redefine.
22511         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22512         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22513         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22514         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22515         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22516         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22517         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22518         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22519         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22520         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22521         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22522         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22523         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22524         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22525         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22527         [BZ #16032]
22528         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22529         without decrementing exponent if mantissa >= that for the
22530         denominator, not >.
22531         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22532         denominator, not >.  Decrement exponent in < case instead of
22533         incrementing in >= case.
22534         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22535         without decrementing exponent if mantissa >= that for the
22536         denominator, not >.
22538         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22539         computing saturated result for unsigned overflow.
22541 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22542             Jeff Law  <law@redhat.com>
22544         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22545         (atan2Mp): Add systemtap probe marker.
22546         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22547         (__ieee754_log): Add systemtap probe marker.
22548         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22549         (atanMp): Add systemtap probe marker.
22550         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22551         (tanMp): Add systemtap probe marker.
22552         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22553         (__slowexp): Add systemtap probe marker.
22554         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22555         (__slowpow): Add systemtap probe marker.
22556         * manual/probes.texi: Document probes.
22558 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22560         [BZ #15362]
22561         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22562         written.
22563         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22564         written.
22565         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22566         written to buffer but not flushed.
22567         * libio/iofwrite_u.c:  Likewise.
22568         * libio/iopadn.c:  Return bytes returned even if EOF was
22569         encountered.
22570         * libio/iowpadn.c:  Likewise.
22571         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22572         if _IO_padn does not write the whole buffer.
22573         [!COMPILE_WPRINTF] (PAD): Likewise.
22575 2013-10-10  David S. Miller  <davem@davemloft.net>
22577         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22578         directory block.
22580 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22582         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22583         instead of FSF address.
22584         * soft-fp/fixdfti.c: Likewise.
22585         * soft-fp/fixsfti.c: Likewise.
22586         * soft-fp/fixtfti.c: Likewise.
22587         * soft-fp/fixunsdfti.c: Likewise.
22588         * soft-fp/fixunssfti.c: Likewise.
22589         * soft-fp/fixunstfti.c: Likewise.
22590         * soft-fp/floattidf.c: Likewise.
22591         * soft-fp/floattisf.c: Likewise.
22592         * soft-fp/floattitf.c: Likewise.
22593         * soft-fp/floatuntidf.c: Likewise.
22594         * soft-fp/floatuntisf.c: Likewise.
22595         * soft-fp/floatuntitf.c: Likewise.
22596         * soft-fp/trunctfxf2.c: Likewise.
22598         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22599         * soft-fp/fixdfti.c: Likewise.
22600         * soft-fp/fixsfti.c: Likewise.
22601         * soft-fp/fixtfti.c: Likewise.
22602         * soft-fp/fixunsdfti.c: Likewise.
22603         * soft-fp/fixunssfti.c: Likewise.
22604         * soft-fp/fixunstfti.c: Likewise.
22605         * soft-fp/floattidf.c: Likewise.
22606         * soft-fp/floattisf.c: Likewise.
22607         * soft-fp/floattitf.c: Likewise.
22608         * soft-fp/floatuntidf.c: Likewise.
22609         * soft-fp/floatuntisf.c: Likewise.
22610         * soft-fp/floatuntitf.c: Likewise.
22611         * soft-fp/trunctfxf2.c: Likewise.
22613 2013-10-10  David S. Miller  <davem@davemloft.net>
22615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22617 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22619         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22620         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22621         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22622         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22623         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22624         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22625         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22627         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22628         for NaNs before doing comparisons on argument.
22629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22630         Likewise.
22632 2013-10-10  Will Newton  <will.newton@linaro.org>
22634         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22635         passed to _int_memalign does not overflow.
22637 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22639         * scripts/bench.pl: Add include-sources directive.
22640         * benchtests/README: Update documentation.
22642 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22644         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22645         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22646         instead of FP_INIT_ROUNDMODE.
22647         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22648         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22650         [BZ #16034]
22651         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22652         copy class of input value.
22653         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22654         not handle exceptions.
22655         * soft-fp/negsf2.c (__negsf2): Likewise.
22656         * soft-fp/negtf2.c (__negtf2): Likewise.
22657         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22659 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22661         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22662         semicolon.  From Linux kernel.
22664 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22666         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22668 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22670         [BZ #156]
22671         * manual/socket.texi: Added statement about buffer
22672         for gethostbyname2_r.
22674 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22676         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22677         Use .p2align directive instead, throughout.
22678         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22679         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22680         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22681         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22682         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22683         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22684         * sysdeps/x86_64/strchr.S: Likewise.
22685         * sysdeps/x86_64/strrchr.S: Likewise.
22687 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22689         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22691         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22693         * sysdeps/generic/math_private.h (__mpsin1): Remove
22694         declaration.
22695         (__mpcos1): Likewise.
22696         (__mpsin): New argument __range_reduce.
22697         (__mpcos): Likewise.
22698         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22699         (slow): Use __mpsin and __mpcos.
22700         (slow1): Likewise.
22701         (slow2): Likewise.
22702         (sloww): Likewise.
22703         (sloww1): Likewise.
22704         (sloww2): Likewise.
22705         (bsloww): Likewise.
22706         (bsloww1): Likewise.
22707         (bsloww2): Likewise.
22708         (cslow2): Likewise.
22709         (csloww): Likewise.
22710         (csloww1): Likewise.
22711         (csloww2): Likewise.
22712         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22713         range_reduce.  Merge in __mpsin1.
22714         (__mpcos): Likewise.
22715         (__mpsin1): Remove.
22716         (__mpcos1): Likewise.
22718 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22720         * locale/loadlocale.c (_nl_intern_locale_data): Use
22721         LOCFILE_ALIGNED_P.
22722         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22723         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22724         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22725         obstack data is appropriately aligned.
22726         (obstack_int32_grow_fast): Likewise.
22727         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22728         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22729         (add_locale_uint32_array): Likewise.
22731 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22733         * benchtests/Makefile: Remove ARGLIST and RET variables.
22734         ($(objpfx)bench-%.c): Pass only function name to the script.
22735         * benchtests/README: Update documentation.
22736         * benchtests/acos-inputs: Add new directives.
22737         * benchtests/acosh-inputs: Likewise.
22738         * benchtests/asin-inputs: Likewise.
22739         * benchtests/asinh-inputs: Likewise.
22740         * benchtests/atan-inputs: Likewise.
22741         * benchtests/atanh-inputs: Likewise.
22742         * benchtests/cos-inputs: Likewise.
22743         * benchtests/cosh-inputs: Likewise.
22744         * benchtests/exp-inputs: Likewise.
22745         * benchtests/log-inputs: Likewise.
22746         * benchtests/pow-inputs: Likewise.
22747         * benchtests/rint-inputs: Likewise.
22748         * benchtests/sin-inputs: Likewise.
22749         * benchtests/sinh-inputs: Likewise.
22750         * benchtests/tan-inputs: Likewise.
22751         * benchtests/tanh-inputs: Likewise.
22752         * scripts/bench.pl: Add support for new directives.
22754 2013-10-07  Alan Modra  <amodra@gmail.com>
22756         * README: Fix careless merge.
22758 2013-10-05  Alan Modra  <amodra@gmail.com>
22760         * NEWS: Mention powerpc64le support and bugs fixed.
22761         * README: Both big-endian and little-endian powerpc64 supported.
22763 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22765         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22766         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22767         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22768         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22770 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22772         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22773         match prototype.
22775 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22777         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22778         Move -mhard-float appending from
22779         ports/sysdeps/powerpc/powerpc32/Makefile.
22780         [$(with-fp) = yes] (ASFLAGS): Likewise.
22781         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22782         * sysdeps/powerpc/nofpu: Move directory from
22783         ports/sysdeps/powerpc/nofpu.
22784         * sysdeps/powerpc/soft-fp: Move directory from
22785         ports/sysdeps/powerpc/soft-fp.
22786         * sysdeps/powerpc/powerpc32/405: Move directory from
22787         ports/sysdeps/powerpc/powerpc32/405.
22788         * sysdeps/powerpc/powerpc32/440: Move directory from
22789         ports/sysdeps/powerpc/powerpc32/440.
22790         * sysdeps/powerpc/powerpc32/464: Move directory from
22791         ports/sysdeps/powerpc/powerpc32/464.
22792         * sysdeps/powerpc/powerpc32/476: Move directory from
22793         ports/sysdeps/powerpc/powerpc32/476.
22794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22795         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22797         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22799         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22801         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22803         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22804         * README: Update for powerpc-*-linux-gnu software floating point
22805         support in libc.
22807         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22808         case to powerpc/powerpc32*.
22809         * sysdeps/unix/sysv/linux/configure: Regenerated.
22811         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22812         (_FPU_MASK_OM): Define as 0x04.
22813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22815         0x00c10080.
22816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22817         0x0000003c.
22818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22821         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22822         getcontext_e500.
22823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22824         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22825         setcontext_e500.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22827         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22828         and setcontext_e500.
22830 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22832         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22834 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22836         * manual/threads.texi (Default Thread Attributes): Fix typo.
22838 2013-10-04  Will Newton  <will.newton@linaro.org>
22840         * malloc/Makefile: Add tst-memalign.
22841         * malloc/tst-memalign.c: New file.
22843         * malloc/tst-posix_memalign.c: Add comments.
22844         (do_test): Add comments and call free on all potentially
22845         allocated pointers. Add space after cast.
22847         * malloc/tst-pvalloc.c: Add comments.
22848         (do_test): Add comments and call free on all potentially
22849         allocated pointers. Remove duplicate check for NULL pointer.
22850         Add space after cast.
22852         * malloc/tst-valloc.c: Add comments.
22853         (do_test): Add comments and call free on all potentially
22854         allocated pointers. Remove duplicate check for NULL pointer.
22855         Add space after cast.
22857 2013-10-04  Alan Modra  <amodra@gmail.com>
22859         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22860         Use stdint types in rather than __attribute__((mode())).
22861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22863 2013-10-04  Alan Modra  <amodra@gmail.com>
22865         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22866         Correct handling of unaligned relocs for little-endian.
22867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22869 2013-10-04  Alan Modra  <amodra@gmail.com>
22871         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22872         * configure: Regenerate.
22873         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22874         * shlib-versions: Likewise.
22876 2013-10-04  Alan Modra  <amodra@gmail.com>
22878         * string/tester.c (test_memrchr): Increment reported test cycle.
22880 2013-10-04  Alan Modra  <amodra@gmail.com>
22882         * string/test-memcpy.c (do_one_test): When reporting errors, print
22883         string address and don't overrun end of string.
22885 2013-10-04  Alan Modra  <amodra@gmail.com>
22887         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22888         insrdi.  Make better use of reg selection to speed exit slightly.
22889         Schedule entry path a little better.  Remove useless "are we done"
22890         checks on entry to main loop.  Handle wrapping around zero address.
22891         Correct main loop count.  Handle single left-over word from main
22892         loop inline rather than by using loop_small.  Remove extra word
22893         case in loop_small caused by wrong loop count.  Add little-endian
22894         support.
22895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22896         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22897         cache hint.
22898         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22899         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22900         support.  Avoid rlwimi.
22901         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22903 2013-10-04  Alan Modra  <amodra@gmail.com>
22905         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22906         insrdi.  Formatting.
22907         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22908         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22909         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22910         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22911         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22912         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22914 2013-10-04  Alan Modra  <amodra@gmail.com>
22916         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22918         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22919         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22920         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22921         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22922         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22923         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22924         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22925         use of regs.  Use power7 mtocrf.  Tidy function tails.
22927 2013-10-04  Alan Modra  <amodra@gmail.com>
22929         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22930         Formatting.  Consistently use rXXX register defines or rN defines.
22931         Use early exit labels that avoid restoring unused non-volatile regs.
22932         Make cr field use more consistent with rWORDn compares.  Rename
22933         regs used as shift registers for unaligned loop, using rN defines
22934         for short lifetime/multiple use regs.
22935         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22936         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22937         addi 1,1,64 to pop stack frame.  Simplify return value code.
22938         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22940 2013-10-04  Alan Modra  <amodra@gmail.com>
22942         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22943         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22944         rather than rlwimi.
22945         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22947         little-endian support.  Correct typos.
22948         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22949         rather than rlwimi.
22950         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22951         in loop and entry code to keep "and." results.
22952         (strchr): Add little-endian support.  Comment.  Move cntlzd
22953         earlier in tail.
22954         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22956 2013-10-04  Alan Modra  <amodra@gmail.com>
22958         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22959         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22960         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22961         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22963 2013-10-04  Alan Modra  <amodra@gmail.com>
22965         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22966         (rTMP): Define as r11.
22967         (strcmp): Add little-endian support.  Optimise tail.
22968         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22969         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22970         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22971         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22972         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22973         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22974         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22976 2013-10-04  Alan Modra  <amodra@gmail.com>
22978         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22979         little-endian support.  Remove unnecessary "are we done" tests.
22980         Handle "s" wrapping around zero and extremely large "size".
22981         Correct main loop count.  Handle single left-over word from main
22982         loop inline rather than by using small_loop.  Correct comments.
22983         Delete "zero" tail, use "end_max" instead.
22984         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22986 2013-10-04  Alan Modra  <amodra@gmail.com>
22988         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22989         support.  Don't branch over align.
22990         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22991         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22992         support.  Rearrange tmp reg use to suit.  Comment.
22993         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22995 2013-10-04  Alan Modra  <amodra@gmail.com>
22997         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22999 2013-10-04  Alan Modra  <amodra@gmail.com>
23001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23002         conditional form of branch and link when obtaining pc.
23003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23005 2013-10-04  Alan Modra  <amodra@gmail.com>
23007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23008         HIWORD/LOWORD.
23009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23012 2013-10-04  Alan Modra  <amodra@gmail.com>
23014         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23015         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23016         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23017         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23018         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23020         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23021         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23022         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23023         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23025 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23026             Alistair Popple <alistair@ozlabs.au.ibm.com>
23027             Alan Modra <amodra@gmail.com>
23029         [BZ #15723]
23030         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23031         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23032         _dl_hwcap access for little-endian.
23033         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23034         destroy vmx regs when saving unaligned.
23035         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23036         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23037         destroy vmx regs when saving unaligned.
23039 2013-10-04  Alan Modra  <amodra@gmail.com>
23041         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23042         Don't use a union to pack hi/low value.
23044 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23046         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23047         for little-endian.
23048         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23049         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23050         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23051         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23052         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23054 2013-10-04  Alan Modra  <amodra@gmail.com>
23056         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23057         constants to usual value for .cst8 section, and remove redundant
23058         high address load.
23059         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23060         constant for 0x1p52.  Load little-endian words of double from
23061         correct stack offsets.
23063 2013-10-04  Alan Modra  <amodra@gmail.com>
23065         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23066         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23067         words of double from correct stack offsets.
23068         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23069         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23070         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23071         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23072         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23073         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23074         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23075         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23076         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23077         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23078         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23079         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23080         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23081         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23082         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23083         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23084         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23086 2013-10-04  Alan Modra  <amodra@gmail.com>
23088         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23089         64-bit int/double union.
23090         (_FPU_SETCW): Likewise.
23091         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23092         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23094 2013-10-04  Alan Modra  <amodra@gmail.com>
23096         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23097         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23099 2013-10-04  Alan Modra  <amodra@gmail.com>
23101         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23102         use vector int constants.
23103         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23107         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23108         array with long long.
23109         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23110         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23111         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23112         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23113         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23114         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23115         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23116         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23117         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23118         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23119         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23120         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23121         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23123 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23125         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23126         (__signbit): Likewise.  Correct for little-endian.
23127         (__signbitl): Call __signbit.
23128         (lrint): Correct for little-endian.
23129         (lrintf): Call lrint.
23131 2013-10-04  Alan Modra  <amodra@gmail.com>
23133         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23134         union 32-bit int array member with 64-bit int array.
23135         (t515, tm256): Double rather than long double.
23136         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23138 2013-10-04  Alan Modra  <amodra@gmail.com>
23140         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23141         Delete.
23142         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23144         version of math_ldbl.h.
23146 2013-10-04  Alan Modra  <amodra@gmail.com>
23148         [BZ #15734], [BZ #15735]
23149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23150         all uses of ieee875 long double macros and unions.  Simplify test
23151         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23152         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23153         normalize after ldbl_extract_mantissa, and don't add hidden bit
23154         already handled.  Don't treat low word of ieee854 mantissa like
23155         low word of IBM long double and mask off bit when testing for
23156         zero.
23157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23158         all uses of ieee875 long double macros and unions.  Simplify tests
23159         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23160         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23161         two1022, instead use their values.  Recognise that tests for large
23162         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23163         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23164         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23165         test for 0.0L and nan.  Correct negation.
23166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23167         ieee875 long double macros and unions.  Correct output for large
23168         magnitude x.  Correct absolute value calculation.
23169         (__erfcl): Likewise.
23170         * math/libm-test.inc: Add tests for errors discovered in IBM long
23171         double versions of fmodl, remainderl, erfl and erfcl.
23173 2013-10-04  Alan Modra  <amodra@gmail.com>
23175         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23176         all uses of ieee854 long double macros and unions.  Simplify tests
23177         for long doubles that are fully specified by the high double.
23178         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23179         Likewise.
23180         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23181         Remove dead code too.
23182         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23183         (__ieee754_ynl): Likewise.
23184         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23185         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23186         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23187         Remove dead code too.
23188         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23189         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23190         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23191         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23192         Simplify.
23193         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23194         Simplify.
23195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23198         Comment on variable precision.
23199         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23200         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23201         Likewise.
23202         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23203         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23204         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23205         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23206         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23208 2013-10-04  Alan Modra  <amodra@gmail.com>
23210         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23211         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23212         all uses of ieee854 long double macros and unions.
23213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23215         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23216         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23217         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23218         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23219         Likewise.
23220         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23221         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23222         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23223         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23225         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23226         Simplify sign and nan test too.
23227         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23228         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23229         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23230         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23231         Likewise.
23232         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23233         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23234         Likewise.
23235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23236         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23237         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23238         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23239         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23240         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23242 2013-10-04  Alan Modra  <amodra@gmail.com>
23244         * stdio-common/printf_size.c (__printf_size): Don't use
23245         union ieee854_long_double in fpnum union.
23246         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23247         signbit macro to retrieve sign from long double.
23248         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23249         retrieve sign from long double.
23250         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23251         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23252         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23253         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23254         * math/test-misc.c (main): Don't use union ieee854_long_double.
23256 2013-10-04  Alan Modra  <amodra@gmail.com>
23258         [BZ #15680]
23259         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23260         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23261         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23262         calculation.  Remove unnecessary test for denormal exponent.
23263         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23264         Correct handling of denormals.  Avoid undefined shift behaviour.
23265         Correct normalisation of low mantissa when low double is denormal.
23266         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23267         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23268         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23269         Correct normalisation of low mantissa.  Test for overflow of high
23270         mantissa and normalise.
23271         (ldbl_nearbyint): Use more readable constant for two52.
23272         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23273         (__mpn_construct_long_double): Fix test for overflow of high
23274         mantissa and correct normalisation.  Avoid undefined shift.
23276 2013-10-04  Alan Modra  <amodra@gmail.com>
23278         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23279         (union ibm_extended_long_double): Define as an array of ieee754_double.
23280         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23281         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23282         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23283         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23284         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23285         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23287         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23288         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23289         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23290         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23292 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23294         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23295         page size instead of calling getpagesize.
23297         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23298         (LOCFILE_ALIGN_MASK): Likewise.
23299         (LOCFILE_ALIGN_UP): Likewise.
23300         (LOCFILE_ALIGNED_P): Likewise.
23301         * locale/programs/ld-collate.c (collate_output): Use the new
23302         macros instead of __alignof__ (int32_t).
23303         * locale/weight.h (findidx): Likewise.
23305 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23307         [BZ #431]
23308         * manual/string.texi: Fix strncat and wcsncat.
23310 2013-10-03  Brooks Moses  <bmoses@google.com>
23312         [BZ #15915]
23313         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23314         * Makerules: ...here, and adjust associated comments.
23316 2013-10-02  Will Newton  <will.newton@linaro.org>
23318         * malloc/Makefile: Add tst-pvalloc.
23319         * malloc/tst-pvalloc.c: New file.
23321 2013-10-02  Will Newton  <will.newton@linaro.org>
23323         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23324         improve test coverage.
23326 2013-10-02  Will Newton  <will.newton@linaro.org>
23328         * malloc/Makefile: Add tst-posix_memalign.
23329         * malloc/tst-posix_memalign.c: New file.
23331 2013-10-01  Eric Blake  <eblake@redhat.com>
23333         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23334         Use __THROWNL rather than __THROW on static functions.
23336 2013-09-30  Petr Machata  <pmachata@redhat.com>
23338         * elf/elf.h (R_AARCH64_ABS16): New macro.
23339         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23340         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23341         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23342         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23343         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23344         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23345         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23346         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23347         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23348         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23349         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23350         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23351         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23352         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23353         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23354         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23355         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23356         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23357         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23358         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23359         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23360         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23361         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23362         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23363         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23364         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23365         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23366         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23367         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23368         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23369         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23370         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23371         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23372         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23373         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23374         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23375         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23376         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23377         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23378         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23379         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23380         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23381         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23382         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23383         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23384         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23385         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23386         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23387         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23388         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23389         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23390         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23391         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23392         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23393         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23394         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23395         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23396         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23397         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23398         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23399         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23400         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23401         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23402         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23403         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23404         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23405         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23406         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23407         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23408         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23409         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23410         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23411         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23412         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23413         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23414         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23415         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23416         (R_AARCH64_TLSDESC_LDR): Likewise.
23417         (R_AARCH64_TLSDESC_ADD): Likewise.
23418         (R_AARCH64_TLSDESC_CALL): Likewise.
23420 2013-09-30  Andreas Schwab  <schwab@suse.de>
23422         [BZ #15048]
23423         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23424         the nss database lookup.
23425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23428 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23430         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23432 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23434         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23435         ${Bash-specific parameter/pattern/string} parameter expansion.
23436         * sysdeps/unix/make-syscalls.sh: Likewise.
23438 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23440         * sysdeps/sh/stackguard-macros.h: New file.
23442 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23445         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23446         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23447         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23448         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23449         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23451 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23453         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23454         Fix thread ID register.
23456 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23458         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23459         [POSIX || UNIX98]: Require rather than permitting all symbols from
23460         <time.h>.
23461         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23462         element of struct sched_param.
23463         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23464         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23465         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23466         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23467         constant.
23469 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23471         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23472         argument calculation.
23474 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23476         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23477         Expect macro.
23478         [POSIX] (pthread_attr_t): Do not require type.
23479         [POSIX] (pthread_cond_t): Likewise.
23480         [POSIX] (pthread_condattr_t): Likewise.
23481         [POSIX] (pthread_key_t): Likewise.
23482         [POSIX] (pthread_mutex_t): Likewise.
23483         [POSIX] (pthread_mutexattr_t): Likewise.
23484         [POSIX] (pthread_once_t): Likewise.
23485         [POSIX] (pthread_t): Likewise.
23486         [POSIX-based standards] (pthread_atfork): Expect function.
23488 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23489             Richard Sandiford  <richard@codesourcery.com>
23491         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23492         (swap_endianness_p): New extern variable.
23493         (set_big_endian): New inline function.
23494         (maybe_swap_uint32): Likewise.
23495         (maybe_swap_uint32_array): Likewise.
23496         (maybe_swap_uint32_obstack): Likewise.
23497         * locale/programs/locfile.c: Include <stdbool.h>.
23498         (swap_endianness_p): New variable.
23499         (add_locale_uint32): Call maybe_swap_uint32.
23500         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23501         (write_locale_data): Call maybe_swap_uint32_array.
23502         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23503         maybe_swap_uint32.
23504         (obstack_int32_grow_fast): Likewise.
23505         (output_weightwc): Call maybe_swap_uint32_obstack.
23506         (collate_output): Likewise.
23507         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23508         (OPT_LITTLE_ENDIAN): Likewise.
23509         (options): Add --little-endian and --big-endian options.
23510         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23511         * locale/programs/locarchive.c: Include "locfile.h".
23512         (GET): New macro.
23513         (SET): Likewise.
23514         (INC): Likewise.
23515         (create_archive): Use the new macros to access fields of
23516         structures directly mapped from or written to locale archives.
23517         (oldlocrecentcmp): Likewise.
23518         (enlarge_archive): Likewise.
23519         (insert_name): Likewise.
23520         (add_alias): Likewise.
23521         (add_locale): Likewise.
23522         (delete_locales_from_archive): Likewise.
23523         (show_archive_content): Likewise.
23524         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23525         locale data.
23527 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23529         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23530         http://www.gnu.org/doc/freemanuals.texi.
23531         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23533 2013-09-24  Will Newton  <will.newton@linaro.org>
23535         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23536         macro.
23538 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23540         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23541         unsigned char.
23543 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23545         * manual/threads.texi (POSIX Threads): Fix a typo.
23547 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23549         [BZ #14547]
23550         * string/tst-strcoll-overflow.c: New test case.
23551         * string/Makefile (xtests): Add tst-strcoll-overflow.
23552         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23553         cache if string sizes may cause integer overflow.
23555         [BZ #14547]
23556         * string/strcoll_l.c (coll_seq): New members rule, idx,
23557         save_idx and back_us.
23558         (get_next_seq_nocache): New function.
23559         (do_compare_nocache): New function.
23560         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23561         when malloc fails.
23563 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23565         [BZ #15754]
23566         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23567         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23568         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23570         [BZ #15754]
23571         * elf/Makefile (tests): Add tst-ptrguard1.
23572         (tests-static): Add tst-ptrguard1-static.
23573         (tst-ptrguard1-ARGS): Define.
23574         (tst-ptrguard1-static-ARGS): Define.
23575         * elf/tst-ptrguard1.c: New file.
23576         * elf/tst-ptrguard1-static.c: New file.
23577         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23578         * sysdeps/i386/stackguard-macros.h: Likewise.
23579         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23580         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23581         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23582         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23583         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23584         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23586 2013-09-23  Hector Marco  <hecmargi@upv.es>
23587             Ismael Ripoll  <iripoll@disca.upv.es>
23588             Carlos O'Donell  <carlos@redhat.com>
23590         [BZ #15754]
23591         * sysdeps/generic/stackguard-macros.h: Define
23592         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23593         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23594         Define __pointer_chk_guard_local.
23595         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23596         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23598 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23600         [BZ #15859]
23601         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23603 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23605         * include/string.h (__ffs): Declare as hidden.
23606         * string/ffs.c (__ffs): Define as hidden.
23607         * sysdeps/i386/ffs.c (__ffs): Likewise.
23608         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23609         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23610         * sysdeps/s390/ffs.c (__ffs): Likewise.
23611         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23613 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23615         * NEWS: Mention malloc probes.
23617         * malloc/arena.c (new_heap): New memory_heap_new probe.
23618         (grow_heap): New memory_heap_more probe.
23619         (shrink_heap): New memory_heap_less probe.
23620         (heap_trim): New memory_heap_free probe.
23621         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23622         (systrim): New memory_sbrk_less probe.
23623         * manual/probes.texi: Document them.
23625         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23626         * manual/probes.texi: Document it.
23628         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23629         (__libc_realloc): Add memory_realloc_retry probe.
23630         (__libc_memalign): Add memory_memalign_retry probe.
23631         (__libc_valloc): Add memory_valloc_retry probe.
23632         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23633         (__libc_calloc): Add memory_calloc_retry probe.
23634         * manual/probes.texi: Document them.
23636         * malloc/arena.c (get_free_list): Add probe
23637         memory_arena_reuse_free_list.
23638         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23639         and memory_arena_reuse.
23640         (arena_get2) [!PER_THREAD]: Likewise.
23641         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23642         memory_arena_reuse_realloc.
23643         * manual/probes.texi: Document them.
23645         * malloc/malloc.c (__libc_free): Add
23646         memory_mallopt_free_dyn_thresholds probe.
23647         (__libc_mallopt): Add multiple memory_mallopt probes.
23648         * manual/probes.texi: Document them.
23650         * malloc/malloc.c: Include stap-probe.h.
23651         (__libc_mallopt): Add memory_mallopt probe.
23652         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23653         * manual/probes.texi: New.
23654         * manual/Makefile (chapters): Add probes.
23655         * manual/threads.texi: Set next node.
23657 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23659         [BZ #15963, #13985]
23660         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23661         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23662         Add `Chinese' to `nan' entry name.
23664 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23666         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23667         (POLYNOMIAL): Likewise.
23668         (TAYLOR_SINCOS): Likewise.
23669         (TAYLOR_SLOW): Likewise.
23670         (__sin): Use TAYLOR_SINCOS.
23671         (__cos): Likewise.
23672         (slow): Use TAYLOR_SLOW.
23673         (sloww): Likewise.
23674         (bsloww): Likewise.
23675         (csloww): Likewise.
23677 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23679         * stdlib/strtod_l.c: Fix buffer overrun.
23681 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23683         * benchtests/Makefile (bench): Add sincos.
23684         * benchtests/bench-sincos.c: New file.
23686         * math/libm-test.inc (cos_test_data): New test inputs.
23687         (sin_test_data): Likewise.
23689         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23690         macro.
23691         (__sin): Use it.
23692         (__cos): Likewise.
23693         (slow1): Likewise.
23694         (slow2): Likewise.
23695         (sloww1): Likewise.
23696         (sloww2): Likewise.
23697         (bsloww1): Likewise.
23698         (bsloww2): Likewise.
23699         (cslow2): Likewise.
23700         (csloww1): Likewise.
23701         (csloww2): Likewise.
23703         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23704         function.
23705         (__sin): Use it.
23706         (__cos): Likewise.
23708         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23709         gotos.
23710         (__cos): Likewise.
23712 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23714         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23715         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23716         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23717         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23718         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23719         * elf/cache.c (print_entry): Handle the new cache flags.
23721 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23722             Aldy Hernandez  <aldyh@redhat.com>
23724         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23725         Change condition to [_SOFT_FLOAT].
23726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23738         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23741         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23742         declaration.
23744 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23746         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23747         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23748         (__longjmp): Use LOAD_GP to load saved GPRs.
23749         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23750         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23751         (__sigsetjmp): Use SAVE_GP to save GPRs.
23753         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23754         Do not append -msoft-float.
23755         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23757 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23759         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23761 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23763         [BZ #15966]
23764         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23765         (_FPU_GETCW): Use initial "__" on variable and field names but not
23766         on macro parameter name.
23767         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23768         parentheses around reference to macro parameter.
23770 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23772         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23773         prototype.
23774         (ctype_startup): Use uint32_t in cast and sizeof for
23775         ctype->charnames.
23777 2013-09-11  Jia Liu  <proljc@gmail.com>
23779         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23780         __daddr_t_defined.
23781         [__FreeBSD__]: Likewise.
23783 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23786         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23787         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23788         (strchr): Remove __strchr_sse42 ifunc selection.
23789         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23790         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23792 2013-09-11  Will Newton  <will.newton@linaro.org>
23794         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23795         parameter to RES. Remove hardcoded 1000 value.
23796         * benchtests/bench-skeleton.c (main): Pass RES parameter
23797         to TIMING_INIT and multiply result by 1000.
23799 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23803 2013-09-11  Andreas Schwab  <schwab@suse.de>
23805         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23806         if not defined.
23807         (O_TMPFILE) [__USE_GNU]: Define.
23808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23809         Define.
23811 2013-09-11  Will Newton  <will.newton@linaro.org>
23813         [BZ #15857]
23814         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23815         does not overflow.
23817 2013-09-11  Will Newton  <will.newton@linaro.org>
23819         [BZ #15856]
23820         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23821         does not overflow.
23823 2013-09-11  Will Newton  <will.newton@linaro.org>
23825         [BZ #15855]
23826         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23827         does not overflow.
23829 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23831         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23832         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23833         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23834         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23835         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23837 2013-09-10  Allan McRae  <allan@archlinux.org>
23839         [BZ #15748]
23840         * manual/arith.texi (Parsing of Floats): Clarify
23841         cross-reference.
23843         [BZ #15849]
23844         * manual/install.texi (Running make install): Mention
23845         --enable-pt-chown.
23846         * INSTALL: Regenerated.
23848 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23850         * csu/init-first.c (_init): Remove the !SHARED condition around
23851         FPU control word initialization.
23852         * elf/dl-support.c (_dl_fpu_control): New variable.
23853         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23854         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23855         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23856         * math/test-fpucw-static.c: New file.
23857         * math/test-fpucw-ieee.c: New file.
23858         * math/test-fpucw-ieee-static.c: New file.
23859         * math/Makefile (tests): Add `test-fpucw-ieee' and
23860         `$(tests-static)'.
23861         (tests-static): New variable.
23862         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23863         dependency to...
23864         [($(build-shared),yes)]
23865         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23866         ... this.
23867         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23868         New dependency.
23870 2013-09-09  Allan McRae  <allan@archlinux.org>
23872         [BZ #15939]
23873         * manual/string.texi (Collation Functions): Fix typo in
23874         strcoll example.
23875         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23877         [BZ #15893]
23878         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23880         [BZ #15892]
23881         * libio/memstream.c (open_memstream): Fix memory leak.
23882         * libio/wmemstream.c (open_wmemstream): Likewise.
23884         [BZ #15895]
23885         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23887 2013-09-09  Will Newton  <will.newton@linaro.org>
23889         * malloc/Makefile: Add tst-realloc to tests.
23890         * malloc/tst-realloc.c: New file.
23892 2013-09-09  Allan McRae  <allan@archlinux.org>
23894         [BZ #15844]
23895         * COPYING: Update from GNU website to fix FSF address.
23896         * COPYING.LIB: Likewise.
23898 2013-09-06  David S. Miller  <davem@davemloft.net>
23900         * po/zh_TW.po: Update Chinese (traditional) translation from
23901         translation project.
23903 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23904             Joseph Myers  <joseph@codesourcery.com>
23906         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23907         "localeinfo.h".
23908         (obstack_chunk_alloc): New macro.
23909         (obstack_chunk_free): Likewise.
23910         (record_offset): New function.
23911         (init_locale_data): Likewise.
23912         (align_locale_data): Likewise.
23913         (add_locale_empty): Likewise.
23914         (add_locale_raw_data): Likewise.
23915         (add_locale_raw_obstack): Likewise.
23916         (add_locale_string): Likewise.
23917         (add_locale_wstring): Likewise.
23918         (add_locale_uint32): Likewise.
23919         (add_locale_uint32_array): Likewise.
23920         (add_locale_char): Likewise.
23921         (start_locale_structure): Likewise.
23922         (end_locale_structure): Likewise.
23923         (start_locale_prelude): Likewise.
23924         (end_locale_prelude): Likewise.
23925         (write_locale_data): Take locale_file structure rather than an
23926         iovec.
23927         * locale/programs/locfile.h: Include "obstack.h".
23928         (struct locale_file): Change to store locale file contents instead
23929         of header.
23930         (init_locale_data): New prototype.
23931         (align_locale_data): Likewise.
23932         (add_locale_empty): Likewise.
23933         (add_locale_raw_data): Likewise.
23934         (add_locale_raw_obstack): Likewise.
23935         (add_locale_string): Likewise.
23936         (add_locale_wstring): Likewise.
23937         (add_locale_uint32): Likewise.
23938         (add_locale_uint32_array): Likewise.
23939         (add_locale_char): Likewise.
23940         (start_locale_structure): Likewise.
23941         (end_locale_structure): Likewise.
23942         (start_locale_prelude): Likewise.
23943         (end_locale_prelude): Likewise.
23944         (write_locale_data): Update prototype.
23945         * locale/programs/3level.h (struct TABLE): Remove result field.
23946         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23947         Use new locale_file interface.
23948         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23949         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23950         * locale/programs/ld-address.c (address_output): Use new
23951         locale_file interface.
23952         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23953         NO_ADD_LOCALE.
23954         (collate_finish): Don't call collseq_table_finalize.
23955         (collate_output): Use new locale_file interface.
23956         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23957         in file.
23958         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23959         (TABLE): Move defines earlier in file.
23960         (ELEMENT): Likewise.
23961         (DEFAULT): Likewise.
23962         (wctrans_table_add): Move macro and inline function earlier in
23963         file.
23964         (struct wctype_table): Move type earlier in file.
23965         (add_locale_wctype_table): New static prototype.
23966         (struct locale_ctype_t): Use logical types instead of struct iovec
23967         pointers for members.
23968         (ctype_output): Use new locale_file interface.
23969         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23970         new locale_file interface.
23971         (allocate_arrays): Update for use of new locale_file interface.
23972         * locale/programs/ld-identification.c (identification_output): Use
23973         new locale_file interface.
23974         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23975         * locale/programs/ld-messages.c (messages_output): Likewise.
23976         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23977         * locale/programs/ld-name.c (name_output): Likewise.
23978         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23979         * locale/programs/ld-paper.c (paper_output): Likewise.
23980         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23981         * locale/programs/ld-time.c (time_output): Likewise.
23983 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23985         * benchtests/Makefile: Add memrchr benchmark.
23986         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23987         benchmark as memrchr.
23988         * benchtests/bench-memrchr-ifunc.c: New file.
23989         * benchtests/bench-memrchr.c: New file.
23991 2013-09-06   Will Newton  <will.newton@linaro.org>
23993         * benchtests/Makefile (string-bench): Add memcpy.
23995 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23996             Cong Wang  <amwang@redhat.com>
23998         [BZ #15850]
23999         * sysdeps/unix/sysv/linux/bits/in.h
24000         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24001         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24002         before __USE_KERNEL_IPV6_DEFS uses.
24003         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24004         IPPROTO_BEETPH.
24005         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24006         sockaddr_in6, or ipv6_mreq.
24008 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24010         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24011         memory access for final bytes in some large inputs.
24012         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24014 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24016         * string/test-memrchr.c: New file.
24017         * string/test-memrchr-ifunc.c: New file.
24018         * string/Makefile: Add new memrchr testcase.
24020 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24022         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24023         fanotify_init returns EPERM.
24025 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24027         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24028         errors.
24029         (top level): Treat second token from macro or constant entries for
24030         allowed headers as allowed.
24031         * include/complex.h: Condition internal declarations on
24032         [!_ISOMAC].
24033         * include/fenv.h: Condition include of <stdbool.h> and internal
24034         declarations on [!_ISOMAC].
24036 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24038         [BZ #15923]
24039         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24041 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24043         * configure.in (--enable-versioning): Remove configure option.
24044         (libc_cv_asm_symver_directive): Remove configure test.
24045         (libc_cv_ld_version_script_option): Likewise.
24046         (VERSIONING): Remove variable and AC_SUBST.
24047         (DO_VERSIONING): Remove AC_DEFINE.
24048         * configure: Regenerated.
24049         * config.h.in (DO_VERSIONING): Remove macro.
24050         * Makerules [$(versioning) = yes]: Change conditionals to
24051         [$(build-shared) = yes].
24052         * config.make.in (versioning): Remove variable.
24053         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24054         [$(build-shared) = yes].
24055         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24056         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24057         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24058         [$(build-shared) = yes].
24059         * extra-lib.mk [$(versioning) = yes]: Likewise.
24060         * hurd/Makefile [$(versioning) = yes]: Likewise.
24061         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24062         [SHARED].
24063         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24064         [SHARED].
24065         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24066         [SHARED && !NO_HIDDEN].
24067         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24068         [SHARED].
24069         [SHARED && DO_VERSIONING]: Likewise..
24070         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24071         [$(build-shared) = yes].
24072         * manual/install.texi (--disable-versioning): Remove
24073         documentation.
24074         * INSTALL: Regenerated.
24075         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24076         to [SHARED].
24077         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24078         [$(build-shared) = yes].
24079         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24080         * sysdeps/i386/i686/multiarch/strstr-c.c
24081         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24082         [SHARED && !NO_HIDDEN].
24083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24084         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24085         * sysdeps/powerpc/powerpc32/dl-machine.c
24086         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24087         * sysdeps/powerpc/powerpc32/sysdep.h
24088         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24089         to [SHARED && PIC && !NO_HIDDEN].
24090         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24091         conditional to [SHARED].
24093 2013-09-04   Will Newton  <will.newton@linaro.org>
24095         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24096         * benchtests/bench-string.h: Include bench-timing.h instead
24097         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24098         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24099         call to HP_TIMING_DIFF_INIT.
24100         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24101         instead of hp-timing.h macros.
24102         * benchtests/bench-memchr.c: Likewise.
24103         * benchtests/bench-memcmp.c: Likewise.
24104         * benchtests/bench-memcpy.c: Likewise.
24105         * benchtests/bench-memmem.c: Likewise.
24106         * benchtests/bench-memmove.c: Likewise.
24107         * benchtests/bench-memset.c: Likewise.
24108         * benchtests/bench-rawmemchr.c: Likewise.
24109         * benchtests/bench-strcasecmp.c: Likewise.
24110         * benchtests/bench-strcasestr.c: Likewise.
24111         * benchtests/bench-strcat.c: Likewise.
24112         * benchtests/bench-strchr.c: Likewise.
24113         * benchtests/bench-strcmp.c: Likewise.
24114         * benchtests/bench-strcpy.c: Likewise.
24115         * benchtests/bench-strcpy_chk.c: Likewise.
24116         * benchtests/bench-strlen.c: Likewise.
24117         * benchtests/bench-strncasecmp.c: Likewise.
24118         * benchtests/bench-strncat.c: Likewise.
24119         * benchtests/bench-strncmp.c: Likewise.
24120         * benchtests/bench-strncpy.c: Likewise.
24121         * benchtests/bench-strnlen.c: Likewise.
24122         * benchtests/bench-strpbrk.c: Likewise.
24123         * benchtests/bench-strrchr.c: Likewise.
24124         * benchtests/bench-strspn.c: Likewise.
24125         * benchtests/bench-strstr.c: Likewise.
24127 2013-09-04  Will Newton  <will.newton@linaro.org>
24129         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24131 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24133         [BZ #15427]
24134         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24135         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24136         * math/libm-test.inc (lgamma_test_data): Add more tests.
24137         * sysdeps/i386/fpu/libm-test-ulps: Update.
24138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24140 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24142         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24143         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24144         Add ifunc.
24145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24146         Add strcmp-sse2-unaligned
24147         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24149 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24151         * Versions.def (libc): Add GLIBC_2.19.
24153 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24155         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24156         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24158 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24160         [BZ #14155]
24161         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24162         intermediate calculations in recurrence.
24163         (__ieee754_ynf): Likewise.
24164         * math/libm-test.inc (jn_test_data): Do not allow spurious
24165         underflow exception.  Add more tests.
24166         (yn_test_data): Add more tests.
24167         * sysdeps/i386/fpu/libm-test-ulps: Update.
24168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24170 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24172         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24174 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24176         * csu/init-first.c: Fix then/than typos.
24177         * locale/programs/ld-collate.c: Likewise.
24178         * locale/programs/linereader.h: Likewise.
24179         * manual/charset.texi: Likewise.
24180         * manual/filesys.texi: Likewise.
24181         * manual/stdio.texi: Likewise.
24182         * manual/string.texi: Likewise.
24183         * stdlib/fmtmsg.c: Likewise.
24184         * sysdeps/i386/stpncpy.S: Likewise.
24185         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24186         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24187         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24188         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24190 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24192         * elf/dl-open.c: Fix typos.
24193         * iconvdata/gbbig5.c: Likewise.
24194         * iconvdata/iso-2022-jp.c: Likewise.
24195         * iconv/gconv_int.h: Likewise.
24196         * iconv/loop.c: Likewise.
24197         * nis/rpcsvc/nis.h: Likewise.
24198         * resolv/ns_name.c: Likewise.
24199         * stdio-common/vfscanf.c: Likewise.
24200         * streams/stropts.h: Likewise.
24201         * sunrpc/rpc_thread.c: Likewise.
24202         * sysdeps/i386/strpbrk.S: Likewise.
24203         * sysdeps/ieee754/k_standard.c: Likewise.
24204         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24205         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24206         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24207         * sysdeps/mach/hurd/profil.c: Likewise.
24208         * sysdeps/s390/dl-procinfo.h: Likewise.
24209         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24210         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24211         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24212         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24213         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24215 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24217         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24218         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24220 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24222         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24223         aix specific files.
24224         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24226         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24227         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24228         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24229         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24230         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24231         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24233 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24234             Roland McGrath  <roland@hack.frob.com>
24236         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24237         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24239 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24241         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24242         __executable_start symbol instead of _start.
24244 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24246         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24247         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24248         Move macros to...
24249         * sysdeps/gnu/ldsodefs.h: ... this new file.
24251         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24252         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24253         instead of ELFOSABI_LINUX.
24255         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24256         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24257         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24258         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24259         Likewise.
24260         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24261         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24262         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24263         Likewise.
24264         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24265         (ibm_extended_long_double): Add ieee_nan member.
24266         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24267         (do_test): New function.
24269         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24270         TEST_TRUNC.
24271         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24272         functions, renamed from truncdfsf_test, trunctfsf_test,
24273         trunctfdf_test.
24274         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24275         functions.
24276         (do_test): Run all these.
24278 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24280         * argp/argp-help.c: Fix typos.
24281         * argp/argp-parse.c: Likewise.
24282         * debug/backtracesyms.c: Likewise.
24283         * elf/elf.h: Likewise.
24284         * malloc/malloc.c: Likewise.
24285         * nis/nis_print.c: Likewise.
24286         * resolv/res_comp.c: Likewise.
24287         * stdlib/stdlib.h: Likewise.
24288         * sunrpc/clnt_tcp.c: Likewise.
24289         * sunrpc/clnt_udp.c: Likewise.
24290         * sunrpc/clnt_unix.c: Likewise.
24291         * sysdeps/unix/bsd/ptsname.c: Likewise.
24292         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24293         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24295         Likewise.
24296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24297         Likewise.
24298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24299         Likewise.
24300         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24302 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24304         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24307 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24309         [BZ #15897]
24310         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24311         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24312         ($(objpfx)bug-dl-leaf): New rule.
24313         ($(objpfx)bug-dl-leaf.so): Likewise.
24314         ($(objpfx)bug-dl-leaf.out): Likewise.
24315         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24316         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24317         * dlfcn/bug-dl-leaf.c: New test.
24318         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24319         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24320         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24321         (dlclose): Likewise.
24322         (dlmopen): Likewise.
24324 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24326         * include/netdb.h [!_ISOMAC]:
24327         Don't include <tls.h>.
24328         (h_errno, __libc_h_errno): Move declaration and macros out of
24329         [_LIBC_REENTRANT].
24331         * include/resolv.h [_RESOLV_H_]:
24332         Don't include <tls.h>.
24333         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24334         * resolv/res_libc.c: Don't include <tls.h>.
24335         (_res): Use __attribute__ ((nocommon)) in place of
24336         __attribute__ ((section (".bss"))).
24338         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24339         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24341         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24343         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24344         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24346         * resolv/res_mkquery.c: Include <sys/time.h>.
24348         * inet/ifreq.c: Moved to ...
24349         * sysdeps/unix/ifreq.c: ... here.
24350         * inet/ifreq.c: New file, true stub version.
24352         * socket/sa_len.c: New file.
24353         * socket/Makefile (aux): Add it.
24354         * sysdeps/unix/sysv/linux/Makefile
24355         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24356         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24357         and #include <socket/sa_len.c>.
24358         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24359         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24361         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24362         * bits/socket.h: ... here.
24364         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24365         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24366         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24368 2013-08-27  Andreas Schwab  <schwab@suse.de>
24370         [BZ #15736]
24371         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24372         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24373         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24374         * string/test-strcasecmp.c (test_main): Run tests in several
24375         locales.
24376         * string/test-strncasecmp.c (test_main): Likewise.
24378         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24379         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24380         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24381         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24382         (__strncasecmp_ssse3) [PIC]: Likewise.
24384 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24386         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24388         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24389         instead of explicitly declaring xdecrypt.
24390         * nis/nss_nis/nis-publickey.c: Likewise.
24392 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24394         [BZ #15890]
24395         * nscd/aicache.c: Include res_hconf.h.
24396         (addhstaiX): Initialize res_hconf.
24398 2013-08-26  Andreas Schwab  <schwab@suse.de>
24400         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24401         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24403 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24405         * nscd/aicache.c (addhstaiX): Fix indentation.
24407 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24409         * configure.ac: Quote $build_pt_chown test.
24410         * configure: Regenerated.
24412 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24414         [BZ #15532]
24415         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24416         * math/s_cexpf.c (__cexpf): Likewise.
24417         * math/s_cexpl.c (__cexpl): Likewise.
24418         * math/libm-test.inc (cexp_test_data): Correct expected return
24419         value for NaN + i0.  Add another test.
24421 2013-08-22  David S. Miller  <davem@davemloft.net>
24423         * po/ca.po: Update Catalan translation from translation project.
24424         * po/uk.po: Add Ukrainian translations from translation project.
24426 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24428         [BZ #15797]
24429         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24430         is infinite, not alongside NaN test.
24431         * math/s_fdimf.c (__fdimf): Likewise.
24432         * math/s_fdiml.c (__fdiml): Likewise.
24433         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24434         errno is unchanged.
24436 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24438         * argp/argp-help.c: Fix typos.
24439         * crypt/speeds.c: Likewise.
24440         * csu/check_fds.c: Likewise.
24441         * elf/dl-load.c: Likewise.
24442         * elf/dl-open.c: Likewise.
24443         * elf/reldep3.c: Likewise.
24444         * elf/reldep.c: Likewise.
24445         * elf/sprof.c: Likewise.
24446         * iconv/iconv_charmap.c: Likewise.
24447         * iconv/skeleton.c: Likewise.
24448         * iconv/strtab.c: Likewise.
24449         * io/lockf64.c: Likewise.
24450         * libio/libioP.h: Likewise.
24451         * resolv/gai_notify.c: Likewise.
24452         * resolv/ns_name.c: Likewise.
24453         * resolv/ns_samedomain.c: Likewise.
24454         * resolv/res_send.c: Likewise.
24455         * stdlib/random.c: Likewise.
24456         * sunrpc/rpc/xdr.h: Likewise.
24457         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24458         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24459         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24460         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24461         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24464         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24465         * sysdeps/mach/hurd/check_fds.c: Likewise.
24466         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24467         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24468         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24469         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24470         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24471         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24472         * sysdeps/pthread/aio_notify.c: Likewise.
24473         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24474         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24475         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24476         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24477         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24479 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24481         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24482         version if bit_Slow_SSE4_2 is set.
24483         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24484         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24486 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24488         [BZ #15867]
24489         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24490         trampoline stack frame information.
24491         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24492         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24493         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24494         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24495         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24496         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24497         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24498         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24499         sa_flags value.
24500         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24501         interrupting a syscall and set with option SA_SIGINFO.
24503 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24505         [BZ #15531]
24506         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24507         argument is infinite.
24508         * math/s_cprojf.c (__cprojf): Likewise.
24509         * math/s_cprojl.c (__cprojl): Likewise.
24510         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24511         * math/libm-test.inc (cproj_test_data): Add more tests.
24513         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24515         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24516         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24517         size.  Use __ffs to determine corresponding shift.
24519 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24520             Roland McGrath  <roland@hack.frob.com>
24522         * Makefile (INSTALL): Remove trailing blank lines from output of
24523         makeinfo.
24525 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24527         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24528         Align 32 bit compat elf_greg to 8 bytes.
24530 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24532         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24534 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24536         * string/strcoll_l.c (coll_seq): New structure.
24537         (get_next_seq_cached): New function.
24538         (get_next_seq): New function.
24539         (do_compare): New function.
24540         (STRCOLL): Use GNU style definition.  Simplify implementation
24541         by using get_next_seq, get_next_seq_cached and do_compare.
24543 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24545         [BZ #14699]
24546         CVE-2013-4237
24547         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24548         member.
24549         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24550         member.
24551         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24552         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24553         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24554         conditional.
24555         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24556         GETDENTS_64BIT_ALIGNED.
24557         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24558         * manual/filesys.texi (Reading/Closing Directory): Document
24559         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24560         strongly.
24561         * manual/conf.texi (Limits for Files): Add portability note to
24562         NAME_MAX, PATH_MAX.
24563         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24565 2013-08-13  Andreas Schwab  <schwab@suse.de>
24567         [BZ #15749]
24568         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24569         of fabs.
24570         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24571         LDBL_MAX_EXP >= 16384]: Add tests for it.
24573 2013-08-12  David S. Miller  <davem@davemloft.net>
24575         * version.h (RELEASE): Set to "development".
24576         (VERSION): Set to "2.18.90".
24577         * NEWS: Add 2.19 section.
24579 2013-08-03  David S. Miller  <davem@davemloft.net>
24581         * po/ko.po: Update Korean translation from translation project.
24583 2013-08-01  David S. Miller  <davem@davemloft.net>
24585         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24586         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24587         Bilka.
24589 2013-07-30  David S. Miller  <davem@davemloft.net>
24591         * po/fr.po: Update French translation from translation project.
24593 2013-07-28  David S. Miller  <davem@davemloft.net>
24595         * po/cs.po: Update Czech translation from translation project.
24597         * po/sv.po: Update Swedish translation from translation project.
24599 2013-07-27  David S. Miller  <davem@davemloft.net>
24601         * po/eo.po: Update Esperanto translation from translation project.
24603         * po/vi.po: Update Vietnamese translation from translation project.
24605         * po/de.po: Update German translation from translation project.
24607 2013-07-26  David S. Miller  <davem@davemloft.net>
24609         * po/bg.po: Update Bulgarian translation from translation project.
24611         * po/nl.po: Update Dutch translation from translation project.
24612         * po/pl.po: Update Polish translation from translation project.
24613         * po/ru.po: Update Russian translation from translation project.
24615 2013-07-24  David S. Miller  <davem@davemloft.net>
24617         * po/libc.pot: Update.
24619 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24621         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24622         variable page size.
24623         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24624         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24625         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24627 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24629         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24631 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24632             Andreas Schwab  <schwab@suse.de>
24633             Roland McGrath  <roland@hack.frob.com>
24634             Joseph Myers  <joseph@codesourcery.com>
24635             Carlos O'Donell  <carlos@redhat.com>
24637         [BZ #15755]
24638         * config.h.in: Define HAVE_PT_CHOWN.
24639         * config.make.in (build-pt-chown): New variable.
24640         * configure.in (--enable-pt_chown): New configure option.
24641         * configure: Regenerate.
24642         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24643         build-pt-chown is enabled.
24644         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24645         pt_chown to fix pty ownership.
24646         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24647         CLOSE_ALL_FDS.
24648         * manual/install.texi (Configuring and compiling): Mention
24649         --enable-pt_chown. Add @findex for grantpt.
24650         * INSTALL: Regenerate.
24652 2013-07-20  David S. Miller  <davem@davemloft.net>
24654         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24655         difference between 32-bit and 64-bit.
24657 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24659         [BZ #15711]
24660         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24661         Avoid system header dependency with -ffreestanding.
24662         ($(objpfx)bits/syscall%d): Likewise.
24664 2013-07-13  David S. Miller  <davem@davemloft.net>
24666         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24667         underflows from atanl/atan2l due to bug 15319.
24668         (casinh_test_data): Likewise.
24670 2013-07-07  David S. Miller  <davem@davemloft.net>
24672         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24674 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24676         * sysdeps/i386/fpu/libm-test-ulps: Update.
24677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24679 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24681         * configure.in (--enable-lock-elision): Fix message text.
24682         * INSTALL: Regenerate.
24683         * configure: Regenerate.
24685 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24689 2013-07-03  Andreas Jaeger  <aj@suse.de>
24691         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24692         define.
24693         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24694         (ptrace_peeksiginfo_args): Add.
24695         (__ptrace_peeksiginfo_flags): Add.
24696         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24697         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24698         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24700 2013-07-03  Allan McRae  <allan@archlinux.org>
24702         * sysdeps/i386/fpu/libm-test-ulps: Update.
24704 2013-07-02  David S. Miller  <davem@davemloft.net>
24706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24708 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24710         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24712 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24714         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24717 2013-07-02  Andi Kleen <ak@linux.intel.com>
24719         * config.h.in (ENABLE_LOCK_ELISION): Add.
24720         * configure.in (--enable-lock-elision): Add option.
24721         * manual/install.texi: Document --enable lock elision.
24722         * configure: Regenerate
24723         * INSTALL: Regenerate.
24725 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24727         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24728         SSE4.2 strcasecmp for libc.a.
24729         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24731 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24733         [BZ #13304]
24734         * soft-fp/op-common.h (_FP_FMA): New macro.
24735         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24736         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24737         (_FP_MUL_MEAT_1_imm): ... here.
24738         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24739         (_FP_MUL_MEAT_1_wide): ... here.
24740         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24741         (_FP_MUL_MEAT_1_hard): ... here.
24742         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24743         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24744         (_FP_MUL_MEAT_2_wide): ... here.
24745         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24746         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24747         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24748         (_FP_MUL_MEAT_2_gmp): ... here.
24749         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24750         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24751         (_FP_MUL_MEAT_4_wide): ... here.
24752         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24753         (_FP_MUL_MEAT_4_gmp): ... here.
24754         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24755         (_FP_WFRACBITS_DW_S): Likewise.
24756         (_FP_WFRACXBITS_DW_S): Likewise.
24757         (_FP_HIGHBIT_DW_S): Likewise.
24758         (FP_FMA_S): Likewise.
24759         (_FP_FRAC_HIGH_DW_S): Likewise.
24760         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24761         (_FP_WFRACBITS_DW_D): Likewise.
24762         (_FP_WFRACXBITS_DW_D): Likewise.
24763         (_FP_HIGHBIT_DW_D): Likewise.
24764         (FP_FMA_D): Likewise.
24765         (_FP_FRAC_HIGH_DW_D): Likewise.
24766         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24767         (_FP_WFRACBITS_DW_E): Likewise.
24768         (_FP_WFRACXBITS_DW_E): Likewise.
24769         (_FP_HIGHBIT_DW_E): Likewise.
24770         (FP_FMA_E): Likewise.
24771         (_FP_FRAC_HIGH_DW_E): Likewise.
24772         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24773         (_FP_WFRACBITS_DW_Q): Likewise.
24774         (_FP_WFRACXBITS_DW_Q): Likewise.
24775         (_FP_HIGHBIT_DW_Q): Likewise.
24776         (FP_FMA_Q): Likewise.
24777         (_FP_FRAC_HIGH_DW_Q): Likewise.
24778         * soft-fp/fmasf4.c: New file.
24779         * soft-fp/fmadf4.c: Likewise.
24780         * soft-fp/fmatf4.c: Likewise.
24782 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24785         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24786         Silvermont.
24787         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24788         macro.
24789         (index_Slow_SSE4_2): Likewise.
24790         (index_Prefer_PMINUB_for_stringop): Likewise.
24791         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24792         bit_Slow_SSE4_2 is set.
24793         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24794         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24796 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24798         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24799         rtld_global._dl_hwcap2.
24800         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24801         POWER8.
24802         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24803         POWER8 feature descriptions defined in _dl_hwcap2.
24804         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24805         string handling for POWER8 feature bits.
24806         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24807         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24808         _dl_powerpc_cap_flags.
24809         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24810         * sysdeps/powerpc/rtld-global-offsets.sym
24811         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24812         _dl_hwcap2 in the rtld_global_ro structure.
24814 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24816         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24817         hardware capabilities in support of AT_HWCAP2.
24818         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24819         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24820         GLRO(dl_hwcap2).
24821         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24822         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24823         explicitly the unknown a_type display mechanism is used.
24824         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24825         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24826         struct member.
24827         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24828         to macro prototype for AT_HWCAP2 support.
24829         * sysdeps/i386/dl-procinfo.h: Likewise.
24830         * sysdeps/s390/dl-procinfo.h: Likewise.
24831         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24832         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24833         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24834         return -1 for unknown a_type display fallback.
24835         * sysdeps/sparc/dl-procinfo.h: Likewise.
24836         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24837         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24839 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24841         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24842         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24844 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24846         [BZ #12492]
24847         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24848         mprotect making __stack_prot writable.
24850 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24851             Joseph Myers  <joseph@codesourcery.com>
24853         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24854         as being properly aligned.
24856 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24858         * dlfcn/modstatic5.c: New file.
24859         * dlfcn/tststatic5.c: New file.
24860         * dlfcn/Makefile (tests): Add tststatic5.
24861         (tests-static): Likewise.
24862         (modules-names): Add modstatic5.
24863         (tststatic5-ENV): New variable.
24864         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24866         [BZ #15022]
24867         * elf/dl-support.c (_dl_main_map): New variable.
24868         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24869         (_dl_nns, _dl_load_adds): Set to 1.
24870         (_dl_initial_searchlist): Refer to _dl_main_map.
24871         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24872         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24873         call to _dl_get_origin.
24874         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24875         around call_map.
24876         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24877         * dlfcn/modstatic3.c: New file.
24878         * dlfcn/tststatic3.c: New file.
24879         * dlfcn/tststatic4.c: New file.
24880         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24881         (tests-static): Likewise.
24882         (modules-names): Add modstatic3.
24883         (tststatic3-ENV, tststatic4-ENV): New variables.
24884         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24885         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24887 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24889         * configure.in (CC): Require GCC version 4.4 or later.
24890         * configure: Regenerated.
24891         * manual/install.texi (Tools for Compilation): Update GCC version
24892         requirement.
24893         * INSTALL: Regenerated.
24895 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24897         [BZ #15674]
24898         * string/test-memcmp.c (check2): New.
24899         (main): Call check2.
24901         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24903 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24905         [BZ #15022]
24906         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24907         over to...
24908         (dl_open_worker) [!SHARED]: ... here.
24910 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24912         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24914 2013-06-25  Richard Henderson  <rth@redhat.com>
24916         * locale/programs/locarchive.c: Include <libc-internal.h>
24918 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24920         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24921         trailing whitespace removed.
24923 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24925         [BZ #10283]
24926         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24927         * locale/programs/locarchive.c: Include libc-mmap.h.
24928         (prepare_address_space): Take two new outputs (the mmap base and len).
24929         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24930         values.
24931         (create_archive): Declare new mmap base and len values for
24932         prepare_address_space, and store the result in ah.
24933         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24934         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24935         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24936         Declare new mmap base and len values for
24937         prepare_address_space, and store the result in new_ah.
24938         (open_archive): Declare new mmap base and len values for
24939         prepare_address_space, and store the result in ah.
24940         (close_archive): If ah->mmap_base is not NULL, use that and
24941         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24942         * sysdeps/generic/libc-mmap.h: New file.
24944 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24946         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24947         (ALIGN_UP): Likewise.
24948         (PTR_ALIGN_DOWN): Likewise.
24949         (PTR_ALIGN_UP): Likewise.
24951 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24953         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24954         entry mapped to PPC_PLATFORM_POWER8.
24955         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24956         POWER8.
24957         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24958         (_dl_string_platform): Add case for exporting platform position for
24959         POWER8.
24960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24961         search path to sysdeps/powerpc/powerpc32/power8 directory.
24962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24963         search path to sysdeps/powerpc/powerpc64/power8 directory.
24964         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24965         power7 directories.
24966         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24967         power7 directories.
24969 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24971         * INSTALL: Regenerate.
24973         * nscd/connections.c (nscd_init): Fix comment.
24975 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24977         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24979         [BZ #15667]
24980         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24981         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24983 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24985         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24986         DL_DST_REQ_STATIC.
24987         (DL_DST_REQ_STATIC): Remove macro.
24989 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24991         [BZ #7006]
24992         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24993         with a shift of 0 bits.
24995 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24997         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24998         $(tststatic-ENV).
25000 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25002         [BZ #15655]
25003         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25005 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25007         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25008         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25009         accepts -fno-tree-loop-distribute-patterns.
25010         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25011         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25012         recursive call.
25013         * string/memset.c (memset): Likewise.
25014         * string/test-memmove.c (simple_memmove): Disable loop transformation
25015         to library calls.
25016         * string/test-memset.c (simple_memset): Likewise.
25017         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25018         * benchtests/bench-memset.c (simple_memset): Likewise.
25019         * configure: Regenerated.
25021 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25023         * math/test-misc.c (main): Ignore fesetround failure when failures
25024         of subsequent rounding tests would be ignored.
25026         [BZ #15654]
25027         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25028         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25029         * math/fegetenv.c (__fegetenv): Return 0.
25030         * math/fegetexcept.c (fegetexcept): Return 0.
25031         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25032         FE_TONEAREST.
25033         * math/feholdexcpt.c (feholdexcept): Return 0.
25034         * math/fesetenv.c (__fesetenv): Return 0.
25035         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25036         argument FE_TONEAREST.
25037         * math/feupdateenv.c (__feupdateenv): Return 0.
25038         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25040 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25042         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25043         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25044         ($(objpfx)rtld-%.os rules): Use them.
25046 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25048         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25049         fields.
25051 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25053         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25054         length of target pattern, then descending length of dependency pattern.
25055         * configure.in (AWK): Require gawk 3.1.2 or newer.
25056         * manual/install.texi (Tools for Compilation): Say that we do.
25057         * configure: Regenerated.
25059         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25060         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25061         * scripts/sysd-rules.awk: ... this new script.
25062         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25063         than a glob-style pattern.
25065 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25067         * math/test-misc.c (main): Do not treat incorrectly rounded
25068         conversions as failure unless ROUNDING_TESTS passes.
25070 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25072         [BZ #15631]
25073         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25074         restore exception state around main square root computation, then
25075         check for inexactness explicitly.
25077         * math/libm-test.inc (fma_test_data): Add another test.
25079 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25081         * manual/threads.texi (Non-POSIX Extensions): New document
25082         node.  Document pthread_getattr_default_np and
25083         pthread_setattr_default_np.
25085         * Versions.def (libpthread): Add GLIBC_2.18.
25086         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25088         Likewise.
25089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25090         Likewise.
25091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25092         Likewise.
25093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25094         Likewise.
25095         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25096         Likewise.
25097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25098         Likewise.
25099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25100         Likewise.
25101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25102         Likewise.
25103         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25104         Likewise.
25106 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25109         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25111 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25112             H.J. Lu  <hjl.tools@gmail.com>
25114         [BZ #15627]
25115         * sysdeps/x86_64/rtld-memset.c: Remove file.
25116         * sysdeps/x86_64/rtld-memset.S: New file.
25118 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25120         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25121         (test_in_one_mode): Take arguments for whether the rounding mode
25122         is supported for each floating-point type.
25123         (do_test): Pass new arguments to test_in_one_mode using
25124         ROUNDING_TESTS.
25126 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25128         * posix/tst-waitid.c (do_test): Distinguish different instances of
25129         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25130         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25131         before entering the kernel for waitpid.
25133 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25135         * NEWS: Fix note on clock function precision.  Text by Roland
25136         McGrath.
25138 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25140         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25141         it into place only when and if the sanity check passes.
25143 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25145         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25146         output for whether conversion result is exact.  Take argument
25147         indicating whether type is IBM long double.
25148         (round_for_all): Change need_exact field to ibm_ld.
25149         * stdlib/tst-strtod-round.c (struct exactness): New type.
25150         (struct test): Change bool ld_ok field to struct exactness exact.
25151         (TEST): Update all definitions for change to field.
25152         (tests): Regenerate array contents.
25153         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25154         field value.  Check for IBM long double here.
25155         (do_test): Update calls to test_in_one_mode.
25157 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25159         [BZ #12515]
25160         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25161         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25163 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25165         [BZ #15605]
25166         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25167         generated by the compiler on loop optimizations.
25168         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25169         general definitions.
25171 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25173         * math/bug-nextafter.c: Include <math-tests.h>.
25174         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25175         the relevant type.
25176         * math/bug-nexttoward.c: Include <math-tests.h>.
25177         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25178         the relevant type.
25179         * math/test-misc.c: Include <math-tests.h>.
25180         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25181         the relevant type.
25183 2013-06-12  Andreas Jaeger  <aj@suse.de>
25185         * po/ia.po: Update Interlingua translation from translation
25186         project.
25188 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25190         * include/fenv.h: Include stdbool.h.
25191         (struct rm_ctx): New structure.
25192         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25193         Define macro.
25194         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25195         (SET_RESTORE_ROUNDF): Likewise.
25196         (SET_RESTORE_ROUNDL): Likewise.
25197         (SET_RESTORE_ROUND_NOEX): Likewise.
25198         (SET_RESTORE_ROUND_NOEXF): Likewise.
25199         (SET_RESTORE_ROUND_NOEXL): Likewise.
25200         (SET_RESTORE_ROUND_53BIT): Likewise.
25201         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25202         (libc_feresetround_noexf_ctx): Likewise.
25203         (libc_feresetround_noexl_ctx): Likewise.
25204         (libc_feholdsetround_53bit_ctx): Likewise.
25205         (libc_feresetround_53bit_ctx): Likewise.
25206         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25207         (libc_feholdexcept_setround_sse_ctx): New function.
25208         (libc_fesetenv_sse_ctx): Likewise.
25209         (libc_feupdateenv_sse_ctx): Likewise.
25210         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25211         (libc_feholdexcept_setround_387_ctx): Likewise.
25212         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25213         (libc_feholdsetround_387_prec_ctx): Likewise.
25214         (libc_feholdsetround_387_ctx): Likewise.
25215         (libc_feholdsetround_387_53bit_ctx): Likewise.
25216         (libc_feholdsetround_sse_ctx): Likewise.
25217         (libc_feresetround_sse_ctx): Likewise.
25218         (libc_feresetround_387_ctx): Likewise.
25219         (libc_feupdateenv_387_ctx): Likewise.
25220         (libc_feholdexcept_setroundf_ctx): Define macro.
25221         (libc_fesetenvf_ctx): Likewise.
25222         (libc_feupdateenvf_ctx): Likewise.
25223         (libc_feholdsetroundf_ctx): Likewise.
25224         (libc_feresetroundf_ctx): Likewise.
25225         (libc_feholdexcept_setround_ctx): Likewise.
25226         (libc_fesetenv_ctx): Likewise.
25227         (libc_feupdateenv_ctx): Likewise.
25228         (libc_feholdsetround_ctx): Likewise.
25229         (libc_feresetround_ctx): Likewise.
25230         (libc_feholdexcept_setroundl_ctx): Likewise.
25231         (libc_feupdateenvl_ctx): Likewise.
25232         (libc_feholdsetroundl_ctx): Likewise.
25233         (libc_feresetroundl_ctx): Likewise.
25234         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25235         (libc_feresetround_53bit_ctx): Likewise.
25237 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25239         * locale/iso-639.def: Convert to UTF-8.
25241 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25243         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25244         (EXCEPTION_TESTS_double): Likewise.
25245         (EXCEPTION_TESTS_long_double): Likewise.
25246         (EXCEPTION_TESTS): Likewise.
25247         * math/libm-test.inc (test_exceptions): Only test exceptions if
25248         EXCEPTION_TESTS (FLOAT).
25250 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25252         * benchtests/Makefile (string-bench): Add strcpy_chk and
25253         stpcpy_chk.
25254         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25255         * benchtests/bench-stpcpy_chk.c: New file.
25256         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25257         * benchtests/bench-strcpy_chk.c: New file.
25258         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25259         code.
25260         (do_test): Likewise.
25262 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25264         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25265         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25266         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25267         with tabs where appropriate.
25268         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25269         dl-procinfo.h.
25270         [PPC_PLATFORM_PPC440]: Likewise.
25271         [PPC_PLATFORM_PPC464]: Likewise.
25272         [PPC_PLATFORM_PPC476]: Likewise.
25273         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25274         ppc464, and ppc476 platform strings merging from ports/
25275         dl-procinfo.h.
25277 2013-06-11  Andreas Schwab  <schwab@suse.de>
25279         [BZ #14991]
25280         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25281         (from_ucs4_idx): Regenerate.
25282         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25283         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25284         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25285         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25286         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25287         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25288         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25289         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25290         from FROM_LOOP and TO_LOOP specific macros.
25291         (BODY): Handle combining characters.
25292         * iconvdata/BIG5HKSCS.irreversible: Update.
25293         * iconvdata/BIG5HKSCS.precomposed: New file.
25294         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25295         characters.
25296         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25298 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25300         * include/sys/time.h: Fix indentation and add copyright header.
25302         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25303         (do_test): Likewise.
25304         * string/test-memchr.c (do_one_test): Likewise.
25305         (do_test): Likewise.
25306         * string/test-memcmp.c (do_one_test): Likewise.
25307         (do_test): Likewise.
25308         * string/test-memcpy.c (do_one_test): Likewise.
25309         (do_test): Likewise.
25310         * string/test-memmem.c (do_one_test): Likewise.
25311         (do_test): Likewise.
25312         (do_random_tests): Likewise.
25313         * string/test-memmove.c (do_one_test): Likewise.
25314         (do_test): Likewise.
25315         * string/test-memset.c (do_one_test): Likewise.
25316         (do_test): Likewise.
25317         * string/test-rawmemchr.c (do_one_test): Likewise.
25318         (do_test): Likewise.
25319         * string/test-strcasecmp.c (do_one_test): Likewise.
25320         (do_test): Likewise.
25321         * string/test-strcasestr.c (do_one_test): Likewise.
25322         (do_test): Likewise.
25323         * string/test-strcat.c (do_one_test): Likewise.
25324         (do_test): Likewise.
25325         * string/test-strchr.c (do_one_test): Likewise.
25326         (do_test): Likewise.
25327         * string/test-strcmp.c (do_one_test): Likewise.
25328         (do_test): Likewise.
25329         * string/test-strcpy.c (do_one_test): Likewise.
25330         (do_test): Likewise.
25331         * string/test-string.h: Likewise.
25332         (test_init): Likewise.
25333         * string/test-strlen.c (do_one_test): Likewise.
25334         (do_test): Likewise.
25335         * string/test-strncasecmp.c (do_one_test): Likewise.
25336         (do_test): Likewise.
25337         * string/test-strncat.c (do_one_test): Likewise.
25338         (do_test): Likewise.
25339         * string/test-strncmp.c (do_one_test): Likewise.
25340         (do_test_limit): Likewise.
25341         (do_test): Likewise.
25342         * string/test-strncpy.c (do_one_test): Likewise.
25343         (do_test): Likewise.
25344         * string/test-strnlen.c (do_one_test): Likewise.
25345         (do_test): Likewise.
25346         * string/test-strpbrk.c (do_one_test): Likewise.
25347         (do_test): Likewise.
25348         * string/test-strrchr.c (do_one_test): Likewise.
25349         (do_test): Likewise.
25350         * string/test-strspn.c (do_one_test): Likewise.
25351         (do_test): Likewise.
25352         * string/test-strstr.c (do_one_test): Likewise.
25353         (do_test): Likewise.
25355         * benchtests/Makefile (string-bench): Add string benchmarks.
25356         * benchtests/bench-bcopy-ifunc.c: New file.
25357         * benchtests/bench-bcopy.c: New file.
25358         * benchtests/bench-bzero-ifunc.c: New file.
25359         * benchtests/bench-bzero.c: New file.
25360         * benchtests/bench-memccpy-ifunc.c: New file.
25361         * benchtests/bench-memccpy.c: New file.
25362         * benchtests/bench-memchr-ifunc.c: New file.
25363         * benchtests/bench-memchr.c: New file.
25364         * benchtests/bench-memcmp-ifunc.c: New file.
25365         * benchtests/bench-memcmp.c: New file.
25366         * benchtests/bench-memmem-ifunc.c: New file.
25367         * benchtests/bench-memmem.c: New file.
25368         * benchtests/bench-memmove-ifunc.c: New file.
25369         * benchtests/bench-memmove.c: New file.
25370         * benchtests/bench-mempcpy-ifunc.c: New file.
25371         * benchtests/bench-mempcpy.c: New file.
25372         * benchtests/bench-memset-ifunc.c: New file.
25373         * benchtests/bench-memset.c: New file.
25374         * benchtests/bench-rawmemchr-ifunc.c: New file.
25375         * benchtests/bench-rawmemchr.c: New file.
25376         * benchtests/bench-stpcpy-ifunc.c: New file.
25377         * benchtests/bench-stpcpy.c: New file.
25378         * benchtests/bench-stpncpy-ifunc.c: New file.
25379         * benchtests/bench-stpncpy.c: New file.
25380         * benchtests/bench-strcasecmp-ifunc.c: New file.
25381         * benchtests/bench-strcasecmp.c: New file.
25382         * benchtests/bench-strcasestr-ifunc.c: New file.
25383         * benchtests/bench-strcasestr.c: New file.
25384         * benchtests/bench-strcat-ifunc.c: New file.
25385         * benchtests/bench-strcat.c: New file.
25386         * benchtests/bench-strchr-ifunc.c: New file.
25387         * benchtests/bench-strchr.c: New file.
25388         * benchtests/bench-strchrnul-ifunc.c: New file.
25389         * benchtests/bench-strchrnul.c: New file.
25390         * benchtests/bench-strcmp-ifunc.c: New file.
25391         * benchtests/bench-strcmp.c: New file.
25392         * benchtests/bench-strcpy-ifunc.c: New file.
25393         * benchtests/bench-strcpy.c: New file.
25394         * benchtests/bench-strcspn-ifunc.c: New file.
25395         * benchtests/bench-strcspn.c: New file.
25396         * benchtests/bench-strlen-ifunc.c: New file.
25397         * benchtests/bench-strlen.c: New file.
25398         * benchtests/bench-strncasecmp-ifunc.c: New file.
25399         * benchtests/bench-strncasecmp.c: New file.
25400         * benchtests/bench-strncat-ifunc.c: New file.
25401         * benchtests/bench-strncat.c: New file.
25402         * benchtests/bench-strncmp-ifunc.c: New file.
25403         * benchtests/bench-strncmp.c: New file.
25404         * benchtests/bench-strncpy-ifunc.c: New file.
25405         * benchtests/bench-strncpy.c: New file.
25406         * benchtests/bench-strnlen-ifunc.c: New file.
25407         * benchtests/bench-strnlen.c: New file.
25408         * benchtests/bench-strpbrk-ifunc.c: New file.
25409         * benchtests/bench-strpbrk.c: New file.
25410         * benchtests/bench-strrchr-ifunc.c: New file.
25411         * benchtests/bench-strrchr.c: New file.
25412         * benchtests/bench-strspn-ifunc.c: New file.
25413         * benchtests/bench-strspn.c: New file.
25414         * benchtests/bench-strstr-ifunc.c: New file.
25415         * benchtests/bench-strstr.c: New file.
25417         * benchtests/Makefile: Disable parallel execution of targets.
25418         (string-bench): Add memcpy.
25419         (benchset): New variable to store a list of benchmark sets.
25420         (bench-func): Renamed from bench.
25421         (bench-set): New target.
25422         (bench): Depend on bench-func and bench-set.
25423         * benchtests/README: Add section on benchmark sets.
25424         * benchtests/bench-memcpy-ifunc.c: New file.
25425         * benchtests/bench-memcpy.c: New file.
25426         * benchtests/bench-string.h: New file.
25428 2013-06-11  Andreas Schwab  <schwab@suse.de>
25430         [BZ #15577]
25431         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25432         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25433         values in the triple.
25434         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25435         terminator in the group key.
25437 2013-06-11  Andreas Jaeger  <aj@suse.de>
25439         * po/zh_TW.po: Update Chinese (traditional) translation from
25440         translation project.
25442 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25444         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25445         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25446         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25448         (clock_getcpuclockid): Likewise.
25449         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25450         Add weak_alias and libc_hidden_def.
25451         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25452         * rt/clock_gettime.c (clock_gettime): Rename to
25453         __clock_gettime.  Add weak_alias and libc_hidden_def.
25454         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25455         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25456         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25457         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25458         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25459         Likewise.
25460         * rt/clock_settime.c (clock_settime): Rename to
25461         __clock_settime.  Add weak_alias and libc_hidden_def.
25462         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25464 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25466         * mach/err_boot.sub: Remove trailing whitespace.
25467         * mach/err_ipc.sub: Likewise.
25468         * mach/err_mach.sub: Likewise.
25470         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25471         (ROUNDING_TESTS_double): Likewise.
25472         (ROUNDING_TESTS_long_double): Likewise.
25473         (ROUNDING_TESTS): Likewise.
25474         * math/libm-test.inc: Include <math-tests.h>.
25475         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25476         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25477         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25478         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25480 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25483         of assigning.
25485 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25487         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25488         otherwise empty TRANS lines.
25489         * sysdeps/gnu/errlist.c: Regenerated.
25491         * catgets/gencat.c (error_print): Use (void) in function
25492         definition.
25493         * crypt/crypt_util.c (__init_des): Likewise.
25494         * crypt/speeds.c (Stop): Likewise.
25495         (main): Likewise.
25496         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25497         * inet/ruserpass.c (token): Likewise.
25498         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25499         * intl/localealias.c (extend_alias_table): Likewise.
25500         * intl/plural-exp.c (init_germanic_plural): Likewise.
25501         * libio/fcloseall.c (__fcloseall): Likewise.
25502         * libio/genops.c (_IO_flush_all): Likewise.
25503         (_IO_flush_all_linebuffered): Likewise.
25504         (_IO_cleanup): Likewise.
25505         (_IO_iter_begin): Likewise.
25506         (_IO_iter_end): Likewise.
25507         (_IO_list_lock): Likewise.
25508         (_IO_list_unlock): Likewise.
25509         (_IO_list_resetlock): Likewise.
25510         * libio/getchar.c (getchar): Likewise.
25511         * libio/getchar_u.c (getchar_unlocked): Likewise.
25512         * libio/getwchar.c (getwchar): Likewise.
25513         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25514         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25515         * login/getpt.c (__getpt): Likewise.
25516         * login/tst-utmp.c (main): Likewise.
25517         * malloc/hooks.c (__malloc_check_init): Likewise.
25518         * malloc/malloc.c (__malloc_stats): Likewise.
25519         * malloc/mtrace.c (tr_break): Likewise.
25520         (mtrace): Likewise.
25521         (muntrace): Likewise.
25522         * misc/fstab.c (endfsent): Likewise.
25523         * misc/getclktck.c (__getclktck): Likewise.
25524         * misc/getdtsz.c (__getdtablesize): Likewise.
25525         * misc/gethostid.c (gethostid): Likewise.
25526         * misc/getpagesize.c (__getpagesize): Likewise.
25527         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25528         (__get_nprocs): Likewise.
25529         (__get_phys_pages): Likewise.
25530         (__get_avphys_pages): Likewise.
25531         * misc/getttyent.c (getttyent): Likewise.
25532         (setttyent): Likewise.
25533         (endttyent): Likewise.
25534         * misc/getusershell.c (getusershell): Likewise.
25535         (endusershell): Likewise.
25536         (setusershell): Likewise.
25537         (initshells): Likewise.
25538         * misc/hsearch.c (__hdestroy): Likewise.
25539         * misc/sync.c (sync): Likewise.
25540         * misc/syslog.c (closelog_internal): Likewise.
25541         (closelog): Likewise.
25542         * misc/ttyslot.c (ttyslot): Likewise.
25543         * misc/vhangup.c (vhangup): Likewise.
25544         * posix/fork.c (__fork): Likewise.
25545         * posix/getegid.c (__getegid): Likewise.
25546         * posix/geteuid.c (__geteuid): Likewise.
25547         * posix/getgid.c (__getgid): Likewise.
25548         * posix/getpid.c (__getpid): Likewise.
25549         * posix/getppid.c (__getppid): Likewise.
25550         * posix/getuid.c (__getuid): Likewise.
25551         * posix/pause.c (pause): Likewise.
25552         * posix/setpgrp.c (setpgrp): Likewise.
25553         * posix/setsid.c (__setsid): Likewise.
25554         * posix/test-vfork.c (noop): Likewise.
25555         * resolv/gethnamaddr.c (_endhtent): Likewise.
25556         (_gethtent): Likewise.
25557         (ht_endhostent): Likewise.
25558         (gethostent): Likewise.
25559         (dns_service): Likewise.
25560         * stdlib/drand48.c (drand48): Likewise.
25561         * stdlib/lrand48.c (lrand48): Likewise.
25562         * stdlib/mrand48.c (mrand48): Likewise.
25563         * stdlib/rand.c (rand): Likewise.
25564         * stdlib/random.c (__random): Likewise.
25565         * stdlib/setenv.c (clearenv): Likewise.
25566         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25567         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25568         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25569         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25570         (__get_nprocs): Likewise.
25571         (__get_phys_pages): Likewise.
25572         (__get_avphys_pages): Likewise.
25573         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25574         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25575         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25576         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25577         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25578         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25579         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25580         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25581         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25582         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25583         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25584         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25585         * sysdeps/posix/clock.c (clock): Likewise.
25586         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25587         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25588         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25589         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25590         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25591         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25592         (__get_nprocs_conf): Likewise.
25593         (__get_phys_pages): Likewise.
25594         (__get_avphys_pages): Likewise.
25595         * time/clock.c (clock): Likewise.
25596         * time/tzset.c (__tzname_max): Likewise.
25598 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25600         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25601         (__bswap_32): Do not use "register".
25602         * crypt/crypt.c (_ufc_doit_r): Likewise.
25603         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25604         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25605         * gmon/gmon.c (__monstartup): Likewise.
25606         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25607         * hurd/hurdmalloc.c (more_memory): Likewise.
25608         (malloc): Likewise.
25609         (free): Likewise.
25610         (realloc): Likewise.
25611         (malloc_fork_prepare): Likewise.
25612         (malloc_fork_parent): Likewise.
25613         (malloc_fork_child): Likewise.
25614         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25615         (_svcauth_des): Likewise.
25616         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25617         * inet/inet_net.c (inet_network): Likewise.
25618         * inet/inet_netof.c (inet_netof): Likewise.
25619         * inet/rcmd.c (__validuser2_sa): Likewise.
25620         * io/fts.c (fts_open): Likewise.
25621         (fts_load): Likewise.
25622         (fts_close): Likewise.
25623         (fts_read): Likewise.
25624         (fts_children): Likewise.
25625         (fts_build): Likewise.
25626         (fts_stat): Likewise.
25627         (fts_sort): Likewise.
25628         (fts_alloc): Likewise.
25629         (fts_lfree): Likewise.
25630         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25631         (_IO_file_xsgetn): Likewise.
25632         (_IO_file_xsgetn_mmap): Likewise.
25633         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25634         (_IO_cookie_write): Likewise.
25635         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25636         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25637         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25638         * malloc/obstack.c (_obstack_begin): Likewise.
25639         (_obstack_begin_1): Likewise.
25640         (_obstack_newchunk): Likewise.
25641         (_obstack_allocated_p): Likewise.
25642         (obstack_free): Likewise.
25643         (_obstack_memory_used): Likewise.
25644         * misc/getttyent.c (getttynam): Likewise.
25645         (getttyent): Likewise.
25646         (skip): Likewise.
25647         (value): Likewise.
25648         * misc/getusershell.c (initshells): Likewise.
25649         * misc/syslog.c (__vsyslog_chk): Likewise.
25650         * misc/ttyslot.c (ttyslot): Likewise.
25651         * nis/nis_hash.c (__nis_hash): Likewise.
25652         * posix/fnmatch_loop.c (FCT): Likewise.
25653         * posix/getconf.c (print_all): Likewise.
25654         (main): Likewise.
25655         * posix/getopt.c (exchange): Likewise.
25656         * posix/glob.c (globfree): Likewise.
25657         (prefix_array): Likewise.
25658         (__glob_pattern_type): Likewise.
25659         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25660         (NS_GET32): Likewise.
25661         (NS_PUT16): Likewise.
25662         (NS_PUT32): Likewise.
25663         * resolv/gethnamaddr.c (getanswer): Likewise.
25664         (gethostbyname2): Likewise.
25665         (gethostbyaddr): Likewise.
25666         (_gethtent): Likewise.
25667         (_gethtbyname2): Likewise.
25668         (_gethtbyaddr): Likewise.
25669         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25670         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25671         * resolv/res_init.c (__res_vinit): Likewise.
25672         (net_mask): Likewise.
25673         * resolv/res_mkquery.c (outchar): Likewise.
25674         (PRINT): Likewise.
25675         * stdio-common/printf_fp.c (outchar): Likewise.
25676         (PRINT): Likewise.
25677         * stdio-common/printf_fphex.c (outchar): Likewise.
25678         (PRINT): Likewise.
25679         * stdio-common/printf_size.c (outchar): Likewise.
25680         (PRINT): Likewise.
25681         * stdio-common/test_rdwr.c (main): Likewise.
25682         * stdio-common/tfformat.c (matches): Likewise.
25683         * stdio-common/vfprintf.c (outchar): Likewise.
25684         (printf_unknown): Likewise.
25685         (buffered_vfprintf): Likewise.
25686         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25687         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25688         (ReadFile): Likewise.
25689         * stdlib/qsort.c (SWAP): Likewise.
25690         (_quicksort): Likewise.
25691         * stdlib/setenv.c (__add_to_environ): Likewise.
25692         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25693         * stdlib/strtol_l.c (__strtol_l): Likewise.
25694         * stdlib/tst-strtod.c (main): Likewise.
25695         * stdlib/tst-strtol.c (main): Likewise.
25696         * stdlib/tst-strtoll.c (main): Likewise.
25697         * string/bits/string2.h (__strcmp_cc): Likewise.
25698         (__strcmp_cg): Likewise.
25699         (__strcspn_c1): Likewise.
25700         (__strcspn_c2): Likewise.
25701         (__strcspn_c3): Likewise.
25702         (__strspn_c1): Likewise.
25703         (__strspn_c2): Likewise.
25704         (__strspn_c3): Likewise.
25705         (__strsep_1c): Likewise.
25706         (__strsep_2c): Likewise.
25707         (__strsep_3c): Likewise.
25708         * string/memccpy.c (__memccpy): Likewise.
25709         * string/stpcpy.c (__stpcpy): Likewise.
25710         * string/strcmp.c (strcmp): Likewise.
25711         * string/strrchr.c (strrchr): Likewise.
25712         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25713         Likewise.
25714         * sysdeps/mach/hurd/getcwd.c
25715         (_hurd_canonicalize_directory_name_internal): Likewise.
25716         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25717         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25718         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25719         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25720         Likewise, in both definitions.
25721         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25722         definitions.
25723         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25724         64] (__bswap_64): Likewise.
25725         * time/test_time.c (main): Likewise.
25726         * time/tzfile.c (__tzfile_read): Likewise.
25727         (__tzfile_compute): Likewise.
25728         * time/tzset.c (__tzset_parse_tz): Likewise.
25729         (tzset_internal): Likewise.
25730         (compute_change): Likewise.
25731         * wcsmbs/wcscat.c (__wcscat): Likewise.
25732         * wcsmbs/wcschr.c (wcschr): Likewise.
25733         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25734         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25735         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25736         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25737         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25738         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25739         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25740         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25741         * wcsmbs/wmemset.c (wmemset): Likewise.
25743 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25745         * scripts/config.guess: Update to version 2013-05-16.
25746         * scripts/config.sub: Update to version 2013-04-24.
25747         * scripts/install-sh: Update to version 2011-11-20.07.
25748         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25749         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25751 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25753         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25754         * elf/sln.c: Likewise.
25755         * hurd/hurd/ioctl.h: Likewise.
25756         * hurd/hurdmalloc.c: Likewise.
25757         * hurd/xattr.c: Likewise.
25758         * include/shlib-compat.h: Likewise.
25759         * inet/ruserpass.c: Likewise.
25760         * libio/iofgets_u.c: Likewise.
25761         * libio/iofgetws_u.c: Likewise.
25762         * locale/programs/ld-identification.c: Likewise.
25763         * locale/programs/ld-time.c: Likewise.
25764         * mach/msg-destroy.c: Likewise.
25765         * nss/nss_files/files-netgrp.c: Likewise.
25766         * resolv/res_data.c: Likewise.
25767         * soft-fp/op-1.h: Likewise.
25768         * soft-fp/op-2.h: Likewise.
25769         * soft-fp/op-4.h: Likewise.
25770         * soft-fp/op-common.h: Likewise.
25771         * stdio-common/printf_fphex.c: Likewise.
25772         * stdlib/strtod_l.c: Likewise.
25773         * sunrpc/rpc/clnt.h: Likewise.
25774         * sysdeps/generic/framestate.c: Likewise.
25775         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25776         * sysdeps/i386/bsd-setjmp.S: Likewise.
25777         * sysdeps/i386/__longjmp.S: Likewise.
25778         * sysdeps/i386/setjmp.S: Likewise.
25779         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25780         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25781         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25782         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25783         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25788         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25790         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25791         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25792         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25793         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25795         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25796         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25797         * sysdeps/ieee754/support.c: Likewise.
25798         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25799         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25800         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25801         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25802         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25803         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25804         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25805         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25806         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25807         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25808         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25809         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25810         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25812         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25813         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25814         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25817 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25819         * posix/transbug.c: Remove executable mode.
25821 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25823         * crypt/speeds.c: Remove trailing whitespace.
25824         * dlfcn/default.c: Likewise.
25825         * elf/ifuncdep2.c: Likewise.
25826         * elf/ifuncmain1.c: Likewise.
25827         * elf/ifuncmain1vis.c: Likewise.
25828         * elf/testobj.h: Likewise.
25829         * elf/tst-stackguard1.c: Likewise.
25830         * gmon/sys/gmon.h: Likewise.
25831         * hurd/hurdmsg.c: Likewise.
25832         * hurd/new-fd.c: Likewise.
25833         * hurd/ports-get.c: Likewise.
25834         * iconvdata/ibm1008_420.c: Likewise.
25835         * inet/tst-getni1.c: Likewise.
25836         * inet/tst-getni2.c: Likewise.
25837         * libio/ioungetc.c: Likewise.
25838         * libio/wfiledoalloc.c: Likewise.
25839         * manual/libm-err-tab.pl: Likewise.
25840         * math/w_dremf.c: Likewise.
25841         * misc/ftruncate.c: Likewise.
25842         * posix/bug-glob2.c: Likewise.
25843         * posix/tst-pcre.c: Likewise.
25844         * posix/wait4.c: Likewise.
25845         * resolv/README: Likewise.
25846         * resolv/res_debug.h: Likewise.
25847         * resolv/tst-inet_ntop.c: Likewise.
25848         * setjmp/bug269-setjmp.c: Likewise.
25849         * soft-fp/extended.h: Likewise.
25850         * soft-fp/op-1.h: Likewise.
25851         * soft-fp/op-2.h: Likewise.
25852         * soft-fp/op-4.h: Likewise.
25853         * soft-fp/op-8.h: Likewise.
25854         * soft-fp/testit.c: Likewise.
25855         * stdio-common/bug16.c: Likewise.
25856         * stdlib/random.c: Likewise.
25857         * sunrpc/rpcsvc/rquota.x: Likewise.
25858         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25859         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25860         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25861         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25862         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25863         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25864         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25865         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25866         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25868         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25870         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25871         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25872         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25873         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25874         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25875         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25876         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25877         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25878         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25880         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25881         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25882         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25883         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25885         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25886         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25887         * sysdeps/ieee754/s_lib_version.c: Likewise.
25888         * sysdeps/mach/hurd/check_fds.c: Likewise.
25889         * sysdeps/mach/hurd/getsockname.c: Likewise.
25890         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25891         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25892         * sysdeps/powerpc/bits/link.h: Likewise.
25893         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25894         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25895         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25896         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25897         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25898         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25899         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25900         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25901         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25902         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25903         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25904         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25905         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25906         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25907         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25908         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25909         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25912         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25913         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25914         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25916         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25917         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25920         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25925         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25926         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25927         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25928         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25929         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25930         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25931         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25932         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25933         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25934         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25935         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25936         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25937         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25938         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25939         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25940         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25941         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25942         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25943         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25945         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25946         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25947         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25948         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25949         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25951         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25952         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25954         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25955         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25956         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25957         * sysdeps/powerpc/sysdep.h: Likewise.
25958         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25959         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25960         * sysdeps/sh/dl-trampoline.S: Likewise.
25961         * sysdeps/sh/memset.S: Likewise.
25962         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25963         * sysdeps/sh/strlen.S: Likewise.
25964         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25965         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25966         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25967         * sysdeps/sparc/sparc32/rem.S: Likewise.
25968         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25969         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25970         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25971         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25972         * sysdeps/sparc/sparc32/urem.S: Likewise.
25973         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25974         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25975         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25976         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25978         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25979         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25980         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25981         * sysdeps/unix/bsd/times.c: Likewise.
25982         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25983         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25987         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25988         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25989         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25991         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25992         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25993         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25994         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25995         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25996         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25997         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25998         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25999         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26000         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26001         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26002         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26003         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26004         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26005         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26006         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26007         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26008         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26009         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26010         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26011         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26012         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26013         * sysdeps/x86_64/strcspn.S: Likewise.
26015 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26017         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26018         generated file.  Regenerate properly from gen-translit.pl.
26019         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26020         locale/C-translit.h.
26022 2013-06-05  Andreas Schwab  <schwab@suse.de>
26024         [BZ #15100]
26025         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26026         week as 6 instead of -1.
26027         * time/tst-strptime.c (day_tests): Add test case.
26029 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26031         * sysdeps/generic/math_private.h
26032         (libc_feholdexcept_setround_53bit): Replace with
26033         libc_feholdsetround_53bit.
26034         (libc_feupdateenv_53bit): Replace with
26035         libc_feresetround_53bit.
26036         (SET_RESTORE_ROUND_53BIT): Adjust.
26038 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26040         * string/test-strchrnul.c: Add copyright header.
26042         * posix/tst-getaddrinfo4.c: Increase test timeout.
26044 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26046         [BZ #15536]
26047         * math/libm-test.inc (MAX_EXP): Remove
26048         (MIN_EXP): Define.
26049         (ulp): Use MIN_EXP - MANT_DIG.
26050         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26052 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26054         * po/be.po: Revert last change.
26055         * po/zh_CN.po: Likewise.
26056         * po/header.pot: Likewise.
26058 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26060         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26061         link-libc-deps to empty as target-specific variable.
26062         * Makerules (link-libc-args): New variable.
26063         (libc-for-link): Likewise.
26064         (link-libc-deps): Likewise.
26065         (lib%.so): Depend on $(link-libc-deps).  Link with
26066         $(link-libc-args).
26067         (build-module): Link with $(link-libc-args).
26068         (build-module-asneeded): Likewise.
26069         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26070         list of objects.
26071         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26072         target-specific variable.
26073         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26074         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26075         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26076         libc.
26077         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26078         libc and ld.so.
26079         ($(objpfx)libpcprofile.so): Likewise.
26080         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26081         libc_nonshared.a.
26082         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26083         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26084         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26085         $(link-libc-deps).
26086         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26087         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26088         * login/Makefile ($(objpfx)libutil.so): Likewise.
26089         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26090         * math/Makefile ($(objpfx)libm.so): Likewise.
26091         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26092         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26093         variable instead of depending directly on libc.
26094         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26095         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26096         $(link-libc-deps).
26097         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26098         libc.
26099         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26100         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26101         ($(objpfx)libanl.so): Likewise.
26102         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26103         ld.so.
26104         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26105         $(link-libc-deps).
26106         * sysdeps/i386/fpu/Makefile: Remove file.
26107         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26108         ($(objpfx)libm.so): Remove dependency on ld.so.
26110 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26112         [BZ # 15553]
26113         * nis/yp_xdr.c (XDRMAXNAME): Define.
26114         (XDRMAXRECORD): Define.
26115         (xdr_domainname): Use XDRMAXNAME.
26116         (xdr_mapname): Likewise.
26117         (xdr_peername): Likewise.
26118         (xdr_keydat): Use XDRMAXRECORD.
26119         (xdr_valdat): Likewise.
26121 2013-05-30  Jeff Law  <law@redhat.com>
26123         [BZ #14256]
26124         * manual/errno.texi (ESTALE): Update to account for more than
26125         just NFS file systems.
26126         * sysdeps/gnu/errlist.c: Regenerated.
26128 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26130         [BZ #15465]
26131         * elf/Makefile (tests): Add tst-null-argv.
26132         (modules-names):  Add tst-null-argv-lib.
26133         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26134         (tst-null-argv-ENV): Set environment for tst-null-argv.
26135         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26136         (RTLD_PROGNAME): New macro.
26137         * elf/tst-null-argv.c: New test case.
26138         * elf/tst-null-argv-lib.c: Library for test case.
26139         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26140         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26141         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26142         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26143         * elf/dl-init.c (call_init): Likewise.
26144         (_dl_init): Likewise.
26145         * elf/dl-load.c (print_search_path): Likewise.
26146         (_dl_map_object): Likewise.
26147         * elf/dl-lookup.c (do_lookup_x): Likewise.
26148         (add_dependency): Likewise.
26149         (_dl_lookup_symbol_x): Likewise.
26150         (_dl_debug_bindings): Likewise.
26151         * elf/dl-open.c (_dl_show_scope): Likewise.
26152         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26153         * elf/dl-version.c (match_symbol): Likewise.
26154         (_dl_check_map_versions): Likewise.
26155         * elf/rtld.c (dl_main): Likewise.
26156         (print_unresolved): Use RTLD_PROGNAME.
26157         (print_missing_version): Likewise.
26158         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26159         (elf_machine_rela): Likewise.
26160         * sysdeps/powerpc/powerpc32/dl-machine.c
26161         (__process_machine_rela): Likewise.
26162         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26163         Likewise.
26164         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26165         Likewise.
26166         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26167         Likewise.
26168         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26170         Likewise.
26171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26172         Likewise.
26173         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26175 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26177         * po/be.po: Add descriptive title.
26178         * po/zh_CN.po: Likewise.
26179         * po/header.pot: Likewise.
26181 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26183         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26184         error message.
26185         (enlarge_archive): Likewise.
26187 2013-05-28  Ben North  <ben@redfrontdoor.org>
26189         * manual/arith.texi (frexp): It is the magnitude of the return
26190         value which lies in [0.5, 1), not the return value itself.
26192 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26196 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26198         * stdio-common/bug26.c (main): Correct fscanf template.
26200         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26201         declare _dl_skip_args.
26203         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26204         Don't declare.
26206         * manual/platform.texi: Add missing @end deftypefun.
26208 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26210         [BZ #15529]
26211         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26212         bit of mantissa of 2^16382.
26213         * math/libm-test.inc (hypot_test_data): Add more tests.
26215         * math/libm-test.inc: Add drem and pow10 to list of tested
26216         functions.
26217         (pow10_test): New function.
26218         (drem_test): Likewise.
26219         (drem_test_tonearest): Likewise.
26220         (drem_test_towardzero): Likewise.
26221         (drem_test_downward): Likewise.
26222         (drem_test_upward): Likewise.
26223         (main): Call the new functions.
26225         * math/libm-test.inc (finite_test_data): Remove.
26226         (finite_test): Run tests from isfinite_test_data.
26227         (gamma_test_data): Remove.
26228         (gamma_test): Run tests from lgamma_test_data.
26229         * sysdeps/i386/fpu/libm-test-ulps: Update.
26230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26232 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26234         * manual/platform.texi: Add PowerPC PPR function set documentation.
26235         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26236         implementation.
26238 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26240         * math/libm-test.inc (MAX_EXP): Define.
26241         (ULPDIFF): Define.
26242         (ulp): New function.
26243         (check_float_internal): Use ULPDIFF.
26244         (cpow_test): Disable failing test.
26245         (check_ulp): Test ulp() implemetnation.
26246         (main): Call check_ulp before starting tests.
26248 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26250         * math/gen-libm-test.pl (generate_testfile): Do not handle
26251         START_DATA and END_DATA.
26252         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26253         END_DATA.
26254         (acos_tonearest_test_data): Likewise.
26255         (acos_towardzero_test_data): Likewise.
26256         (acos_downward_test_data): Likewise.
26257         (acos_upward_test_data): Likewise.
26258         (acosh_test_data): Likewise.
26259         (asin_test_data): Likewise.
26260         (asin_tonearest_test_data): Likewise.
26261         (asin_towardzero_test_data): Likewise.
26262         (asin_downward_test_data): Likewise.
26263         (asin_upward_test_data): Likewise.
26264         (asinh_test_data): Likewise.
26265         (atan_test_data): Likewise.
26266         (atanh_test_data): Likewise.
26267         (atan2_test_data): Likewise.
26268         (cabs_test_data): Likewise.
26269         (cacos_test_data): Likewise.
26270         (cacosh_test_data): Likewise.
26271         (carg_test_data): Likewise.
26272         (casin_test_data): Likewise.
26273         (casinh_test_data): Likewise.
26274         (catan_test_data): Likewise.
26275         (catanh_test_data): Likewise.
26276         (cbrt_test_data): Likewise.
26277         (ccos_test_data): Likewise.
26278         (ccosh_test_data): Likewise.
26279         (ceil_test_data): Likewise.
26280         (cexp_test_data): Likewise.
26281         (cimag_test_data): Likewise.
26282         (clog_test_data): Likewise.
26283         (clog10_test_data): Likewise.
26284         (conj_test_data): Likewise.
26285         (copysign_test_data): Likewise.
26286         (cos_test_data): Likewise.
26287         (cos_tonearest_test_data): Likewise.
26288         (cos_towardzero_test_data): Likewise.
26289         (cos_downward_test_data): Likewise.
26290         (cos_upward_test_data): Likewise.
26291         (cosh_test_data): Likewise.
26292         (cosh_tonearest_test_data): Likewise.
26293         (cosh_towardzero_test_data): Likewise.
26294         (cosh_downward_test_data): Likewise.
26295         (cosh_upward_test_data): Likewise.
26296         (cpow_test_data): Likewise.
26297         (cproj_test_data): Likewise.
26298         (creal_test_data): Likewise.
26299         (csin_test_data): Likewise.
26300         (csinh_test_data): Likewise.
26301         (csqrt_test_data): Likewise.
26302         (ctan_test_data): Likewise.
26303         (ctan_tonearest_test_data): Likewise.
26304         (ctan_towardzero_test_data): Likewise.
26305         (ctan_downward_test_data): Likewise.
26306         (ctan_upward_test_data): Likewise.
26307         (ctanh_test_data): Likewise.
26308         (ctanh_tonearest_test_data): Likewise.
26309         (ctanh_towardzero_test_data): Likewise.
26310         (ctanh_downward_test_data): Likewise.
26311         (ctanh_upward_test_data): Likewise.
26312         (erf_test_data): Likewise.
26313         (erfc_test_data): Likewise.
26314         (exp_test_data): Likewise.
26315         (exp_tonearest_test_data): Likewise.
26316         (exp_towardzero_test_data): Likewise.
26317         (exp_downward_test_data): Likewise.
26318         (exp_upward_test_data): Likewise.
26319         (exp10_test_data): Likewise.
26320         (exp2_test_data): Likewise.
26321         (expm1_test_data): Likewise.
26322         (fabs_test_data): Likewise.
26323         (fdim_test_data): Likewise.
26324         (finite_test_data): Likewise.
26325         (floor_test_data): Likewise.
26326         (fma_test_data): Likewise.
26327         (fma_towardzero_test_data): Likewise.
26328         (fma_downward_test_data): Likewise.
26329         (fma_upward_test_data): Likewise.
26330         (fmax_test_data): Likewise.
26331         (fmin_test_data): Likewise.
26332         (fmod_test_data): Likewise.
26333         (fpclassify_test_data): Likewise.
26334         (frexp_test_data): Likewise.
26335         (gamma_test_data): Likewise.
26336         (hypot_test_data): Likewise.
26337         (ilogb_test_data): Likewise.
26338         (isfinite_test_data): Likewise.
26339         (isgreater_test_data): Likewise.
26340         (isgreaterequal_test_data): Likewise.
26341         (isinf_test_data): Likewise.
26342         (isless_test_data): Likewise.
26343         (islessequal_test_data): Likewise.
26344         (islessgreater_test_data): Likewise.
26345         (isnan_test_data): Likewise.
26346         (isnormal_test_data): Likewise.
26347         (issignaling_test_data): Likewise.
26348         (isunordered_test_data): Likewise.
26349         (j0_test_data): Likewise.
26350         (j1_test_data): Likewise.
26351         (jn_test_data): Likewise.
26352         (ldexp_test_data): Likewise.
26353         (lgamma_test_data): Likewise.
26354         (lrint_test_data): Likewise.
26355         (lrint_tonearest_test_data): Likewise.
26356         (lrint_towardzero_test_data): Likewise.
26357         (lrint_downward_test_data): Likewise.
26358         (lrint_upward_test_data): Likewise.
26359         (llrint_test_data): Likewise.
26360         (llrint_tonearest_test_data): Likewise.
26361         (llrint_towardzero_test_data): Likewise.
26362         (llrint_downward_test_data): Likewise.
26363         (llrint_upward_test_data): Likewise.
26364         (log_test_data): Likewise.
26365         (log10_test_data): Likewise.
26366         (log1p_test_data): Likewise.
26367         (log2_test_data): Likewise.
26368         (logb_test_data): Likewise.
26369         (logb_downward_test_data): Likewise.
26370         (lround_test_data): Likewise.
26371         (llround_test_data): Likewise.
26372         (modf_test_data): Likewise.
26373         (nearbyint_test_data): Likewise.
26374         (nextafter_test_data): Likewise.
26375         (nexttoward_test_data): Likewise.
26376         (pow_test_data): Likewise.
26377         (pow_tonearest_test_data): Likewise.
26378         (pow_towardzero_test_data): Likewise.
26379         (pow_downward_test_data): Likewise.
26380         (pow_upward_test_data): Likewise.
26381         (remainder_test_data): Likewise.
26382         (remainder_tonearest_test_data): Likewise.
26383         (remainder_towardzero_test_data): Likewise.
26384         (remainder_downward_test_data): Likewise.
26385         (remainder_upward_test_data): Likewise.
26386         (remquo_test_data): Likewise.
26387         (rint_test_data): Likewise.
26388         (rint_tonearest_test_data): Likewise.
26389         (rint_towardzero_test_data): Likewise.
26390         (rint_downward_test_data): Likewise.
26391         (rint_upward_test_data): Likewise.
26392         (round_test_data): Likewise.
26393         (scalb_test_data): Likewise.
26394         (scalbn_test_data): Likewise.
26395         (scalbln_test_data): Likewise.
26396         (signbit_test_data): Likewise.
26397         (sin_test_data): Likewise.
26398         (sin_tonearest_test_data): Likewise.
26399         (sin_towardzero_test_data): Likewise.
26400         (sin_downward_test_data): Likewise.
26401         (sin_upward_test_data): Likewise.
26402         (sincos_test_data): Likewise.
26403         (sinh_test_data): Likewise.
26404         (sinh_tonearest_test_data): Likewise.
26405         (sinh_towardzero_test_data): Likewise.
26406         (sinh_downward_test_data): Likewise.
26407         (sinh_upward_test_data): Likewise.
26408         (sqrt_test_data): Likewise.
26409         (tan_test_data): Likewise.
26410         (tan_tonearest_test_data): Likewise.
26411         (tan_towardzero_test_data): Likewise.
26412         (tan_downward_test_data): Likewise.
26413         (tan_upward_test_data): Likewise.
26414         (tanh_test_data): Likewise.
26415         (tgamma_test_data): Likewise.
26416         (trunc_test_data): Likewise.
26417         (y0_test_data): Likewise.
26418         (y1_test_data): Likewise.
26419         (yn_test_data): Likewise.
26420         (significand_test_data): Likewise.
26422         * math/gen-libm-test.pl (@functions): Remove variable.
26423         (generate_testfile): Don't handle START and END lines.
26424         * math/libm-test.inc (START): New macro.
26425         (END): Likewise.
26426         (END_COMPLEX): Likewise.
26427         (acos_test): Use END macro without arguments.
26428         (acos_test_tonearest): Likewise.
26429         (acos_test_towardzero): Likewise.
26430         (acos_test_downward): Likewise.
26431         (acos_test_upward): Likewise.
26432         (acosh_test): Likewise.
26433         (asin_test): Likewise.
26434         (asin_test_tonearest): Likewise.
26435         (asin_test_towardzero): Likewise.
26436         (asin_test_downward): Likewise.
26437         (asin_test_upward): Likewise.
26438         (asinh_test): Likewise.
26439         (atan_test): Likewise.
26440         (atanh_test): Likewise.
26441         (atan2_test): Likewise.
26442         (cabs_test): Likewise.
26443         (cacos_test): Use END_COMPLEX macro without arguments.
26444         (cacosh_test): Likewise.
26445         (carg_test): Use END macro without arguments.
26446         (casin_test): Use END_COMPLEX macro without arguments.
26447         (casinh_test): Likewise.
26448         (catan_test): Likewise.
26449         (catanh_test): Likewise.
26450         (cbrt_test): Use END macro without arguments.
26451         (ccos_test): Use END_COMPLEX macro without arguments.
26452         (ccosh_test): Likewise.
26453         (ceil_test): Use END macro without arguments.
26454         (cexp_test): Use END_COMPLEX macro without arguments.
26455         (cimag_test): Use END macro without arguments.
26456         (clog_test): Use END_COMPLEX macro without arguments.
26457         (clog10_test): Likewise.
26458         (conj_test): Likewise.
26459         (copysign_test): Use END macro without arguments.
26460         (cos_test): Likewise.
26461         (cos_test_tonearest): Likewise.
26462         (cos_test_towardzero): Likewise.
26463         (cos_test_downward): Likewise.
26464         (cos_test_upward): Likewise.
26465         (cosh_test): Likewise.
26466         (cosh_test_tonearest): Likewise.
26467         (cosh_test_towardzero): Likewise.
26468         (cosh_test_downward): Likewise.
26469         (cosh_test_upward): Likewise.
26470         (cpow_test): Use END_COMPLEX macro without arguments.
26471         (cproj_test): Likewise.
26472         (creal_test): Use END macro without arguments.
26473         (csin_test): Use END_COMPLEX macro without arguments.
26474         (csinh_test): Likewise.
26475         (csqrt_test): Likewise.
26476         (ctan_test): Likewise.
26477         (ctan_test_tonearest): Likewise.
26478         (ctan_test_towardzero): Likewise.
26479         (ctan_test_downward): Likewise.
26480         (ctan_test_upward): Likewise.
26481         (ctanh_test): Likewise.
26482         (ctanh_test_tonearest): Likewise.
26483         (ctanh_test_towardzero): Likewise.
26484         (ctanh_test_downward): Likewise.
26485         (ctanh_test_upward): Likewise.
26486         (erf_test): Use END macro without arguments.
26487         (erfc_test): Likewise.
26488         (exp_test): Likewise.
26489         (exp_test_tonearest): Likewise.
26490         (exp_test_towardzero): Likewise.
26491         (exp_test_downward): Likewise.
26492         (exp_test_upward): Likewise.
26493         (exp10_test): Likewise.
26494         (exp2_test): Likewise.
26495         (expm1_test): Likewise.
26496         (fabs_test): Likewise.
26497         (fdim_test): Likewise.
26498         (finite_test): Likewise.
26499         (floor_test): Likewise.
26500         (fma_test): Likewise.
26501         (fma_test_towardzero): Likewise.
26502         (fma_test_downward): Likewise.
26503         (fma_test_upward): Likewise.
26504         (fmax_test): Likewise.
26505         (fmin_test): Likewise.
26506         (fmod_test): Likewise.
26507         (fpclassify_test): Likewise.
26508         (frexp_test): Likewise.
26509         (gamma_test): Likewise.
26510         (hypot_test): Likewise.
26511         (ilogb_test): Likewise.
26512         (isfinite_test): Likewise.
26513         (isgreater_test): Likewise.
26514         (isgreaterequal_test): Likewise.
26515         (isinf_test): Likewise.
26516         (isless_test): Likewise.
26517         (islessequal_test): Likewise.
26518         (islessgreater_test): Likewise.
26519         (isnan_test): Likewise.
26520         (isnormal_test): Likewise.
26521         (issignaling_test): Likewise.
26522         (isunordered_test): Likewise.
26523         (j0_test): Likewise.
26524         (j1_test): Likewise.
26525         (jn_test): Likewise.
26526         (ldexp_test): Likewise.
26527         (lgamma_test): Likewise.
26528         (lrint_test): Likewise.
26529         (lrint_test_tonearest): Likewise.
26530         (lrint_test_towardzero): Likewise.
26531         (lrint_test_downward): Likewise.
26532         (lrint_test_upward): Likewise.
26533         (llrint_test): Likewise.
26534         (llrint_test_tonearest): Likewise.
26535         (llrint_test_towardzero): Likewise.
26536         (llrint_test_downward): Likewise.
26537         (llrint_test_upward): Likewise.
26538         (log_test): Likewise.
26539         (log10_test): Likewise.
26540         (log1p_test): Likewise.
26541         (log2_test): Likewise.
26542         (logb_test): Likewise.
26543         (logb_test_downward): Likewise.
26544         (lround_test): Likewise.
26545         (llround_test): Likewise.
26546         (modf_test): Likewise.
26547         (nearbyint_test): Likewise.
26548         (nextafter_test): Likewise.
26549         (nexttoward_test): Likewise.
26550         (pow_test): Likewise.
26551         (pow_test_tonearest): Likewise.
26552         (pow_test_towardzero): Likewise.
26553         (pow_test_downward): Likewise.
26554         (pow_test_upward): Likewise.
26555         (remainder_test): Likewise.
26556         (remainder_test_tonearest): Likewise.
26557         (remainder_test_towardzero): Likewise.
26558         (remainder_test_downward): Likewise.
26559         (remainder_test_upward): Likewise.
26560         (remquo_test): Likewise.
26561         (rint_test): Likewise.
26562         (rint_test_tonearest): Likewise.
26563         (rint_test_towardzero): Likewise.
26564         (rint_test_downward): Likewise.
26565         (rint_test_upward): Likewise.
26566         (round_test): Likewise.
26567         (scalb_test): Likewise.
26568         (scalbn_test): Likewise.
26569         (scalbln_test): Likewise.
26570         (signbit_test): Likewise.
26571         (sin_test): Likewise.
26572         (sin_test_tonearest): Likewise.
26573         (sin_test_towardzero): Likewise.
26574         (sin_test_downward): Likewise.
26575         (sin_test_upward): Likewise.
26576         (sincos_test): Likewise.
26577         (sinh_test): Likewise.
26578         (sinh_test_tonearest): Likewise.
26579         (sinh_test_towardzero): Likewise.
26580         (sinh_test_downward): Likewise.
26581         (sinh_test_upward): Likewise.
26582         (sqrt_test): Likewise.
26583         (tan_test): Likewise.
26584         (tan_test_tonearest): Likewise.
26585         (tan_test_towardzero): Likewise.
26586         (tan_test_downward): Likewise.
26587         (tan_test_upward): Likewise.
26588         (tanh_test): Likewise.
26589         (tgamma_test): Likewise.
26590         (trunc_test): Likewise.
26591         (y0_test): Likewise.
26592         (y1_test): Likewise.
26593         (yn_test): Likewise.
26594         (significand_test): Likewise.
26596 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26598         [BZ #15381]
26599         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26601 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26603         [BZ #14894]
26604         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26605         __ppc_mdoio and __ppc_mdoom.
26606         * manual/platform.texi: Document new functions __ppc_yield,
26607         __ppc_mdoio and __ppc_mdoom.
26609 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26611         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26612         (main): Mention "tls" pseudo-hwcap is legacy.
26613         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26615 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26617         * math/gen-libm-test.pl (parse_args): Output only string of
26618         arguments as text for test name, not full call or descriptions of
26619         tests for extra outputs.
26620         (generate_testfile): Do not pass function name to parse_args.
26621         Generate this_func variable from START.
26622         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26623         field to arg_str.
26624         (struct test_ff_f_data): Likewise.
26625         (test_ff_f_data_nexttoward): Likewise.
26626         (struct test_fi_f_data): Likewise.
26627         (struct test_fl_f_data): Likewise.
26628         (struct test_if_f_data): Likewise.
26629         (struct test_fff_f_data): Likewise.
26630         (struct test_c_f_data): Likewise.
26631         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26632         (struct test_fF_f1_data): Likewise.
26633         (struct test_ffI_f1_data): Likewise.
26634         (struct test_c_c_data): Rename test_name field to arg_str.
26635         (struct test_cc_c_data): Likewise.
26636         (struct test_f_i_data): Likewise.
26637         (struct test_ff_i_data): Likewise.
26638         (struct test_f_l_data): Likewise.
26639         (struct test_f_L_data): Likewise.
26640         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26641         and extra2_name.
26642         (COMMON_TEST_SETUP): New macro.
26643         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26644         (COMMON_TEST_CLEANUP): Likewise.
26645         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26646         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26647         macros.
26648         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26649         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26650         macros.
26651         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26652         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26653         cleanup macros.
26654         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26655         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26656         macros.
26657         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26658         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26659         macros.
26660         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26661         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26662         cleanup macros.
26663         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26664         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26665         cleanup macros.
26666         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26667         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26668         cleanup macros.
26669         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26670         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26671         macros.
26672         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26673         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26674         macros.
26675         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26676         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26677         macros.
26678         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26679         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26680         cleanup macros.
26681         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26682         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26683         cleanup macros.
26684         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26685         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26686         macros.
26687         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26688         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26689         cleanup macros.
26690         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26691         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26692         macros.
26693         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26694         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26695         macros.
26696         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26697         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26698         cleanup macros.
26699         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26701 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26703         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26704         to _sifields.sigfault.
26705         (si_addr_lsb): Define new macro.
26706         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26708         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26710 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26712         [BZ #15441]
26713         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26714         returns -1.
26715         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26716         null return -1.
26717         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26718         loading the domain.
26720 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26722         * math/gen-libm-test.pl (parse_args): Do not include expected
26723         result in test name.
26724         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26725         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26726         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26727         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26728         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26731 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26733         * benchtests/Makefile: Sort function entries.
26735         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26736         tanh, asinh, acosh, atanh.
26737         * benchtests/acos-inputs: New file.
26738         * benchtests/acosh-inputs: New file.
26739         * benchtests/asin-inputs: New file.
26740         * benchtests/asinh-inputs: New file.
26741         * benchtests/atanh-inputs: New file.
26742         * benchtests/cosh-inputs: New file.
26743         * benchtests/log-inputs: New file.
26744         * benchtests/sinh-inputs: New file.
26745         * benchtests/tanh-inputs: New file.
26747 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26749         [BZ #15339]
26750         * posix/tst-getaddrinfo4.c: New test.
26751         * posix/Makefile (tests): Add it.
26753 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26755         [BZ #15339]
26756         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26757         when no services were used.
26758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26759         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26761 2013-05-21  Andreas Schwab  <schwab@suse.de>
26763         [BZ #15014]
26764         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26765         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26766         successful.
26767         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26768         redundant variable declarations and reallocation of buffer when
26769         parsing as IPv6 address.  Always set NSS status when called from
26770         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26771         buffer too small.  Correct computation of needed size.
26772         * nss/Makefile (tests): Add test-digits-dots.
26773         * nss/test-digits-dots.c: New test.
26775 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26777         * benchtests/Makefile: Remove instructions for adding
26778         benchmark tests.
26779         * benchtests/README: New file to explain how to execute and
26780         enhance the benchmark tests.
26782 2013-05-21  Andreas Schwab  <schwab@suse.de>
26784         [BZ #15493]
26785         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26786         * setjmp/tst-sigsetjmp.c: New test.
26788 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26790         * sysdeps/x86_64/memset.S (memset): New implementation.
26791         (__bzero): Likewise.
26792         (__memset_tail): New function.
26794 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26796         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26797         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26798         __memcpy_sse2_unaligned ifunc selection.
26799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26800         Add memcpy-sse2-unaligned.S.
26801         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26802         Add: __memcpy_sse2_unaligned.
26804 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26806         [BZ #15490]
26807         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26808         math_force_eval before restoring floating-point envrionment.
26809         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26810         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26811         Likewise.
26812         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26813         <math_private.h>.
26814         (__nearbyintl): Use math_force_eval before restoring
26815         floating-point environment.
26816         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26818         * math/gen-libm-test.pl (special_functions): Remove.
26819         (parse_args): Don't handle TEST_extra.  Handle functions with no
26820         return value.
26821         * math/libm-test.inc (struct test_sincos_data): Replace with
26822         struct test_fFF_11_data.
26823         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26824         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26825         (sincos_test_data): Change element type to struct
26826         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26827         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26828         RUN_TEST_LOOP_sincos.
26829         * math/README.libm-test: Don't mention special handling of
26830         individual functions.
26831         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26833         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26834         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26835         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26838         * math/gen-libm-test.pl (get_variable): Remove function.
26839         (parse_args): Don't show pointer parameters to call in test
26840         names.  Use "extra output N" in test names for extra outputs
26841         rather than naming variables.
26843 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26845         [BZ #15488]
26846         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26847         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26848         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26849         double tests.
26850         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26851         disable.
26852         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26853         check_long_double.
26855         * math/gen-libm-test.pl (@tests): Remove variable.
26856         ($count): Likewise.
26857         (new_test): Remove function.
26858         (show_exceptions): New function.
26859         (special_functions): Use show_exceptions instead of new_test.
26860         (parse_args): Likewise.
26861         (generate_testfile): Pass only function name in generated call to
26862         print_max_error or print_complex_max_error.
26863         (get_ulps): Do not handle complex tests specially.
26864         (output_test): Rename to ...
26865         (get_all_ulps_for_test): ... this.  Return a string rather than
26866         printing to a file.  Require ulps to be present.
26867         (output_ulps): Generate arrays rather than #defines.
26868         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26869         (struct ulp_data): New type.
26870         (BUILD_COMPLEX_ULP): Remove macro.
26871         (compare_ulp_data): New function.
26872         (find_ulps): Likewise.
26873         (find_test_ulps): Likewise.
26874         (find_function_ulps): Likewise.
26875         (find_complex_function_ulps): Likewise.
26876         (print_max_error): Determine allowed ulps using
26877         find_function_ulps.
26878         (print_complex_max_error): Determine allowed ulps using
26879         find_complex_function_ulps.
26880         (check_float_internal): Determine max ulps using find_test_ulps.
26881         (check_float): Do not take max_ulp parameter.  Update call to
26882         check_float_internal.
26883         (check_complex): Likewise.
26884         (check_int): Do not take max_ulp parameter.
26885         (check_long): Likewise.
26886         (check_bool): Likewise.
26887         (check_longlong): Likewise.
26888         (struct test_f_f_data): Remove max_ulp field.
26889         (struct test_ff_f_data): Likewise.
26890         (struct test_ff_f_data_nexttoward): Likewise.
26891         (struct test_fi_f_data): Likewise.
26892         (struct test_fl_f_data): Likewise.
26893         (struct test_if_f_data): Likewise.
26894         (struct test_fff_f_data): Likewise.
26895         (struct test_c_f_data): Likewise.
26896         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26897         (struct test_fF_f1_data): Likewise.
26898         (struct test_ffI_f1_data): Likewise.
26899         (struct test_c_c_data): Remove max_ulp field.
26900         (struct test_cc_c_data): Likewise.
26901         (struct test_f_i_data): Likewise.
26902         (struct test_ff_i_data): Likewise.
26903         (struct test_f_l_data): Likewise.
26904         (struct test_f_L_data): Likewise.
26905         (struct test_sincos_data): Likewise.
26906         (RUN_TEST_f_f): Do not handle ulps.
26907         (RUN_TEST_LOOP_f_f): Likewise.
26908         (RUN_TEST_2_f): Likewise.
26909         (RUN_TEST_LOOP_2_f): Likewise.
26910         (RUN_TEST_fff_f): Likewise.
26911         (RUN_TEST_LOOP_fff_f): Likewise.
26912         (RUN_TEST_c_f): Likewise.
26913         (RUN_TEST_LOOP_c_f): Likewise.
26914         (RUN_TEST_f_f1): Likewise.
26915         (RUN_TEST_LOOP_f_f1): Likewise.
26916         (RUN_TEST_fF_f1): Likewise.
26917         (RUN_TEST_LOOP_fF_f1): Likewise.
26918         (RUN_TEST_fI_f1): Likewise.
26919         (RUN_TEST_LOOP_fI_f1): Likewise.
26920         (RUN_TEST_ffI_f1): Likewise.
26921         (RUN_TEST_LOOP_ffI_f1): Likewise.
26922         (RUN_TEST_c_c): Likewise.
26923         (RUN_TEST_LOOP_c_c): Likewise.
26924         (RUN_TEST_cc_c): Likewise.
26925         (RUN_TEST_LOOP_cc_c): Likewise.
26926         (RUN_TEST_f_i): Likewise.
26927         (RUN_TEST_LOOP_f_i): Likewise.
26928         (RUN_TEST_f_i_tg): Likewise.
26929         (RUN_TEST_LOOP_f_i_tg): Likewise.
26930         (RUN_TEST_ff_i_tg): Likewise.
26931         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26932         (RUN_TEST_f_b): Likewise.
26933         (RUN_TEST_LOOP_f_b): Likewise.
26934         (RUN_TEST_f_b_tg): Likewise.
26935         (RUN_TEST_LOOP_f_b_tg): Likewise.
26936         (RUN_TEST_f_l): Likewise.
26937         (RUN_TEST_LOOP_f_l): Likewise.
26938         (RUN_TEST_f_L): Likewise.
26939         (RUN_TEST_LOOP_f_L): Likewise.
26940         (RUN_TEST_sincos): Likewise.
26941         (RUN_TEST_LOOP_sincos): Likewise.
26943 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26945         [BZ #15480]
26946         [BZ #15485]
26947         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26948         main case of finite arguments, set rounding mode to FE_TONEAREST
26949         and discard exceptions.
26950         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26951         exceptions.
26952         (remainder_tonearest_test_data): New variable.
26953         (remainder_test_tonearest): New function.
26954         (remainder_towardzero_test_data): New variable.
26955         (remainder_test_towardzero): New function.
26956         (remainder_downward_test_data): New variable.
26957         (remainder_test_downward): New function.
26958         (remainder_upward_test_data): New variable.
26959         (remainder_test_upward): New function.
26960         (main): Call the new test functions.
26962         * math/libm-test.inc (struct test_f_f1_data): Remove field
26963         extra_init.
26964         (struct test_fF_f1_data): Likewise.
26965         (struct test_ffI_f1_data): Likewise.
26966         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26967         based on value of EXTRA_EXPECTED.
26968         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26969         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26970         EXTRA_VAR based on value of EXTRA_EXPECTED.
26971         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26972         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26973         EXTRA_VAR based on value of EXTRA_EXPECTED.
26974         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26975         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26976         EXTRA_VAR based on value of EXTRA_EXPECTED.
26977         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26978         * math/gen-libm-test.pl (parse_args): Don't output initializers
26979         for extra output values.
26981         * math/libm-test.inc (check_int): Expect result to be exactly
26982         equal to expected value and do not handle ulps.
26983         (check_long): Likewise.
26984         (check_longlong): Likewise.
26986         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26987         exceptions.
26988         (cimag_test_data): Likewise.
26989         (conj_test_data): Likewise.
26990         (copysign_test_data): Likewise.
26991         (cproj_test_data): Likewise.
26992         (creal_test_data): Likewise.
26993         (fabs_test_data): Likewise.
26994         (fdim_test_data): Likewise.
26995         (finite_test_data): Likewise.
26996         (floor_test_data): Likewise.
26997         (fmax_test_data): Likewise.
26998         (fmin_test_data): Likewise.
26999         (fmod_test_data): Likewise.
27000         (fpclassify_test_data): Likewise.
27001         (frexp_test_data): Likewise.
27002         (ilogb_test_data): Likewise.
27003         (isfinite_test_data): Likewise.
27004         (isgreater_test_data): Likewise.
27005         (isgreaterequal_test_data): Likewise.
27006         (isinf_test_data): Likewise.
27007         (isless_test_data): Likewise.
27008         (islessequal_test_data): Likewise.
27009         (islessgreater_test_data): Likewise.
27010         (isnan_test_data): Likewise.
27011         (isnormal_test_data): Likewise.
27012         (issignaling_test_data): Likewise.
27013         (isunordered_test_data): Likewise.
27014         (ldexp_test_data): Likewise.
27015         (lrint_test_data): Likewise.
27016         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27017         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27018         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27019         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27020         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27021         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27022         test input.
27023         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27024         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27025         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27026         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27027         that test input.
27028         (lrint_downward_test_data): Test for "inexact" exceptions.
27029         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27030         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27031         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27032         test input.
27033         (lrint_upward_test_data): Test for "inexact" exceptions.
27034         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27035         test input.
27036         (llrint_test_data): Test for "inexact" exceptions.
27037         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27038         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27039         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27040         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27041         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27042         (llrint_downward_test_data): Test for "inexact" exceptions.
27043         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27044         (llrint_upward_test_data): Test for "inexact" exceptions.
27045         (logb_test_data): Likewise.
27046         (logb_downward_test_data): Likewise.
27047         (nextafter_test_data): Likewise.
27048         (nexttoward_test_data): Likewise.
27049         (remainder_test_data): Likewise.
27050         (remquo_test_data): Likewise.
27051         (scalbn_test_data): Likewise.
27052         (scalbln_test_data): Likewise.
27053         (signbit_test_data): Likewise.
27054         (sqrt_test_data): Likewise.
27055         (significand_test_data): Likewise.
27057 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27059         [BZ #15424]
27060         * benchtests/bench-modf.c (struct args): Mark arg0 as
27061         volatile.
27062         * scripts/bench.pl: Mark members of struct args as volatile.
27064 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27066         [BZ # 15497]
27067         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27068         negative infinity on POWER6 or lower.
27069         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27071 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27073         [BZ #15442]
27074         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27075         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27076         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27077         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27078         (_FP_SETQNAN): New macro.
27079         (_FP_SETQNAN_SEMIRAW): Likewise.
27080         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27081         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27082         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27083         (FP_EXTEND): Use _FP_FRAC_SNANP.
27084         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27085         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27086         into account.
27087         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27088         New macro.
27089         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27090         Likewise.
27092 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27094         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27095         with DIVIDE_BY_ZERO_EXCEPTION.
27096         (gamma_test_data): Likewise.
27097         (lgamma_test_data): Likewise.
27098         (log_test_data): Likewise.
27099         (log10_test_data): Likewise.
27100         (log2_test_data): Likewise.
27101         (tgamma_test_data): Likewise.
27103         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27104         (acos_test_tonearest): Likewise.
27105         (acos_test_towardzero): Likewise.
27106         (acos_test_downward): Likewise.
27107         (acos_test_upward): Likewise.
27108         (acosh_test): Likewise.
27109         (asin_test): Likewise.
27110         (asin_test_tonearest): Likewise.
27111         (asin_test_towardzero): Likewise.
27112         (asin_test_downward): Likewise.
27113         (asin_test_upward): Likewise.
27114         (asinh_test): Likewise.
27115         (atan_test): Likewise.
27116         (atanh_test): Likewise.
27117         (atan2_test): Likewise.
27118         (cabs_test): Likewise.
27119         (cacos_test): Likewise.
27120         (cacosh_test): Likewise.
27121         (casin_test): Likewise.
27122         (casinh_test): Likewise.
27123         (catan_test): Likewise.
27124         (catanh_test): Likewise.
27125         (cbrt_test): Likewise.
27126         (ccos_test): Likewise.
27127         (ccosh_test): Likewise.
27128         (cexp_test): Likewise.
27129         (clog_test): Likewise.
27130         (clog10_test): Likewise.
27131         (cos_test): Likewise.
27132         (cos_test_tonearest): Likewise.
27133         (cos_test_towardzero): Likewise.
27134         (cos_test_downward): Likewise.
27135         (cos_test_upward): Likewise.
27136         (cosh_test): Likewise.
27137         (cosh_test_tonearest): Likewise.
27138         (cosh_test_towardzero): Likewise.
27139         (cosh_test_downward): Likewise.
27140         (cosh_test_upward): Likewise.
27141         (cpow_test): Likewise.
27142         (csin_test): Likewise.
27143         (csinh_test): Likewise.
27144         (csqrt_test): Likewise.
27145         (ctan_test): Likewise.
27146         (ctan_test_tonearest): Likewise.
27147         (ctan_test_towardzero): Likewise.
27148         (ctan_test_downward): Likewise.
27149         (ctan_test_upward): Likewise.
27150         (ctanh_test): Likewise.
27151         (ctanh_test_tonearest): Likewise.
27152         (ctanh_test_towardzero): Likewise.
27153         (ctanh_test_downward): Likewise.
27154         (ctanh_test_upward): Likewise.
27155         (erf_test): Likewise.
27156         (erfc_test): Likewise.
27157         (exp_test): Likewise.
27158         (exp_test_tonearest): Likewise.
27159         (exp_test_towardzero): Likewise.
27160         (exp_test_downward): Likewise.
27161         (exp_test_upward): Likewise.
27162         (exp10_test): Likewise.
27163         (exp2_test): Likewise.
27164         (expm1_test): Likewise.
27165         (fmod_test): Likewise.
27166         (gamma_test): Likewise.
27167         (hypot_test): Likewise.
27168         (j0_test): Likewise.
27169         (j1_test): Likewise.
27170         (jn_test): Likewise.
27171         (lgamma_test): Likewise.
27172         (log_test): Likewise.
27173         (log10_test): Likewise.
27174         (log1p_test): Likewise.
27175         (log2_test): Likewise.
27176         (logb_test_downward): Likewise.
27177         (pow_test): Likewise.
27178         (pow_test_tonearest): Likewise.
27179         (pow_test_towardzero): Likewise.
27180         (pow_test_downward): Likewise.
27181         (pow_test_upward): Likewise.
27182         (remainder_test): Likewise.
27183         (remquo_test): Likewise.
27184         (sin_test): Likewise.
27185         (sin_test_tonearest): Likewise.
27186         (sin_test_towardzero): Likewise.
27187         (sin_test_downward): Likewise.
27188         (sin_test_upward): Likewise.
27189         (sincos_test): Likewise.
27190         (sinh_test): Likewise.
27191         (sinh_test_tonearest): Likewise.
27192         (sinh_test_towardzero): Likewise.
27193         (sinh_test_downward): Likewise.
27194         (sinh_test_upward): Likewise.
27195         (sqrt_test): Likewise.
27196         (tan_test): Likewise.
27197         (tan_test_tonearest): Likewise.
27198         (tan_test_towardzero): Likewise.
27199         (tan_test_downward): Likewise.
27200         (tan_test_upward): Likewise.
27201         (tanh_test): Likewise.
27202         (tgamma_test): Likewise.
27203         (y0_test): Likewise.
27204         (y1_test): Likewise.
27205         (yn_test): Likewise.
27207         * math/gen-libm-test.pl (adjust_arg): Remove function.
27208         (special_function): Remove argument $in_func.  Only handle
27209         generating output for tables of tests, not inside functions.
27210         (parse_args): Likewise.
27211         (generate_testfile): Remove variable $in_func.  Update call to
27212         parse_args.
27213         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27214         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27215         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27216         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27217         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27218         (MAX_VALUE_INIT): Rename macro to max_value.
27219         (MIN_VALUE_INIT): Rename macro to min_value.
27220         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27221         (plus_zero): Remove variable.
27222         (minus_zero): Likewise.
27223         (plus_infty): Likewise.
27224         (minus_infty): Likewise.
27225         (qnan_value): Likewise.
27226         (max_value): Likewise.
27227         (min_value): Likewise.
27228         (min_subnorm_value): Likewise.
27230 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27232         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27233         uint64_t or uint32_t usage.
27234         * crypt/sha256-block.c: Likewise.
27235         * crypt/sha256-crypt.c: Likewise.
27236         * crypt/sha256.c: Likewise.
27237         * crypt/sha512-block.c: Likewise.
27238         * crypt/sha512-crypt.c: Likewise.
27239         * crypt/sha512.c: Likewise.
27240         * debug/backtrace-tst.c: Likewise.
27241         * debug/pcprofiledump.c: Likewise.
27242         * elf/cache.c: Likewise.
27243         * elf/dl-cache.c: Likewise.
27244         * elf/dl-misc.c: Likewise.
27245         * elf/dl-profile.c: Likewise.
27246         * elf/dl-support.c: Likewise.
27247         * elf/ldconfig.c: Likewise.
27248         * elf/sprof.c: Likewise.
27249         * iconv/dummy-repertoire.c: Likewise.
27250         * iconv/iconv_charmap.c: Likewise.
27251         * iconv/skeleton.c: Likewise.
27252         * iconvdata/8bit-generic.c: Likewise.
27253         * iconvdata/cp737.h: Likewise.
27254         * iconvdata/cp775.h: Likewise.
27255         * iconvdata/ibm1008.h: Likewise.
27256         * iconvdata/ibm1025.h: Likewise.
27257         * iconvdata/ibm1046.h: Likewise.
27258         * iconvdata/ibm1097.h: Likewise.
27259         * iconvdata/ibm1112.h: Likewise.
27260         * iconvdata/ibm1122.h: Likewise.
27261         * iconvdata/ibm1123.h: Likewise.
27262         * iconvdata/ibm1124.h: Likewise.
27263         * iconvdata/ibm1129.h: Likewise.
27264         * iconvdata/ibm1130.h: Likewise.
27265         * iconvdata/ibm1132.h: Likewise.
27266         * iconvdata/ibm1133.h: Likewise.
27267         * iconvdata/ibm1137.h: Likewise.
27268         * iconvdata/ibm1140.h: Likewise.
27269         * iconvdata/ibm1141.h: Likewise.
27270         * iconvdata/ibm1142.h: Likewise.
27271         * iconvdata/ibm1143.h: Likewise.
27272         * iconvdata/ibm1144.h: Likewise.
27273         * iconvdata/ibm1145.h: Likewise.
27274         * iconvdata/ibm1146.h: Likewise.
27275         * iconvdata/ibm1147.h: Likewise.
27276         * iconvdata/ibm1148.h: Likewise.
27277         * iconvdata/ibm1149.h: Likewise.
27278         * iconvdata/ibm1153.h: Likewise.
27279         * iconvdata/ibm1154.h: Likewise.
27280         * iconvdata/ibm1155.h: Likewise.
27281         * iconvdata/ibm1156.h: Likewise.
27282         * iconvdata/ibm1157.h: Likewise.
27283         * iconvdata/ibm1158.h: Likewise.
27284         * iconvdata/ibm1160.h: Likewise.
27285         * iconvdata/ibm1161.h: Likewise.
27286         * iconvdata/ibm1162.h: Likewise.
27287         * iconvdata/ibm1163.h: Likewise.
27288         * iconvdata/ibm1164.h: Likewise.
27289         * iconvdata/ibm1166.h: Likewise.
27290         * iconvdata/ibm1167.h: Likewise.
27291         * iconvdata/ibm12712.h: Likewise.
27292         * iconvdata/ibm1390.h: Likewise.
27293         * iconvdata/ibm1399.h: Likewise.
27294         * iconvdata/ibm16804.h: Likewise.
27295         * iconvdata/ibm4517.h: Likewise.
27296         * iconvdata/ibm4899.h: Likewise.
27297         * iconvdata/ibm4909.h: Likewise.
27298         * iconvdata/ibm4971.h: Likewise.
27299         * iconvdata/ibm5347.h: Likewise.
27300         * iconvdata/ibm803.h: Likewise.
27301         * iconvdata/ibm856.h: Likewise.
27302         * iconvdata/ibm901.h: Likewise.
27303         * iconvdata/ibm902.h: Likewise.
27304         * iconvdata/ibm9030.h: Likewise.
27305         * iconvdata/ibm9066.h: Likewise.
27306         * iconvdata/ibm921.h: Likewise.
27307         * iconvdata/ibm922.h: Likewise.
27308         * iconvdata/ibm9448.h: Likewise.
27309         * iconvdata/isiri-3342.h: Likewise.
27310         * iconvdata/jis0201.h: Likewise.
27311         * include/link.h: Likewise.
27312         * include/netdb.h: Likewise.
27313         * inet/check_native.c: Likewise.
27314         * inet/check_pf.c: Likewise.
27315         * inet/getipv4sourcefilter.c: Likewise.
27316         * inet/getnameinfo.c: Likewise.
27317         * inet/getsourcefilter.c: Likewise.
27318         * inet/htonl.c: Likewise.
27319         * inet/setipv4sourcefilter.c: Likewise.
27320         * inet/setsourcefilter.c: Likewise.
27321         * inet/test-inet6_opt.c: Likewise.
27322         * inet/tst-network.c: Likewise.
27323         * locale/C-collate.c: Likewise.
27324         * locale/C-ctype.c: Likewise.
27325         * locale/C-time.c: Likewise.
27326         * locale/C-translit.h: Likewise.
27327         * locale/loadarchive.c: Likewise.
27328         * locale/programs/3level.h: Likewise.
27329         * locale/programs/charmap.c: Likewise.
27330         * locale/programs/charmap.h: Likewise.
27331         * locale/programs/ld-address.c: Likewise.
27332         * locale/programs/ld-collate.c: Likewise.
27333         * locale/programs/ld-ctype.c: Likewise.
27334         * locale/programs/ld-identification.c: Likewise.
27335         * locale/programs/ld-measurement.c: Likewise.
27336         * locale/programs/ld-messages.c: Likewise.
27337         * locale/programs/ld-monetary.c: Likewise.
27338         * locale/programs/ld-name.c: Likewise.
27339         * locale/programs/ld-numeric.c: Likewise.
27340         * locale/programs/ld-paper.c: Likewise.
27341         * locale/programs/ld-telephone.c: Likewise.
27342         * locale/programs/ld-time.c: Likewise.
27343         * locale/programs/linereader.c: Likewise.
27344         * locale/programs/locale.c: Likewise.
27345         * locale/programs/locarchive.c: Likewise.
27346         * locale/programs/locfile.h: Likewise.
27347         * locale/programs/repertoire.c: Likewise.
27348         * locale/programs/simple-hash.c: Likewise.
27349         * locale/programs/simple-hash.h: Likewise.
27350         * malloc/memusage.c: Likewise.
27351         * malloc/memusagestat.c: Likewise.
27352         * nis/nis_defaults.c: Likewise.
27353         * nis/nis_hash.c: Likewise.
27354         * nis/nis_print.c: Likewise.
27355         * nis/nis_xdr.c: Likewise.
27356         * nscd/connections.c: Likewise.
27357         * nscd/hstcache.c: Likewise.
27358         * nscd/nscd_gethst_r.c: Likewise.
27359         * nscd/nscd_getserv_r.c: Likewise.
27360         * nscd/nscd_helper.c: Likewise.
27361         * nscd/servicescache.c: Likewise.
27362         * nss/makedb.c: Likewise.
27363         * nss/nss_db/db-XXX.c: Likewise.
27364         * nss/nss_db/db-initgroups.c: Likewise.
27365         * nss/nss_db/db-netgrp.c: Likewise.
27366         * nss/nss_files/files-network.c: Likewise.
27367         * nss/nss_files/files-parse.c: Likewise.
27368         * posix/bug-regex5.c: Likewise.
27369         * posix/fnmatch_loop.c: Likewise.
27370         * posix/regcomp.c: Likewise.
27371         * posix/regexec.c: Likewise.
27372         * posix/tst-rfc3484-2.c: Likewise.
27373         * posix/tst-rfc3484-3.c: Likewise.
27374         * posix/tst-rfc3484.c: Likewise.
27375         * resolv/nss_dns/dns-canon.c: Likewise.
27376         * resolv/nss_dns/dns-network.c: Likewise.
27377         * resolv/res_init.c: Likewise.
27378         * resolv/res_mkquery.c: Likewise.
27379         * resolv/tst-aton.c: Likewise.
27380         * stdlib/cxa_atexit.c: Likewise.
27381         * stdlib/cxa_finalize.c: Likewise.
27382         * stdlib/gen-fpioconst.c: Likewise.
27383         * stdlib/strtol_l.c: Likewise.
27384         * string/tst-endian.c: Likewise.
27385         * sunrpc/auth_des.c: Likewise.
27386         * sunrpc/clnt_udp.c: Likewise.
27387         * sunrpc/rtime.c: Likewise.
27388         * sunrpc/svcauth_des.c: Likewise.
27389         * sunrpc/xdr.c: Likewise.
27390         * sunrpc/xdr_intXX_t.c: Likewise.
27391         * sunrpc/xdr_rec.c: Likewise.
27392         * sysdeps/generic/ldconfig.h: Likewise.
27393         * sysdeps/generic/ldsodefs.h: Likewise.
27394         * sysdeps/generic/memusage.h: Likewise.
27395         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27397         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27398         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27399         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27400         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27403         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27405         * sysdeps/posix/getaddrinfo.c: Likewise.
27406         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27407         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27408         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27409         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27410         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27411         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27412         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27413         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27414         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27415         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27416         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27417         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27418         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27419         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27420         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27421         * sysdeps/x86_64/dl-tls.h: Likewise.
27422         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27423         * time/alt_digit.c: Likewise.
27424         * time/era.c: Likewise.
27425         * wcsmbs/tst-c16c32-1.c: Likewise.
27427 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27429         * math/libm-test.inc (struct test_sincos_data): New type.
27430         (RUN_TEST_LOOP_sincos): New macro.
27431         (sincos_test_data): New variable.
27432         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27434 2013-05-16  Richard Henderson  <rth@redhat.com>
27436         * math/atest-exp2.c (LIMB64): New macro.
27437         (CONSTSZ): New macro.
27438         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27439         (hexdig): Move ...
27440         (print_mpn_fp): ... to function scope.
27441         (read_mpn_hex): Remove.
27442         (get_log2): Remove.
27443         (exp2_mpn): Use mp_log2.
27444         (main): Use mp_exp1.
27446 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27448         * math/libm-test.inc: Remove comment about not testing "inexact"
27449         exceptions.
27450         (INEXACT_EXCEPTION): New macro.
27451         (NO_INEXACT_EXCEPTION): Likewise.
27452         (INVALID_EXCEPTION_OK): Update value.
27453         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27454         (OVERFLOW_EXCEPTION_OK): Likewise.
27455         (UNDERFLOW_EXCEPTION_OK): Likewise.
27456         (IGNORE_ZERO_INF_SIGN): Likewise.
27457         (ERRNO_UNCHANGED): Likewise.
27458         (ERRNO_EDOM): Likewise.
27459         (ERRNO_ERANGE): Likewise.
27460         (test_exceptions): Handle testing "inexact" exceptions.
27461         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27462         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27463         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27464         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27465         INEXACT_EXCEPTION.
27466         (rint_towardzero_test_data): Likewise.
27467         (rint_downward_test_data): Likewise.
27468         (rint_upward_test_data): Likewise.
27470         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27471         with OVERFLOW_EXCEPTION.
27472         (exp10_test_data): Likewise.
27473         (exp2_test_data): Likewise.
27474         (expm1_test_data): Likewise.
27475         (lgamma_test_data): Likewise.
27476         (pow_test_data): Likewise.
27477         (tgamma_test_data): Likewise.
27478         (yn_test_data): Remove duplicate test of overflow.
27480         * math/libm-test.inc (struct test_cc_c_data): New type.
27481         (RUN_TEST_LOOP_cc_c): New macro.
27482         (cpow_test_data): New variable.
27483         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27485         * math/libm-test.inc (struct test_f_L_data): New type.
27486         (RUN_TEST_LOOP_f_L): New macro.
27487         (llrint_test_data): New variable.
27488         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27489         (llrint_tonearest_test_data): New variable.
27490         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27491         (llrint_towardzero_test_data): New variable.
27492         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27493         (llrint_downward_test_data): New variable.
27494         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27495         (llrint_upward_test_data): New variable.
27496         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27497         (llround_test_data): New variable.
27498         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27500 2013-05-13  Peter Collingbourne  <pcc@google.com>
27502         * math/atest-exp2.c (get_log2): Remove const attribute.
27504 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27506         * math/libm-test.inc (struct test_f_l_data): New type.
27507         (RUN_TEST_LOOP_f_l): New macro.
27508         (lrint_test_data): New variable.
27509         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27510         (lrint_tonearest_test_data): New variable.
27511         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27512         (lrint_towardzero_test_data): New variable.
27513         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27514         (lrint_downward_test_data): New variable.
27515         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27516         (lrint_upward_test_data): New variable.
27517         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27518         (lround_test_data): New variable.
27519         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27521 2013-05-15  Peter Collingbourne  <pcc@google.com>
27523         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27524         (EXTRACT_WORDS64) Use where appropriate.
27525         (INSERT_WORDS64) Likewise.
27527         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27528         constraints with x constraints.
27529         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27531         * malloc/obstack.c (_obstack_compat): Add initializer.
27533 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27535         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27536         si_trapno and add si_addr_lsb to _sifields.sigfault.
27537         (si_trapno): Remove macro.
27538         (si_addr_lsb): Define new macro.
27539         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27541 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27543         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27544         instead of TEST_f_l.
27545         (llrint_test_tonearest): Likewise.
27546         (llrint_test_towardzero): Likewise.
27547         (llrint_test_downward): Likewise.
27548         (llrint_test_upward): Likewise.
27549         (llround_test): Likewise.
27551         * math/libm-test.inc (struct test_f_i_data): Add comment.
27552         (RUN_TEST_LOOP_f_b): New macro.
27553         (RUN_TEST_LOOP_f_b_tg): Likewise.
27554         (finite_test_data): New variable.
27555         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27556         (isfinite_test_data): New variable.
27557         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27558         (isinf_test_data): New variable.
27559         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27560         (isnan_test_data): New variable.
27561         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27562         (isnormal_test_data): New variable.
27563         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27564         (issignaling_test_data): New variable.
27565         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27566         (signbit_test_data): New variable.
27567         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27569         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27570         with INVALID_EXCEPTION.
27571         (acosh_test_data): Likewise.
27572         (asin_test_data): Likewise.
27573         (atanh_test_data): Likewise.
27574         (fmod_test_data): Likewise.
27575         (log_test_data): Likewise.
27576         (log10_test_data): Likewise.
27577         (log2_test_data): Likewise.
27578         (pow_test_data): Likewise.
27579         (sqrt_test_data): Likewise.
27580         (y0_test_data): Likewise.
27581         (y1_test_data): Likewise.
27582         (yn_test_data): Likewise.
27584         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27585         function contents.
27587         * math/libm-test.inc (struct test_ff_i_data): New type.
27588         (RUN_TEST_LOOP_ff_i_tg): New macro.
27589         (isgreater_test_data): New variable.
27590         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27591         (isgreaterequal_test_data): New variable.
27592         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27593         (isless_test_data): New variable.
27594         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27595         (islessequal_test_data): New variable.
27596         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27597         (islessgreater_test_data): New variable.
27598         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27599         (isunordered_test_data): New variable.
27600         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27602 2013-05-14  David S. Miller  <davem@davemloft.net>
27604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27606 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27608         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27610         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27611         extra_test to int.
27612         (struct test_f_i_data): Change type of max_ulp to int.
27614         * math/libm-test.inc (test_ffI_f1_data): New type.
27615         (RUN_TEST_LOOP_ffI_f1): New macro.
27616         (remquo_test_data): New variable.
27617         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27619         * setjmp/tst-setjmp-fp.c: New file.
27620         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27621         (link-libm): New variable.
27622         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27624         * math/libm-test.inc (struct test_f_i_data): New type.
27625         (RUN_TEST_LOOP_f_i): New macro.
27626         (RUN_TEST_LOOP_f_i_tg): Likewise.
27627         (fpclassify_test_data): New variable.
27628         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27629         (ilogb_test_data): New variable.
27630         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27632         * math/libm-test.inc (scalbln_test): Correct function name in END
27633         call.
27635         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27636         (RUN_TEST_LOOP_fI_f1): New macro.
27637         (frexp_test_data): New variable.
27638         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27640         * math/libm-test.inc (struct test_fF_f1_data): New type.
27641         (RUN_TEST_LOOP_fF_f1): New macro.
27642         (modf_test_data): New variable.
27643         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27645         * math/libm-test.inc (struct test_f_f1_data): New type.
27646         (RUN_TEST_LOOP_f_f1): New macro.
27647         (gamma_test_data): New variable.
27648         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27649         (lgamma_test_data): New variable.
27650         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27652 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27654         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27655         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27656         (main): Comment "tls" pseudo-hwcap.
27658 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27660         * math/libm-test.inc (struct test_fl_f_data): New type.
27661         (RUN_TEST_LOOP_fl_f): New variable.
27662         (scalbln_test_data): New variable.
27663         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27665         * math/libm-test.inc (struct test_fi_f_data): New type.
27666         (RUN_TEST_LOOP_fi_f): New macro.
27667         (ldexp_test_data): New variable.
27668         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27669         (scalbn_test_data): New variable.
27670         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27672         * math/libm-test.inc (struct test_c_f_data): New type.
27673         (RUN_TEST_LOOP_c_f): New macro.
27674         (cabs_test_data): New variable.
27675         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27676         (carg_test_data): New variable.
27677         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27678         (cimag_test_data): New variable.
27679         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27680         (creal_test_data): New variable.
27681         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27683         * math/libm-test.inc (struct test_if_f_data): New type.
27684         (RUN_TEST_LOOP_if_f): New macro.
27685         (jn_test_data): New variable.
27686         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27687         (yn_test_data): New variable.
27688         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27690         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27692 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27694         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27695         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27697 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27699         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27700         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27701         (bench-deps): Add bench-timing.h.
27702         * benchtests-bench-skeleton.c: Include bench-timing.h.
27703         (main): Use TIMING_* macros instead of clock_gettime.
27704         * benchtests/bench-timing.h: New file.
27706         [BZ #14582]
27707         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27708         Renamed from _LIB_VERSION.
27709         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27711 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27713         * math/libm-test.inc (struct test_fff_f_data): New type.
27714         (RUN_TEST_LOOP_fff_f): New macro.
27715         (fma_test_data): New variable.
27716         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27717         (fma_towardzero_test_data): New variable.
27718         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27719         (fma_downward_test_data): New variable.
27720         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27721         (fma_upward_test_data): New variable.
27722         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27724         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27725         (struct test_c_c_data): New type.
27726         (RUN_TEST_LOOP_c_c): New macro.
27727         (cacos_test_data): New variable.
27728         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27729         (cacosh_test_data): New variable.
27730         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27731         (casin_test_data): New variable.
27732         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27733         (casinh_test_data): New variable.
27734         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27735         (catan_test_data): New variable.
27736         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27737         (catanh_test_data): New variable.
27738         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27739         (ccos_test_data): New variable.
27740         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27741         (ccosh_test_data): New variable.
27742         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27743         (cexp_test_data): New variable.
27744         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27745         (clog_test_data): New variable.
27746         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27747         (clog10_test_data): New variable.
27748         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27749         (conj_test_data): New variable.
27750         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27751         (cproj_test_data): New variable.
27752         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27753         (csin_test_data): New variable.
27754         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27755         (csinh_test_data): New variable.
27756         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27757         (csqrt_test_data): New variable.
27758         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27759         (ctan_test_data): New variable.
27760         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27761         (ctan_tonearest_test_data): New variable.
27762         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27763         (ctan_towardzero_test_data): New variable.
27764         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27765         (ctan_downward_test_data): New variable.
27766         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27767         (ctan_upward_test_data): New variable.
27768         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27769         (ctanh_test_data): New variable.
27770         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27771         (ctanh_tonearest_test_data): New variable.
27772         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27773         (ctanh_towardzero_test_data): New variable.
27774         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27775         (ctanh_downward_test_data): New variable.
27776         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27777         (ctanh_upward_test_data): New variable.
27778         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27779         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27780         of BUILD_COMPLEX.
27782         * math/libm-test.inc (struct test_ff_f_data): New type.
27783         (struct test_ff_f_data_nexttoward): Likewise.
27784         (RUN_TEST_LOOP_2_f): New macro.
27785         (RUN_TEST_LOOP_ff_f): Likewise.
27786         (atan2_test_data): New variable.
27787         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27788         (copysign_test_data): New variable.
27789         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27790         (fdim_test_data): New variable.
27791         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27792         (fmax_test_data): New variable.
27793         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27794         (fmin_test_data): New variable.
27795         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27796         (fmod_test_data): New variable.
27797         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27798         (hypot_test_data): New variable.
27799         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27800         (nextafter_test_data): New variable.
27801         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27802         (nexttoward_test_data): New variable.
27803         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27804         (pow_test_data): New variable.
27805         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27806         (pow_tonearest_test_data): New variable.
27807         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27808         (pow_towardzero_test_data): New variable.
27809         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27810         (pow_downward_test_data): New variable.
27811         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27812         (pow_upward_test_data): New variable.
27813         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27814         (remainder_test_data): New variable.
27815         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27816         (scalb_test_data): New variable.
27817         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27818         * sysdeps/i386/fpu/libm-test-ulps: Update.
27820 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27822         * math/libm-test.inc (fma_test): Use max_value instead of local
27823         variable fltmax.
27824         (nextafter_test): Likewise.
27826         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27827         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27828         (acos_downward_test_data): New variable.
27829         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27830         (acos_upward_test_data): New variable.
27831         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27832         (acosh_test_data): New variable.
27833         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27834         (asin_test_data): New variable.
27835         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27836         (asin_tonearest_test_data): New variable.
27837         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27838         (asin_towardzero_test_data): New variable.
27839         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27840         (asin_downward_test_data): New variable.
27841         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27842         (asin_upward_test_data): New variable.
27843         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27844         (asinh_test_data): New variable.
27845         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27846         (atan_test_data): New variable.
27847         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27848         (atanh_test_data): New variable.
27849         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27850         (cbrt_test_data): New variable.
27851         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27852         (ceil_test_data): New variable.
27853         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27854         (cos_test_data): New variable.
27855         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27856         (cos_tonearest_test_data): New variable.
27857         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27858         (cos_towardzero_test_data): New variable.
27859         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27860         (cos_downward_test_data): New variable.
27861         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27862         (cos_upward_test_data): New variable.
27863         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27864         (cosh_test_data): New variable.
27865         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27866         (cosh_tonearest_test_data): New variable.
27867         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27868         (cosh_towardzero_test_data): New variable.
27869         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27870         (cosh_downward_test_data): New variable.
27871         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27872         (cosh_upward_test_data): New variable.
27873         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27874         (erf_test_data): New variable.
27875         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27876         (erfc_test_data): New variable.
27877         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27878         (exp_test_data): New variable.
27879         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27880         (exp_tonearest_test_data): New variable.
27881         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27882         (exp_towardzero_test_data): New variable.
27883         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27884         (exp_downward_test_data): New variable.
27885         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27886         (exp_upward_test_data): New variable.
27887         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27888         (exp10_test_data): New variable.
27889         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27890         (exp2_test_data): New variable.
27891         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27892         (expm1_test_data): New variable.
27893         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27894         (fabs_test_data): New variable.
27895         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27896         (floor_test_data): New variable.
27897         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27898         (j0_test_data): New variable.
27899         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27900         (j1_test_data): New variable.
27901         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27902         (log_test_data): New variable.
27903         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27904         (log10_test_data): New variable.
27905         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27906         (log1p_test_data): New variable.
27907         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27908         (log2_test_data): New variable.
27909         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27910         (logb_test_data): New variable.
27911         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27912         (logb_downward_test_data): New variable.
27913         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27914         (nearbyint_test_data): New variable.
27915         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27916         (rint_test_data): New variable.
27917         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27918         (rint_tonearest_test_data): New variable.
27919         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27920         (rint_towardzero_test_data): New variable.
27921         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27922         (rint_downward_test_data): New variable.
27923         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27924         (rint_upward_test_data): New variable.
27925         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27926         (round_test_data): New variable.
27927         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27928         (sin_test_data): New variable.
27929         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27930         (sin_tonearest_test_data): New variable.
27931         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27932         (sin_towardzero_test_data): New variable.
27933         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27934         (sin_downward_test_data): New variable.
27935         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27936         (sin_upward_test_data): New variable.
27937         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27938         (sinh_test_data): New variable.
27939         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27940         (sinh_tonearest_test_data): New variable.
27941         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27942         (sinh_towardzero_test_data): New variable.
27943         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27944         (sinh_downward_test_data): New variable.
27945         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27946         (sinh_upward_test_data): New variable.
27947         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27948         (sqrt_test_data): New variable.
27949         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27950         (tan_test_data): New variable.
27951         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27952         (tan_tonearest_test_data): New variable.
27953         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27954         (tan_towardzero_test_data): New variable.
27955         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27956         (tan_downward_test_data): New variable.
27957         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27958         (tan_upward_test_data): New variable.
27959         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27960         (tanh_test_data): New variable.
27961         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27962         (tgamma_test_data): New variable.
27963         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27964         (trunc_test_data): New variable.
27965         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27966         (y0_test_data): New variable.
27967         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27968         (y1_test_data): New variable.
27969         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27970         (significand_test_data): New variable.
27971         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27973 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27975         [BZ #12387]
27976         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27978 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27980         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27982 2013-05-10  Andreas Jaeger  <aj@suse.de>
27984         [BZ #15448]
27985         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27986         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27988 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27990         * math/gen-libm-test.pl (adjust_arg): New function.
27991         (special_functions): Handle generating output in both functions
27992         and arrays.
27993         (parse_args): Likewise.
27994         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27995         $in_func argument to parse_args.
27996         * math/libm-test.inc (struct test_f_f_data): New type.
27997         (IF_ROUND_INIT_): New macro.
27998         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27999         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28000         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28001         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28002         (ROUND_RESTORE_): Likewise.
28003         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28004         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28005         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28006         (ROUND_RESTORE_FE_UPWARD): Likewise.
28007         (RUN_TEST_LOOP_f_f): New macro.
28008         (acos_test_data): New variable.
28009         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28010         (acos_tonearest_test_data): New variable.
28011         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28013 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28015         * benchtests/bench-skeleton.c (startup): Fix coding style.
28017 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28019         [BZ #6809]
28020         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28021         negative infinity argument.
28022         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28023         negative infinity argument.
28024         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28025         negative infinity argument.
28026         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28027         domain errors.
28029 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28031         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28032         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28033         * iconv/iconv_prog.c (main): Likewise.
28034         * locale/programs/charmap-dir.c (charmap_readdir)
28035         (fopen_uncompressed): Likewise.
28036         * locale/programs/locfile.c (siblings_uncached)
28037         (write_locale_data): Use lstat64 instead of lstat.
28038         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28039         stat.
28041 2013-05-10  Andreas Jaeger  <aj@suse.de>
28043         [BZ #15395]
28044         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28045         localization.
28046         Include <locale.h>.
28048 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28050         * elf/dl-close.c (_dl_close_worker): Add comments.
28052 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28054         [BZ #15359]
28055         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28056         high part of pi/2.
28057         (__ieee754_rem_pio2l): Update comments.
28059         [BZ #15429]
28060         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28061         high part of pi/2.
28062         (__ieee754_rem_pio2l): Update comments.
28064         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28065         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28067         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28068         M_PI_4l.
28070         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28071         (M_PI_34_LOG10El): Likewise.
28072         (M_PI2_LOG10El): Likewise.
28073         (M_PI4_LOG10El): Likewise.
28074         (M_PI_LOG10El): Likewise.
28076 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28080 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28082         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28083         (MINUS_ZERO_INIT): Likewise.
28084         (PLUS_INFTY_INIT): Likewise.
28085         (MINUS_INFTY_INIT): Likewise.
28086         (QNAN_VALUE_INIT): Likewise.
28087         (MAX_VALUE_INIT): Likewise.
28088         (MIN_VALUE_INIT): Likewise.
28089         (MIN_SUBNORM_VALUE_INIT): Likewise.
28090         (plus_zero): Initialize with PLUS_ZERO_INIT.
28091         (minus_zero): Initialize with MINUS_ZERO_INIT.
28092         (plus_infty): Initialize with PLUS_INFTY_INIT.
28093         (minus_infty): Initialize with MINUS_INFTY_INIT.
28094         (qnan_value): Initialize with QNAN_VALUE_INIT.
28095         (max_value): Initialize with MAX_VALUE_INIT.
28096         (min_value): Initialize with MIN_VALUE_INIT.
28097         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28099         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28100         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28101         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28102         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28104         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28105         (RUN_TEST_2_f): Likewise.
28106         (RUN_TEST_ff_f): Likewise.
28107         (RUN_TEST_fi_f): Likewise.
28108         (RUN_TEST_fl_f): Likewise.
28109         (RUN_TEST_fff_f): Likewise.
28110         (RUN_TEST_c_f): Likewise.
28111         (RUN_TEST_f_f1): Likewise.
28112         (RUN_TEST_fF_f1): Likewise.
28113         (RUN_TEST_fI_f1): Likewise.
28114         (RUN_TEST_ffI_f1): Likewise.
28115         (RUN_TEST_c_c): Likewise.
28116         (RUN_TEST_cc_c): Likewise.
28117         (RUN_TEST_f_i): Likewise.
28118         (RUN_TEST_f_i_tg): Likewise.
28119         (RUN_TEST_ff_i_tg): Likewise.
28120         (RUN_TEST_f_b): Likewise.
28121         (RUN_TEST_f_b_tg): Likewise.
28122         (RUN_TEST_f_l): Likewise.
28123         (RUN_TEST_f_L): Likewise.
28124         (RUN_TEST_sincos): Likewise.
28125         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28126         whether to show exceptions.  Do not include ");\n" in return
28127         value.
28128         (special_functions): Output call to RUN_TEST_sincos instead of
28129         check_float calls.  Update calls to new_test.
28130         (parse_args): Output call to single RUN_TEST_* macro instead of
28131         check_* calls and other assignments.  Update calls to new_test.
28133         [BZ #2546]
28134         [BZ #2560]
28135         [BZ #5159]
28136         [BZ #15426]
28137         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28138         input to result for tgamma overflow.
28139         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28140         (gamma_coeff): New variable.
28141         (NCOEFF): New macro.
28142         (gamma_positive): New function.
28143         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28144         underflow here.  Use gamma_positive instead of exp (lgamma) for
28145         other arguments.
28146         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28147         (gamma_coeff): New variable.
28148         (NCOEFF): New macro.
28149         (gammaf_positive): New function.
28150         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28151         underflow here.  Use gamma_positive instead of exp (lgamma) for
28152         other arguments.
28153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28154         (gamma_coeff): New variable.
28155         (NCOEFF): New macro.
28156         (gammal_positive): New function.
28157         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28158         underflow here.  Use gamma_positive instead of exp (lgamma) for
28159         other arguments.
28160         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28161         (gamma_coeff): New variable.
28162         (NCOEFF): New macro.
28163         (gammal_positive): New function.
28164         (__ieee754_gammal_r): Handle positive infinity, overflow and
28165         underflow here.  Handle NaN the same as positive infinity.  Remove
28166         check x < 0xffffffff for negative integers.  Use gamma_positive
28167         instead of exp (lgamma) for other arguments.
28168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28169         (gamma_coeff): New variable.
28170         (NCOEFF): New macro.
28171         (gammal_positive): New function.
28172         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28173         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28174         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28175         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28176         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28177         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28178         * sysdeps/generic/math_private.h (__gamma_productf): New
28179         prototype.
28180         (__gamma_product): Likewise.
28181         (__gamma_productl): Likewise.
28182         * math/Makefile (libm-calls): Add gamma_product.
28183         * math/libm-test.inc (tgamma_test): Add more tests.
28184         * sysdeps/i386/fpu/libm-test-ulps: Update.
28185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28187 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28189         * benchtests/bench-skeleton.c (main): Preheat CPU.
28191 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28193         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28195 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28197         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28198         and _dl_skip_args_internal.
28200 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28202         * manual/message.texi (Message Translation): Talk about users.
28203         Message to key mapping impacts design.
28205 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28207         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28209         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28211         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28212         * sysdeps/wordsize-64/glob64.c: ... here.
28214         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28215         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28216         New macros.
28218         * debug/getlogin_r_chk.c: Moved to ...
28219         * login/getlogin_r_chk.c: ... here.
28220         * debug/Makefile (routines): Move getlogin_r_chk to ...
28221         * login/Makefile (routines): ... here.
28222         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28223         * login/Versions (libc: GLIBC_2.4): ... here.
28225         * io/poll.c (__poll): Renamed from poll.
28226         Add libc_hidden_def.
28227         (poll): Define as weak alias.
28229         * debug/ptsname_r_chk.c: Moved to ...
28230         * login/ptsname_r_chk.c: ... here.
28231         * debug/Makefile (routines): Move ptsname_r_chk to ...
28232         * login/Makefile (routines): ... here.
28233         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28234         * login/Versions (libc: GLIBC_2.4): ... here.
28236         * posix/getlogin.c: Moved to ...
28237         * login/getlogin.c: ... here.
28238         * posix/getlogin_r.c: Moved to ...
28239         * login/getlogin_r.c: ... here.
28240         * posix/getlogin_r.c: Moved to ...
28241         * login/getlogin_r.c: ... here.
28242         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28243         * login/Makefile (routines): ... here.
28244         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28245         * login/Versions (libc: GLIBC_2.0): ... here.
28247         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28248         (setrlimit): Define as weak alias.
28250         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28251         Call __ names for open, ftruncate, and close.
28252         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28253         (truncate): Define as weak alias.
28255 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28257         * math/gen-libm-test.pl (parse_args): Initialize x before each
28258         test of frexp, modf and remquo.
28260         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28261         test signgam value.
28263 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28265         [BZ #15418]
28266         [BZ #15419]
28267         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28268         internal tests.
28269         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28271 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28273         * elf/dl-writev.h: New file.
28274         * elf/dl-misc.c: Include it.
28275         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28276         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28278 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28280         * math/libm-test.inc (noXFails): Remove variable.
28281         (noXPasses): Likewise.
28282         (BUILD_COMPLEX_INT): Remove macro.
28283         (print_screen): Remove xfail argument.
28284         (print_screen_max_error): Likewise.
28285         (update_stats): Likewise.
28286         (print_max_error): Likewise.  Update calls to other affected
28287         functions.
28288         (print_complex_max_error): Likewise.
28289         (test_single_exception): Update calls to print_screen.
28290         (test_single_errno): Likewise.
28291         (check_float_internal): Remove xfail argument.  Update calls to
28292         other affected functions.
28293         (check_float): Likewise.
28294         (check_complex): Likewise.
28295         (check_int): Likewise.
28296         (check_long): Likewise.
28297         (check_bool): Likewise.
28298         (check_longlong): Likewise.
28299         (main): Don't print noXFails and noXPasses.
28300         * math/gen-libm-test.pl (top level): Don't mention expected
28301         failure handling in comment.
28302         (new_test): Don't handle expected failures.
28303         (parse_args): Don't mention expected failure handling in comment.
28304         (generate_testfile): Don't handle expected failures.
28305         (parse_ulps): Likewise.
28306         (print_ulps_file): Likewise.
28307         (get_failure): Remove function.
28308         (output_test): Don't handle expected failures.
28309         * make/README.libm-test: Don't mention expected failure handling.
28311         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28312         (minus_zero): Likewise.
28313         (plus_infty): Likewise.
28314         (minus_infty): Likewise.
28315         (qnan_value): Likewise.
28316         (max_value): Likewise.
28317         (min_value): Likewise.
28318         (min_subnorm_value): Likewise.
28319         (initialize): Do not initialize those variables dynamically.
28321 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28323         * io/open.c (__open_2): Moved to ...
28324         * io/open_2.c: ... this new file.
28325         * io/open64.c (__open64_2): Moved to ...
28326         * io/open64_2.c: ... this new file.
28327         * io/openat.c (__openat_2): Moved to ...
28328         * io/openat_2.c: ... this new file.
28329         * io/openat64.c (__openat64_2): Moved to ...
28330         * io/openat64_2.c: ... this new file.
28331         * io/Makefile (routines): Add them.
28332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28333         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28334         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28335         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28336         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28337         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28338         (__openat64): Add hidden_ver.
28339         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28340         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28342         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28343         Separately conditionalize setting of GLRO(dl_sysinfo) so
28344         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28345         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28347 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28349         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28350         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28351         definition.
28352         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28353         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28354         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28355         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28356         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28358 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28360         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28361         test signgam value.
28363         * math/libm-test.inc (hypot_test): Do not use
28364         IGNORE_ZERO_INF_SIGN.
28366 2013-05-03  Andreas Jaeger  <aj@suse.de>
28368         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28369         Linux 3.9.
28370         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28371         (PF_MAX): Adjust for VSOCK change.
28373 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28377 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28379         [BZ #15264]
28380         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28381         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28382         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28384 2013-05-02  David S. Miller  <davem@davemloft.net>
28386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28388 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28390         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28392 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28394         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28396 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28398         [BZ #14952]
28399         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28400         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28401         Use __attribute__ ((__gnu_inline__)).
28402         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28403         Don't use __attribute__ ((__gnu_inline__)).
28405 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28407         [BZ #15423]
28408         * math/s_catan.c (__catan): Handle small real or imaginary part of
28409         input specially to avoid spurious underflow.
28410         * math/s_catanf.c (__catanf): Likewise.
28411         * math/s_catanh.c (__catanh): Likewise.
28412         * math/s_catanhf.c (__catanhf): Likewise.
28413         * math/s_catanhl.c (__catanhl): Likewise.
28414         * math/s_catanl.c (__catanl): Likewise.
28415         * math/libm-test.inc (catan_test): Add more tests.
28416         (catanh_test): Likewise.
28417         * sysdeps/i386/fpu/libm-test-ulps: Update.
28418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28420 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28424 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28426         [BZ #15416]
28427         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28428         accurately for denominator in atan2.
28429         * math/s_catanf.c (__catanf): Likewise.
28430         * math/s_catanh.c (__catanh): Likewise.
28431         * math/s_catanhf.c (__catanhf): Likewise.
28432         * math/s_catanhl.c (__catanhl): Likewise.
28433         * math/s_catanl.c (__catanl): Likewise.
28434         * math/libm-test.inc (catan_test): Add more tests.
28435         (catanh_test): Likewise.
28436         * sysdeps/i386/fpu/libm-test-ulps: Update.
28437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28439 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28441         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28443         * benchtests/Makefile (bench): Remove slow benchmarks.
28444         * benchtests/atan-inputs: Add slow benchmark inputs.
28445         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28446         (BENCH_FUNC): Accept variant offset.
28447         (VARIANT): Define.
28448         * benchtests/bench-skeleton.c (main): Run benchmark for each
28449         variant.
28450         * benchtests/cos-inputs: Add slow benchmark inputs.
28451         * benchtests/exp-inputs: Likewise.
28452         * benchtests/pow-inputs: Likewise.
28453         * benchtests/sin-inputs: Likewise.
28454         * benchtests/slowatan-inputs: Remove.
28455         * benchtests/slowatan.c: Remove.
28456         * benchtests/slowcos-inputs: Remove.
28457         * benchtests/slowcos.c: Remove.
28458         * benchtests/slowexp-inputs: Remove.
28459         * benchtests/slowexp.c: Remove.
28460         * benchtests/slowpow-inputs: Remove.
28461         * benchtests/slowpow.c: Remove.
28462         * benchtests/slowsin-inputs: Remove.
28463         * benchtests/slowsin.c: Remove.
28464         * benchtests/slowtan-inputs: Remove.
28465         * benchtests/slowtan.c: Remove.
28466         * benchtests/tan-inputs: Add slow benchmark inputs.
28467         * scripts/bench.pl: Parse comments and directives.
28469         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28470         in CPPFLAGS.
28471         ($(objpfx)bench-%.c): Remove *-ITER.
28472         * benchtests/bench-modf.c: Remove definition of ITER.
28473         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28474         (main): Loop for DURATION seconds instead of fixed number of
28475         iterations.
28476         * scripts/bench.pl: Don't expect iterations in parameters.
28478 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28480         * io/fchdir.c (__fchdir): Renamed from fchdir.
28481         (fchdir): Define as weak alias.
28483 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28485         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28486         (ERRNO_EDOM): Likewise.
28487         (ERRNO_ERANGE): Likewise.
28488         (noErrnoTests): New variable.
28489         (init_max_error): Set errno to 0.
28490         (test_single_errno): New function.
28491         (test_errno): Likewise.
28492         (check_float_internal): Call test_errno.  Set errno to 0.
28493         (check_complex): Refer to errno tests in comment.
28494         (check_int): Call test_errno.  Set errno to 0.
28495         (check_long): Likewise.
28496         (check_bool): Likewise.
28497         (check_longlong): Likewise.
28498         (cos_test): Use ERRNO_* flags for errno tests instead of
28499         check_int.
28500         (expm1_test): Likewise.
28501         (fmod_test): Likewise.
28502         (ilogb_test): Likewise.
28503         (lgamma_test): Likewise.
28504         (pow_test): Likewise.
28505         (remainder_test): Likewise.
28506         (sin_test): Likewise.
28507         (tan_test): Likewise.
28508         (yn_test): Likewise.
28509         (initialize): Set errno to 0.
28510         (main): Print number of errno tests.
28511         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28513 2013-04-29  Andreas Jaeger  <aj@suse.de>
28515         [BZ #15084]
28516         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28517         and RES_USEVC.
28519         [BZ #15085]
28520         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28521         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28522         unimplemented.
28524         [BZ #15380]
28525         * stdlib/random.c (__initstate): Return NULL if
28526         __initstate fails.
28528         [BZ #15086]
28529         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28530         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28531         RES_SNGLKUPREOP.
28533 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28537 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28539         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28540         of individual tests.
28541         (casin_test): Likewise.
28542         (casinh_test): Likewise.
28544 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28546         [BZ #15409]
28547         * math/s_catan.c (__catan): Handle arguments with large real or
28548         imaginary part separately without squaring.
28549         * math/s_catanf.c (__catanf): Likewise.
28550         * math/s_catanh.c (__catanh): Likewise.
28551         * math/s_catanhf.c (__catanhf): Likewise.
28552         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28553         and redefine.
28554         (__catanhl): Handle arguments with large real or imaginary part
28555         separately without squaring.
28556         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28557         and redefine.
28558         (__catanl): Handle arguments with large real or imaginary part
28559         separately without squaring.
28560         * math/libm-test.inc (catan_test): Add more tests.
28561         (catanh_test): Likewise.
28562         * sysdeps/i386/fpu/libm-test-ulps: Update.
28563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28565 2013-04-27  Andreas Jaeger  <aj@suse.de>
28567         [BZ #15007]
28568         * stdlib/stdlib.h: Update guards for qecvt.
28569         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28570         <stdlib.h>.
28572 2013-04-27  Allan McRae  <allan@archlinux.org>
28574         * sysdeps/i386/fpu/libm-test-ulps: Update.
28576 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28578         [BZ #15406]
28579         * math/s_catan.c: Include <float.h>.
28580         (__catan): Ensure underflow exception occurs for underflowed
28581         result.
28582         * math/s_catanf.c: Include <float.h>.
28583         (__catanf): Ensure underflow exception occurs for underflowed
28584         result.
28585         * math/s_catanh.c: Include <float.h>.
28586         (__catanh): Ensure underflow exception occurs for underflowed
28587         result.
28588         * math/s_catanhf.c: Include <float.h>.
28589         (__catanhf): Ensure underflow exception occurs for underflowed
28590         result.
28591         * math/s_catanhl.c: Include <float.h>.
28592         (__catanhl): Ensure underflow exception occurs for underflowed
28593         result.
28594         * math/s_catanl.c: Include <float.h>.
28595         (__catanl): Ensure underflow exception occurs for underflowed
28596         result.
28597         * math/libm-test.inc (catan_test): Add more tests.
28598         (catanh_test): Likewise.
28600         [BZ #15405]
28601         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28602         underflowed result.
28603         * math/s_ccoshf.c (__ccoshf): Likewise.
28604         * math/s_ccoshl.c (__ccoshl): Likewise.
28605         * math/s_csin.c (__csin): Likewise.
28606         * math/s_csinf.c (__csinf): Likewise.
28607         * math/s_csinh.c (__csinh): Likewise.
28608         * math/s_csinhf.c (__csinhf): Likewise.
28609         * math/s_csinhl.c (__csinhl): Likewise.
28610         * math/s_csinl.c (__csinl): Likewise.
28611         * math/libm-test.inc (ccos_test): Add more tests.
28612         (ccosh_test): Likewise.
28613         (csin_test): Likewise.
28614         (csinh_test): Likewise.
28616 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28618         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28619         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28620         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28621         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28622         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28623         powerpc/power5+/fpu folders.
28624         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28627 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28631 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28633         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28634         additions to variable.
28635         [$(config-machine) = x86_64] (modules-names): Likewise.
28636         ($(objpfx)tst-audit3): Remove dependency.
28637         ($(objpfx)tst-audit3.out): Likewise.
28638         ($(objpfx)tst-audit4): Likewise.
28639         ($(objpfx)tst-audit4.out): Likewise.
28640         ($(objpfx)tst-audit5): Likewise.
28641         ($(objpfx)tst-audit5.out): Likewise.
28642         ($(objpfx)tst-audit6): Likewise.
28643         ($(objpfx)tst-audit6.out): Likewise.
28644         ($(objpfx)tst-audit7): Likewise.
28645         ($(objpfx)tst-audit7.out): Likewise.
28646         (tst-audit3-ENV): Remove variable.
28647         (tst-audit4-ENV): Likewise.
28648         (tst-audit5-ENV): Likewise.
28649         (tst-audit6-ENV): Likewise.
28650         (tst-audit7-ENV): Likewise.
28651         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28652         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28653         addition to variable.
28654         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28658         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28659         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28660         tst-audit3, tst-audit4 and tst-audit5.
28661         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28662         tst-audit6 and tst-audit7.
28663         [$(subdir) = elf] (modules-names): Add audit modules for those
28664         tests.
28665         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28666         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28667         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28668         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28669         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28670         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28671         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28672         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28673         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28674         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28675         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28676         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28677         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28678         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28679         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28680         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28681         Likewise.
28682         [$(subdir) = elf && $(config-cflags-avx) = yes]
28683         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28684         [$(subdir) = elf && $(config-cflags-avx) = yes]
28685         (CFLAGS-tst-auditmod4a.c): Likewise.
28686         [$(subdir) = elf && $(config-cflags-avx) = yes]
28687         (CFLAGS-tst-auditmod4b.c): Likewise.
28688         [$(subdir) = elf && $(config-cflags-avx) = yes]
28689         (CFLAGS-tst-auditmod6b.c): Likewise.
28690         [$(subdir) = elf && $(config-cflags-avx) = yes]
28691         (CFLAGS-tst-auditmod6c.c): Likewise.
28692         [$(subdir) = elf && $(config-cflags-avx) = yes]
28693         (CFLAGS-tst-auditmod7b.c): Likewise.
28694         * elf/tst-audit3.c: Move to ...
28695         * sysdeps/x86_64/tst-audit3.c: ... here.
28696         * elf/tst-audit4.c: Move to ...
28697         * sysdeps/x86_64/tst-audit4.c: ... here.
28698         * elf/tst-audit5.c: Move to ...
28699         * sysdeps/x86_64/tst-audit5.c: ... here.
28700         * elf/tst-audit6.c: Move to ...
28701         * sysdeps/x86_64/tst-audit6.c: ... here.
28702         * elf/tst-audit7.c: Move to ...
28703         * sysdeps/x86_64/tst-audit7.c: ... here.
28704         * elf/tst-auditmod3a.c: Move to ...
28705         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28706         * elf/tst-auditmod3b.c: Move to ...
28707         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28708         * elf/tst-auditmod4a.c: Move to ...
28709         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28710         * elf/tst-auditmod4b.c: Move to ...
28711         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28712         * elf/tst-auditmod5a.c: Move to ...
28713         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28714         * elf/tst-auditmod5b.c: Move to ...
28715         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28716         * elf/tst-auditmod6a.c: Move to ...
28717         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28718         * elf/tst-auditmod6b.c: Move to ...
28719         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28720         * elf/tst-auditmod6c.c: Move to ...
28721         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28722         * elf/tst-auditmod7a.c: Move to ...
28723         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28724         * elf/tst-auditmod7b.c: Move to ...
28725         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28727 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28729         [BZ #15366]
28730         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28731         define unconditionally.
28732         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28733         define unconditionally.
28734         (INT8_C, INT16_C, etc.): Likewise.
28736 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28738         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28739         __ehdr_start with hidden visibility.
28741         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28743 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28745         * math/libm-test.inc (cos_test): Use accurate hex constants.
28746         (sincost_test): Likewise.
28748 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28750         * math/libm-test.inc (catan_test): Add more tests.
28751         (catanh_test): Likewise.
28753         * math/s_catanf.c (__catanf): Use suffixed floating-point
28754         constants.
28755         * math/s_catanhf.c (__catanhf): Likewise.
28756         * math/s_catanhl.c (__catanhl): Likewise.
28757         * math/s_catanl.c (__catanl): Likewise.
28759         [BZ #15394]
28760         * math/s_catan.c (__catan): Calculate imaginary part of result
28761         with log1p not log unless computing log of number close to 0.
28762         * math/s_catanf.c (__catanf): Likewise.
28763         * math/s_catanl.c (__catanl): Likewise.
28764         * math/s_catanh.c (__catanh): Calculate real part of result with
28765         log1p not log unless computing log of number close to 0.
28766         * math/s_catanhf.c (__catanhf): Likewise.
28767         * math/s_catanhl.c (__catanhl): Likewise.
28768         * math/libm-test.inc (catan_test): Add more tests.
28769         (catanh_test): Likewise.
28770         * sysdeps/i386/fpu/libm-test-ulps: Update.
28771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28773 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28775         * benchtests/Makefile: Mention files in which fast and slow
28776         paths of math functions are implemented.
28778 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28780         * sysdeps/posix/timespec_get.c: New file.
28782 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28784         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28785         POWER.
28786         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28787         for POWER.
28788         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28789         powerpc/power5/fpu folders.
28790         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28791         * benchtests/Makefile: Add modf testcase.
28792         * benchtests/bench-modf.c: New file: Benchmark test for mo
28794 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28796         [BZ #14888]
28797         * time/Makefile (tests): Add tst-strptime-whitespace.
28798         * time/strptime_l.c (get_number): Use ISSPACE.
28799         (__strptime_internal): Likewise.
28800         * time/tst-strptime-whitespace.c: New test case.
28802 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28804         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28805         member.
28806         (_nss_files_init): Set it here.
28808 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28810         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28811         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28812         unsigned.
28814 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28816         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28818 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28820         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28821         size just once.
28823 2013-04-21  David S. Miller  <davem@davemloft.net>
28825         * po/ru.po: Update Russion translation from translation project.
28827 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28829         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28830         and setfsgid.
28832 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28834         * configure.in: Remove i386 configure warning. Remove i386 case.
28835         * configure: Regenerate.
28836         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28837         Add example to error message.
28838         * sysdeps/i386/configure: Regenerate.
28840 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28842         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28843         slowtan.
28844         * benchtests/cos-inputs: New file.
28845         * benchtests/slowcos-inputs: New file.
28846         * benchtests/slowcos.c: New file.
28847         * benchtests/slowtan-inputs: New file.
28848         * benchtests/slowtan.c: New file.
28849         * benchtests/tan-inputs: New file.
28851 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28853         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28854         considered kosher.
28856 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28858         * benchtests/Makefile: Include cppflags-iterator.mk to add
28859         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28861         * Makefile.in (bench-clean): New target.
28862         * benchtests/Makefile (bench-clean): Likewise.
28864 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28866         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28868 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28870         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28872 2013-04-15  Andreas Schwab  <schwab@suse.de>
28874         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28875         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28876         * nscd/pwdcache.c (cache_addpw): Likewise.
28877         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28878         more than recsize.
28880 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28882         * benchtests/Makefile (bench): Write all output to
28883         bench-out.tmp together.
28885 2013-04-15  Andreas Schwab  <schwab@suse.de>
28887         * nscd/nscd.c (main): Don't fork again after closing files.
28889 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28891         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28893         * benchtests/Rules (bench-deps): Collect dependencies into a
28894         single variable.  Add Makefile to dependencies.
28895         ($(objpfx)bench-%.c): Depend on bench-deps.
28897 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28898             Xavier Roche  <roche+kml2@exalead.com>
28900         [BZ #15361]
28901         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28902         just that it's a file descriptor.
28903         * manual/llio.texi (Synchronizing AIO Operations): Update description
28904         for EBADF error from aio_fsync.
28906 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28908         * Rules (bench): Move target definition...
28909         * benchtests/Makefile: ... here.
28911 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28913         * math/libm-test.inc (cos_test): Fix PI/2 test.
28914         (sincos_test): Likewise.
28915         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28916         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28918 2013-04-11  Andreas Schwab  <schwab@suse.de>
28920         [BZ #13988]
28921         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28922         accept exponent character only when digits were seen.
28923         * stdio-common/Makefile (tests): Add bug26.
28924         * stdio-common/bug26.c: New file.
28926         [BZ #14293]
28927         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28928         non-freeable.
28930 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28932         * Makeconfig (rtld-prefix): Define built linker prefix.
28933         * Rules (run-bench): Use it.
28934         * math/Makefile (run-regen-ulps): Likewise.
28936         * Rules (bench): Remove eval.
28938 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28939             Roland McGrath  <roland@hack.frob.com>
28940             Ondrej Bilka  <neleai@seznam.cz>
28942         [BZ #15346]
28943         * time/getdate.c: Include ctype.h and alloca.h.
28944         (__getdate_r): Trim leading and trailing spaces of input.
28945         * time/tst-getdate.c (tests): Add tests with leading and
28946         trailing spaces.
28948 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28950         [BZ #14280]
28951         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28952         when computing value.
28954 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28956         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28957         Use testrun.sh to run libm tests.
28959         [BZ #15309]
28960         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28962 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28964         [BZ #15264]
28965         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28967 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28969         * Makefile.in (regen-ulps): New target.
28970         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28971         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28972         [ifneq (no,$(PERL)] (regen-ulps): New target.
28973         [ifeq (no,$(PERL)] (regen-ulps): New target.
28974         * math/libm-test.inc (ulps_file_name): Define.
28975         (output_dir): New variable.
28976         (options): Add "output-dir" option.
28977         (parse_opt): Handle 'o' case.
28978         (main): If output_dir is non-NULL use it as a prefix
28979         otherwise use "".
28980         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28982 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28984         [BZ #10060, #10062]
28985         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28986         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28987         fail configure if __sync_val_compare_and_swap is not inlined.
28988         * sysdeps/i386/configure: Regenerate.
28989         * configure.in: Build for i686 when configured for i386.
28990         * configure: Regenerate.
28991         * README: Remove i386 reference.
28993 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28995         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28996         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28998 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29000         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29001         (lmsnanval): New variables.
29002         (F): Add conversion tests.
29003         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29004         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29006         * stdio-common/tstdiomisc.c (F): Properly collect individual
29007         tests' results.
29009         [BZ #14686, #15336]
29010         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29011         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29012         Instead, use input NaN values or generate a qNaN by arithmetic
29013         operation.  Also fix bugs to comply with the standard.
29014         * math/libm-test.inc (remainder_test): Add more tests.
29016         [BZ #15335, #15342]
29017         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29018         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29019         input NaN values or generate a qNaN by arithmetic operation.
29021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29022         unreachable code.
29024         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29025         definitions.
29027 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29029         [BZ #14478]
29030         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29031         underflowed result.
29032         * math/s_cexpf.c (__cexpf): Likewise.
29033         * math/s_cexpl.c (__cexpl): Likewise.
29034         * math/libm-test.inc (cexp_test): Add more tests.
29036 2013-04-03  Andreas Schwab  <schwab@suse.de>
29038         [BZ #15330]
29039         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29040         order arrays from heap if bigger than alloca cutoff.
29042 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29044         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29045         (SNAN_TESTS_double): Refer to GCC PR56831.
29046         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29047         GCC PR56828.
29049 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29051         * Rules (bench): Move bench.out after the run is complete.
29053         * Rules (bench): Echo currently running benchmark.
29055         * benchtests/Makefile (bench): Add atan and slowatan.
29056         * benchtests/atan-inputs: New file.
29057         * benchtests/slowatan-inputs: New file.
29058         * benchtests/slowatan.c: New file.
29060         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29061         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29062         its value.
29064         [BZ #15305]
29065         * sysdeps/unix/sysv/linux/kernel-features.h
29066         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29067         __ASSUME_XFS_RESTRICTED_CHOWN.
29068         * sysdeps/unix/sysv/linux/pathconf.c
29069         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29070         Save and restore errno.
29072 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29074         [BZ #15327]
29075         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29076         arguments using __kernel_casinh.
29077         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29078         arguments using __kernel_casinhf.
29079         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29080         arguments using __kernel_casinhl.
29081         * math/libm-test.inc (cacosh_test): Add more tests.
29082         * sysdeps/i386/fpu/libm-test-ulps: Update.
29083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29085 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29087         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29090         * bench/Makefile (bench): Add sin and slowsin.
29091         * benchtests/sin-inputs: New file.
29092         * benchtests/slowsin-inputs: New file.
29093         * benchtests/slowsin.c: New file.
29095         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29096         (bench): Add slowexp and slowpow.
29097         (exp-ITER): Increase iterations.
29098         (pow-ITER): Likewise.
29099         * benchtests/exp-inputs: Change input.
29100         * benchtests/pow-inputs: Likewise.
29101         * benchtests/slowexp-inputs: New file.
29102         * benchtests/slowexp.c: New file.
29103         * benchtests/slowpow-inputs: New file.
29104         * benchtests/slowpow.c: New file.
29106 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29108         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29109         instructions.
29110         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29111         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29112         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29113         * benchtests/Makefile: Add rint benchtest.
29114         * benchtests/rint-inputs: Input for rint benchtest.
29116 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29118         * Versions.def (libm): Add GLIBC_2.18.
29119         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29120         hidden libm prototypes.
29121         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29122         * math/Makefile (libm-calls): Add s_issignaling.
29123         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29124         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29125         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29126         declaration.
29127         * math/math.h [__USE_GNU] (issignaling): New macro.
29128         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29129         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29130         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29131         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29132         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29133         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29134         * manual/arith.texi (issignaling): New section.
29135         * manual/libm-err-tab.pl (@all_functions): Update comment.
29136         * math/gen-libm-test.pl (parse_args): Apply special handling for
29137         issignaling.
29138         * math/libm-test.inc (print_float, issignaling_test): New
29139         functions.
29140         (check_float_internal): Add issignaling checks.
29141         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29142         default definition.
29143         * sysdeps/powerpc/math-tests.h: New file.
29144         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29145         tests.
29146         * math/test-snan.c (TEST_FUNC): Likewise.
29148 2013-03-30  David S. Miller  <davem@davemloft.net>
29150         * po/de.po: Update from translation team.
29152 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29154         [BZ #10357]
29155         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29156         imaginary part less than 1.0 and real part less than 0.5
29157         specially.
29158         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29159         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29160         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29161         (cacos_test): Add more tests.
29162         (casin_test): Likewise.
29163         (casinh_test): Likewise.
29164         * sysdeps/i386/fpu/libm-test-ulps: Update.
29165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29167 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29169         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29170         ONE with its value.
29172         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29173         (__pow_mp): Replace ONE and MONE with their values.
29174         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29175         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29176         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29177         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29178         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29179         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29181         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29183         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29184         (__pow_mp): Replace ZERO and MZERO with their values.
29185         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29187         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29189         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29190         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29191         (__sqr): Likewise.
29193         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29195         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29197 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29199         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29200         Declare with __attribute__ ((weak)).
29201         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29202         Call __call_tls_dtors only if it's not NULL.
29204 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29206         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29207         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29208         magic __ehdr_start linker symbol if it's defined.
29209         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29210         them up here if it was already done.
29212         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29213         (_dl_aux_init): Use const in cast when setting it.
29214         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29215         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29216         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29218         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29219         Declare them here.
29220         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29221         * csu/libc-tls.c: Nor here.
29222         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29224         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29225         (__libc_message): Never call vsyslog.
29227 2013-03-28  Alan Modra  <amodra@gmail.com>
29229         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29230         Define as empty.
29231         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29232         Likewise.
29234 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29236         [BZ #15214]
29237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29238         underflow.
29239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29241 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29243         [BZ #15304]
29244         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29245         Don't add gid passed as argument.
29247         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29249 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29251         [BZ #15307]
29252         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29253         imaginary part between 1.0 and 1.5 and real part less than 0.5
29254         specially.
29255         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29256         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29257         * math/libm-test.inc (cacos_test): Add more tests.
29258         (casin_test): Likewise.
29259         (casinh_test): Likewise.
29260         * sysdeps/i386/fpu/libm-test-ulps: Update.
29261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29263 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29265         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29266         constants.
29267         (norm): Likewise.
29268         (denorm): Likewise.
29269         (__dbl_mp): Likewise.
29270         (add_magnitudes): Likewise.
29271         (sub_magnitudes): Likewise.
29272         (__add): Likewise.
29273         (__sub): Likewise.
29274         (__mul): Likewise.
29275         (__sqr): Likewise.
29276         (__inv): Likewise.
29277         (__dvd): Likewise.
29279         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29280         commented code.
29281         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29282         (__dubcos): Likewise.
29283         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29284         (__ieee754_acos): Likewise.
29285         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29286         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29287         (__exp1): Likewise.
29288         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29289         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29290         (log1): Likewise.
29291         (my_log2): Likewise.
29292         (checkint): Likewise.
29293         * sysdeps/ieee754/dbl-64/e_remainder.c
29294         (__ieee754_remainder): Likewise.
29295         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29296         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29297         (bsloww): Likewise.
29298         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29300         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29301         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29302         MANTISSA_STORE_T to store computations on mantissa.  Use
29303         macros for rounding and division.
29304         (denorm): Likewise.
29305         (__dbl_mp): Likewise.
29306         (add_magnitudes): Likewise.
29307         (sub_magnitudes): Likewise.
29308         (__mul): Likewise.
29309         (__sqr): Likewise.
29310         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29311         powers of two in terms of TWOPOW macro.
29312         (mp_no): Make type of mantissa as MANTISSA_T.
29313         [!RADIXI]: Define RADIXI.
29314         [!TWO52]: Define TWO52.
29315         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29317 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29319         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29320         llroundl symbol when building for PPC32.
29322 2013-03-24  Mark H Weaver  <mhw@netris.org>
29324         * manual/arith.texi (Normalization Functions): Fix prototypes for
29325         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29327 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29329         [BZ #13889]
29330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29331         high value to check if expl overflow.
29332         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29333         to check for underflow and overflow.
29334         * math/libm-test.inc: Add exp test.
29336 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29338         [BZ #11120]
29339         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29340         with NOT_IN_libc.
29342 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29344         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29345         symbol.
29347 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29349         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29350         wrap blocks consisting of several statements.
29352         * sysdeps/generic/math-tests.h: New file.
29353         * sysdeps/i386/fpu/math-tests.h: Likewise.
29354         * math/test-snan.c: Include it.
29355         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29357 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29359         [BZ #15285]
29360         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29361         (__ieee754_j0l): Do not improve calculations using cos of twice
29362         input for inputs above LDBL_MAX / 2.0L.
29363         (__ieee754_y0l): Likewise.
29364         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29365         (__ieee754_j1l): Do not improve calculations using cos of twice
29366         input for inputs above LDBL_MAX / 2.0L.
29367         (__ieee754_y1l): Likewise.
29368         * math/libm-test.inc (j0_test): Add another test.
29369         (j1_test): Likewise.
29370         (y0_test): Likewise.
29371         (y1_test): Likewise.
29372         * sysdeps/i386/fpu/libm-test-ulps: Update.
29374 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29376         * Rules ($(objpfx)bench-%.c): Include code from a C source
29377         file.
29379 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29381         [BZ #15287]
29382         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29383         imaginary part 1.0 and real part less than 0.5 specially.
29384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29386         * math/libm-test.inc (cacos_test): Add more tests.
29387         (casin_test): Likewise.
29388         (casinh_test): Likewise.
29389         * sysdeps/i386/fpu/libm-test-ulps: Update.
29390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29392 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29394         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29395         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29397 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29399         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29400         * config.make.in (config-cflags-sse4): Remove variable.
29401         (config-cflags-avx): Likewise.
29402         (config-cflags-sse2avx): Likewise.
29403         (config-cflags-novzeroupper): Likewise.
29404         (config-asflags-i686): Likewise.
29405         (have-mfma4): Likewise.
29406         (have-as-vis3): Likewise.
29407         (MIG): Likewise.
29408         * configure.in (MIG): Do not AC_SUBST.
29409         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29410         (libc_cv_cc_sse4): Do not AC_SUBST.
29411         (libc_cv_cc_avx): Likewise.
29412         (libc_cv_cc_sse2avx): Likewise.
29413         (libc_cv_cc_novzeroupper): Likewise.
29414         (libc_cv_cc_fma4): Likewise.
29415         (libc_cv_as_i686): Likewise.
29416         (libc_cv_sparc_as_vis3): Likewise.
29417         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29418         LIBC_CONFIG_VAR.
29419         (config-asflags-i686): Likewise.
29420         (config-cflags-avx): Likewise.
29421         (config-cflags-sse2avx): Likewise.
29422         (have-mfma4): Likewise.
29423         (config-cflags-novzeroupper): Likewise.
29424         * sysdeps/mach/configure.in (MIG): Likewise.
29425         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29426         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29427         LIBC_CONFIG_VAR.
29428         (config-cflags-avx): Likewise.
29429         (config-cflags-sse2avx): Likewise.
29430         (have-mfma4): Likewise.
29431         (config-cflags-novzeroupper): Likewise.
29432         * configure: Regenerated.
29433         * sysdeps/i386/configure: Likewise.
29434         * sysdeps/mach/configure: Likewise.
29435         * sysdeps/sparc/configure: Likewise.
29436         * sysdeps/x86_64/configure: Likewise.
29438 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29440         [BZ #14812]
29441         * locale/programs/localedef.c (options): Put N_ translation marker
29442         on argument names, not just descriptions.
29444 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29446         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29448 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29450         [BZ #14176]
29451         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29453 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29455         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29456         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29457         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29458         [!BEFORE_ABORT] (before_abort): New function.
29459         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29460         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29461         (writev_for_fatal): New function.
29462         (WRITEV_FOR_FATAL): New macro; call that.
29463         (backtrace_and_maps): New function.
29464         (BEFORE_ABORT): New macro; call that.
29465         (struct str_list): Type removed.
29466         (__libc_message, __libc_fatal): Functions removed.
29467         Include <sysdeps/posix/libc_fatal.c> instead.
29469 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29471         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29472         constants.
29473         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29474         double constants.
29476 2013-03-19  Andreas Schwab  <schwab@suse.de>
29478         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29479         * sysdeps/gnu/configure: Regenerate.
29481         * configure.in: Substitute libc_cv_rtlddir.
29482         * configure: Regenerate.
29483         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29484         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29485         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29486         * elf/Makefile (install-others, CFLAGS-interp.c)
29487         (ldso_install, common-ldd-rewrite): Likewise.
29488         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29489         $(inst_slibdir)/$(rtld-installed-name).
29490         * scripts/rellns-sh: Add -p option.
29491         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29492         for source.
29494 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29496         * manual/nptl.texi: Renamed to ...
29497         * manual/threads.texi: ... this.
29498         * manual/Makefile (chapters): Update.
29500 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29502         [BZ #14812]
29503         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29504         on argument names, not just descriptions.
29505         * malloc/memusagestat.c (options): Likewise.
29506         * nss/getent.c (options): Likewise.
29508 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29510         [BZ #14812]
29511         * iconv/iconv_prog.c (options): Put N_ translation marker
29512         on argument names, not just descriptions.
29513         * iconv/iconvconfig.c (options): Likewise.
29515 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29517         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29518         implementation which is faster on all x86_64 architectures.
29519         Tested on AMD, Intel Nehalem, SNB, IVB.
29520         * sysdeps/x86_64/strnlen.S: Likewise.
29522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29523         Remove all multiarch strlen and strnlen versions.
29524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29525         Remove strlen and strnlen related parts.
29527         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29528         Inline strlen part.
29529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29531         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29532         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29533         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29534         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29535         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29536         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29538 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29540         * manual/memory.texi (Malloc Tunable Parameters):
29541         Sort parameters alphabetically. Add comments for missing entries.
29543 2013-03-17  David S. Miller  <davem@davemloft.net>
29545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29547 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29549         [BZ #15283]
29550         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29551         for arguments at most half maximum finite value.
29552         * math/libm-test.inc (j0_test): Add more tests.
29553         (j1_test): Likewise.
29554         (y0_test): Likewise.
29555         (y1_test): Likewise.
29556         * sysdeps/i386/fpu/libm-test-ulps: Update.
29557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29559         [BZ #14155]
29560         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29561         1 / x and functions P and Q for arguments above 0x1p256L.
29562         (__ieee754_y0l): Likewise.
29563         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29564         (__ieee754_y1l): Likewise.
29565         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29566         (j1_test): Likewise.
29567         (y0_test): Likewise.
29568         (y1_test): Likewise.
29570 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29572         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29573         variable.
29575 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29577         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29578         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29579         zero since it's initialized to EXEC_PAGESIZE.
29581         * sysdeps/unix/sysv/linux/ldsodefs.h
29582         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29583         * sysdeps/generic/ldsodefs.h: ... here.
29585 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29587         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29589         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29590         math/test-snan.c.
29591         * math/test-snan.c: Renamed from
29592         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29593         * math/Makefile (tests): Add test-snan.
29594         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29595         test-powerpc-snan.
29597         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29598         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29599         functions.
29600         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29601         __builtin_nan family of functions.
29602         * math/libm-test.inc (initialize): Initialize qnan_value with
29603         __builtin_nan family of functions.
29604         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29605         Remove variables.
29606         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29607         Remove functions.
29608         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29609         storage class.  Initialize qNaN_var and sNaN_var with
29610         __builtin_nan and __builtin_nans families of functions,
29611         respectively.
29613         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29614         (sqrt_test): Remove duplicate test with qNaN input.
29615         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29616         (round_test, signbit_test, significand_test): Note missing +/-Inf
29617         as well as qNaN tests.
29619         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29620         qNaN_var.  Fix a few strings, too.
29621         * math/libm-test.inc (nan_value): Rename to qnan_value.
29622         * math/gen-libm-test.pl (%beautify): Adjust to that.
29623         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29624         * math/test-misc.c (main): Likewise.
29625         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29626         to __qnan_bytes, and __qnan_union, respectively.
29627         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29628         Likewise.
29629         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29630         and lqnanval, respectively.
29631         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29632         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29633         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29634         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29636         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29637         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29638         doubles.
29640         * math/test-misc.c (main): Fix copy'n'pastos.
29641         * misc/tst-efgcvt.c (special): Likewise.
29643         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29644         Remove declarations.
29646 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29648         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29649         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29650         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29651         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29653 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29655         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29656         macro to return vdso values correctly in IFUNC implementations.
29657         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29658         Optimization by using IFUNC.
29660 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29661             Richard Henderson  <rth@redhat.com>
29662             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29664         * Makefile.in (bench): New target.
29665         * NEWS: Mention the benchmark framework.
29666         * Rules (bench): Likewise.
29667         (binaries-bench): Generate binaries for functions to
29668         benchmark.
29669         * benchtests/Makefile: New makefile for benchmark tests.
29670         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29671         programs.
29672         * benchtests/exp-inputs: New input file for EXP function.
29673         * benchtests/pow-inputs: New input file for POW function.
29674         * scripts/bench.pl: New script to generate source files for
29675         benchmark programs.
29677 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29679         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29681         computations on mantissa.  Use macros for rounding and
29682         division.
29683         (denorm): Likewise.
29684         (__dbl_mp): Likewise.
29685         (add_magnitudes): Likewise.
29686         (sub_magnitudes): Likewise.
29687         (__mul): Likewise.
29688         (__sqr): Likewise.
29689         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29690         powers of two in terms of TWOPOW macro.
29691         (mp_no): Make type of mantissa as MANTISSA_T.
29692         [!RADIXI]: Define RADIXI.
29693         [!TWO52]: Define TWO52.
29694         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29696         * manual/nptl.texi (cindex): Modify threads to pthreads.
29698 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29700         * sysdeps/x86_64/preconfigure: Regenerated.
29702 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29704         [BZ #14155]
29705         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29706         0x1p28 and above.
29707         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29708         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29709         0x1p28 and above.
29710         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29711         * math/libm-test.inc (j0_test): Do not allow one spurious
29712         underflow exception.
29713         (y1_test): Likewise.
29715 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29717         * manual/Makefile (chapters): Add nptl.
29718         * manual/debug.texi (Debugging Support): Add link to Threads
29719         chapter.
29720         * manual/nptl.texi: New file.
29722         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29724 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29726         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29727         for non-NULL pointer before the memory validity test. Pointed
29728         out by Holger Brunck <holger.brunck@keymile.com>.
29730 2013-03-13  Andreas Schwab  <schwab@suse.de>
29732         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29733         instead of .os.
29735 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29737         * timezone/zic.c: Update from tzcode 2013b.
29739 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29741         * manual/install.texi (Configuring and compiling):
29742         Mention i686 and i586.
29743         * INSTALL: Regenerate.
29745 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29747         * sysdeps/init_array/elf-init.c: New file.
29748         * csu/elf-init.c
29749         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29750         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29752         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29753         __gmon_start__ as global, but as static with a .preinit_array pointer.
29754         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29755         * sysdeps/init_array/crti.S: New file, empty except for comments.
29756         * sysdeps/init_array/crtn.S: Likewise.
29758 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29760         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29761         definining bcopy.
29762         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29763         Remove Prefer_SSE_for_memop.
29764         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29765         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29766         HAS_PREFER_SSE_FOR_MEMOP.
29767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29768         memset-x86-64.
29769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29770         Remove bzero, memset ifunc support.
29771         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29772         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29773         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29774         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29776 2013-03-11  Andreas Schwab  <schwab@suse.de>
29778         [BZ #15234]
29779         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29780         by SHLIB_COMPAT.
29781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29782         (GLIBC_2.16): Remove pthread_atfork.
29784 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29786         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29787         (ptestcases.h): Likewise.
29789 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29791         * Makeconfig ($(common-objpfx)config.status): Depend on
29792         sysdeps/*/preconfigure{,.in} too.
29794 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29796         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29797         (__free_hook): Use void * instead of __malloc_ptr_t.
29798         (__malloc_hook): Likewise.
29799         (__realloc_hook): Likewise.
29800         (__memalign_hook): Likewise.
29801         (__after_morecore_hook): Likewise.
29802         * malloc/arena.c (save_malloc_hook): Likewise.
29803         (save_free_hook): Likewise.
29804         * malloc/hooks.c (malloc_hook_ini): Likewise.
29805         (realloc_hook_ini): Likewise.
29806         (memalign_hook_ini): Likewise.
29807         * malloc/malloc.c (malloc_hook_ini): Likewise.
29808         (realloc_hook_ini): Likewise.
29809         (memalign_hook_ini): Likewise.
29810         (__free_hook): Likewise.
29811         (__malloc_hook): Likewise.
29812         (__realloc_hook): Likewise.
29813         (__memalign_hook): Likewise.
29814         (__libc_malloc): Likewise.
29815         (__libc_free): Likewise.
29816         (__libc_realloc): Likewise.
29817         (__libc_memalign): Likewise.
29818         (__libc_valloc): Likewise.
29819         (__libc_pvalloc): Likewise.
29820         (__libc_calloc): Likewise.
29821         (__posix_memalign): Likewise.
29822         * malloc/morecore.c (__sbrk): Likewise.
29823         (__default_morecore): Likewise.
29825         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29827         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29828         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29829         __malloc_ptrdiff_t.
29831         * malloc/malloc.h (__malloc_size_t): Remove macro.
29832         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29833         __malloc_size_t.
29834         (old_memalign_hook): Likewise.
29835         (old_realloc_hook): Likewise.
29836         (struct hdr): Likewise.
29837         (flood): Likewise.
29838         (mallochook): Likewise.
29839         (memalignhook): Likewise.
29840         (reallochook): Likewise.
29841         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29842         (tr_old_realloc_hook): Likewise.
29843         (tr_old_memalign_hook): Likewise.
29844         (tr_mallochook): Likewise.
29845         (tr_reallochook): Likewise.
29846         (tr_memalignhook): Likewise.
29848 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29850         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29851         default_ldbl_pack and using as default implementation.
29852         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29853         implementation.
29854         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29855         redundant definition.
29856         (ldbl_insert_mantissa): Likewise.
29857         (ldbl_canonicalize): Likewise.
29858         (ldbl_nearbyint): Likewise.
29859         (ldbl_pack): Rename to ldbl_pack_ppc.
29860         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29861         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29862         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29864 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29867         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29868         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29869         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29872         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29873         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29875 2013-03-07  Andreas Jaeger  <aj@suse.de>
29877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29878         bits/mman-linux.h.
29880 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29882         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29883         Include mpa.h and declare __MPEXP.
29884         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29885         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29886         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29887         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29888         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29889         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29890         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29892         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29893         (__slowpow): Use long double EXPL and LOGL functions to
29894         compute POW.
29895         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29896         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29897         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29898         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29899         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29900         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29903         intermediate variable to calculate exponent.
29904         (__sqr): Likewise.
29905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29906         Likewise.
29907         (__sqr): Likewise.
29909         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29910         [!NO__SQR]: Define __sqr.
29911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29912         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29913         sysdeps/ieee754/dbl-64/mpa.c.
29914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29916         [BZ #12723]
29917         * posix/Makefile (tests): Add tst-pathconf.
29918         * posix/tst-pathconf.c: New test case.
29919         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29920         _PC_PIPE_BUF.
29921         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29923 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29925         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29927 2013-03-06  Andreas Jaeger  <aj@suse.de>
29929         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29930         definition via __MAP_ANONYMOUS.
29932         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29933         it's not part of Linux headers.
29935         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29936         (MAP_HUGE_MASK): Define.
29938         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29939         Define.
29940         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29941         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29942         Define.
29943         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29944         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29945         Define.
29946         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29947         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29948         Define.
29949         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29951         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29952         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29953         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29954         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29955         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29956         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29958         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29959         Handle f2fs.
29961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29962         Handle f2fs and efivarfs.
29964         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29965         f2fs.
29967         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29968         (EFIVARFS_MAGIC): Add.
29969         (F2FS_LINK_MAX): Add.
29971 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29973         * stdio-common/vfprintf.c: Replace __builtin_expect with
29974         __glibc_unlikely.
29976 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29978         [BZ #13550]
29979         * sysdeps/generic/bp-sym.h: Remove file.
29980         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29981         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29982         <bp-sym.h> and <bp-asm.h>.
29983         (__longjmp): Don't use BP_SYM.
29984         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29985         and <bp-asm.h>.
29986         (memcpy): Don't use BP_SYM.
29987         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29988         <bp-sym.h> and <bp-asm.h>.
29989         (memcpy): Don't use BP_SYM.
29990         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29991         <bp-asm.h>.
29992         (memcpy): Don't use BP_SYM.
29993         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29994         <bp-asm.h>.
29995         (memset): Don't use BP_SYM.
29996         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29997         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29998         (__bzero): Don't use BP_SYM.
29999         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30000         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30001         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30002         <bp-sym.h> and <bp-asm.h>.
30003         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30004         pointers.
30005         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30006         <bp-sym.h> and <bp-asm.h>.
30007         (memcpy): Don't use BP_SYM.
30008         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30009         <bp-sym.h> and <bp-asm.h>.
30010         (memset): Don't use BP_SYM.
30011         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30012         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30013         (__bzero): Don't use BP_SYM.
30014         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30015         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30017         <bp-sym.h> and <bp-asm.h>.
30018         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30019         pointers.
30020         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30021         <bp-sym.h> and <bp-asm.h>.
30022         (memcpy): Don't use BP_SYM.
30023         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30024         <bp-sym.h> and <bp-asm.h>.
30025         (memset): Don't use BP_SYM.
30026         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30027         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30028         (__bzero): Don't use BP_SYM.
30029         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30030         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30031         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30032         <bp-sym.h> and <bp-asm.h>.
30033         (__memchr): Don't use BP_SYM.
30034         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30035         <bp-sym.h> and <bp-asm.h>.
30036         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30037         pointers.
30038         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30039         <bp-sym.h> and <bp-asm.h>.
30040         (memcpy): Don't use BP_SYM.
30041         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30042         <bp-sym.h> and <bp-asm.h>.
30043         (__mempcpy): Don't use BP_SYM.
30044         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30045         <bp-sym.h> and <bp-asm.h>.
30046         (__memrchr): Don't use BP_SYM.
30047         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30048         <bp-sym.h> and <bp-asm.h>.
30049         (memset): Don't use BP_SYM.
30050         (__bzero): Likewise.
30051         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30052         <bp-sym.h> and <bp-asm.h>.
30053         (__rawmemchr): Don't use BP_SYM.
30054         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30055         <bp-sym.h> and <bp-asm.h>.
30056         (__STRCMP): Don't use BP_SYM.
30057         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30058         <bp-sym.h> and <bp-asm.h>.
30059         (strchr): Don't use BP_SYM.
30060         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30061         <bp-sym.h> and <bp-asm.h>.
30062         (__strchrnul): Don't use BP_SYM.
30063         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30064         <bp-sym.h> and <bp-asm.h>.
30065         (strlen): Don't use BP_SYM.
30066         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30067         <bp-sym.h> and <bp-asm.h>.
30068         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30069         pointers.
30070         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30071         <bp-sym.h> and <bp-asm.h>.
30072         (__strnlen): Don't use BP_SYM.
30073         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30074         <bp-sym.h> and <bp-asm.h>.
30075         (__GI__setjmp): Don't use BP_SYM.
30076         (_setjmp): Likewise.
30077         (__sigsetjmp): Likewise.
30078         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30079         (L(start_addresses)): Don't use BP_SYM.
30080         (_start): Likewise.
30081         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30082         <bp-asm.h>.
30083         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30084         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30085         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30086         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30087         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30088         <bp-asm.h>.
30089         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30090         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30091         about bounded pointers.
30092         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30093         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30094         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30095         <bp-asm.h>.
30096         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30097         about bounded pointers.  Remove GKM FIXME comments.
30098         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30099         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30100         <bp-asm.h>.
30101         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30102         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30103         Remove GKM FIXME comments.
30104         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30105         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30106         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30107         <bp-asm.h>.
30108         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30109         about bounded pointers.  Remove GKM FIXME comment.
30110         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30111         and <bp-asm.h>.
30112         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30113         pointers.
30114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30115         <bp-sym.h> and <bp-asm.h>.
30116         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30118         <bp-sym.h> and <bp-asm.h>.
30119         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30120         comment.
30122 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30124         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30125         call free(NULL).
30127 2013-03-05  David S. Miller  <davem@davemloft.net>
30129         * po/es.po: Update from translation team.
30131 2013-03-05  Andreas Jaeger  <aj@suse.de>
30133         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30134         <bits/mman-linux.h>.
30135         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30136         is fine.
30137         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30138         <bits/mman-linux.h> to end of file.
30139         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30140         is fine.
30141         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30142         <bits/mman-linux.h> to end of file.
30143         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30144         is fine.
30145         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30146         <bits/mman-linux.h> to end of file.
30148         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30149         (MCL_CURRENT, MCL_FUTURE): Define here.
30151 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30153         [BZ #15232]
30154         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30155         attribute_hidden.
30156         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30158 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30160         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30161         fourth parameter needed for rt_sigprocmask syscall.
30162         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30163         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30164         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30165         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30166         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30167         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30169 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30171         [BZ #13550]
30172         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30173         comment about bounded pointers.
30174         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30175         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30177 2013-03-04  Andreas Jaeger  <aj@suse.de>
30179         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30180         common definitions.
30182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30183         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30186         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30187         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30189 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30191         [BZ #15055]
30192         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30193         __ieee754_sqrl instead of __sqrl.
30195 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30197         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30198         * sysdeps/powerpc/fpu_control.h: ... here.
30199         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30200         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30201         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30202         * sysdeps/powerpc/bits/mathinline.h: ... here.
30204 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30206         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30207         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30208         to just [NEED_DL_SYSINFO_DSO].
30209         * elf/dl-support.c: Likewise.
30210         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30211         * elf/rtld.c (dl_main): Likewise.
30212         * elf/setup-vdso.h (setup_vdso): Likewise.
30213         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30214         * sysdeps/unix/sysv/linux/dl-sysdep.c
30215         (_dl_discover_osversion): Likewise.
30217 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30219         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30220         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30222 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30224         * NEWS: Mention libm performance improvements and non-x86 PI
30225         futex support.
30227         * csu/libc-start.c (__pthread_initialize_minimal): Change
30228         function arguments.
30229         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30231 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30233         [BZ #13550]
30234         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30235         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30236         <bp-sym.h> and <bp-asm.h>.
30237         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30238         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30239         and <bp-asm.h>.
30240         (memcpy): Don't use BP_SYM.
30241         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30242         <bp-asm.h>.
30243         (__mpn_add_n): Don't use BP_SYM.
30244         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30245         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30246         and <bp-asm.h>.
30247         (__mpn_addmul_1): Don't use BP_SYM.
30248         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30249         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30250         <bp-sym.h>.
30251         (_setjmp): Don't use BP_SYM.
30252         (__novmx_setjmp): Likewise.
30253         (__GI__setjmp): Likewise.
30254         (__vmx_setjmp): Likewise.
30255         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30256         <bp-sym.h>.
30257         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30258         (__bzero): Don't use BP_SYM.
30259         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30260         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30261         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30262         <bp-sym.h> and <bp-asm.h>.
30263         (memcpy): Don't use BP_SYM.
30264         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30265         <bp-sym.h> and <bp-asm.h>.
30266         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30267         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30268         <bp-sym.h> and <bp-asm.h>.
30269         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30270         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30271         <bp-asm.h>.
30272         (__mpn_lshift): Don't use BP_SYM.
30273         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30274         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30275         <bp-asm.h>.
30276         (memset): Don't use BP_SYM.
30277         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30278         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30279         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30280         <bp-asm.h>.
30281         (__mpn_mul_1): Don't use BP_SYM.
30282         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30283         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30284         <bp-sym.h> and <bp-asm.h>.
30285         (memcmp): Don't use BP_SYM.
30286         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30287         <bp-sym.h> and <bp-asm.h>.
30288         (memcpy): Don't use BP_SYM.
30289         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30290         <bp-sym.h> and <bp-asm.h>.
30291         (memset): Don't use BP_SYM.
30292         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30293         <bp-sym.h> and <bp-asm.h>.
30294         (strncmp): Don't use BP_SYM.
30295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30296         <bp-sym.h> and <bp-asm.h>.
30297         (memcpy): Don't use BP_SYM.
30298         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30299         <bp-sym.h> and <bp-asm.h>.
30300         (memset): Don't use BP_SYM.
30301         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30302         <bp-sym.h> and <bp-asm.h>.
30303         (__memchr): Don't use BP_SYM.
30304         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30305         <bp-sym.h> and <bp-asm.h>.
30306         (memcmp): Don't use BP_SYM.
30307         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30308         <bp-sym.h> and <bp-asm.h>.
30309         (memcpy): Don't use BP_SYM.
30310         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30311         <bp-sym.h> and <bp-asm.h>.
30312         (__mempcpy): Don't use BP_SYM.
30313         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30314         <bp-sym.h> and <bp-asm.h>.
30315         (__memrchr): Don't use BP_SYM.
30316         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30317         <bp-sym.h> and <bp-asm.h>.
30318         (memset): Don't use BP_SYM.
30319         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30320         <bp-sym.h> and <bp-asm.h>.
30321         (__rawmemchr): Don't use BP_SYM.
30322         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30323         <bp-sym.h> and <bp-asm.h>.
30324         (__STRCMP): Don't use BP_SYM.
30325         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30326         <bp-sym.h> and <bp-asm.h>.
30327         (strchr): Don't use BP_SYM.
30328         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30329         <bp-sym.h> and <bp-asm.h>.
30330         (__strchrnul): Don't use BP_SYM.
30331         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30332         <bp-sym.h> and <bp-asm.h>.
30333         (strlen): Don't use BP_SYM.
30334         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30335         <bp-sym.h> and <bp-asm.h>.
30336         (strncmp): Don't use BP_SYM.
30337         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30338         <bp-sym.h> and <bp-asm.h>.
30339         (__strnlen): Don't use BP_SYM.
30340         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30341         <bp-asm.h>.
30342         (__mpn_rshift): Don't use BP_SYM.
30343         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30344         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30345         <bp-sym.h> and <bp-asm.h>.
30346         (__sigsetjmp): Don't use BP_SYM.
30347         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30348         (L(start_addresses)): Don't use BP_SYM.
30349         (_start): Likewise.
30350         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30351         <bp-asm.h>.
30352         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30353         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30354         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30355         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30356         <bp-asm.h>.
30357         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30358         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30359         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30360         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30361         <bp-asm.h>.
30362         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30363         comments.
30364         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30365         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30366         <bp-asm.h>.
30367         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30368         FIXME comments.
30369         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30370         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30371         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30372         <bp-asm.h>.
30373         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30374         comment.
30375         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30376         and <bp-asm.h>.
30377         (strncmp): Don't use BP_SYM,
30378         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30379         <bp-asm.h>.
30380         (__mpn_sub_n): Don't use BP_SYM.
30381         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30382         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30383         and <bp-asm.h>.
30384         (__mpn_submul_1): Don't use BP_SYM.
30385         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30387         <bp-sym.h> and <bp-asm.h>.
30388         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30390         <bp-sym.h> and <bp-asm.h>.
30391         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30392         comment.
30394 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30396         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30397         Use ZK to minimize writes to Z.
30398         (sub_magnitudes): Simplify code a bit.
30399         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30400         Use ZK to minimize writes to Z.
30401         (sub_magnitudes): Simplify code a bit.
30403 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30405         * csu/gmon-start.c: Add special exception to license text.
30407 2013-02-27  Richard Henderson  <rth@redhat.com>
30409         * scripts/config.guess: Update from config.git.
30410         * scripts/config.sub: Likewise.
30412 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30414         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30416         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30418         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30420         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30422         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30424 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30426         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30427         [$(build-shared = yes].
30429 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30431         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30432         (__mul): Reduce iterations for calculating mantissa.
30434         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30435         MPTWO.
30436         (__mpranred): Likewise.
30438         [BZ #15160]
30439         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30440         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30442 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30444         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30445         Define __attribute__.
30447 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30449         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30450         unused.
30451         * posix/regex_internal.h (__attribute): Remove.
30452         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30453         (re_string_context_at): Likewise.
30454         (bitset_not): Use __attribute__ and mark function as possibly
30455         unused.
30456         (bitset_merge): Likewise.
30457         (bitset_mask): Likewise.
30458         (re_string_char_size_at): Likewise.
30459         (re_string_wchar_at): Likewise.
30460         (re_string_elem_size_at): Likewise.
30462 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30464         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30465         code.
30466         (cc32): Likewise.
30468         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30469         (__acr): Likewise.
30470         (__cpy): Likewise.
30471         (norm): Likewise.
30472         (denorm): Likewise.
30473         (__dbl_mp): Likewise.
30474         (add_magnitudes): Likewise.
30475         (sub_magnitudes): Likewise.
30476         (__mul): Likewise.
30477         (__inv): Likewise.
30479         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30480         style.
30482         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30483         style.
30485         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30486         code.
30488         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30489         up changes with default code.
30490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30491         Likewise.
30493 2013-02-24  Allan McRae  <allan@archlinux.org>
30495         * manual/socket.texi (The Internet Namespace): Order menu items
30496         to match that in the file.
30498         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30499         node listing of the info page menu.
30501 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30503         [BZ #13550]
30504         * sysdeps/i386/bp-asm.h: Remove file.
30505         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30506         (PARMS): Do not use macros from bp-asm.h.
30507         (S1): Likewise.
30508         (S2): Likewise.
30509         (SIZE): Likewise.
30510         (__mpn_add_n): Do not use BP_SYM
30511         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30512         "bp-asm.h".
30513         (PARMS): Do not use macros from bp-asm.h.
30514         (S1): Likewise.
30515         (SIZE): Likewise.
30516         (__mpn_addmul_1): Do not use BP_SYM
30517         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30518         "bp-asm.h".
30519         (PARMS): Do not use macros from bp-asm.h.
30520         (SIGMSK): Likewise.
30521         (_setjmp): Likewise.  Do not use BP_SYM.
30522         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30523         "bp-asm.h".
30524         (PARMS): Do not use macros from bp-asm.h.
30525         (SIGMSK): Likewise.
30526         (setjmp): Likewise.  Do not use BP_SYM.
30527         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30528         "bp-asm.h".
30529         (PARMS): Do not use macros from bp-asm.h.
30530         (__frexp): Do not use BP_SYM.
30531         (frexp): Likewise.
30532         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30533         "bp-asm.h".
30534         (PARMS): Do not use macros from bp-asm.h.
30535         (__frexpf): Do not use BP_SYM.
30536         (frexpf): Likewise.
30537         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30538         "bp-asm.h".
30539         (PARMS): Do not use macros from bp-asm.h.
30540         (__frexpl): Do not use BP_SYM.
30541         (frexpl): Likewise.
30542         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30543         "bp-asm.h".
30544         (PARMS): Do not use macros from bp-asm.h.
30545         (__remquo): Do not use BP_SYM.
30546         (remquo): Likewise.
30547         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30548         "bp-asm.h".
30549         (PARMS): Do not use macros from bp-asm.h.
30550         (__remquof): Do not use BP_SYM.
30551         (remquof): Likewise.
30552         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30553         "bp-asm.h".
30554         (PARMS): Do not use macros from bp-asm.h.
30555         (__remquol): Do not use BP_SYM.
30556         (remquol): Likewise.
30557         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30558         "bp-asm.h".
30559         (PARMS): Do not use macros from bp-asm.h.
30560         (DEST): Likewise.
30561         (SRC): Likewise.
30562         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30563         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30564         "bp-asm.h".
30565         (PARMS): Do not use macros from bp-asm.h.
30566         (strlen): Do not use BP_SYM.
30567         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30568         "bp-asm.h".
30569         (PARMS): Do not use macros from bp-asm.h.
30570         (S1): Likewise.
30571         (S2): Likewise.
30572         (SIZE): Likewise.
30573         (__mpn_add_n): Do not use BP_SYM.
30574         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30575         "bp-asm.h".
30576         (PARMS): Do not use macros from bp-asm.h.
30577         (S1): Likewise.
30578         (SIZE): Likewise.
30579         (__mpn_addmul_1): Do not use BP_SYM.
30580         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30581         weak_alias.
30582         (bzero): Likewise.
30583         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30584         "bp-asm.h".
30585         (PARMS): Do not use macros from bp-asm.h.
30586         (S): Likewise.
30587         (SIZE): Likewise.
30588         (__mpn_lshift): Do not use BP_SYM.
30589         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30590         "bp-asm.h".
30591         (PARMS): Do not use macros from bp-asm.h.
30592         (DEST): Likewise.
30593         (SRC): Likewise.
30594         (LEN): Likewise.
30595         (memcpy): Likewise.  Do not use BP_SYM.
30596         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30597         libc_hidden_def and weak_alias.
30598         (mempcpy): Do not use BP_SYM in weak_alias.
30599         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30600         "bp-asm.h".
30601         (PARMS): Do not use macros from bp-asm.h.
30602         (DEST): Likewise.
30603         (LEN): Likewise.
30604         [!BZERO_P] (CHR): Likewise.
30605         (memset): Likewise.  Do not use BP_SYM.
30606         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30607         "bp-asm.h".
30608         (PARMS): Do not use macros from bp-asm.h.
30609         (S1): Likewise.
30610         (SIZE): Likewise.
30611         (__mpn_mul_1): Do not use BP_SYM.
30612         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30613         "bp-asm.h".
30614         (PARMS): Do not use macros from bp-asm.h.
30615         (S): Likewise.
30616         (SIZE): Likewise.
30617         (__mpn_rshift): Do not use BP_SYM.
30618         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30619         "bp-asm.h".
30620         (PARMS): Do not use macros from bp-asm.h.
30621         (STR): Likewise.
30622         (CHR): Likewise.
30623         (strchr): Likewise.  Do not use BP_SYM.
30624         (index): Do not use BP_SYM in weak_alias.
30625         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30626         "bp-asm.h".
30627         (PARMS): Do not use macros from bp-asm.h.
30628         (DEST): Likewise.
30629         (SRC): Likewise.
30630         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30631         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30632         "bp-asm.h".
30633         (PARMS): Do not use macros from bp-asm.h.
30634         (strlen): Do not use BP_SYM.
30635         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30636         "bp-asm.h".
30637         (PARMS): Do not use macros from bp-asm.h.
30638         (S1): Likewise.
30639         (S2): Likewise.
30640         (SIZE): Likewise.
30641         (__mpn_sub_n): Do not use BP_SYM.
30642         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30643         "bp-asm.h".
30644         (PARMS): Do not use macros from bp-asm.h.
30645         (S1): Likewise.
30646         (SIZE): Likewise.
30647         (__mpn_submul_1): Do not use BP_SYM.
30648         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30649         "bp-asm.h".
30650         (PARMS): Do not use macros from bp-asm.h.
30651         (S1): Likewise.
30652         (S2): Likewise.
30653         (SIZE): Likewise.
30654         (__mpn_add_n): Do not use BP_SYM.
30655         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30656         weak_alias.
30657         (bzero): Likewise.
30658         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30659         "bp-asm.h".
30660         (PARMS): Do not use macros from bp-asm.h.
30661         (BLK2): Likewise.
30662         (LEN): Likewise.
30663         (memcmp): Do not use BP_SYM.
30664         (bcmp): Do not use BP_SYM in weak_alias.
30665         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30666         "bp-asm.h".
30667         (PARMS): Do not use macros from bp-asm.h.
30668         (DEST): Likewise.
30669         (SRC): Likewise.
30670         (LEN): Likewise.
30671         (memcpy): Likewise.  Do not use BP_SYM.
30672         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30673         "bp-asm.h".
30674         (PARMS): Do not use macros from bp-asm.h.
30675         (DEST): Likewise.
30676         (SRC): Likewise.
30677         (LEN): Likewise.
30678         (memmove): Likewise.  Do not use BP_SYM.
30679         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30680         "bp-asm.h".
30681         (PARMS): Do not use macros from bp-asm.h.
30682         (DEST): Likewise.
30683         (SRC): Likewise.
30684         (LEN): Likewise.
30685         (__mempcpy): Likewise.  Do not use BP_SYM.
30686         (mempcpy): Do not use BP_SYM in weak_alias.
30687         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30688         "bp-asm.h".
30689         (PARMS): Do not use macros from bp-asm.h.
30690         (DEST): Likewise.
30691         (LEN): Likewise.
30692         [!BZERO_P] (CHR): Likewise.
30693         (memset): Likewise.  Do not use BP_SYM.
30694         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30695         "bp-asm.h".
30696         (PARMS): Do not use macros from bp-asm.h.
30697         (STR2): Likewise.
30698         (strcmp): Do not use BP_SYM.
30699         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30700         "bp-asm.h".
30701         (PARMS): Do not use macros from bp-asm.h.
30702         (STR): Likewise.
30703         (DELIM): Likewise.
30704         [USE_AS_STRTOK_R] (SAVE): Likewise.
30705         (FUNCTION): Likewise.  Do not use BP_SYM.
30706         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30707         aliases.
30708         (strtok_r): Likewise.
30709         (__GI___strtok_r): Likewise.
30710         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30711         (PARMS): Do not use macros from bp-asm.h.
30712         (S): Likewise.
30713         (SIZE): Likewise.
30714         (__mpn_lshift): Do not use BP_SYM.
30715         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30716         (PARMS): Do not use macros from bp-asm.h.
30717         (STR): Likewise.
30718         (CHR): Likewise.
30719         (__memchr): Do not use BP_SYM.
30720         (memchr): Do not use BP_SYM in weak_alias.
30721         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30722         (PARMS): Do not use macros from bp-asm.h.
30723         (BLK2): Likewise.
30724         (LEN): Likewise.
30725         (memcmp): Do not use BP_SYM.
30726         (bcmp): Do not use BP_SYM in weak_alias.
30727         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30728         (PARMS): Do not use macros from bp-asm.h.
30729         (S1): Likewise.
30730         (SIZE): Likewise.
30731         (__mpn_mul_1): Do not use BP_SYM.
30732         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30733         "bp-asm.h".
30734         (PARMS): Do not use macros from bp-asm.h.
30735         (STR): Likewise.
30736         (CHR): Likewise.
30737         (__rawmemchr): Do not use BP_SYM.
30738         (rawmemchr): Do not use BP_SYM in weak_alias.
30739         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30740         (PARMS): Do not use macros from bp-asm.h.
30741         (S): Likewise.
30742         (SIZE): Likewise.
30743         (__mpn_rshift): Do not use BP_SYM.
30744         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30745         (PARMS): Do not use macros from bp-asm.h.
30746         (SIGMSK): Likewise.
30747         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30748         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30749         (_start): Do not use BP_SYM.
30750         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30751         (PARMS): Do not use macros from bp-asm.h.
30752         (DEST): Likewise.
30753         (SRC): Likewise.
30754         (__stpcpy): Likewise.  Do not use BP_SYM.
30755         (stpcpy): Do not use BP_SYM in weak_alias.
30756         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30757         "bp-asm.h".
30758         (PARMS): Do not use macros from bp-asm.h.
30759         (DEST): Likewise.
30760         (SRC): Likewise.
30761         (LEN): Likewise.
30762         (__stpncpy): Likewise.  Do not use BP_SYM.
30763         (stpncpy): Do not use BP_SYM in weak_alias.
30764         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30765         (PARMS): Do not use macros from bp-asm.h.
30766         (STR): Likewise.
30767         (CHR): Likewise.
30768         (strchr): Likewise.  Do not use BP_SYM.
30769         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30770         "bp-asm.h".
30771         (PARMS): Do not use macros from bp-asm.h.
30772         (STR): Likewise.
30773         (CHR): Likewise.
30774         (__strchrnul): Likewise.  Do not use BP_SYM.
30775         (strchrnul): Do not use BP_SYM in weak_alias.
30776         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30777         "bp-asm.h".
30778         (PARMS): Do not use macros from bp-asm.h.
30779         (STOP): Likewise.
30780         (strcspn): Do not use BP_SYM.
30781         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30782         "bp-asm.h".
30783         (PARMS): Do not use macros from bp-asm.h.
30784         (STR): Likewise.
30785         (STOP): Likewise.
30786         (strpbrk): Likewise.  Do not use BP_SYM.
30787         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30788         "bp-asm.h".
30789         (PARMS): Do not use macros from bp-asm.h.
30790         (STR): Likewise.
30791         (CHR): Likewise.
30792         (strrchr): Likewise.  Do not use BP_SYM.
30793         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30794         (PARMS): Do not use macros from bp-asm.h.
30795         (SKIP): Likewise.
30796         (strspn): Do not use BP_SYM.
30797         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30798         (PARMS): Do not use macros from bp-asm.h.
30799         (STR): Likewise.
30800         (DELIM): Likewise.
30801         (SAVE): Likewise.
30802         (FUNCTION): Likewise.  Do not use BP_SYM.
30803         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30804         aliases.
30805         (strtok_r): Likewise.
30806         (__GI___strtok_r): Likewise.
30807         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30808         (PARMS): Do not use macros from bp-asm.h.
30809         (S1): Likewise.
30810         (S2): Likewise.
30811         (SIZE): Likewise.
30812         (__mpn_sub_n): Do not use BP_SYM.
30813         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30814         "bp-asm.h".
30815         (PARMS): Do not use macros from bp-asm.h.
30816         (S1): Likewise.
30817         (SIZE): Likewise.
30818         (__mpn_submul_1): Do not use BP_SYM.
30819         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30820         <bp-sym.h>.
30821         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30822         and <bp-asm.h>.
30823         (PARMS): Do not use macros from bp-asm.h.
30824         (FLAGS): Likewise.
30825         (PTID): Likewise.
30826         (TLS): Likewise.
30827         (CTID): Likewise.
30828         (__clone): Do not use BP_SYM.
30829         (clone): Do not use BP_SYM in weak_alias.
30830         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30831         and <bp-asm.h>.
30832         (PARMS): Do not use macros from bp-asm.h.
30833         (LEN): Likewise.
30834         (__mmap64): Do not use BP_SYM.
30835         (mmap64): Do not use BP_SYM in weak_alias.
30836         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30837         <bp-sym.h> and <bp-asm.h>.
30838         (PARMS): Do not use macros from bp-asm.h.
30839         (__posix_fadvise64_l64): Do not use BP_SYM.
30840         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30841         (PARMS): Do not use macros from bp-asm.h.
30842         (NSOPS): Likewise.
30843         (semtimedop): Do not use BP_SYM.
30844         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30845         and <bp-asm.h>.
30847 2013-02-21  Allan McRae  <allan@archlinux.org>
30849         * manual/message.texi (Charset conversion in gettext):
30850         Move @end statement to beginning of line.
30852 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30855         static.
30856         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30857         Likewise.
30859         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30860         (denorm): Likewise.
30861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30864 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30866         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30867         tail-call to the resolved function if pltexit isn't needed.
30869 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30871         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30872         or Y being zero as being unlikely.
30873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30874         Likewise.
30876 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30878         * manual/nss.texi (System Databases and Name Service Switch):
30879         Remove frobnicate @pxref.
30881 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30883         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30884         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30886 2013-02-20  Petr Machata  <pmachata@redhat.com>
30888         * elf/elf.h (R_ARM_TARGET1): New macro.
30889         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30890         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30891         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30892         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30893         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30894         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30895         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30896         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30897         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30898         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30899         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30900         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30901         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30902         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30903         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30904         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30905         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30906         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30907         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30908         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30909         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30910         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30911         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30912         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30913         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30914         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30915         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30916         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30917         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30918         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30919         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30920         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30921         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30922         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30923         (R_ARM_THM_GOT_BREL12): Likewise.
30924         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30925         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30926         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30927         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30928         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30929         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30930         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30931         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30932         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30934 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30936         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30937         __attribute_used__ to __attribute__ ((unused)).
30939 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30941         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30942         powerpc mpa.c.
30943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30944         comment formatting.
30945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30947 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30949         [BZ #13550]
30950         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30951         Remove macro.
30952         (ENTER): Remove both macro definitions.
30953         (LEAVE): Likewise.
30954         (CHECK_BOUNDS_LOW): Likewise.
30955         (CHECK_BOUNDS_HIGH): Likewise.
30956         (CHECK_BOUNDS_BOTH): Likewise.
30957         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30958         (RETURN_BOUNDED_POINTER): Likewise.
30959         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30960         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30961         (POP_ERRNO_LOCATION_RETURN): Likewise.
30962         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30963         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30964         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30965         macros.
30966         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30967         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30968         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30969         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30970         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30971         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30972         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30973         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30974         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30975         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30976         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30977         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30978         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30979         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30980         removed macros.
30981         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30982         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30983         macros.
30984         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30985         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30986         * sysdeps/i386/i586/memset.S (memset): Likewise.
30987         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30988         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30989         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30990         macros.
30991         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30992         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30993         Change uses of L(2) to L(out).
30994         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30995         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30996         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30997         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30998         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30999         removed macros.
31000         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31001         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31002         macros.
31003         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31004         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31005         (RETURN): Do not use macro LEAVE.
31006         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31007         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31008         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31009         * sysdeps/i386/i686/memset.S (memset): Likewise.
31010         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31011         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31012         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31013         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31014         Likewise.
31015         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31016         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31017         L(1_2) and L(1_3) into L(1).
31018         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31019         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31020         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31021         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31022         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31023         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31024         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31025         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31026         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31027         macros.
31028         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31029         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31030         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31031         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31032         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31033         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31034         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31035         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31036         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31037         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31038         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31039         * sysdeps/i386/strspn.S (strspn): Likewise.
31040         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31041         conditional code.
31042         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31043         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31044         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31045         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31046         L(1_3) into L(1_1).
31047         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31049         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31050         macros.
31051         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31053 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31055         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31056         macro.
31058 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31060         * math/atest-exp.c (exp_mpn): Remove ROUND.
31061         * math/atest-exp2.c (exp_mpn): Likewise.
31062         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31064         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31065         * stdlib/tst-tls-atexit-lib.c: Likewise.
31066         * stdlib/tst-tls-atexit.c: Likewise.
31068 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31070         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31071         and __attribute_alloc_size__.
31073 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31075         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31076         __attribute_alloc_size__.
31077         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31078         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31080 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31082         * include/programs/xmalloc.h: New file.
31083         * catgets/gencat.c: Include it.
31084         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31085         * elf/pldd.c: Likewise.
31086         * iconv/iconv_charmap.c: Likewise.
31087         * iconv/iconvconfig.c: Likewise.
31088         * iconv/strtab.c: Likewise.
31089         * locale/programs/locale.c: Likewise.
31090         * locale/programs/localedef.h: Likewise.
31091         * locale/programs/simple-hash.c: Likewise.
31092         * nscd/nscd.h: Likewise.
31093         * nss/makedb.c: Likewise.
31094         * sysdeps/generic/ldconfig.h: Likewise.
31096 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31098         * Versions.def: Add GLIBC_2.18.
31099         * include/link.h (struct link_map): New member l_tls_dtor_count.
31100         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31101         (__call_tls_dtors): Likewise.
31102         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31103         __cxa_thread_atexit_impl.
31104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31105         Likewise.
31106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31107         Likewise.
31108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31109         Likewise.
31110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31111         Likewise.
31112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31114         Likewise.
31115         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31116         Likewise.
31117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31119         Likewise.
31120         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31121         (tests): Add test case tst-tls-atexit.
31122         (modules-names): Add shared library for tst-tls-atexit.
31123         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31124         (GLIBC_PRIVATE): Add __call_tls_dtors.
31125         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31126         for libstdc++.
31127         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31128         * stdlib/tst-tls-atexit.c: New test case.
31129         * stdlib/tst-tls-atexit-lib.c: New test case.
31131         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31133         * elf/Versions (ld): Add _dl_find_dso_for_object.
31134         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31135         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31136         (dl_open_worker): Use _dl_find_dso_for_object.
31137         * elf/dl-sym.c (do_sym): Likewise.
31138         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31140 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31142         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31143         Syntactic changes only.
31144         (_dl_runtime_profile): Do a tail-call to the resolved function.
31146 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31148         [BZ #13550]
31149         * sysdeps/x86_64/bp-asm.h: Remove file.
31150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31151         <bp-sym.h> and <bp-asm.h>.
31152         (__clone): Do not use BP_SYM.
31153         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31154         <bp-sym.h> and <bp-asm.h>.
31155         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31156         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31157         "bp-asm.h".
31158         (_setjmp): Do not use BP_SYM.
31159         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31160         "bp-asm.h".
31161         (setjmp): Do not use BP_SYM.
31162         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31163         libc_hidden_def.
31164         (mempcpy): Do not use BP_SYM in weak_alias.
31165         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31166         "bp-asm.h".
31167         (strchr): Do not use BP_SYM.
31168         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31169         "bp-asm.h".
31170         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31171         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31172         (_start): Do not use BP_SYM.
31173         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31174         "bp-asm.h".
31175         (strcat): Do not use BP_SYM.
31176         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31177         "bp-asm.h".
31178         (STRCMP): Do not use BP_SYM.
31179         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31180         "bp-asm.h".
31181         (STRCPY): Do not use BP_SYM.
31182         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31183         "bp-asm.h".
31184         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31185         "bp-asm.h".
31186         (FUNCTION): Do not use BP_SYM.
31187         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31188         weak_alias.
31189         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31191 2013-02-17  Andreas Jaeger  <aj@suse.de>
31193         * time/Versions: Sort entries.
31194         * string/Versions: Likewise.
31195         * resolv/Versions: Likewise.
31196         * posix/Versions: Likewise.
31197         * iconv/Versions: Likewise.
31198         * elf/Versions: Likewise.
31199         * wcsmbs/Versions: Likewise.
31201 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31203         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31204         loop termination condition.
31206         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31207         variable to calculate EZ.
31208         (__sqr): Likewise.
31210         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31211         the lower precision input.
31213 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31215         [BZ #13550]
31216         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31217         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31218         (run-via-rtld-prefix): Do not handle %-bp tests.
31219         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31220         (all-object-suffixes): Remove .ob.
31221         (bppfx): Remove variable.
31222         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31223         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31224         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31225         [$(build-bounded) = yes] (libtype.ob): Likewise.
31226         * Makerules (elide-routines.ob): Remove variable.
31227         (do-tests-clean): Do not handle *-bp.out.
31228         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31229         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31230         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31231         (tests): Do not include $(tests-bp.out).
31232         (xtests): Do not include $(xtests-bp.out).
31233         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31234         [$(build-bounded) = yes] ($(addprefix
31235         $(objpfx),$(binaries-bounded))): Remove rule.
31236         ($(objpfx)%-bp.out): Remove rule.
31237         * config.make.in (build-bounded): Remove variable.
31238         * crypt/Makefile [$(build-bounded) = yes]
31239         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31240         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31241         append to variable.
31242         [$(build-bounded) = yes] (install-lib): Likewise.
31243         [$(build-bounded) = yes] (generated): Likewise.
31244         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31245         Remove rule.
31246         * intl/Makefile [$(build-bounded) = yes]
31247         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31248         * math/Makefile [$(build-bounded) = yes]
31249         ($(tests:%=$(objpfx)%-bp): Likewise.
31250         * misc/Makefile [$(build-bounded) = yes]
31251         ($(objpfx)tst-tsearch-bp): Likewise.
31252         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31253         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31254         Remove dependency.
31255         * string/Makefile (o-objects.ob): Remove variable.
31256         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31257         (CFLAGS-.ob): Remove variable.
31258         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31259         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31260         both definitions of variable.
31261         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31262         (ASFLAGS-.ob): Remove variable.
31264 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31266         [BZ #13550]
31267         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31268         Remove __BOUNDED_POINTERS__ from condition.
31269         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31270         * string/bits/string2.h [!__NO_STRING_INLINES &&
31271         !__BOUNDED_POINTERS__]: Likewise.
31272         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31273         Likewise.
31274         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31275         Remove conditional code.
31276         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31277         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31278         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31279         condition.
31281         [BZ #13550]
31282         * csu/libc-start.c: Do not include <bp-sym.h>.
31283         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31284         * elf/dl-open.c: Do not include <bp-sym.h>.
31285         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31286         * math/fegetenv.c: Do not include <bp-sym.h>.
31287         (fegetenv): Do not use BP_SYM in versioned symbols.
31288         * nptl/sysdeps/pthread/bits/libc-lockP.h
31289         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31290         <bp-sym.h>.
31291         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31292         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31293         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31294         (__pthread_mutex_destroy): Likewise.
31295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31296         (__pthread_mutex_lock): Likewise.
31297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31298         (__pthread_mutex_trylock): Likewise.
31299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31300         (__pthread_mutex_unlock): Likewise.
31301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31302         (__pthread_mutexattr_init): Likewise.
31303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31304         (__pthread_mutexattr_destroy): Likewise.
31305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31306         (__pthread_mutexattr_settype): Likewise.
31307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31308         (__pthread_rwlock_init): Likewise.
31309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31310         (__pthread_rwlock_destroy): Likewise.
31311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31312         (__pthread_rwlock_rdlock): Likewise.
31313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31314         (__pthread_rwlock_tryrdlock): Likewise.
31315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31316         (__pthread_rwlock_wrlock): Likewise.
31317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31318         (__pthread_rwlock_trywrlock): Likewise.
31319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31320         (__pthread_rwlock_unlock): Likewise.
31321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31322         (__pthread_key_create): Likewise.
31323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31324         (__pthread_setspecific): Likewise.
31325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326         (__pthread_getspecific): Likewise.
31327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31328         Likewise.
31329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330         (_pthread_cleanup_push_defer): Likewise.
31331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332         (_pthread_cleanup_pop_restore): Likewise.
31333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31334         (pthread_setcancelstate): Likewise.
31335         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31336         <bp-sym.h>.
31337         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31338         (memchr): Do not use BP_SYM in weak_alias.
31339         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31340         (fegetenv): Do not use BP_SYM in versioned symbols.
31341         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31342         (fesetenv): Do not use BP_SYM in versioned symbols.
31343         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31344         (feupdateenv): Do not use BP_SYM in versioned symbols.
31345         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31346         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31347         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31348         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31349         (open64): Do not use BP_SYM in weak_alias.
31350         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31351         (fegetenv): Do not use BP_SYM in versioned symbols.
31352         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31353         (fesetenv): Do not use BP_SYM in versioned symbols.
31354         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31355         (feupdateenv): Do not use BP_SYM in versioned symbols.
31356         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31357         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31358         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31359         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31360         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31361         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31362         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31363         <bp-sym.h>.
31364         (__libc_start_main): Do not use BP_SYM.
31366 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31369         redundant return line.
31370         (norm): Likewise.
31371         (denorm): Likewise.
31372         (dbl_mp): Likewise.
31373         (sub_magnitudes): Likewise.
31374         (__add): Likewise.
31375         (__sub): Likewise.
31376         (__mul): Likewise.
31377         (__inv): Likewise.
31378         (__dvd): Likewise.
31379         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31380         (norm): Likewise.
31381         (denorm): Likewise.
31382         (dbl_mp): Likewise.
31383         (sub_magnitudes): Likewise.
31384         (__add): Likewise.
31385         (__sub): Likewise.
31386         (__mul): Likewise.
31387         (__inv): Likewise.
31388         (__dvd): Likewise.
31390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31391         instead of __mul.
31392         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31393         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31394         (cc32): Likewise.
31396         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31397         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31398         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31399         of __mul for squares.
31400         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31401         function
31402         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31403         Likewise.
31404         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31405         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31407 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31409         [BZ #13550]
31410         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31411         code.
31412         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31413         prototype or function definition.  Rename ubp_* variables and
31414         parameters.  Remove argv definitions conditional on
31415         [__BOUNDED_POINTERS__].
31416         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31417         * elf/dl-runtime.c (_dl_fixup): Likewise.
31418         * include/set-hooks.h (RUN_HOOK): Likewise.
31419         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31420         definition.
31421         * string/strcpy.c (strcpy): Do not use __unbounded.
31422         * sysdeps/generic/frame.h (struct layout): Likewise.
31423         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31424         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31425         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31426         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31427         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31428         (__backtrace): Likewise.
31429         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31430         use __ptrvalue.
31431         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31432         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31433         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31434         Likewise.
31435         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31436         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31437         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31438         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31439         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31440         Do not use __unbounded.
31441         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31442         Rename __unboundedrlimits parameter to rlimits in prototype.
31443         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31444         Do not use __unbounded.
31445         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31446         not use __ptrvalue.
31447         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31448         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31449         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31450         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31451         __ptrvalue or __unbounded.
31452         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31453         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31454         use __unbounded.
31455         (__new_msgctl): Do not use __ptrvalue.
31456         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31457         __unbounded.
31458         (__libc_msgrcv): Do not use __ptrvalue.
31459         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31460         startup_info): Do not use __unbounded.
31461         (__libc_start_main): Likewise.  Rename ubp_* variables and
31462         parameters.  Remove argv definitions conditional on
31463         [__BOUNDED_POINTERS__].
31464         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31465         __ptrvalue.
31466         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31467         use __unbounded.
31468         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31469         or __ptrvalue.
31470         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31471         use __unbounded.
31472         (__new_shmctl): Do not use __ptrvalue.
31473         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31474         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31475         Likewise.
31476         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31477         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31478         (__libc_sigaction): Likewise.
31479         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31480         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31481         Likewise.
31482         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31484 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31486         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31488         * string/mempcpy.c: Implement by calling memcpy.
31490 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31495         evaluation.
31497         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31498         values in the mantissa.
31500         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31501         minimize writes to Z.
31502         (sub_magnitudes): Simplify code a bit.
31504 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31506         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31507         from the message.  The linker prefixes all warnings with that already.
31509 2013-02-12  Andreas Schwab  <schwab@suse.de>
31511         [BZ #15078]
31512         * posix/regexec.c (extend_buffers): Add parameter min_len.
31513         (check_matching): Pass minimum needed length.
31514         (clean_state_log_if_needed): Likewise.
31515         (get_subexp): Likewise.
31516         * posix/Makefile (tests): Add bug-regex34.
31517         (bug-regex34-ENV): Define.
31518         * posix/bug-regex34.c: New file.
31520         [BZ #11561]
31521         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31522         elements compare against the byte sequence of it, not its name.
31523         * posix/Makefile (tests): Add bug-regex35.
31524         (bug-regex35-ENV): Define.
31525         * posix/bug-regex35.c: New file.
31527 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31529         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31530         comment.
31531         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31532         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31533         (CHECK_EOL): Add undef.
31535 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31537         * bits/stdlib-bsearch.h: New file.
31538         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31539         * stdlib/stdlib.h: Likewise.
31541 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31543         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31544         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31545         declaration.
31546         * manual/search.texi (Array Search Function): Add missing const in
31547         lfind prototype.
31548         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31549         declaration to use rlim_t.
31550         (Basic Scheduling Functions): Remove erroneous const from
31551         sched_getparam prototype.  Remove erroneous * from
31552         sched_get_priority_max and sched_get_priority_min prototypes.
31553         (Resource Usage): Fix summary @comment on vtimes to refer to
31554         sys/vtimes.h rather than vtimes.h.
31555         Add missing *s in vtimes prototype.
31556         (Limits on Resources): Fix ulimit prototype to return long int.
31557         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31558         prototypes to use long int rather than double.
31559         (BSD Random): Fix initstate and setstate to use char *, not void *.
31560         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31561         prototype to make second argument 'struct aiocb64 *const[]'.
31562         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31563         (Status of AIO Operations): Remove erroneous const in aio_return and
31564         aio_return64 prototypes.
31565         (Synchronizing I/O): Fix sync prototype to return void.
31566         * manual/startup.texi (Suboptions): Remove an erroneous const in
31567         getsubopt prototype.
31568         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31569         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31570         use size_t rather than int.
31571         (Scanning All Users): Likewise for getpwent_r.
31572         (Setting Groups): Add missing const to setgroups prototype.
31573         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31574         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31575         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31576         'const void *' rather than 'const char *'.
31577         (Host Address Functions): Likewise for inet_ntop.
31578         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31579         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31580         ssize_t for return value.
31581         (Sending Data): Likewise for send, sendto, sendmsg.
31582         (Socket Option Functions): Add a missing const in setsockopt prototype.
31583         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31584         use wchar_t for the argument.
31585         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31586         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31587         take no arguments.
31588         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31589         double/float/long double for second argument.
31590         Fix return types of significand, significandf, significandl.
31591         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31592         argument in fchmod prototype.
31593         (File Owner): Use uid_t and gid_t in fchown prototype.
31594         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31595         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31596         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31597         use 'const struct dirent **' as argument types to CMP function pointer
31598         argument.
31599         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31600         (File Times): Fix summary magic @comment for struct utimbuf and utime
31601         to refer to utime.h, not time.h.
31602         * manual/string.texi (Argz Functions): Add missing const in
31603         argz_extract and argz_next prototypes.
31604         (Finding Tokens in a String): Likewise for basename.
31605         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31606         (Copying and Concatenation): Fix typo in wmemmove prototype.
31607         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31608         (Signal Stack): Remove erroneous const in sigstack prototype.
31609         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31610         prototype.
31611         (Simple Calendar Time): Likewise for stime.
31612         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31613         prototype.
31614         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31615         say sys/sysctl.h instead.
31616         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31617         and vsyslog prototypes.
31619 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31621         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31622         Remove.
31624 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31626         * misc/sys/mman.h: Fix typo in mremap comment.
31628 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31630         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31631         the '\0' terminator.
31633 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31635         [BZ #13550]
31636         * debug/segfault.c: Don't include <bp-checks.h>.
31637         * sysdeps/generic/bp-checks.h: Remove file.
31638         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31639         (__GETDENTS): Don't use CHECK_N.
31640         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31641         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31642         (__getgroups): Don't use CHECK_N.
31643         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31644         (setgroups): Don't use CHECK_N.
31645         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31646         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31647         (__libc_msgrcv): Don't use CHECK_N.
31648         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31649         (__libc_msgsnd): Don't use CHECK_N.
31650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31651         <bp-checks.h>.
31652         (__libc_pread): Don't use CHECK_N.
31653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31654         include <bp-checks.h>.
31655         (__libc_pread64): Don't use CHECK_N.
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31657         include <bp-checks.h>.
31658         (__libc_pwrite): Don't use CHECK_N.
31659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31660         include <bp-checks.h>.
31661         (__libc_pwrite64): Don't use CHECK_N.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31663         <bp-checks.h>.
31664         (__libc_pread): Don't use CHECK_N.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31666         include <bp-checks.h>.
31667         (__libc_pread64): Don't use CHECK_N.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31669         include <bp-checks.h>.
31670         (__libc_pwrite): Don't use CHECK_N.
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31672         include <bp-checks.h>.
31673         (__libc_pwrite64): Don't use CHECK_N.
31674         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31675         (do_pread): Don't use CHECK_N.
31676         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31677         (do_pread64): Don't use CHECK_N.
31678         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31679         (do_pwrite): Don't use CHECK_N.
31680         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31681         (do_pwrite64): Don't use CHECK_N.
31682         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31683         (__libc_readv): Don't use CHECK_N.
31684         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31685         (semop): Don't use CHECK_N.
31686         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31687         <bp-checks.h>.
31688         (semtimedop): Don't use CHECK_N.
31689         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31690         (__libc_pread): Don't use CHECK_N.
31691         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31692         <bp-checks.h>.
31693         (__libc_pread64): Don't use CHECK_N.
31694         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31695         <bp-checks.h>.
31696         (__libc_pwrite): Don't use CHECK_N.
31697         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31698         <bp-checks.h>.
31699         (__libc_pwrite64): Don't use CHECK_N.
31700         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31701         <bp-checks.h>.
31702         (__libc_msgrcv): Don't use CHECK_N.
31703         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31704         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31705         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31706         (__libc_writev): Don't use CHECK_N.
31708 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31710         * string/strcpy.c: Removed unused variable.
31712         * Makeconfig (+sysdep-includes): Define with := rather than =.
31713         Use an existing include/ subdir of each sysdeps dir before it.
31715 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31717         * nscd/connection.c (register_traced_file): Comment function.
31718         [HAVE_INOTIFY] (union __inev): Define.
31719         [HAVE_INOTIFY] (inotify_check_files): New function.
31720         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31721         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31722         clear_db_cache.
31723         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31725 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31727         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31728         loaded if not already and that a failure is permanent.
31730 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31732         [BZ #15006]
31733         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31734         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31736 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31738         [BZ #13550]
31739         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31740         (CHECK_1_NULL_OK): Likewise.
31741         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31742         (__fxstat): Do not use CHECK_1.
31743         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31744         <bp-checks.h>.
31745         (___fxstat64): Do not use CHECK_1.
31746         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31747         <bp-checks.h>.
31748         (__fxstatat): Do not use CHECK_1.
31749         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31750         <bp-checks.h>.
31751         (__fxstatat64): Do not use CHECK_1.
31752         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31753         <bp-checks.h>.
31754         (__fxstat): Do not use CHECK_1.
31755         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31756         <bp-checks.h>.
31757         (__fxstatat): Do not use CHECK_1.
31758         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31759         <bp-checks.h>.
31760         (__getresgid): Do not use CHECK_1.
31761         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31762         <bp-checks.h>.
31763         (__getresuid): Do not use CHECK_1.
31764         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31765         <bp-checks.h>.
31766         (__lxstat): Do not use CHECK_1.
31767         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31768         <bp-checks.h>.
31769         (__old_msgctl): Do not use CHECK_1.
31770         (__new_msgctl): Likewise.
31771         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31772         <bp-checks.h>.
31773         (__new_setrlimit): Do not use CHECK_1.
31774         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31775         <bp-checks.h>.
31776         (__old_shmctl): Do not use CHECK_1.
31777         (__new_shmctl): Likewise.
31778         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31779         <bp-checks.h>.
31780         (__xstat): Do not use CHECK_1.
31781         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31782         (__lxstat): Do not use CHECK_1.
31783         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31784         <bp-checks.h>.
31785         (___lxstat64): Do not use CHECK_1.
31786         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31787         (__old_msgctl): Do not use CHECK_1.
31788         (__new_msgctl): Likewise.
31789         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31790         <bp-checks.h>.
31791         (__gettimeofday): Do not use CHECK_1.
31792         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31793         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31794         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31795         <bp-checks.h>.
31796         (__gettimeofday): Do not use CHECK_1.
31797         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31798         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31799         (__new_shmctl): Do not use CHECK_1.
31800         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31801         <bp-checks.h>.
31802         (do_sigtimedwait): Do not use CHECK_1.
31803         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31804         <bp-checks.h>.
31805         (do_sigwaitinfo): Do not use CHECK_1.
31806         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31807         <bp-checks.h>.
31808         (msgctl): Do not use CHECK_1.
31809         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31810         <bp-checks.h>.
31811         (shmctl): Do not use CHECK_1.
31812         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31813         (ustat): Do not use CHECK_1.
31814         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31815         <bp-checks.h>.
31816         (__fxstat): Do not use CHECK_1.
31817         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31818         <bp-checks.h>.
31819         (__fxstatat): Do not use CHECK_1.
31820         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31821         <bp-checks.h>.
31822         (__lxstat): Do not use CHECK_1.
31823         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31824         <bp-checks.h>.
31825         (__xstat): Do not use CHECK_1.
31826         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31827         (__xstat): Do not use CHECK_1.
31828         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31829         (___xstat64): Do not use CHECK_1.
31831         [BZ #13550]
31832         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31833         definitions.
31834         (CHECK_BOUNDS_HIGH): Likewise.
31835         * string/strcpy.c: Do not include <bp-checks.h>.
31836         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31838 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31840         * nscd/nscd-client.h (__nscd_drop_map_ref):
31841         Add __attribute__ ((unused)).
31842         * nis/nss-nisplus.h (niserr2nss): Likewise.
31844         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31845         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31847         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31848         Remove inline keyword.
31849         * include/rounding-mode.h (round_away): Likewise.
31850         * libio/wfileops.c (adjust_wide_data): Likewise.
31851         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31852         (__m128i_strloadu_tolower): Likewise.
31853         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31854         (__m128i_strloadu_tolower): Likewise.
31855         * time/mktime.c (ydhms_diff): Likewise.
31856         * locale/elem-hash.h (elem_hash): Likewise.
31857         * locale/setlocale.c (setdata): Likewise.
31858         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31859         (re_string_wchar_at): Likewise.
31860         (bitset_not, bitset_merge, bitset_mask): Likewise.
31861         [!(__GNUC__ > 3)] (inline): Remove macro.
31862         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31863         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31864         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31865         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31866         * string/memcmp.c (memcmp_bytes): Likewise.
31867         * locale/programs/locarchive.c (compute_hashval): Likewise.
31868         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31869         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31870         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31871         * nss/getent.c (print_rpc, print_protocols): Likewise.
31872         (print_passwd, print_group, print_aliases): Likewise.
31873         * nis/nss-nisplus.h (niserr2nss): Likewise.
31874         * nscd/connections.c (restart_p): Likewise.
31875         Change return type to bool.
31877 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31879         * Makeconfig (all-Depend-files): Add existing
31880         $(sorted-subdirs:=/Depend) files.
31881         (all-subdirs): Remove nss.
31882         * sysdeps/unix/inet/Subdirs: Add it here instead.
31883         * hesiod/Depend: New file.
31885         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31886         instead of calling alloca.
31888         * io/lseek.c (__lseek): Rename to __libc_lseek.
31889         Define __lseek as an alias.
31891         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31893 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31895         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31896         else clause and remove check for non-standard endianness.
31898 2013-02-04  David S. Miller  <davem@davemloft.net>
31900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31902 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31904         [BZ #13550]
31905         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31906         (__ubp_memchr): Remove prototype.
31907         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31908         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31909         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31910         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31911         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31912         Remove alias.
31913         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31914         (__ubp_memchr): Likewise.
31915         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31916         (__ubp_memchr): Likewise.
31917         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31918         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31919         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31920         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31921         CHECK_STRING.
31922         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31923         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31924         (__getcwd): Do not use CHECK_STRING.
31925         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31926         <bp-checks.h>.
31927         (__real_chown): Do not use CHECK_STRING.
31928         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31929         <bp-checks.h>.
31930         (fchownat): Do not use CHECK_STRING.
31931         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31932         CHECK_STRING.
31933         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31934         <bp-checks.h>.
31935         (__lchown): Do not use CHECK_STRING.
31936         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31937         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31938         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31939         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31941         include <bp-checks.h>.
31942         (truncate64): Do not use CHECK_STRING.
31943         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31944         <bp-checks.h>.
31945         (__real_chown): Do not use CHECK_STRING.
31946         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31947         <bp-checks.h>.
31948         (__lchown): Do not use CHECK_STRING.
31949         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31950         <bp-checks.h>.
31951         (__chown): Do not use CHECK_STRING.
31952         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31953         <bp-checks.h>.
31954         (truncate64): Do not use CHECK_STRING.
31955         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31956         Likewise.
31957         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31958         (__xmknod): Do not use CHECK_STRING.
31959         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31960         <bp-checks.h>.
31961         (__xmknodat): Do not use CHECK_STRING.
31962         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31963         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31965 2013-02-04  Andreas Schwab  <schwab@suse.de>
31967         [BZ #14142]
31968         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31969         * include/netdb.h: Likewise for h_errno.
31970         * elf/tst-stackguard1.c: Include <tls.h>.
31972 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31974         * elf/link.h (struct link_map): Extend the l_addr comment.
31975         * include/link.h (struct link_map): Likewise.
31977 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31979         [BZ #13550]
31980         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31981         (BOUNDED_1): Remove macro.
31982         * debug/backtrace.c: Don't include <bp-checks.h>.
31983         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31984         (__backtrace): Likewise.
31985         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31986         <bp-checks.h>.
31987         (__backtrace): Don't use BOUNDED_1.
31988         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31989         <bp-checks.h>.
31990         (__backtrace): Don't use BOUNDED_1.
31991         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31992         (__backtrace): Don't use BOUNDED_1.
31993         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31994         (shmat): Don't use BOUNDED_N.
31996 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31998         [BZ #13550]
31999         * sysdeps/generic/bp-start.h: Remove file.
32000         * csu/libc-start.c: Don't include <bp-start.h>.
32001         (LIBC_START_MAIN): Set up __environ directly instead of using
32002         INIT_ARGV_and_ENVIRON.
32003         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32004         <bp-start.h>.
32006         [BZ #13550]
32007         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32008         definitions.
32009         (CHECK_FCNTL): Likewise.
32010         (CHECK_N_PAGES): Likewise.
32012         [BZ #13550]
32013         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32014         definitions.
32015         (CHECK_SIGSET_NULL_OK): Likewise.
32016         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32017         <bp-checks.h>.
32018         (sigpending): Don't use CHECK_SIGSET.
32019         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32020         <bp-checks.h>.
32021         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32022         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32023         <bp-checks.h>.
32024         (do_sigsuspend): Don't use CHECK_SIGSET.
32025         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32026         use CHECK_SIGSET.
32027         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32028         (do_sigwait): Don't use CHECK_SIGSET.
32029         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32030         use CHECK_SIGSET.
32031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32032         include <bp-checks.h>.
32033         (sigpending): Don't use CHECK_SIGSET.
32034         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32035         include <bp-checks.h>.
32036         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32037         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32038         <bp-checks.h>.
32039         (sigpending): Don't use CHECK_SIGSET.
32040         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32041         <bp-checks.h>.
32042         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32044         [BZ #13550]
32045         * sysdeps/generic/bp-semctl.h: Remove file.
32046         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32047         <bp-checks.h> and <bp-semctl.h>.
32048         (__old_semctl): Don't use CHECK_SEMCTL.
32049         (__new_semctl): Likewise.
32050         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32051         and <bp-semctl.h>.
32052         (__old_semctl): Don't use CHECK_SEMCTL.
32053         (__new_semctl): Likewise.
32054         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32055         <bp-checks.h> and <bp-semctl.h>.
32056         (__old_semctl): Don't use CHECK_SEMCTL.
32057         (__new_semctl): Likewise.
32058         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32059         <bp-checks.h> and <bp-semctl.h>.
32060         (semctl): Don't use CHECK_SEMCTL.
32062         [BZ #13550]
32063         * Makerules (elide-bp-thunks): Remove variable.
32064         (elide-routines.oS): Don't use $(elide-bp-thunks).
32065         (elide-routines.os): Likewise.
32066         (elide-routines.o): Likewise.
32067         (elide-routines.op): Likewise.
32068         (elide-routines.og): Likewise.
32069         (objects): Don't use $(bp-thunks).
32070         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32071         include.
32072         (common-generated): Do not add s-proto-bp.d.
32073         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32074         (int): Likewise.
32075         (typ): Likewise.
32076         Do not generate makefile rules for bounded-pointer thunks.
32077         * sysdeps/generic/bp-thunks.h: Remove file.
32078         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32079         * sysdeps/unix/s-proto-bp.S: Likewise.
32081         [BZ #15062]
32082         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32083         parts of result separately when argument is not close to line from
32084         -i to i and one part of argument is small.
32085         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32086         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32087         * math/libm-test.inc (cacos_test): Add more tests.
32088         (casin_test): Likewise.
32089         (casinh_test): Likewise.
32090         * sysdeps/i386/fpu/libm-test-ulps: Update.
32091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32093 2013-01-31  David S. Miller  <davem@davemloft.net>
32095         * po/de.po: Update from translation team.
32097 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32099         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32101 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32103         * configure.in (_AC_PROG_CC_C89): New definition.
32104         * configure: Regenerate.
32106         * configure.in (AC_PROG_CPP): New definition.
32107         * configure: Regenerate.
32109 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32111         * debug/tst-backtrace.h: New file.
32112         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32113         (ret): Remove variable.
32114         (x): Likewise.
32115         (FAIL): Remove macro.
32116         (NO_INLINE): Likewise.
32117         (fn1): Use match function instead of strstr.
32118         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32119         (ret): Remove variable.
32120         (x): Likewise.
32121         (FAIL): Remove macro.
32122         (NO_INLINE): Likewise.
32123         (fn): Use match function instead of strstr.
32124         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32125         (ret): Remove variable.
32126         (x): Likewise.
32127         (FAIL): Remove macro.
32128         (NO_INLINE): Likewise.
32129         (handle_signal): Use match function instead of strstr.
32130         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32131         (ret): Remove variable.
32132         (x): Likewise.
32133         (FAIL): Remove macro.
32134         (NO_INLINE): Likewise.
32135         (handle_signal): Use match function instead of strstr.
32137 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32139         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32141 2013-01-23  David S. Miller  <davem@davemloft.net>
32143         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32144         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32145         argument of CAS if possible.
32146         * sysdeps/sparc/sparc64/bits/atomic.h
32147         (__arch_compare_and_exchange_val_32_acq): Likewise.
32148         (__arch_compare_and_exchange_val_64_acq): Likewise.
32150 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32152         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32153         * sysdeps/posix/ulimit.c: ... this.
32154         Include <limits.h>.
32155         * sysdeps/unix/bsd/ulimit.c: Remove file.
32157 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32159         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32160         (LDFLAGS-tst-array5): Likewise.
32162 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32164         [BZ #15036]
32165         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32166         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32167         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32168         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32170 2013-01-21  David S. Miller  <davem@davemloft.net>
32172         * sysdeps/sparc/backtrace.c: New file.
32173         * sysdeps/sparc/sparc32/backtrace.h: New file.
32174         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32175         * sysdeps/sparc/sparc64/backtrace.h: New file.
32176         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32177         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32178         -funwind-tables.
32180 2013-01-21  Andreas Schwab  <schwab@suse.de>
32182         [BZ #15020]
32183         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32184         closed its stdout.
32186 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32189         "mpa2.h".
32190         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32192 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32193             Mark Mitchell  <mark@codesourcery.com>
32194             Tom de Vries  <tom@codesourcery.com>
32195             Paul Pluzhnikov  <ppluzhnikov@google.com>
32197         * debug/tst-backtrace2.c: New file.
32198         * debug/tst-backtrace3.c: Likewise.
32199         * debug/tst-backtrace4.c: Likewise.
32200         * debug/tst-backtrace5.c: Likewise.
32201         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32202         (CFLAGS-tst-backtrace3.c): Likewise.
32203         (CFLAGS-tst-backtrace4.c): Likewise.
32204         (CFLAGS-tst-backtrace5.c): Likewise.
32205         (LDFLAGS-tst-backtrace2): Likewise.
32206         (LDFLAGS-tst-backtrace3): Likewise.
32207         (LDFLAGS-tst-backtrace4): Likewise.
32208         (LDFLAGS-tst-backtrace5): Likewise.
32209         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32210         tst-backtrace4 and tst-backtrace5.
32212 2013-01-18  Anton Blanchard  <anton@samba.org>
32213             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32215         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32216         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32217         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32218         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32220         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32221         "+r" and remove output regs list as redundant.  Add explicit inline
32222         asm to specify register of return val to work around compiler codegen
32223         bug.  Remove (int) cast on return value.  Add return type parameter to
32224         use in macro so that this macro does not truncate return value for
32225         64-bit values.
32226         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32227         pass to INTERNAL_VSYSCALL_NCS.
32228         (INLINE_VSYSCALL): Add 'long int' as return type to
32229         INTERNAL_VSYSCALL_NCS macro invocation.
32230         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32231         INTERNAL_VSYSCALL_NCS macro invocation.
32232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32234 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32236         [BZ #14496]
32237         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32238         Fix application of SIMD FP exception mask.
32240         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32241         mp_no from a power of two.
32242         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32243         __mpexp_twomm1.  Use __pow_mp.
32245         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32246         multiplication.
32248 2013-01-17  David S. Miller  <davem@davemloft.net>
32250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32252 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32254         [BZ #15023]
32255         * include/complex.h: Condition contents on [!_COMPLEX_H].
32256         (__kernel_casinhf): New prototype.
32257         (__kernel_casinh): Likewise.
32258         (__kernel_casinhl): Likewise.
32259         * math/Makefile (libm_calls): Add k_casinh.
32260         * math/k_casinh.c: New file.
32261         * math/k_casinhf.c: Likewise.
32262         * math/k_casinhl.c: Likewise.
32263         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32264         finite nonzero arguments.
32265         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32266         finite nonzero arguments.
32267         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32268         finite nonzero arguments.
32269         * math/s_casinh.c: Do not include <float.h>.
32270         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32271         * math/s_casinhf.c: Do not include <float.h>.
32272         (__casinhf): Move code for finite nonzero arguments to
32273         k_casinhf.c.
32274         * math/s_casinhl.c: Do not include <float.h>.
32275         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32276         redefine.
32277         (__casinhl): Move code for finite nonzero arguments to
32278         k_casinhl.c.
32279         * math/libm-test.inc (cacos_test): Add more tests.
32280         * sysdeps/i386/fpu/libm-test-ulps: Update.
32281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32283 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32285         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32286         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32287         [!HAVE_MREMAP]: Remove [defined linux] case.
32288         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32290 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32292         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32294 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32296         * elf/elf.h (R_386_SIZE32): New relocation.
32297         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32298         R_386_SIZE32.
32299         (elf_machine_rela): Likewise.
32300         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32301         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32303 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32305         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32306         (FP_FAST_FMA): Do not define.
32307         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32308         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32309         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32310         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32311         !_SOFT_FLOAT]: Likewise.
32312         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32313         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32314         value.
32315         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32316         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32317         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32318         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32319         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32320         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32321         file.
32323 2013-01-16  Andreas Schwab  <schwab@suse.de>
32325         [BZ #14327]
32326         * include/stdlib.h (__mktemp): Add declaration.
32327         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32328         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32330 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32332         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32333         definitions.
32334         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32335         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32336         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32337         definitions here.
32338         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32339         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32340         definitions.
32341         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32342         and ONE.
32343         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32344         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32345         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32346         definitions.
32347         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32348         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32349         definitions.
32350         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32352         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32354 2013-01-15  David S. Miller  <davem@davemloft.net>
32356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32357         trunc{,f} to libm-sysdep_routes.
32358         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32360         file.
32361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32363         file.
32364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32365         file.
32366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32368         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32369         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32370         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32371         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32372         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32373         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32376         nearbyint{,f} to libm-sysdep_routes.
32377         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32379         New file.
32380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32381         file.
32382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32383         New file.
32384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32385         file.
32386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32388         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32389         file.
32390         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32391         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32392         file.
32393         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32394         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32395         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32397         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32398         libc_feholdexcept and libc_fesetenv.
32400 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32402         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32404 2013-01-14  David S. Miller  <davem@davemloft.net>
32406         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32407         (SPARC_ASM_VIS2_IFUNC): Likewise.
32408         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32410         use of 'siam' instruction.
32411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32412         Likewise.
32413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32414         Likewise.
32415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32416         Likewise.
32417         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32419         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32422         file.
32423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32424         file.
32425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32426         file.
32427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32428         file.
32429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32431         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32434         new VIS2 routines.
32435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32438         Likewise.
32439         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32441         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32444         routines to libm-sysdep_routines.
32445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32448         fdim/fdimf to libm-sysdep_routines.
32449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32450         file.
32451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32453         file.
32454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32457         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32458         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32459         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32460         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32462 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32464         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32465         to optimize copies.
32467         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32472         local variable MPTWO.
32473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32474         Likewise.
32476 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32478         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32479         GLOB_NOESCAPE.
32481 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32483         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32485 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32487         * manual/pattern.texi (glob_t): Document gl_flags.
32488         (glob64_t): Likewise.
32490 2013-01-11  David S. Miller  <davem@davemloft.net>
32492         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32493         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32494         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32495         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32496         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32497         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32498         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32499         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32500         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32501         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32502         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32503         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32504         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32506         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32507         sparc V9 rather than using V8 code.
32508         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32509         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32511         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32512         Move to...
32513         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32514         Here.
32516 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32518         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32519         not in the main loop.
32520         * configure: Regenerated.
32522 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32524         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32525         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32526         to just #else.
32527         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32528         [!__GLIBC_HAVE_LONG_LONG] case.
32529         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32530         condition to just #else.
32531         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32532         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32533         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32534         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32535         unconditional.
32536         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32537         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32538         #elif condition to just #else.
32539         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32540         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32541         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32542         #elif condition to just #else.
32544 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32546         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32547         (EF_MIPS_ARCH_64): Fix value.
32548         (EF_MIPS_ARCH_32R2): New.
32549         (EF_MIPS_ARCH_64R2): New.
32551 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32553         * Makeconfig (+link-pie-before-libc): New.
32554         (+link-pie-after-libc): Likewise.
32555         (+link-pie-tests): Likewise.
32556         (+link-pie): Rewritten.
32557         (link-before-libc): Remove $(config-LDFLAGS).
32558         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32559         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32560         (config-LDFLAGS): Renamed to ...
32561         (rtld-LDFLAGS): This.
32562         (rtld-tests-LDFLAGS): New macro.
32563         (link-libc-rpath-link): Likewise.
32564         (link-libc-tests-rpath-link): Likewise.
32565         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32566         (link-libc): Prepand $(link-libc-rpath-link).
32567         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32568         (test-program-prefix): New macro.
32569         (test-via-rtld-prefix): Likewise.
32570         (test-program-cmd): Likewise.
32571         (host-test-program-cmd): Likewise.
32572         * Makefile ($(common-objpfx)testrun.sh): Replace
32573         $(run-program-prefix) with $(test-program-prefix).
32574         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32575         $(rtld-LDFLAGS).
32576         ($(common-objpfx)shlib.lds): Likewise.
32577         (build-module-helper): Likewise.
32578         ($(common-objpfx)format.lds): Likewise.
32579         * Rules (binaries-pie-tests): New.
32580         (binaries-pie-notests): Likewise.
32581         (binaries-pie): Rewritten.
32582         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32583         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32584         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32585         (make-test-out): Replace $(host-built-program-cmd) with
32586         $(host-test-program-cmd).
32587         * config.make.in (build-hardcoded-path-in-tests): New variable.
32588         * configure.in (--enable-hardcoded-path-in-tests): New configure
32589         option.
32590         (hardcoded_path_in_tests): New AC_SUBST.
32591         * configure: Regenerated.
32592         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32593         $(built-program-cmd) with $(test-program-cmd).
32594         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32595         (test_program_cmd): This.
32596         * elf/Makefile ($(objpfx)order.out): Run test with
32597         $(test-program-prefix).
32598         ($(objpfx)order2.out): Likewise.
32599         ($(objpfx)tst-initorder.out): Likewise.
32600         ($(objpfx)tst-initorder2.out): Likewise.
32601         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32602         $(test-program-cmd).
32603         ($(objpfx)tst-array1-static.out): Likewise.
32604         ($(objpfx)tst-array2.out): Likewise.
32605         ($(objpfx)tst-array3.out): Likewise.
32606         ($(objpfx)tst-array4.out): Likewise.
32607         ($(objpfx)tst-array5.out): Likewise.
32608         ($(objpfx)tst-array5-static.out): Likewise.
32609         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32610         $(test-program-cmd).
32611         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32612         $(run-program-prefix) with $(test-program-prefix).
32613         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32614         (test_program_prefix): This.
32615         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32616         $(run-program-prefix) with $(test-program-prefix).
32617         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32618         (test_program_prefix): This.
32619         * iconvdata/tst-tables.sh: Likewise.
32620         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32621         $(run-program-prefix) with $(test-program-prefix).
32622         ($(objpfx)tst-translit.out): Likewise.
32623         ($(objpfx)tst-gettext2.out): Likewise.
32624         ($(objpfx)tst-gettext4.out): Likewise.
32625         ($(objpfx)tst-gettext6.out): Likewise.
32626         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32627         (test_program_prefix): This.
32628         * intl/tst-gettext2.sh: Likewise.
32629         * intl/tst-gettext4.sh  Likewise.
32630         * intl/tst-gettext6.sh: Likewise.
32631         * intl/tst-translit.sh: Likewise.
32632         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32633         with $(test-program-cmd).
32634         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32635         $(run-program-prefix) with $(test-program-prefix).
32636         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32637         (test_program_prefix): This.
32638         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32639         $(run-program-prefix) with $(test-program-prefix).
32640         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32641         (test_program_prefix): This.
32642         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32643         * posix/Makefile ($(objpfx)globtest.out): Replace
32644         $(run-via-rtld-prefix) and $(test-wrapper) with
32645         $(test-program-prefix) and $(test-via-rtld-prefix).
32646         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32647         $(test-program-prefix).
32648         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32649         $(host-test-program-cmd).
32650         (tst-spawn-ARGS): Likewise.
32651         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32652         $(test-program-prefix).
32653         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32654         (test_via_rtld_prefix): This.
32655         (test_wrapper): Renamed to ...
32656         (test_program_prefix): This.
32657         (run_program_prefix): Replaced by test_program_prefix.
32658         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32659         (test_program_prefix): This.
32660         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32661         with $(host-test-program-cmd).
32662         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32663         $(run-program-prefix) with $(test-program-prefix).
32664         ($(objpfx)tst-printf.out): Likewise.
32665         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32666         $(test-program-cmd).
32667         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32668         (test_program_prefix): This.
32669         * stdio-common/tst-unbputc.sh: Likewise.
32670         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32671         $(run-program-prefix) with $(test-program-prefix).
32672         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32673         (test_program_prefix): This.
32674         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32675         $(built-program-cmd) with $(test-program-cmd).
32677 2013-01-11  Andreas Jaeger  <aj@suse.de>
32679         [BZ #15003]
32680         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32681         value. Sync with Linux 3.7.
32683 2013-01-10  David S. Miller  <davem@davemloft.net>
32685         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32686         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32687         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32689 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32691         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32692         never set.
32693         * configure: Regenerated.
32695 2013-01-10  David S. Miller  <davem@davemloft.net>
32697         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32698         sparc V9 rather than using V8 code.
32699         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32700         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32702 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32704         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32705         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32706         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32707         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32708         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32709         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32710         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32711         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32712         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32713         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32714         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32715         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32716         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32717         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32718         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32719         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32720         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32721         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32722         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32723         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32724         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32725         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32726         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32727         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32728         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32729         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32730         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32732 2013-01-10  David S. Miller  <davem@davemloft.net>
32734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32736 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32738         * posix/Makefile (tests-static): New variable.
32739         (tests): Add $(tests-static).
32740         (tst-exec-static-ARGS): New variable.
32741         (tst-spawn-static-ARGS): Likewise.
32742         * posix/tst-exec-static.c: New file.
32743         * posix/tst-spawn-static.c: Likewise.
32744         * posix/tst-exec.c: Support run directly.
32745         * posix/tst-spawn.c: Likewise.
32747 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32749         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32750         long.
32751         * math/bits/mathcalls.h (llrint): Likewise.
32752         (llround): Likewise.
32753         * stdlib/stdlib.h (struct drand48_data): Likewise.
32754         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32755         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32756         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32757         Likewise.
32758         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32759         Likewise.
32760         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32761         (elf_greg_t): Likewise.
32762         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32763         (__jmp_buf): Likewise.
32764         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32765         definitions.
32766         (llrint): Likewise, for all definitions.
32767         (llrintl): Likewise.
32769         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32770         Remove [__GNUC__] condition.
32771         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32772         condition to just [__USE_ISOC99].
32773         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32775 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32777         [BZ #14200]
32778         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32779         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32780         defined.
32781         (_POSIX_V6_ILP32_OFF32): Likewise.
32782         (_XBS5_ILP32_OFF32): Likewise.
32783         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32784         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32786 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32788         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32790         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32791         doubles __mpexp_twomm1.  Adjust usage.
32792         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32793         Remove.
32795 2013-01-10  Andreas Schwab  <schwab@suse.de>
32797         [BZ #14964]
32798         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32799         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32801 2013-01-09  David S. Miller  <davem@davemloft.net>
32803         [BZ #15003]
32804         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32805         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32806         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32807         (TCP_FASTOPEN): Define.
32808         (tcp_repair_opt): New structure.
32809         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32810         enum values.
32811         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32812         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32813         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32814         (tcp_cookie_transactions): New structure.
32816 2013-01-09  Anton Blanchard  <anton@samba.org>
32818         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32819         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32820         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32821         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32823 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32825         * include/features.h (__USE_ANSI): Remove.
32827 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32829         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32831         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32833 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32835         * sysdeps/s390/fpu/libm-test-ulps: Update.
32837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32839         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32840         (__acr): Likewise.
32841         (__cpy): Likewise.
32842         (norm): Likewise.
32843         (denorm): Likewise.
32844         (__mp_dbl): Likewise.
32845         (__dbl_mp): Likewise.
32846         (add_magnitudes): Likewise.
32847         (sub_magnitudes): Likewise.
32848         (__add): Likewise.
32849         (__sub): Likewise.
32850         (__mul): Likewise.
32851         (__inv): Likewise.
32852         (__dvd): Likewise.
32853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32854         (__acr): Likewise.
32855         (__cpy): Likewise.
32856         (norm): Likewise.
32857         (denorm): Likewise.
32858         (__mp_dbl): Likewise.
32859         (__dbl_mp): Likewise.
32860         (add_magnitudes): Likewise.
32861         (sub_magnitudes): Likewise.
32862         (__add): Likewise.
32863         (__sub): Likewise.
32864         (__mul): Likewise.
32865         (__inv): Likewise.
32866         (__dvd): Likewise.
32867         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32868         (__acr): Likewise.
32869         (__cpy): Likewise.
32870         (norm): Likewise.
32871         (denorm): Likewise.
32872         (__mp_dbl): Likewise.
32873         (__dbl_mp): Likewise.
32874         (add_magnitudes): Likewise.
32875         (sub_magnitudes): Likewise.
32876         (__add): Likewise.
32877         (__sub): Likewise.
32878         (__mul): Likewise.
32879         (__inv): Likewise.
32880         (__dvd): Likewise.
32882 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32884         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32885         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32886         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32887         2 && __USE_EXTERN_INLINES]: Likewise.
32889 2013-01-08  Andreas Jaeger  <aj@suse.de>
32891         [BZ# 14985]
32892         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32893         Remove.
32894         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32895         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32897 2013-01-07  Anton Blanchard  <anton@samba.org>
32899         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32900         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32901         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32902         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32903         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32904         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32905         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32906         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32908         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32909         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32910         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32911         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32912         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32913         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32914         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32915         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32916         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32917         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32918         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32919         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32920         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32921         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32922         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32923         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32924         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32925         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32926         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32927         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32928         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32929         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32930         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32931         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32932         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32933         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32934         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32935         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32937         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32938         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32939         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32940         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32941         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32943 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32945         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32946         (__MALLOC_PMT): Likewise.
32947         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32948         [__GNUC__], only on [_LIBC].
32949         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32950         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32951         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32952         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32953         forward declaration.
32954         (realloc_hook_ini): Likewise.
32955         (memalign_hook_ini): Likewise.
32956         (__libc_memalign): Do not use __MALLOC_PMT in variable
32957         declaration.
32958         (__libc_valloc): Likewise.
32959         (__libc_pvalloc): Likewise.
32960         (__libc_calloc): Likewise.
32961         (__posix_memalign): Likewise.
32963         [BZ #14996]
32964         * math/s_casinh.c: Include <float.h>.
32965         (__casinh): Do not do computation with squaring and square root
32966         for large arguments.
32967         * math/s_casinhf.c: Include <float.h>.
32968         (__casinhf): Do not do computation with squaring and square root
32969         for large arguments.
32970         * math/s_casinhl.c: Include <float.h>.
32971         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32972         (__casinhl): Do not do computation with squaring and square root
32973         for large arguments.
32974         * math/libm-test.inc (casin_test): Add more tests.
32975         (casinh_test): Likewise.
32976         * sysdeps/i386/fpu/libm-test-ulps: Update.
32977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32979 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32981         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32982         (__x86_64_raw_data_cache_size): Likewise.
32983         (__x86_64_data_cache_size_half): Likewise.
32984         (__x86_64_raw_data_cache_size_half): Likewise.
32985         (__x86_64_shared_cache_size): Likewise.
32986         (__x86_64_raw_shared_cache_size): Likewise.
32987         (__x86_64_shared_cache_size_half): Likewise.
32988         (__x86_64_raw_shared_cache_size_half): Likewise.
32989         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32990         to ...
32991         (__x86_data_cache_size): This.
32992         (__x86_64_raw_data_cache_size): Renamed to ...
32993         (__x86_raw_data_cache_size): This.
32994         (__x86_64_data_cache_size_half): Renamed to ...
32995         (__x86_data_cache_size_half): This.
32996         (__x86_64_raw_data_cache_size_half): Renamed to ...
32997         (__x86_raw_data_cache_size_half): This.
32998         (__x86_64_shared_cache_size): Renamed to ...
32999         (__x86_shared_cache_size): This.
33000         (__x86_64_raw_shared_cache_size): Renamed to ...
33001         (__x86_raw_shared_cache_size): This.
33002         (__x86_64_shared_cache_size_half): Renamed to ...
33003         (__x86_shared_cache_size_half): This.
33004         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33005         (__x86_raw_shared_cache_size_half): This.
33006         * sysdeps/x86_64/memcpy.S: Updated.
33007         * sysdeps/x86_64/memset.S: Likewise.
33008         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33009         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33010         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33012 2013-01-04  David S. Miller  <davem@davemloft.net>
33014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33016 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33018         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33019         1 to avoid redefinition warning.
33020         (__USE_GNU): Don't define.
33021         (init_signaling_nan): Protoize.
33023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33025 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33027         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33029         (__cpymn): Likewise.
33030         (norm): Remove commented code.
33031         (denorm): Likewise.
33032         (__mp_dbl): Likewise.
33033         (__inv): Likewise.
33034         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33035         (__cpymn): Likewise.
33036         (norm): Remove commented code.
33037         (denorm): Likewise.
33038         (__mp_dbl): Likewise.
33039         (__inv): Likewise.
33041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33042         mp_no value for 1.0 and 2.0.
33043         (norm): Use RADIXI instead of radixi.d.
33044         (denorm): Likewise.
33045         (__mul): Use 0.0 instead of zero.d.
33046         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33047         mp_no value for 1.0 and 2.0.
33048         (norm): Use RADIXI instead of radixi.d.
33049         (denorm): Likewise.
33050         (__mul): Use 0.0 instead of zero.d.
33052 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33054         [BZ #14994]
33055         * math/s_casinh.c (__casinh): Reduce finite argument to first
33056         quadrant then set signs of results at the end.
33057         * math/s_casinhf.c (__casinhf): Likewise.
33058         * math/s_casinhl.c (__casinhl): Likewise.
33059         * math/libm-test.inc (casin_test): Add more tests.
33060         (casinh_test): Likewise.
33061         * sysdeps/i386/fpu/libm-test-ulps: Update.
33062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33064 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33066         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33068         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33070         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33071         declarations.
33072         (denorm): Likewise.
33073         (__mp_dbl): Likewise.
33074         (__inv): Likewise.
33076         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33077         and adjust the header comment.
33079         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33080         variable name from declaration.
33082 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33085         Initialize COMMON_CPUID_INDEX_7 element.
33086         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33087         (CPUID_RTM): Likewise.
33088         (HAS_RTM): Likewise.
33089         (COMMON_CPUID_INDEX_7): New enum.
33091 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33093         [BZ #14981]
33094         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33095         size is zero, record memory as freed.
33097 2013-01-03  Andreas Jaeger  <aj@suse.de>
33099         * po/ia.po: Add new Interlingua translation.
33101 2012-01-03  Allan McRae  <allan@archlinux.org>
33103         * locale/programs/localedef.c: Fix description of '--posix' flag.
33105 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33107         * NEWS: Update dates in second copyright notice.
33108         * README: Update copyright dates in example.
33109         * manual/libc.texinfo: Update copyright dates.
33110         * scripts/test-installation.pl: Update copyright date in --version
33111         output.
33113         * hurd/ctty-input.c: Fix copyright notice formatting.
33114         * hurd/ctty-output.c: Likewise.
33115         * hurd/dtable.c: Likewise.
33116         * hurd/hurd-raise.c: Likewise.
33117         * hurd/hurdprio.c: Likewise.
33118         * hurd/msgportdemux.c: Likewise.
33119         * misc/sys/file.h: Likewise.
33120         * misc/sys/ioctl.h: Likewise.
33121         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33122         * sysdeps/mach/hurd/chdir.c: Likewise.
33123         * sysdeps/mach/hurd/fchdir.c: Likewise.
33124         * sysdeps/mach/hurd/rename.c: Likewise.
33125         * sysdeps/mach/hurd/rmdir.c: Likewise.
33126         * sysdeps/mach/hurd/seekdir.c: Likewise.
33127         * sysdeps/mach/hurd/setsid.c: Likewise.
33128         * sysdeps/posix/wait3.c: Likewise.
33130         * All files with FSF copyright notices: Update copyright dates
33131         using scripts/update-copyrights.
33132         * intl/plural.c: Regenerated.
33133         * locale/programs/charmap-kw.h: Likewise.
33134         * locale/programs/locfile-kw.h: Likewise.
33136 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33138         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33139         four values.
33141         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33142         calculation loop and add branch prediction.
33144         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33145         check access beyond bounds of m1np.
33147         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33148         MPTWO.
33149         (__inv): Remove local variable MPTWO to use the global
33150         constant.
33151         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33153         variable MPTWO.
33154         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33155         MP3HALFS static const.
33157 2013-01-01  David S. Miller  <davem@davemloft.net>
33159         * po/ca.po: Update from translation team.
33161 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33163         * scripts/update-copyrights: New file.
33164         * Makeconfig: Reformat copyright notice.
33165         * ctype/ctype.h: Likewise.
33166         * debug/swprintf_chk.c: Likewise.
33167         * elf/dl-cache.c: Likewise.
33168         * elf/dl-debug.c: Likewise.
33169         * elf/dl-object.c: Likewise.
33170         * grp/initgroups.c: Likewise.
33171         * hurd/Makefile: Likewise.
33172         * hurd/hurd/signal.h: Likewise.
33173         * hurd/hurdfault.c: Likewise.
33174         * hurd/hurdioctl.c: Likewise.
33175         * hurd/hurdlookup.c: Likewise.
33176         * hurd/intr-msg.c: Likewise.
33177         * iconv/gconv_open.c: Likewise.
33178         * libio/swprintf.c: Likewise.
33179         * locale/lc-ctype.c: Likewise.
33180         * locale/nl_langinfo.c: Likewise.
33181         * mach/Machrules: Likewise.
33182         * mach/Makefile: Likewise.
33183         * malloc/obstack.h: Likewise.
33184         * manual/Makefile: Likewise.
33185         * manual/tsort.awk: Likewise.
33186         * misc/bits/stab.def: Likewise.
33187         * nis/nis_print_group_entry.c: Likewise.
33188         * nis/nis_table.c: Likewise.
33189         * nis/nss_compat/compat-pwd.c: Likewise.
33190         * nis/nss_compat/compat-spwd.c: Likewise.
33191         * po/Makefile: Likewise.
33192         * posix/fnmatch.c: Likewise.
33193         * posix/regex.h: Likewise.
33194         * resolv/Makefile: Likewise.
33195         * resolv/nss_dns/dns-network.c: Likewise.
33196         * resolv/res_hconf.c: Likewise.
33197         * scripts/gen-sorted.awk: Likewise.
33198         * soft-fp/soft-fp.h: Likewise.
33199         * stdio-common/printf.h: Likewise.
33200         * stdlib/monetary.h: Likewise.
33201         * stdlib/random.c: Likewise.
33202         * stdlib/random_r.c: Likewise.
33203         * sysdeps/generic/Makefile: Likewise.
33204         * sysdeps/gnu/Makefile: Likewise.
33205         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33206         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33207         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33208         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33210         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33211         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33212         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33213         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33214         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33215         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33216         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33217         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33218         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33219         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33220         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33221         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33222         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33223         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33225         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33226         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33227         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33228         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33229         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33230         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33231         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33232         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33233         * sysdeps/mach/hurd/errnos.awk: Likewise.
33234         * sysdeps/mach/hurd/fork.c: Likewise.
33235         * sysdeps/mach/hurd/getcwd.c: Likewise.
33236         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33237         * sysdeps/mach/hurd/mmap.c: Likewise.
33238         * sysdeps/mach/hurd/utimes.c: Likewise.
33239         * sysdeps/mach/hurd/xmknod.c: Likewise.
33240         * sysdeps/posix/profil.c: Likewise.
33241         * sysdeps/posix/readdir_r.c: Likewise.
33242         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33243         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33244         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33245         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33247         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33248         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33249         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33250         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33251         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33252         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33253         * sysdeps/pthread/lio_listio.c: Likewise.
33254         * sysdeps/sparc/dl-procinfo.h: Likewise.
33255         * sysdeps/unix/i386/sysdep.S: Likewise.
33256         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33257         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33258         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33259         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33261         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33262         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33263         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33264         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33265         * sysdeps/wordsize-32/divdi3.c: Likewise.
33266         * time/sys/time.h: Likewise.
33267         * wcsmbs/Makefile: Likewise.
33269 2013-01-01  David S. Miller  <davem@davemloft.net>
33271         * po/fr.po: Update from translation team.
33273         * catgets/gencat.c: Update copyright year.
33274         * csu/version.c: Likewise.
33275         * debug/catchsegv.sh: Likewise.
33276         * debug/pcprofiledump.c: Likewise.
33277         * debug/xtrace.sh: Likewise.
33278         * elf/ldconfig.c: Likewise.
33279         * elf/ldd.bash.in: Likewise.
33280         * elf/pldd.c: Likewise.
33281         * elf/sotruss.ksh: Likewise.
33282         * elf/sprof.c: Likewise.
33283         * iconv/iconv_prog.c: Likewise.
33284         * iconv/iconvconfig.c: Likewise.
33285         * locale/programs/locale.c: Likewise.
33286         * locale/programs/localedef.c: Likewise.
33287         * login/programs/pt_chown.c: Likewise.
33288         * malloc/memusage.sh: Likewise.
33289         * malloc/memusagestat.c: Likewise.
33290         * malloc/mtrace.pl: Likewise.
33291         * nscd/nscd.c: Likewise.
33292         * nss/getent.c: Likewise.
33293         * nss/makedb.c: Likewise.
33294         * posix/getconf.c: Likewise.
33296 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33298         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33299         numbers.
33301 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33303         * math/bits/mathcalls.h (modf): Use __nonnull.
33305 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33307         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33308         (split): Use macro CN instead of the bare value.
33309         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33310         could be used.
33311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33312         instead of the bare value.
33313         (power1): Likewise.
33315 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33317         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33318         __ATAN_TWOM.
33319         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33321         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33322         their values.
33323         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33324         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33325         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33326         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33328 2012-12-28  Andreas Jaeger  <aj@suse.de>
33330         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33331         values are from Linux 3.7.
33333         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33334         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33336 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33338         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33339         TRUE case.
33341         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33342         (norm): Likewise.
33343         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33344         variables with preprocessor constants.
33345         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33346         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33347         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33349 2012-12-27  Bruno Haible  <bruno@clisp.org>
33351         [BZ #14317]
33352         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33353         only if needed.
33355 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33357         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33358         and use variable directly.
33359         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33361         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33362         MPONE.
33363         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33364         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33365         variable MPONE.
33366         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33367         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33368         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33369         include directive.  Remove local variable MPONE.
33370         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33371         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33372         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33374 2012-12-25  David S. Miller  <davem@davemloft.net>
33376         * version.h (RELEASE): Set to "development".
33377         (VERSION): Set to "2.17.90".
33378         * NEWS: Add 2.18 section.
33380 2012-12-21  David S. Miller  <davem@davemloft.net>
33382         * po/hr.po: Update from translation team.
33384 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33386         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33388 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33390         * NEWS:  Mention new memcpy for MIPS.
33392 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33394         * manual/contrib.texi (Contributors): Spelling correction.
33396 2012-12-15  David S. Miller  <davem@davemloft.net>
33398         * po/ru.po: Update from translation team.
33400 2012-12-13  David S. Miller  <davem@davemloft.net>
33402         * NEWS: Mention IFUNC testsuite enhancements.
33404         * po/pl.po: Update from translation team.
33405         * po/bg.po: Likewise.
33407         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33408         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33410 2012-12-11  David S. Miller  <davem@davemloft.net>
33412         * po/sv.po: Update from translation team.
33414         * po/vi.po: Update from translation team.
33416         * po/cs.po: Update from translation team.
33418         * po/de.po: Update from translation team.
33419         * po/eo.po: Likewise.
33420         * po/nl.po: Likewise.
33422 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33424         [BZ #14246]
33425         * manual/argp.texi (Argp Helper Functions): Move node to follow
33426         Argp Parsing State.
33428         [BZ #14872]
33429         * manual/conf.texi (Limits on File System Capacity): Mention if
33430         terminating null is included in the max size.
33432 2012-12-10  Andreas Jaeger  <aj@suse.de>
33434         * po/cs.po: Update from translation team.
33436 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33438         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33439         void pointer and cast to uintptr_t.
33440         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33441         path.
33442         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33443         * sysdeps/s390/s390-64/memset.S: Likewise.
33445 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33447         [BZ #14833]
33448         * menual/message.texi (Message Translation): Fix typos.
33449         (Helper programs for gettext): Likewise.
33451 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33453         [BZ #14898]
33454         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33455         Change to -1.
33457 2012-12-07  David S. Miller  <davem@davemloft.net>
33459         * po/libc.pot: Update.
33461 2012-12-07  Richard Henderson  <rth@redhat.com>
33463         [BZ #10114]
33464         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33465         normal/normal case to before the switch.
33466         (_FP_DIV): Likewise.
33468 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33469             Mike Frysinger  <vapier@gentoo.org>
33471         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33472         check for __NR_fadvise64_64.
33474 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33476         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33477         0, not just to plain "0" as a statement.
33478         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33479         with cw.
33481 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33483         * NEWS: Use sourceware.org in Bugzilla URL.
33485 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33488         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33490         * stdio-common/tst-put-error.c (do_test): Add newline to the
33491         padded test to ensure flush.
33493 2012-12-05  Jeff Law  <law@redhat.com>
33495         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33497 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33499         * README: Don't refer to ports add-on as distributed separately.
33500         Mention AArch64 in list of systems supported in the ports add-on.
33502         * LICENSES: Add more non-FSF copyright and license notices.
33504         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33505         ((unused)).
33507         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33509         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33510         10000 as width of padded output.
33512 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33514         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33516         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33517         variable LX with __attribute__ ((unused)).
33518         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33519         Likewise.
33520         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33521         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33522         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33523         with __attribute__ ((unused)).
33525 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33527         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33529 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33531         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33532         (CFLAGS-nldbl-acos.c): New variable.
33533         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33534         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33535         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33536         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33537         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33538         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33539         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33540         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33541         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33542         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33543         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33544         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33545         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33546         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33547         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33548         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33549         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33550         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33551         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33552         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33553         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33554         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33555         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33556         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33557         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33558         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33559         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33560         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33561         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33562         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33563         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33564         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33565         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33566         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33567         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33568         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33569         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33570         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33571         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33572         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33573         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33574         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33575         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33576         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33577         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33578         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33579         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33580         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33581         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33582         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33583         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33584         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33585         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33586         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33587         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33588         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33589         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33590         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33591         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33592         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33593         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33594         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33595         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33596         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33597         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33598         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33599         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33600         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33601         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33602         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33603         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33604         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33605         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33606         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33607         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33608         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33609         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33610         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33611         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33612         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33613         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33614         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33615         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33616         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33617         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33618         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33619         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33620         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33621         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33622         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33623         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33624         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33625         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33626         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33627         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33628         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33629         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33632         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33634         [BZ #14914]
33635         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33636         whole low double instead of just low 47 bits when splitting values
33637         into two parts.
33639 2012-12-03  Allan McRae  <allan@archlinux.org>
33641         * manual/stdio.texi (Predefined Printf Handlers): Remove
33642         @hsep and @vsep usage.
33644 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33646         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33647         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33649 2012-12-03  Jeff Law  <law@redhat.com>
33651         * time/sys/time.h (settimeofday): Do not mark TV argument
33652         as __nonnull.
33654 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33656         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33657         when currently writing and seek to current position when not.
33658         * libio/Makefile (tests): Remove bug-fclose1.
33659         * libio/bug-fclose1.c: Delete.
33661 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33663         * manual/arith.texi (feenableexcept): Fix typo.
33664         (fedisableexcept): Likewise.
33666 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33668         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33669         second, differently-typed declaration, rather than a cast.
33671 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33673         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33674         * include/rpc/svc.h: ... here.
33676 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33678         [BZ #13013]
33679         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33680         depending n and resplen2 to catch cases where answer
33681         equals answerp2.
33683 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33685         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33686         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33688 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33690         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33692 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33694         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33696 2012-11-28  Jeff Law  <law@redhat.com>
33698         [BZ #13761]
33699         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33700         dataset_temporary.  Track alloca usage into alloca_used.
33701         If dataset is large allocate and release it via malloc/free.
33703 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33705         [BZ #14197]
33706         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33708 2012-11-28  David S. Miller  <davem@davemloft.net>
33710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33712 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33714         [BZ #14803]
33715         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33716         of pi/2 rounded to nearest to 64 bits.
33717         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33718         nearest to 64 bits.
33719         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33720         bits.
33722 2012-11-28  Jeff Law <law@redhat.com>
33723             Martin Osvald <mosvald@redhat.com>
33725         [BZ #14889]
33726         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33727         * sunrpc/svc.c: Include time.h.
33728         (__svc_accept_failed): New function.
33729         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33730         any reason other than EINTR, call __svc_accept_failed.
33731         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33732         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33734 2012-11-28  Andreas Schwab  <schwab@suse.de>
33736         * scripts/abilist.awk: Also handle indirect functions in .opd
33737         section.
33739 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33741         [BZ #13881]
33742         * sysdeps/x86/fpu/powl_helper.c: New file.
33743         * sysdeps/x86/fpu/Makefile: Likewise.
33744         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33745         (p3): New object.
33746         (__ieee754_powl): Use __powl_helper for finite arguments except
33747         integer exponents below 8.
33748         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33749         (p3): New object.
33750         (__ieee754_powl): Use __powl_helper for finite arguments except
33751         integer exponents below 8.
33752         * math/libm-test.inc (pow_test): Add more tests and enable some
33753         previously disabled tests.
33754         * sysdeps/i386/fpu/libm-test-ulps: Update.
33755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33757 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33758             Carlos O'Donell  <carlos_odonell@mentor.com>
33760         * nss/makedb.c (is_prime): Assert that input is odd and greater
33761         than 4.  Note that fact in a comment too.
33762         (next_prime): Add 4 to input.
33764 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33766         [BZ #11741]
33767         * libio/Makefile (tests): Add test case tst-fwrite-error.
33768         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33769         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33770         * libio/tst-fwrite-error.c: New test case.
33772 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33774         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33775         before casting to void *.
33776         * include/libc-internal.h (__pointer_type): New macro.
33777         (__integer_if_pointer_type_sub): Likewise.
33778         (__integer_if_pointer_type): Likewise.
33779         (cast_to_integer): Likewise.
33780         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33781         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33782         before casting to atomic64_t.
33783         (atomic_exchange_acq): Likewise.
33784         (__arch_exchange_and_add_body): Likewise.
33785         (__arch_add_body): Likewise.
33786         (atomic_add_negative): Likewise.
33787         (atomic_add_zero): Likewise.
33789 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33791         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33792         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33793         (add_fdes): Likewise.
33794         (linear_search_fdes): Likewise.
33795         (binary_search_unencoded_fdes): Likewise.
33797 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33799         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33801 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33803         * configure.in: Autodetect C++ header directories.
33804         * configure: Regenerated.
33806 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33808         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33810 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33814 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33816         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33817         LDBL_MANT_DIG == 106]: Disable some tests.
33818         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33819         Likewise.
33820         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33821         Likewise.
33823         [BZ #14871]
33824         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33825         input for small inputs.  Return +/- pi/2 for large inputs.
33826         * math/libm-test.inc (atan_test): Add more tests.
33828         * sysdeps/generic/unwind-dw2-fde-glibc.c
33829         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33830         __attribute__ ((unused)).
33832         [BZ #14645]
33833         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33834         x * y if x and y are nonzero and z is zero.
33836         [BZ #14811]
33837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33838         nonzero exponents with absolute value below 0x1p-117 to +/-
33839         0x1p-117.
33841         [BZ #14869]
33842         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33843         up arguments below 2**-450, not just those below 2**-500.
33844         * math/libm-test.inc (hypot_test): Add another test.
33846         [BZ #14868]
33847         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33848         Return a+b for ratio over 2**120, not 2**60.
33849         * math/libm-test.inc (hypot_test): Add another test.
33851         * math/libm-test.inc (clog_test): Use
33852         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33853         (clog10_test): Likewise.
33855         [BZ #6778]
33856         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33858 2012-11-22  Andreas Schwab  <schwab@suse.de>
33860         * sysdeps/i386/fpu/libm-test-ulps: Update.
33862 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33864         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33865         printf output with newline.
33867 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33869         [BZ #14865]
33870         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33871         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33872         -z nodlopen, -z initfirst and -z execstack support.
33873         * configure: Regenerated.
33875         * elf/elf.h (DF_1_NODIRECT): New macro.
33876         (DF_1_IGNMULDEF): Likewise.
33877         (DF_1_NOKSYMS): Likewise.
33878         (DF_1_NOHDR): Likewise.
33879         (DF_1_EDITED): Likewise.
33880         (DF_1_NORELOC): Likewise.
33881         (DF_1_SYMINTPOSE): Likewise.
33882         (DF_1_GLOBAUDIT): Likewise.
33883         (DF_1_SINGLETON): Likewise.
33884         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33885         DT_1_SUPPORTED_MASK bits.
33886         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33888 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33890         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33892 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33894         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33895         macro.
33897         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33898         (sendmmsg): Move declarations...
33899         * socket/sys/socket.h: ... here.
33900         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33901         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33902         include it from...
33903         * socket/recvmmsg.c: ... this new file.
33904         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33905         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33906         definition of __sendmmsg hidden.
33907         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33908         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33909         Move ENOSYS stub into and include it from...
33910         * socket/sendmmsg.c: ... this new file.
33911         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33912         (sysdep_routines): Move recvmmsg and sendmmsg...
33913         * socket/Makefile (routines): ... here.
33914         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33915         (GLIBC_PRIVATE): Add __sendmmsg.
33916         * include/sys/socket.h (__sendmmsg): Add declarations.
33917         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33918         sendmmsg.
33920 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33922         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33923         variable I1 with __attribute__ ((unused)).
33924         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33926 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33928         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33929         DUMMY variables with __attribute__ ((unused)).
33931         * bits/byteswap.h: Include <bits/types.h>.
33932         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33934 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33936         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33937         string_t.  Do not manually set errno.
33938         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33939         length with __strnlen.  Make sure to both set errno and return it on
33940         failure.
33942 2012-11-19  David S. Miller  <davem@davemloft.net>
33944         With help from Joseph Myers.
33945         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33946         very large arguments properly.
33947         * math/libm-test.inc (atan_test): New tests.
33948         (atan2_test): New tests.
33949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33952 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33954         [BZ #14856]
33955         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33956         Define to 3.
33958         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33959         [POSIX] (EADDRNOTAVAIL): Likewise.
33960         [POSIX] (EAFNOSUPPORT): Likewise.
33961         [POSIX] (EALREADY): Likewise.
33962         [POSIX] (ECONNABORTED): Likewise.
33963         [POSIX] (ECONNREFUSED): Likewise.
33964         [POSIX] (ECONNRESET): Likewise.
33965         [POSIX] (EDESTADDRREQ): Likewise.
33966         [POSIX] (EDQUOT): Likewise.
33967         [POSIX] (EHOSTUNREACH): Likewise.
33968         [POSIX] (EIDRM): Likewise.
33969         [POSIX] (EISCONN): Likewise.
33970         [POSIX] (ELOOP): Likewise.
33971         [POSIX] (EMULTIHOP): Likewise.
33972         [POSIX] (ENETDOWN): Likewise.
33973         [POSIX] (ENETUNREACH): Likewise.
33974         [POSIX] (ENOBUFS): Likewise.
33975         [POSIX] (ENODATA): Likewise.
33976         [POSIX] (ENOLINK): Likewise.
33977         [POSIX] (ENOMSG): Likewise.
33978         [POSIX] (ENOPROTOOPT): Likewise.
33979         [POSIX] (ENOSR): Likewise.
33980         [POSIX] (ENOSTR): Likewise.
33981         [POSIX] (ENOTCONN): Likewise.
33982         [POSIX] (ENOTSOCK): Likewise.
33983         [POSIX] (EOPNOTSUPP): Likewise.
33984         [POSIX] (EOVERFLOW): Likewise.
33985         [POSIX] (EPROTO): Likewise.
33986         [POSIX] (EPROTONOSUPPORT): Likewise.
33987         [POSIX] (EPROTOTYPE): Likewise.
33988         [POSIX] (ESTALE): Likewise.
33989         [POSIX] (ETIME): Likewise.
33990         [POSIX] (ETXTBSY): Likewise.
33991         [POSIX] (EWOULDBLOCK): Likewise.
33992         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33993         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33994         [POSIX] (SEEK_CUR): Likewise.
33995         [POSIX] (SEEK_END): Likewise.
33996         [POSIX || UNIX98] (mode_t): Do not require.
33997         [POSIX] (off_t): Likewise.
33998         [POSIX] (pid_t): Likewise.
33999         [POSIX] (sys/stat.h): Do not allow header.
34000         [POSIX] (unistd.h): Likewise.
34001         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34002         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34003         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34004         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34005         require.
34006         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34007         sigevent): Specify elements.
34008         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34009         entry.
34010         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34011         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34013         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34014         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34015         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34016         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34017         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34018         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34019         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34020         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34021         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34022         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34023         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34024         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34025         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34026         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34027         Likewise.
34028         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34029         Likewise.
34030         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34031         Likewise.
34032         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34033         Likewise.
34034         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34035         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34037         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34038         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34039         Specify lower bound on value.
34040         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34041         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34042         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34043         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34044         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34045         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34046         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34047         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34048         value.
34049         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34050         as optional.
34051         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34052         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34053         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34054         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34055         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34056         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34057         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34058         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34059         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34060         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34061         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34062         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34063         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34064         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34065         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34066         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34067         entry.
34068         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34069         optional.
34070         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34071         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34072         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34073         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34074         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34075         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34076         Likewise.
34077         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34078         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34079         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34080         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34081         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34082         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34083         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34084         as optional.
34085         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34087         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34088         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34089         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34090         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34091         specify as optional.
34092         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34093         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34094         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34095         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34096         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34097         [XPG3] (NL_LANGMAX): Likewise.
34098         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34099         [POSIX || XPG3] (NL_NMAX): Likewise.
34100         [POSIX || XPG3] (NL_SETMAX): Likewise.
34101         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34102         [XPG3] (NZERO): Likewise.
34103         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34104         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34105         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34106         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34107         (REG_ERANGE): Expect.
34108         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34109         optional-constant.
34110         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34111         Use (void) in prototype.
34112         [POSIX] (*_t): Allow.
34113         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34114         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34115         (WRDE_BADVAL): Expect.
34117         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34118         expect.
34119         [XPG3 || XPG4] (O_RSYNC): Likewise.
34120         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34121         Likewise.
34122         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34123         [XPG3 || XPG4] (sigqueue): Likewise.
34124         [XPG3 || XPG4] (sigtimedwait): Likewise.
34125         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34126         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34127         [XPG3 || XPG4] (vsnprintf): Likewise.
34128         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34129         Likewise.
34130         [XPG3 || XPG4] (blksize_t): Likewise.
34131         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34132         Likewise.
34133         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34134         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34135         [XPG3 || XPG4] (struct itimerspec): Likewise.
34136         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34137         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34138         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34139         [XPG3 || XPG4] (clockid_t): Likewise.
34140         [XPG3 || XPG4] (timer_t): Likewise.
34141         [XPG3 || XPG4] (clock_getres): Likewise.
34142         [XPG3 || XPG4] (clock_gettime): Likewise.
34143         [XPG3 || XPG4] (clock_settime): Likewise.
34144         [XPG3 || XPG4] (nanosleep): Likewise.
34145         [XPG3 || XPG4] (timer_create): Likewise.
34146         [XPG3 || XPG4] (timer_delete): Likewise.
34147         [XPG3 || XPG4] (timer_gettime): Likewise.
34148         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34149         [XPG3 || XPG4] (timer_settime): Likewise.
34150         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34151         [XPG3 || XPG4] (getlogin_r): Likewise.
34152         [XPG3 || XPG4] (pread): Likewise.
34153         [XPG3 || XPG4] (pthread_atfork): Likewise.
34154         [XPG3 || XPG4] (pwrite): Likewise.
34156         [BZ #14835]
34157         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34158         <bits/siginfo.h>.
34160 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34162         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34163         finalizing MALLSTREAM.
34165         * sysdeps/mach/hurd/syncfs.c: New file.
34167 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34169         [BZ #14719]
34170         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34171         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34172         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34173         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34174         (_nss_dns_gethostbyname4_r): Likewise.
34175         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34176         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34178 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34180         [BZ #13763]
34181         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34183 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34185         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34186         * elf/cache.c (print_entry): Print ",AArch64" for
34187         FLAG_AARCH64_LIB64
34189         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34190         * elf/cache.c (print_entry): Print ",hard-float" for
34191         FLAG_ARM_LIBHF.
34193 2012-11-18  David S. Miller  <davem@davemloft.net>
34195         With help from Joseph Myers.
34196         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34197         cutoff to 2**-13.
34198         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34199         cutoff to 2**-25.
34200         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34201         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34202         small.
34203         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34204         * math/libm-test.inc (y0_test): New tests.
34205         (y1_test): New tests.
34206         * sysdeps/i386/fpu/libm-test-ulps: Update.
34207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34210 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34212         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34213         64-bit targets.
34214         * configure: Regenerated.
34216 2012-11-17  David S. Miller  <davem@davemloft.net>
34218         [BZ #14811]
34219         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34220         nonzero exponents with absolute value below 0x1p-128 to +/-
34221         0x1p-128.
34223 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34225         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34227         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34229         * posix/getconf-speclist.c: New file.
34230         * posix/posix-envs.def: Likewise.
34231         * posix/confstr.c (START_ENV_GROUP): New macro.
34232         (END_ENV_GROUP): Likewise.
34233         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34234         (KNOWN_PRESENT_ENV_STRING): Likewise.
34235         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34236         (UNKNOWN_ENVIRONMENT): Likewise.
34237         (confstr): Include posix-envs.def instead of handling
34238         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34239         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34240         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34241         (END_ENV_GROUP): Likewise.
34242         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34243         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34244         (UNKNOWN_ENVIRONMENT): Likewise.
34245         (__sysconf): Include posix-envs.def instead of handling associated
34246         cases directly here.
34247         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34248         preprocessing getconf-speclist.c rather than running getconf or
34249         generating empty file.
34251 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34253         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34255 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34257         [BZ #14672]
34258         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34260 2012-11-16  David S. Miller  <davem@davemloft.net>
34262         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34263         smaller than LDBL_EPSILON/2.0L, just return xm1.
34265 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34267         * elf/tst-array1.c (init): Set constructor priority to 1000.
34268         (fini): Set destructor priority to 1000.
34269         * elf/tst-array2dep.c: Likewise.
34271 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34273         [BZ #11741]
34274         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34275         (_IO_new_file_xsputn): Also return EOF if none of the input
34276         data was written when overflow failed.
34277         * libio/iopadn.c (_IO_padn): Likewise.
34278         * libio/iowpadn.c (_IO_wpadn): Likewise.
34279         * stdio-common/tst-put-error.c: Add copyright notice.
34280         (do_test): Add case for printing padded string.
34281         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34282         _IO_padn returned error.
34283         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34284         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34285         return EOF.
34287 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34289         * libio/libioP.h: Add comment note that the references to C++
34290         bits are now obsolete.
34292 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34294         * math/libm-test.inc (check_complex): Use asprintf.
34296 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34298         * debug/pcprofiledump.c (print_version): Update copyright year.
34299         * malloc/memusagestat.c (print_version): Likewise.
34301 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34303         [BZ #14831]
34304         * elf/Makefile (tests): Add tst-audit8.
34305         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34306         ($(objpfx)tst-audit8.out): New target.
34307         (tst-audit8-ENV): New variable.
34308         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34309         audit if l_reloc_result is NULL.
34310         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34311         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34312         * elf/tst-audit8.c: New file.
34314 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34316         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34317         * misc/Makefile (CFLAGS-select.c): Define.
34318         * posix/Makefile (CFLAGS-pause.c): Define.
34320 2012-11-13  David S. Miller  <davem@davemloft.net>
34322         * crypt/Makefile: Move test targets after toplevel Rules
34323         inclusion.  Grab any necessary sysdep routines when linking.
34324         * crypt/md5.c (md5_process_block): Remove define, we will always
34325         name it __md5_process_block.
34326         (md5_finish_ctx): Update md5_process_block call.
34327         (md5_stream): Likewise.
34328         (md5_process_bytes): Likewise.
34329         (md5_process_block): Rename to __md5_process_block and move to ...
34330         * crypt/md5-block.c: ... here.
34331         * crypt/sha256.c (sha256_process_block): Move to ...
34332         * crypt/sha256-block.c: ... here.
34333         * crypt/sha512.c (sha512_process_block): Move to ...
34334         * crypt/sha512-block.c: ... here.
34335         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34336         path.
34337         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34338         * sysdeps/sparc/sparc64/multiarch/Makefile
34339         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34340         crypt subdir.
34341         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34342         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34343         multiarch changes.
34344         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34345         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34346         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34347         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34348         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34349         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34350         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34351         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34352         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34353         file.
34354         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34355         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34356         file.
34357         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34359 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34361         * timezone/tzselect.ksh: Update from tzcode git revision
34362         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34363         * timezone/zdump.c: Likewise.
34364         * timezone/zic.c: Likewise.
34365         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34366         in TZVERSION setting, not $(PKGVERSION).
34367         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34368         REPORT_BUGS_TO settings.
34370         [BZ #14838]
34371         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34372         macro.
34374 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34376         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34377         detection to immediately after _FP_ROUND().
34378         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34379         bits are 0.
34381 2012-11-11  David S. Miller  <davem@davemloft.net>
34383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34384         inttypes.h
34385         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34386         __close rather than their public counterparts.
34388 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34390         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34391         file.
34392         [UNIX98] (sem_timedwait): Do not expect.
34393         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34394         [XPG4 || UNIX98] (sockatmark): Do not expect.
34395         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34396         (clock_getcpuclockid): Do not expect.
34397         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34398         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34399         Do not expect.
34400         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34401         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34402         [UNIX98] (vwscanf): Likewise.
34403         [UNIX98] (vswscanf): Likewise.
34405 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34407         * timezone/version.h: Remove file.
34408         * timezone/README: Do not refer to version.h.
34409         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34410         $(objpfx)version.h.
34411         ($(objpfx)zdump.o): Likewise.
34412         ($(objpfx)version.h): New target.
34414         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34415         2012i.
34416         * timezone/README: Don't mention modification to tzselect.ksh.
34417         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34418         work on unmodified tzselect.ksh.  Substitute version numbers in
34419         tzselect.ksh.
34421         * Makefile (format-me): Remove.
34422         (INSTALL): Adjust indentation.  Use commands directly instead of
34423         using $(format-me).
34425         * aclocal.m4 (ACX_PKGVERSION): New macro.
34426         (ACX_BUGURL): Likewise.
34427         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34428         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34429         (REPORT_BUGS_TO): Likewise.
34430         * configure: Regenerated.
34431         * config.h.in (PKGVERSION): New macro.
34432         (REPORT_BUGS_TO): Likewise.
34433         * config.make.in (PKGVERSION): New variable.
34434         (PKGVERSION_TEXI): Likewise.
34435         (REPORT_BUGS_TO): Likewise.
34436         (REPORT_BUGS_TEXI): Likewise.
34437         * Makefile (format-me): Use -I$(common-objpfx)manual.
34438         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34439         ($(common-objpfx)manual/%): New target.
34440         (manual/%): Remove target.
34441         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34442         (print_version): Use PKGVERSION.
34443         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34444         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34445         and REPORT_BUGS_TO.
34446         ($(objpfx)xtrace): Likewise.
34447         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34448         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34449         (print_version): Use PKGVERSION.
34450         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34451         (do_version): Use PKGVERSION.
34452         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34453         REPORT_BUGS_TO.
34454         (common-ldd-rewrite): Likewise.
34455         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34456         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34457         (print_version): Use PKGVERSION.
34458         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34459         * elf/pldd.c (argp_program_bug_address): Remove variable.
34460         (more_help): New function.
34461         (argp): Use more_help.
34462         (print_version): Use PKGVERSION.
34463         * elf/sln.c (main): Use PKGVERSION.
34464         (usage): Use REPORT_BUGS_TO.
34465         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34466         (top level): Use PKGVERSION.
34467         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34468         (print_version): Use PKGVERSION.
34469         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34470         (print_version): Use PKGVERSION.
34471         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34472         (print_version): Use PKGVERSION.
34473         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34474         (print_version): Use PKGVERSION.
34475         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34476         (print_version): Use PKGVERSION.
34477         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34478         (print_version): Use PKGVERSION.
34479         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34480         and BUGURL.
34481         ($(objpfx)memusage): Likewise.
34482         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34483         (do_version): Use PKGVERSION.
34484         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34485         (print_version): Use PKGVERSION.
34486         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34487         ($PKGVERSION): New variable.
34488         ($REPORT_BUGS_TO): Likewise.
34489         (usage): Use $REPORT_BUGS_TO.
34490         (top level): Use $PKGVERSION.
34491         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34492         ($(objpfx)pkgvers.texi): New rule.
34493         ($(objpfx)stamp-pkgvers): Likewise.
34494         * manual/install.texi: Include pkgvers.texi.
34495         (--with-pkgversion): Document new configure option.
34496         (--with-bugurl): Likewise.
34497         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34498         than necessarily for this particular distribution.  Use
34499         REPORT_BUGS_TO for where to report bugs.
34500         * INSTALL: Regenerated.
34501         * manual/libc.texinfo: Include pkgvers.texi.
34502         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34503         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34504         (print_version): Use PKGVERSION.
34505         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34506         (print_version): Use PKGVERSION.
34507         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34508         (print_version): Use PKGVERSION.
34509         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34510         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34511         macro.
34512         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34513         (print_version): Use PKGVERSION.
34514         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34515         (print_version): Use PKGVERSION.
34516         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34517         and PKGVERSION.
34519         * timezone/checktab.awk: Update from tzcode 2012i.
34520         * timezone/ialloc.c: Likewise.
34521         * timezone/private.h: Likewise.
34522         * timezone/scheck.c: Likewise.
34523         * timezone/tzfile.h: Likewise.
34524         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34525         (TZVERSION): Hardcode tzcode version number.
34526         * timezone/zdump.c: Update from tzcode 2012i.
34527         * timezone/zic.c: Likewise.
34528         * timezone/version.h: New file.
34529         * timezone/README: Describe version.h.  Update upstream location.
34531         [BZ #14824]
34532         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34533         (mktemp): Enable declaration.
34534         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34538         Likewise.
34539         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34540         Likewise.
34541         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34542         Likewise.
34543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34544         Likewise.
34545         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34546         Likewise.
34547         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34548         Likewise.
34550         [BZ #14821]
34551         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34552         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34553         for copies of such integer values.
34554         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34555         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34557 2012-11-09  Andreas Jaeger  <aj@suse.de>
34559         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34560         definitions and declarations that are provided by
34561         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34563 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34565         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34566         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34567         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34568         definition.
34570 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34572         * elf/elf.h: Update comment before AArch64 relocations.
34574 2012-11-07  David S. Miller  <davem@davemloft.net>
34576         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34577         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34578         (__start_context): Declare.
34579         (__makecontext_ret): Delete.
34580         (__makecontext): Hook up __start_context instead of
34581         __makecontext_ret.
34582         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34583         (sysdep_routines): Add __start_context when in stdlib.
34585 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34587         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34588         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34589         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34590         hardcoded "nm".
34591         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34592         (READELF): New variable.  Use it instead of hardcoded "readelf".
34594 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34596         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34597         * sysdeps/x86/Makefile: Here.
34598         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34599         * sysdeps/x86/tst-xmmymm.sh: This.
34601 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34603         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34604         expectations.
34605         [UNIX98] (pthread_barrier_t): Do not expect.
34606         [UNIX98] (pthread_barrierattr_t): Likewise.
34607         [UNIX98] (pthread_spinlock_t): Likewise.
34608         [UNIX98] (pthread_barrier_destroy): Likewise.
34609         [UNIX98] (pthread_barrier_init): Likewise.
34610         [UNIX98] (pthread_barrier_wait): Likewise.
34611         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34612         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34613         [UNIX98] (pthread_barrierattr_init): Likewise.
34614         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34615         [UNIX98] (pthread_getcpuclockid): Likewise.
34616         [UNIX98] (pthread_mutex_timedlock): Likewise.
34617         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34618         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34619         [UNIX98] (pthread_sigmask): Likewise.
34620         [UNIX98] (pthread_spin_destroy): Likewise.
34621         [UNIX98] (pthread_spin_init): Likewise.
34622         [UNIX98] (pthread_spin_lock): Likewise.
34623         [UNIX98] (pthread_spin_trylock): Likewise.
34624         [UNIX98] (pthread_spin_unlock): Likewise.
34625         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34626         Do not expect.
34627         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34628         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34629         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34630         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34631         [XPG3 || XPG4] (pthread_key_t): Likewise.
34632         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34633         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34634         [XPG3 || XPG4] (pthread_once_t): Likewise.
34635         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34636         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34637         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34638         [XPG3 || XPG4] (pthread_t): Likewise.
34640         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34641         not expect.
34642         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34644         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34645         Change function return type to int.
34647         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34648         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34649         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34650         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34651         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34652         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34653         [!POSIX] (posix_madvise): Likewise.
34654         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34655         && !UNIX98].
34656         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34657         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34658         (mode_t): Likewise.
34659         (posix_mem_offset): Likewise.
34660         (posix_typed_mem_get_info): Likewise.
34661         (posix_typed_mem_open): Likewise.
34663         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34664         Change condition to [XOPEN2K8].
34666         * conform/conformtest.pl: Preprocess allow-header data with -x c
34667         instead of from stdin.
34668         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34669         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34670         [C99-based standards] (cerfc): Likewise.
34671         [C99-based standards] (cexp2): Likewise.
34672         [C99-based standards] (cexpm1): Likewise.
34673         [C99-based standards] (clog10): Likewise.
34674         [C99-based standards] (clog1p): Likewise.
34675         [C99-based standards] (clog2): Likewise.
34676         [C99-based standards] (clgamma): Likewise.
34677         [C99-based standards] (ctgamma): Likewise.
34678         [C99-based standards] (cerff): Likewise.
34679         [C99-based standards] (cerfcf): Likewise.
34680         [C99-based standards] (cexp2f): Likewise.
34681         [C99-based standards] (cexpm1f): Likewise.
34682         [C99-based standards] (clog10f): Likewise.
34683         [C99-based standards] (clog1pf): Likewise.
34684         [C99-based standards] (clog2f): Likewise.
34685         [C99-based standards] (clgammaf): Likewise.
34686         [C99-based standards] (ctgammaf): Likewise.
34687         [C99-based standards] (cerfl): Likewise.
34688         [C99-based standards] (cerfcl): Likewise.
34689         [C99-based standards] (cexp2l): Likewise.
34690         [C99-based standards] (cexpm1l): Likewise.
34691         [C99-based standards] (clog10l): Likewise.
34692         [C99-based standards] (clog1pl): Likewise.
34693         [C99-based standards] (clog2l): Likewise.
34694         [C99-based standards] (clgammal): Likewise.
34695         [C99-based standards] (ctgammal): Likewise.
34696         * conform/data/inttypes.h-data [C99-based standards]: Include
34697         stdint.h-data.  Remove all expectations for stdint.h contents.
34698         [C99-based standards] (PRI*): Do not allow.
34699         [C99-based standards] (SCN*): Likewise.
34700         [C99-based standards] (*_t): Likewise.
34701         [C99-based-standards] (PRId8): Expect macro.
34702         [C99-based-standards] (PRIi8): Likewise.
34703         [C99-based-standards] (PRIo8): Likewise.
34704         [C99-based-standards] (PRIu8): Likewise.
34705         [C99-based-standards] (PRIx8): Likewise.
34706         [C99-based-standards] (PRIX8): Likewise.
34707         [C99-based-standards] (SCNd8): Likewise.
34708         [C99-based-standards] (SCNi8): Likewise.
34709         [C99-based-standards] (SCNo8): Likewise.
34710         [C99-based-standards] (SCNu8): Likewise.
34711         [C99-based-standards] (SCNx8): Likewise.
34712         [C99-based-standards] (PRIdLEAST8): Likewise.
34713         [C99-based-standards] (PRIiLEAST8): Likewise.
34714         [C99-based-standards] (PRIoLEAST8): Likewise.
34715         [C99-based-standards] (PRIuLEAST8): Likewise.
34716         [C99-based-standards] (PRIxLEAST8): Likewise.
34717         [C99-based-standards] (PRIXLEAST8): Likewise.
34718         [C99-based-standards] (SCNdLEAST8): Likewise.
34719         [C99-based-standards] (SCNiLEAST8): Likewise.
34720         [C99-based-standards] (SCNoLEAST8): Likewise.
34721         [C99-based-standards] (SCNuLEAST8): Likewise.
34722         [C99-based-standards] (SCNxLEAST8): Likewise.
34723         [C99-based-standards] (PRIdFAST8): Likewise.
34724         [C99-based-standards] (PRIiFAST8): Likewise.
34725         [C99-based-standards] (PRIoFAST8): Likewise.
34726         [C99-based-standards] (PRIuFAST8): Likewise.
34727         [C99-based-standards] (PRIxFAST8): Likewise.
34728         [C99-based-standards] (PRIXFAST8): Likewise.
34729         [C99-based-standards] (SCNdFAST8): Likewise.
34730         [C99-based-standards] (SCNiFAST8): Likewise.
34731         [C99-based-standards] (SCNoFAST8): Likewise.
34732         [C99-based-standards] (SCNuFAST8): Likewise.
34733         [C99-based-standards] (SCNxFAST8): Likewise.
34734         [C99-based-standards] (PRId16): Likewise.
34735         [C99-based-standards] (PRIi16): Likewise.
34736         [C99-based-standards] (PRIo16): Likewise.
34737         [C99-based-standards] (PRIu16): Likewise.
34738         [C99-based-standards] (PRIx16): Likewise.
34739         [C99-based-standards] (PRIX16): Likewise.
34740         [C99-based-standards] (SCNd16): Likewise.
34741         [C99-based-standards] (SCNi16): Likewise.
34742         [C99-based-standards] (SCNo16): Likewise.
34743         [C99-based-standards] (SCNu16): Likewise.
34744         [C99-based-standards] (SCNx16): Likewise.
34745         [C99-based-standards] (PRIdLEAST16): Likewise.
34746         [C99-based-standards] (PRIiLEAST16): Likewise.
34747         [C99-based-standards] (PRIoLEAST16): Likewise.
34748         [C99-based-standards] (PRIuLEAST16): Likewise.
34749         [C99-based-standards] (PRIxLEAST16): Likewise.
34750         [C99-based-standards] (PRIXLEAST16): Likewise.
34751         [C99-based-standards] (SCNdLEAST16): Likewise.
34752         [C99-based-standards] (SCNiLEAST16): Likewise.
34753         [C99-based-standards] (SCNoLEAST16): Likewise.
34754         [C99-based-standards] (SCNuLEAST16): Likewise.
34755         [C99-based-standards] (SCNxLEAST16): Likewise.
34756         [C99-based-standards] (PRIdFAST16): Likewise.
34757         [C99-based-standards] (PRIiFAST16): Likewise.
34758         [C99-based-standards] (PRIoFAST16): Likewise.
34759         [C99-based-standards] (PRIuFAST16): Likewise.
34760         [C99-based-standards] (PRIxFAST16): Likewise.
34761         [C99-based-standards] (PRIXFAST16): Likewise.
34762         [C99-based-standards] (SCNdFAST16): Likewise.
34763         [C99-based-standards] (SCNiFAST16): Likewise.
34764         [C99-based-standards] (SCNoFAST16): Likewise.
34765         [C99-based-standards] (SCNuFAST16): Likewise.
34766         [C99-based-standards] (SCNxFAST16): Likewise.
34767         [C99-based-standards] (PRId32): Likewise.
34768         [C99-based-standards] (PRIi32): Likewise.
34769         [C99-based-standards] (PRIo32): Likewise.
34770         [C99-based-standards] (PRIu32): Likewise.
34771         [C99-based-standards] (PRIx32): Likewise.
34772         [C99-based-standards] (PRIX32): Likewise.
34773         [C99-based-standards] (SCNd32): Likewise.
34774         [C99-based-standards] (SCNi32): Likewise.
34775         [C99-based-standards] (SCNo32): Likewise.
34776         [C99-based-standards] (SCNu32): Likewise.
34777         [C99-based-standards] (SCNx32): Likewise.
34778         [C99-based-standards] (PRIdLEAST32): Likewise.
34779         [C99-based-standards] (PRIiLEAST32): Likewise.
34780         [C99-based-standards] (PRIoLEAST32): Likewise.
34781         [C99-based-standards] (PRIuLEAST32): Likewise.
34782         [C99-based-standards] (PRIxLEAST32): Likewise.
34783         [C99-based-standards] (PRIXLEAST32): Likewise.
34784         [C99-based-standards] (SCNdLEAST32): Likewise.
34785         [C99-based-standards] (SCNiLEAST32): Likewise.
34786         [C99-based-standards] (SCNoLEAST32): Likewise.
34787         [C99-based-standards] (SCNuLEAST32): Likewise.
34788         [C99-based-standards] (SCNxLEAST32): Likewise.
34789         [C99-based-standards] (PRIdFAST32): Likewise.
34790         [C99-based-standards] (PRIiFAST32): Likewise.
34791         [C99-based-standards] (PRIoFAST32): Likewise.
34792         [C99-based-standards] (PRIuFAST32): Likewise.
34793         [C99-based-standards] (PRIxFAST32): Likewise.
34794         [C99-based-standards] (PRIXFAST32): Likewise.
34795         [C99-based-standards] (SCNdFAST32): Likewise.
34796         [C99-based-standards] (SCNiFAST32): Likewise.
34797         [C99-based-standards] (SCNoFAST32): Likewise.
34798         [C99-based-standards] (SCNuFAST32): Likewise.
34799         [C99-based-standards] (SCNxFAST32): Likewise.
34800         [C99-based-standards] (PRId64): Likewise.
34801         [C99-based-standards] (PRIi64): Likewise.
34802         [C99-based-standards] (PRIo64): Likewise.
34803         [C99-based-standards] (PRIu64): Likewise.
34804         [C99-based-standards] (PRIx64): Likewise.
34805         [C99-based-standards] (PRIX64): Likewise.
34806         [C99-based-standards] (SCNd64): Likewise.
34807         [C99-based-standards] (SCNi64): Likewise.
34808         [C99-based-standards] (SCNo64): Likewise.
34809         [C99-based-standards] (SCNu64): Likewise.
34810         [C99-based-standards] (SCNx64): Likewise.
34811         [C99-based-standards] (PRIdLEAST64): Likewise.
34812         [C99-based-standards] (PRIiLEAST64): Likewise.
34813         [C99-based-standards] (PRIoLEAST64): Likewise.
34814         [C99-based-standards] (PRIuLEAST64): Likewise.
34815         [C99-based-standards] (PRIxLEAST64): Likewise.
34816         [C99-based-standards] (PRIXLEAST64): Likewise.
34817         [C99-based-standards] (SCNdLEAST64): Likewise.
34818         [C99-based-standards] (SCNiLEAST64): Likewise.
34819         [C99-based-standards] (SCNoLEAST64): Likewise.
34820         [C99-based-standards] (SCNuLEAST64): Likewise.
34821         [C99-based-standards] (SCNxLEAST64): Likewise.
34822         [C99-based-standards] (PRIdFAST64): Likewise.
34823         [C99-based-standards] (PRIiFAST64): Likewise.
34824         [C99-based-standards] (PRIoFAST64): Likewise.
34825         [C99-based-standards] (PRIuFAST64): Likewise.
34826         [C99-based-standards] (PRIxFAST64): Likewise.
34827         [C99-based-standards] (PRIXFAST64): Likewise.
34828         [C99-based-standards] (SCNdFAST64): Likewise.
34829         [C99-based-standards] (SCNiFAST64): Likewise.
34830         [C99-based-standards] (SCNoFAST64): Likewise.
34831         [C99-based-standards] (SCNuFAST64): Likewise.
34832         [C99-based-standards] (SCNxFAST64): Likewise.
34833         [C99-based-standards] (PRIdMAX): Likewise.
34834         [C99-based-standards] (PRIiMAX): Likewise.
34835         [C99-based-standards] (PRIoMAX): Likewise.
34836         [C99-based-standards] (PRIuMAX): Likewise.
34837         [C99-based-standards] (PRIxMAX): Likewise.
34838         [C99-based-standards] (PRIXMAX): Likewise.
34839         [C99-based-standards] (SCNdMAX): Likewise.
34840         [C99-based-standards] (SCNiMAX): Likewise.
34841         [C99-based-standards] (SCNoMAX): Likewise.
34842         [C99-based-standards] (SCNuMAX): Likewise.
34843         [C99-based-standards] (SCNxMAX): Likewise.
34844         [C99-based-standards] (PRIdPTR): Likewise.
34845         [C99-based-standards] (PRIiPTR): Likewise.
34846         [C99-based-standards] (PRIoPTR): Likewise.
34847         [C99-based-standards] (PRIuPTR): Likewise.
34848         [C99-based-standards] (PRIxPTR): Likewise.
34849         [C99-based-standards] (PRIXPTR): Likewise.
34850         [C99-based-standards] (SCNdPTR): Likewise.
34851         [C99-based-standards] (SCNiPTR): Likewise.
34852         [C99-based-standards] (SCNoPTR): Likewise.
34853         [C99-based-standards] (SCNuPTR): Likewise.
34854         [C99-based-standards] (SCNxPTR): Likewise.
34855         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34856         allow.
34857         * conform/data/stdint.h-data: Update comments to clarify
34858         requirements.
34859         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34860         type.
34861         [C99-based standards] (INT8_MAX): Likewise.
34862         [C99-based standards] (INT16_MIN): Likewise.
34863         [C99-based standards] (INT16_MAX): Likewise.
34864         [C99-based standards] (INT32_MIN): Likewise.
34865         [C99-based standards] (INT32_MAX): Likewise.
34866         [C99-based standards] (INT64_MIN): Likewise.
34867         [C99-based standards] (INT64_MAX): Likewise.
34868         [C99-based standards] (UINT8_MAX): Likewise.
34869         [C99-based standards] (UINT16_MAX): Likewise.
34870         [C99-based standards] (UINT32_MAX): Likewise.
34871         [C99-based standards] (UINT64_MAX): Likewise.
34872         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34873         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34874         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34875         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34876         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34877         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34878         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34879         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34880         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34881         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34882         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34883         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34884         [C99-based standards] (INT_FAST8_MIN): Likewise.
34885         [C99-based standards] (INT_FAST8_MAX): Likewise.
34886         [C99-based standards] (INT_FAST16_MIN): Likewise.
34887         [C99-based standards] (INT_FAST16_MAX): Likewise.
34888         [C99-based standards] (INT_FAST32_MIN): Likewise.
34889         [C99-based standards] (INT_FAST32_MAX): Likewise.
34890         [C99-based standards] (INT_FAST64_MIN): Likewise.
34891         [C99-based standards] (INT_FAST64_MAX): Likewise.
34892         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34893         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34894         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34895         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34896         [C99-based standards] (INTPTR_MIN): Likewise.
34897         [C99-based standards] (INTPTR_MAX): Likewise.
34898         [C99-based standards] (UINTPTR_MAX): Likewise.
34899         [C99-based standards] (INTMAX_MIN): Likewise.
34900         [C99-based standards] (INTMAX_MAX): Likewise.
34901         [C99-based standards] (UINTMAX_MAX): Likewise.
34902         [C99-based standards] (PTRDIFF_MIN): Likewise.
34903         [C99-based standards] (PTRDIFF_MAX): Likewise.
34904         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34905         [C99-based standards] (SIZE_MAX): Likewise.
34906         [C99-based standards] (WCHAR_MAX): Likewise.
34907         [C99-based standards] (WINT_MAX): Likewise.
34908         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34909         constraint on value.
34910         [C99-based standards] (WCHAR_MIN): Likewise.
34911         [C99-based standards] (WINT_MIN): Likewise.
34912         [C99-based standards] (*_t): Allow.
34913         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34914         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34915         Include math.h-data and complex.h-data.  Remove all expectations
34916         of math.h and complex.h contents.
34917         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34918         at end of line.
34919         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34920         (struct tm): Expect tag.
34921         [C99-based-standards] (wcstof): Expect function.
34922         [C99-based-standards] (wcstold): Likewise.
34923         [C99-based-standards] (wcstoll): Likewise.
34924         [C99-based-standards] (wcstoull): Likewise.
34925         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34926         macro-int-constant.  Specify type.
34927         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34928         constraint on value.
34929         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34930         Specify type.
34931         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34932         Specify value.
34933         [ISO C standards]: Do not allow headers.
34934         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34935         wcs[abcdefghijklmnopqrstuvwxyz]*.
34936         [ISO C standards] (*_t): Do not allow.
34937         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34938         Expect function.
34939         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34940         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34941         Specify type.
34942         [ISO C standards]: Do not allow headers.
34943         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34944         is[abcdefghijklmnopqrstuvwxyz]*.
34945         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34946         to[abcdefghijklmnopqrstuvwxyz]*.
34947         [ISO C standards] (*_t): Do not allow.
34948         * conform/data/stdalign.h-data: New file.
34949         * conform/data/stdbool.h-data: Likewise.
34950         * conform/data/stdnoreturn.h-data: Likewise.
34952 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34954         [BZ #14815]
34955         * manual/filesys.texi (Directory Entries): Typo fix.
34956         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34958 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34960         * elf/elf.h (EM_AARCH64): New macro.
34961         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34962         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34963         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34964         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34965         (R_AARCH64_TLSDESC): Likewise.
34966         (NT_ARM_TLS): Likewise.
34967         (NT_ARM_HW_BREAK): Likewise.
34968         (NT_ARM_HW_WATCH): Likewise.
34970 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34972         [BZ #14811]
34973         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34974         (__ieee754_powl): Saturate nonzero exponents with absolute value
34975         below 0x1p-79 to +/- 0x1p-79.
34976         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34977         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34978         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34979         nonzero exponents with absolute value below 0x1p-32 to +/-
34980         0x1p-32.
34981         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34982         (__ieee754_powl): Saturate nonzero exponents with absolute value
34983         below 0x1p-79 to +/- 0x1p-79.
34984         * math/libm-test.inc (pow_test): Add more tests.
34986 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34988         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34989         _dl_s390_cap_flags with kernel. Increase string length.
34990         (_dl_s390_platforms): Add z196 and zEC12.
34992 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34994         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34995         Change XOPEN21K to XOPEN2K.
34997 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34999         * string/memmove.c: Use memcpy when possible.
35001 2012-11-06  Andreas Jaeger  <aj@suse.de>
35003         * po/eo.po: Update from translation team.
35005 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35007         [BZ #14793]
35008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35009         exponent and small x and y exponents, scale x or y up.  Increase
35010         by 2 the exponent used in scaling up.
35011         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35012         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35013         * math/libm-test.inc (fma_test): Add more tests.
35014         (fma_test_towardzero): Likewise.
35015         (fma_test_downward): Likewise.
35016         (fma_test_upward): Likewise.
35018 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35020         [BZ #14805]
35021         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35022         fenv_t *.
35024         [BZ #14801]
35025         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35026         namespace for names of struct fields.
35027         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35028         fenv_t fields.
35029         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35030         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35032 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35034         [BZ #3665]
35035         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35037 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35039         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35040         PTR_DEMANGLE.
35042         [BZ #5246]
35043         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35044         PTR_DEMANGLE.
35046 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35048         [BZ #14797]
35049         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35050         definitely overflow as x * y not x * y + z.
35051         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35052         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35053         * math/libm-test.inc (fma_test): Add more tests.
35054         (fma_test_towardzero): Likewise.
35055         (fma_test_downward): Likewise.
35056         (fma_test_upward): Likewise.
35058 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35060         [BZ #157]
35062         * include/stub-tag.h: Remove file.
35063         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35064         '#include' of it.
35065         * manual/maint.texi (Porting): Don't reference it.
35066         * Makerules ($(objpfx)stubs): Likewise.
35067         * dirent/closedir.c: Don't include <stub-tag.h>.
35068         * dirent/dirfd.c: Likewise.
35069         * dirent/fdopendir.c: Likewise.
35070         * dirent/getdents.c: Likewise.
35071         * dirent/getdents64.c: Likewise.
35072         * dirent/opendir.c: Likewise.
35073         * dirent/readdir.c: Likewise.
35074         * dirent/readdir64.c: Likewise.
35075         * dirent/readdir64_r.c: Likewise.
35076         * dirent/readdir_r.c: Likewise.
35077         * dirent/rewinddir.c: Likewise.
35078         * dirent/seekdir.c: Likewise.
35079         * dirent/telldir.c: Likewise.
35080         * gmon/profil.c: Likewise.
35081         * grp/setgroups.c: Likewise.
35082         * inet/if_index.c: Likewise.
35083         * io/access.c: Likewise.
35084         * io/chdir.c: Likewise.
35085         * io/chmod.c: Likewise.
35086         * io/chown.c: Likewise.
35087         * io/close.c: Likewise.
35088         * io/dup.c: Likewise.
35089         * io/dup2.c: Likewise.
35090         * io/dup3.c: Likewise.
35091         * io/euidaccess.c: Likewise.
35092         * io/faccessat.c: Likewise.
35093         * io/fchdir.c: Likewise.
35094         * io/fchmod.c: Likewise.
35095         * io/fchmodat.c: Likewise.
35096         * io/fchown.c: Likewise.
35097         * io/fchownat.c: Likewise.
35098         * io/fcntl.c: Likewise.
35099         * io/flock.c: Likewise.
35100         * io/fstatfs.c: Likewise.
35101         * io/fstatfs64.c: Likewise.
35102         * io/fstatvfs.c: Likewise.
35103         * io/fstatvfs64.c: Likewise.
35104         * io/futimens.c: Likewise.
35105         * io/fxstat.c: Likewise.
35106         * io/fxstat64.c: Likewise.
35107         * io/fxstatat.c: Likewise.
35108         * io/fxstatat64.c: Likewise.
35109         * io/getcwd.c: Likewise.
35110         * io/isatty.c: Likewise.
35111         * io/lchmod.c: Likewise.
35112         * io/lchown.c: Likewise.
35113         * io/link.c: Likewise.
35114         * io/linkat.c: Likewise.
35115         * io/lseek.c: Likewise.
35116         * io/lseek64.c: Likewise.
35117         * io/lxstat64.c: Likewise.
35118         * io/mkdir.c: Likewise.
35119         * io/mkdirat.c: Likewise.
35120         * io/mkfifo.c: Likewise.
35121         * io/mkfifoat.c: Likewise.
35122         * io/open.c: Likewise.
35123         * io/open64.c: Likewise.
35124         * io/openat.c: Likewise.
35125         * io/openat64.c: Likewise.
35126         * io/pipe.c: Likewise.
35127         * io/pipe2.c: Likewise.
35128         * io/poll.c: Likewise.
35129         * io/posix_fadvise.c: Likewise.
35130         * io/posix_fadvise64.c: Likewise.
35131         * io/posix_fallocate.c: Likewise.
35132         * io/posix_fallocate64.c: Likewise.
35133         * io/read.c: Likewise.
35134         * io/readlink.c: Likewise.
35135         * io/readlinkat.c: Likewise.
35136         * io/rmdir.c: Likewise.
35137         * io/sendfile.c: Likewise.
35138         * io/sendfile64.c: Likewise.
35139         * io/statfs.c: Likewise.
35140         * io/statfs64.c: Likewise.
35141         * io/statvfs.c: Likewise.
35142         * io/statvfs64.c: Likewise.
35143         * io/symlink.c: Likewise.
35144         * io/symlinkat.c: Likewise.
35145         * io/ttyname.c: Likewise.
35146         * io/ttyname_r.c: Likewise.
35147         * io/umask.c: Likewise.
35148         * io/unlink.c: Likewise.
35149         * io/unlinkat.c: Likewise.
35150         * io/utime.c: Likewise.
35151         * io/utimensat.c: Likewise.
35152         * io/write.c: Likewise.
35153         * io/xmknod.c: Likewise.
35154         * io/xmknodat.c: Likewise.
35155         * io/xstat.c: Likewise.
35156         * io/xstat64.c: Likewise.
35157         * login/getpt.c: Likewise.
35158         * login/grantpt.c: Likewise.
35159         * login/unlockpt.c: Likewise.
35160         * math/e_acoshl.c: Likewise.
35161         * math/e_acosl.c: Likewise.
35162         * math/e_asinl.c: Likewise.
35163         * math/e_atan2l.c: Likewise.
35164         * math/e_atanhl.c: Likewise.
35165         * math/e_coshl.c: Likewise.
35166         * math/e_expl.c: Likewise.
35167         * math/e_fmodl.c: Likewise.
35168         * math/e_gammal_r.c: Likewise.
35169         * math/e_hypotl.c: Likewise.
35170         * math/e_j0l.c: Likewise.
35171         * math/e_j1l.c: Likewise.
35172         * math/e_jnl.c: Likewise.
35173         * math/e_lgammal_r.c: Likewise.
35174         * math/e_log10l.c: Likewise.
35175         * math/e_log2l.c: Likewise.
35176         * math/e_logl.c: Likewise.
35177         * math/e_powl.c: Likewise.
35178         * math/e_rem_pio2l.c: Likewise.
35179         * math/e_sinhl.c: Likewise.
35180         * math/e_sqrtl.c: Likewise.
35181         * math/fclrexcpt.c: Likewise.
35182         * math/fedisblxcpt.c: Likewise.
35183         * math/feenablxcpt.c: Likewise.
35184         * math/fegetenv.c: Likewise.
35185         * math/fegetexcept.c: Likewise.
35186         * math/fegetround.c: Likewise.
35187         * math/feholdexcpt.c: Likewise.
35188         * math/fesetenv.c: Likewise.
35189         * math/fesetround.c: Likewise.
35190         * math/feupdateenv.c: Likewise.
35191         * math/fgetexcptflg.c: Likewise.
35192         * math/fraiseexcpt.c: Likewise.
35193         * math/fsetexcptflg.c: Likewise.
35194         * math/ftestexcept.c: Likewise.
35195         * math/k_cosl.c: Likewise.
35196         * math/k_rem_pio2l.c: Likewise.
35197         * math/k_sinl.c: Likewise.
35198         * math/k_tanl.c: Likewise.
35199         * math/s_asinhl.c: Likewise.
35200         * math/s_atanl.c: Likewise.
35201         * math/s_cbrtl.c: Likewise.
35202         * math/s_erfl.c: Likewise.
35203         * math/s_expm1l.c: Likewise.
35204         * math/s_log1pl.c: Likewise.
35205         * math/s_tanhl.c: Likewise.
35206         * misc/acct.c: Likewise.
35207         * misc/brk.c: Likewise.
35208         * misc/chflags.c: Likewise.
35209         * misc/chroot.c: Likewise.
35210         * misc/fchflags.c: Likewise.
35211         * misc/fgetxattr.c: Likewise.
35212         * misc/flistxattr.c: Likewise.
35213         * misc/fremovexattr.c: Likewise.
35214         * misc/fsetxattr.c: Likewise.
35215         * misc/fsync.c: Likewise.
35216         * misc/ftruncate.c: Likewise.
35217         * misc/futimes.c: Likewise.
35218         * misc/futimesat.c: Likewise.
35219         * misc/getdomain.c: Likewise.
35220         * misc/getdtsz.c: Likewise.
35221         * misc/gethostid.c: Likewise.
35222         * misc/gethostname.c: Likewise.
35223         * misc/getloadavg.c: Likewise.
35224         * misc/getpagesize.c: Likewise.
35225         * misc/getsysstats.c: Likewise.
35226         * misc/getxattr.c: Likewise.
35227         * misc/gtty.c: Likewise.
35228         * misc/ioctl.c: Likewise.
35229         * misc/lgetxattr.c: Likewise.
35230         * misc/listxattr.c: Likewise.
35231         * misc/llistxattr.c: Likewise.
35232         * misc/lremovexattr.c: Likewise.
35233         * misc/lsetxattr.c: Likewise.
35234         * misc/lutimes.c: Likewise.
35235         * misc/madvise.c: Likewise.
35236         * misc/mincore.c: Likewise.
35237         * misc/mlock.c: Likewise.
35238         * misc/mlockall.c: Likewise.
35239         * misc/mmap.c: Likewise.
35240         * misc/mprotect.c: Likewise.
35241         * misc/msync.c: Likewise.
35242         * misc/munlock.c: Likewise.
35243         * misc/munlockall.c: Likewise.
35244         * misc/munmap.c: Likewise.
35245         * misc/preadv.c: Likewise.
35246         * misc/preadv64.c: Likewise.
35247         * misc/ptrace.c: Likewise.
35248         * misc/pwritev.c: Likewise.
35249         * misc/pwritev64.c: Likewise.
35250         * misc/readv.c: Likewise.
35251         * misc/reboot.c: Likewise.
35252         * misc/remap_file_pages.c: Likewise.
35253         * misc/removexattr.c: Likewise.
35254         * misc/revoke.c: Likewise.
35255         * misc/select.c: Likewise.
35256         * misc/setdomain.c: Likewise.
35257         * misc/setegid.c: Likewise.
35258         * misc/seteuid.c: Likewise.
35259         * misc/sethostid.c: Likewise.
35260         * misc/sethostname.c: Likewise.
35261         * misc/setregid.c: Likewise.
35262         * misc/setreuid.c: Likewise.
35263         * misc/setxattr.c: Likewise.
35264         * misc/sstk.c: Likewise.
35265         * misc/stty.c: Likewise.
35266         * misc/swapoff.c: Likewise.
35267         * misc/swapon.c: Likewise.
35268         * misc/sync.c: Likewise.
35269         * misc/syncfs.c: Likewise.
35270         * misc/syscall.c: Likewise.
35271         * misc/truncate.c: Likewise.
35272         * misc/ualarm.c: Likewise.
35273         * misc/usleep.c: Likewise.
35274         * misc/ustat.c: Likewise.
35275         * misc/utimes.c: Likewise.
35276         * misc/vhangup.c: Likewise.
35277         * misc/writev.c: Likewise.
35278         * posix/_exit.c: Likewise.
35279         * posix/alarm.c: Likewise.
35280         * posix/execve.c: Likewise.
35281         * posix/fexecve.c: Likewise.
35282         * posix/fork.c: Likewise.
35283         * posix/fpathconf.c: Likewise.
35284         * posix/getaddrinfo.c: Likewise.
35285         * posix/getegid.c: Likewise.
35286         * posix/geteuid.c: Likewise.
35287         * posix/getgid.c: Likewise.
35288         * posix/getgroups.c: Likewise.
35289         * posix/getlogin.c: Likewise.
35290         * posix/getlogin_r.c: Likewise.
35291         * posix/getpgid.c: Likewise.
35292         * posix/getpid.c: Likewise.
35293         * posix/getppid.c: Likewise.
35294         * posix/getresgid.c: Likewise.
35295         * posix/getresuid.c: Likewise.
35296         * posix/getsid.c: Likewise.
35297         * posix/getuid.c: Likewise.
35298         * posix/glob64.c: Likewise.
35299         * posix/nanosleep.c: Likewise.
35300         * posix/pathconf.c: Likewise.
35301         * posix/pause.c: Likewise.
35302         * posix/posix_madvise.c: Likewise.
35303         * posix/pread.c: Likewise.
35304         * posix/pread64.c: Likewise.
35305         * posix/pwrite.c: Likewise.
35306         * posix/pwrite64.c: Likewise.
35307         * posix/sched_getaffinity.c: Likewise.
35308         * posix/sched_getp.c: Likewise.
35309         * posix/sched_gets.c: Likewise.
35310         * posix/sched_primax.c: Likewise.
35311         * posix/sched_primin.c: Likewise.
35312         * posix/sched_rr_gi.c: Likewise.
35313         * posix/sched_setaffinity.c: Likewise.
35314         * posix/sched_setp.c: Likewise.
35315         * posix/sched_sets.c: Likewise.
35316         * posix/sched_yield.c: Likewise.
35317         * posix/setgid.c: Likewise.
35318         * posix/setlogin.c: Likewise.
35319         * posix/setpgid.c: Likewise.
35320         * posix/setresgid.c: Likewise.
35321         * posix/setresuid.c: Likewise.
35322         * posix/setsid.c: Likewise.
35323         * posix/setuid.c: Likewise.
35324         * posix/sleep.c: Likewise.
35325         * posix/spawni.c: Likewise.
35326         * posix/sysconf.c: Likewise.
35327         * posix/times.c: Likewise.
35328         * posix/wait.c: Likewise.
35329         * posix/wait3.c: Likewise.
35330         * posix/wait4.c: Likewise.
35331         * posix/waitpid.c: Likewise.
35332         * resolv/gai_sigqueue.c: Likewise.
35333         * resource/getpriority.c: Likewise.
35334         * resource/getrlimit.c: Likewise.
35335         * resource/getrusage.c: Likewise.
35336         * resource/nice.c: Likewise.
35337         * resource/setpriority.c: Likewise.
35338         * resource/setrlimit.c: Likewise.
35339         * resource/ulimit.c: Likewise.
35340         * rt/aio_cancel.c: Likewise.
35341         * rt/aio_fsync.c: Likewise.
35342         * rt/aio_read.c: Likewise.
35343         * rt/aio_sigqueue.c: Likewise.
35344         * rt/aio_suspend.c: Likewise.
35345         * rt/aio_write.c: Likewise.
35346         * rt/clock_getres.c: Likewise.
35347         * rt/clock_gettime.c: Likewise.
35348         * rt/clock_nanosleep.c: Likewise.
35349         * rt/clock_settime.c: Likewise.
35350         * rt/lio_listio.c: Likewise.
35351         * rt/mq_close.c: Likewise.
35352         * rt/mq_getattr.c: Likewise.
35353         * rt/mq_notify.c: Likewise.
35354         * rt/mq_open.c: Likewise.
35355         * rt/mq_receive.c: Likewise.
35356         * rt/mq_send.c: Likewise.
35357         * rt/mq_setattr.c: Likewise.
35358         * rt/mq_timedreceive.c: Likewise.
35359         * rt/mq_timedsend.c: Likewise.
35360         * rt/mq_unlink.c: Likewise.
35361         * rt/shm_open.c: Likewise.
35362         * rt/shm_unlink.c: Likewise.
35363         * rt/timer_create.c: Likewise.
35364         * rt/timer_delete.c: Likewise.
35365         * rt/timer_getoverr.c: Likewise.
35366         * rt/timer_gettime.c: Likewise.
35367         * rt/timer_settime.c: Likewise.
35368         * setjmp/__longjmp.c: Likewise.
35369         * setjmp/setjmp.c: Likewise.
35370         * signal/kill.c: Likewise.
35371         * signal/killpg.c: Likewise.
35372         * signal/raise.c: Likewise.
35373         * signal/sigaction.c: Likewise.
35374         * signal/sigaltstack.c: Likewise.
35375         * signal/sigblock.c: Likewise.
35376         * signal/sigignore.c: Likewise.
35377         * signal/sigintr.c: Likewise.
35378         * signal/signal.c: Likewise.
35379         * signal/sigpause.c: Likewise.
35380         * signal/sigpending.c: Likewise.
35381         * signal/sigqueue.c: Likewise.
35382         * signal/sigreturn.c: Likewise.
35383         * signal/sigset.c: Likewise.
35384         * signal/sigsetmask.c: Likewise.
35385         * signal/sigstack.c: Likewise.
35386         * signal/sigsuspend.c: Likewise.
35387         * signal/sigtimedwait.c: Likewise.
35388         * signal/sigvec.c: Likewise.
35389         * signal/sigwait.c: Likewise.
35390         * signal/sigwaitinfo.c: Likewise.
35391         * signal/sysv_signal.c: Likewise.
35392         * socket/accept.c: Likewise.
35393         * socket/accept4.c: Likewise.
35394         * socket/bind.c: Likewise.
35395         * socket/connect.c: Likewise.
35396         * socket/getpeername.c: Likewise.
35397         * socket/getsockname.c: Likewise.
35398         * socket/getsockopt.c: Likewise.
35399         * socket/isfdtype.c: Likewise.
35400         * socket/listen.c: Likewise.
35401         * socket/recv.c: Likewise.
35402         * socket/recvfrom.c: Likewise.
35403         * socket/recvmsg.c: Likewise.
35404         * socket/send.c: Likewise.
35405         * socket/sendmsg.c: Likewise.
35406         * socket/sendto.c: Likewise.
35407         * socket/setsockopt.c: Likewise.
35408         * socket/shutdown.c: Likewise.
35409         * socket/sockatmark.c: Likewise.
35410         * socket/socket.c: Likewise.
35411         * socket/socketpair.c: Likewise.
35412         * stdio-common/ctermid.c: Likewise.
35413         * stdio-common/cuserid.c: Likewise.
35414         * stdio-common/remove.c: Likewise.
35415         * stdio-common/rename.c: Likewise.
35416         * stdio-common/renameat.c: Likewise.
35417         * stdio-common/tempname.c: Likewise.
35418         * stdlib/getcontext.c: Likewise.
35419         * stdlib/makecontext.c: Likewise.
35420         * stdlib/setcontext.c: Likewise.
35421         * stdlib/swapcontext.c: Likewise.
35422         * stdlib/system.c: Likewise.
35423         * streams/fattach.c: Likewise.
35424         * streams/fdetach.c: Likewise.
35425         * streams/getmsg.c: Likewise.
35426         * streams/getpmsg.c: Likewise.
35427         * streams/putmsg.c: Likewise.
35428         * streams/putpmsg.c: Likewise.
35429         * sysdeps/unix/bsd/getpt.c: Likewise.
35430         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35431         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35432         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35434         Likewise.
35435         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35436         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35437         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35438         * sysvipc/msgctl.c: Likewise.
35439         * sysvipc/msgget.c: Likewise.
35440         * sysvipc/msgrcv.c: Likewise.
35441         * sysvipc/msgsnd.c: Likewise.
35442         * sysvipc/semctl.c: Likewise.
35443         * sysvipc/semget.c: Likewise.
35444         * sysvipc/semop.c: Likewise.
35445         * sysvipc/semtimedop.c: Likewise.
35446         * sysvipc/shmat.c: Likewise.
35447         * sysvipc/shmctl.c: Likewise.
35448         * sysvipc/shmdt.c: Likewise.
35449         * sysvipc/shmget.c: Likewise.
35450         * termios/tcdrain.c: Likewise.
35451         * termios/tcflow.c: Likewise.
35452         * termios/tcflush.c: Likewise.
35453         * termios/tcgetattr.c: Likewise.
35454         * termios/tcgetpgrp.c: Likewise.
35455         * termios/tcsendbrk.c: Likewise.
35456         * termios/tcsetattr.c: Likewise.
35457         * termios/tcsetpgrp.c: Likewise.
35458         * time/adjtime.c: Likewise.
35459         * time/clock.c: Likewise.
35460         * time/getitimer.c: Likewise.
35461         * time/gettimeofday.c: Likewise.
35462         * time/setitimer.c: Likewise.
35463         * time/settimeofday.c: Likewise.
35464         * time/stime.c: Likewise.
35465         * time/time.c: Likewise.
35467 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35469         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35470         /usr/old/bin.
35472         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35473         instead of spaces.
35474         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35476 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35478         [BZ #14796]
35479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35480         FE_TONEAREST before applying Dekker multiplication and Knuth
35481         addition.  Clear inexact exceptions and check for exact zero
35482         results afterwards.
35483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35484         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35486         * math/libm-test.inc (fma_test): Add more tests.
35487         (fma_test_towardzero): Likewise.
35488         (fma_test_downward): Likewise.
35489         (fma_test_upward): Likewise.
35490         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35491         function.
35492         (libc_fesetround): New macro.
35493         (libc_fesetroundf): Likewise.
35494         (libc_fesetroundl): Likewise.
35495         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35496         function.
35497         (libc_fesetround_387): Likewise.
35498         (libc_fesetroundf): New macro.
35499         (libc_fesetround): Likewise.
35500         (libc_fesetroundl): Likewise.
35501         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35502         function.
35503         (libc_fesetroundf): New macro.
35504         (libc_fesetround): Likewise.
35505         (libc_fesetroundl): Likewise.
35506         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35507         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35508         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35509         libm_hidden_ver.
35510         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35511         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35512         libm_hidden_def.
35513         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35514         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35515         libm_hidden_ver.
35516         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35517         libm_hidden_def.
35519         [BZ #3439]
35520         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35521         integer constant usable in #if and use that to give value to enum
35522         constant.
35523         (FE_DIVBYZERO): Likewise.
35524         (FE_UNDERFLOW): Likewise.
35525         (FE_OVERFLOW): Likewise.
35526         (FE_INVALID): Likewise.
35527         (FE_INVALID_SNAN): Likewise.
35528         (FE_INVALID_ISI): Likewise.
35529         (FE_INVALID_IDI): Likewise.
35530         (FE_INVALID_ZDZ): Likewise.
35531         (FE_INVALID_IMZ): Likewise.
35532         (FE_INVALID_COMPARE): Likewise.
35533         (FE_INVALID_SOFTWARE): Likewise.
35534         (FE_INVALID_SQRT): Likewise.
35535         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35536         (FE_TONEAREST): Likewise.
35537         (FE_TOWARDZERO): Likewise.
35538         (FE_UPWARD): Likewise.
35539         (FE_DOWNWARD): Likewise.
35540         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35541         (FE_DIVBYZERO): Likewise.
35542         (FE_OVERFLOW): Likewise.
35543         (FE_UNDERFLOW): Likewise.
35544         (FE_INEXACT): Likewise.
35545         (FE_TONEAREST): Likewise.
35546         (FE_DOWNWARD): Likewise.
35547         (FE_UPWARD): Likewise.
35548         (FE_TOWARDZERO): Likewise.
35549         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35550         (FE_UNDERFLOW): Likewise.
35551         (FE_OVERFLOW): Likewise.
35552         (FE_DIVBYZERO): Likewise.
35553         (FE_INVALID): Likewise.
35554         (FE_TONEAREST): Likewise.
35555         (FE_TOWARDZERO): Likewise.
35556         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35557         (FE_OVERFLOW): Likewise.
35558         (FE_UNDERFLOW): Likewise.
35559         (FE_DIVBYZERO): Likewise.
35560         (FE_INEXACT): Likewise.
35561         (FE_TONEAREST): Likewise.
35562         (FE_TOWARDZERO): Likewise.
35563         (FE_UPWARD): Likewise.
35564         (FE_DOWNWARD): Likewise.
35565         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35566         (FE_DIVBYZERO): Likewise.
35567         (FE_OVERFLOW): Likewise.
35568         (FE_UNDERFLOW): Likewise.
35569         (FE_INEXACT): Likewise.
35570         (FE_TONEAREST): Likewise.
35571         (FE_DOWNWARD): Likewise.
35572         (FE_UPWARD): Likewise.
35573         (FE_TOWARDZERO): Likewise.
35575 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35577         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35579 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35581         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35582         commands.  Quote $PWD.
35583         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35584         -x" by "export".
35585         (remove_newlines): Remove.
35587 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35589         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35590         * stdlib/stdlib.h (atof): Moved to ...
35591         * include/bits/stdlib-float.h: Here.  New file.
35592         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35593         * stdlib/bits/stdlib-float.h: New file.
35594         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35595         -mno-sse -mno-mmx.
35596         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35597         <xmmintrin.h>.
35599 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35601         * conform/conformtest.pl (@headers): Add fenv.h.
35602         * conform/data/fenv.h-data: New file.
35603         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35604         include of <math/fenv.h>.
35606         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35607         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35608         && !UNIX98].  Enables tests for XOPEN2K8.
35609         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35610         POSIX2008]: Likewise.
35612         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35613         (struct rusage): Do not expect type or its members.
35615         [BZ #3439]
35616         * math/math.h (FP_NAN): Define macro to integer constant usable in
35617         #if and use that to give value to enum constant.
35618         (FP_INFINITE): Likewise.
35619         (FP_ZERO): Likewise.
35620         (FP_SUBNORMAL): Likewise.
35621         (FP_NORMAL): Likewise.
35623 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35625         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35626         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35627         arguments.
35629 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35631         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35632         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35633         autoconf-time if not.
35634         * configure.in: Remove AC_PREREQ.
35636 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35638         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35639         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35640         of the internal implementation.
35642 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35644         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35645         except include of <misc/sys/syslog.h>.
35647 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35650         function returns with a NULL context exit with zero.
35652 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35654         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35656 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35658         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35659         (run_program_cmd): This.
35660         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35661         (tst_langinfo): New variable.  Use it.
35663 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35665         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35666         floating point opcodes.
35668 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35670         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35671         variable.
35673         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35675         * sysdeps/mach/hurd/powerpc: Remove directory.
35676         * sysdeps/mach/powerpc: Likewise.
35678 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35680         * scripts/check-local-headers.sh: Ignore c++ headers.
35682 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35684         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35685         __libc_cleanup_region_start argument.
35687 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35689         [BZ #14784]
35690         [BZ #14785]
35691         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35692         x * y using scaling, not as x * y + z.
35693         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35694         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35695         * math/libm-test.inc (fma_test): Add more tests.
35696         (fma_test_towardzero): Likewise.
35697         (fma_test_downward): Likewise.
35698         (fma_test_upward): Likewise.
35700 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35702         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35704 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35706         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35707         New variable.
35709 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35711         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35713 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35716         Fix sort order.
35717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35718         Likewise.
35720 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35723         Fix the order of the list for glibc 2.17.
35724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35725         Likewise.
35727 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35731 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35733         [BZ #14610]
35734         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35735         for low part of x being zero before using __atanl (y).
35736         * math/libm-test.inc (atan2_test): Add another test.
35738         * manual/install.texi (Configuring and compiling): Document
35739         general use of test-wrapper and test-wrapper-env.
35740         * INSTALL: Regenerated.
35742         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35743         (__fma): Do not extract and scale down low bits on after-rounding
35744         systems when result rounded to normal precision would have normal
35745         exponent.
35746         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35747         (__fmal): Do not extract and scale down low bits on after-rounding
35748         systems when result rounded to normal precision would have normal
35749         exponent.
35750         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35751         (__fmal): Do not extract and scale down low bits on after-rounding
35752         systems when result rounded to normal precision would have normal
35753         exponent.
35754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35755         macro.
35756         (fma_test): Add more tests.
35757         (fma_test_towardzero): Likewise.
35758         (fma_test_downward): Likewise.
35759         (fma_test_upward): Likewise.
35761 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35763         * sysdeps/i386/tininess.h: Renamed to ...
35764         * sysdeps/x86/tininess.h: This.
35765         * sysdeps/x86_64/tininess.h: Removed.
35767 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35769         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35770         input.  Use $(build-program-cmd).
35771         ($(objpfx)tst-array1-static.out): Likewise.
35772         ($(objpfx)tst-array2.out): Likewise.
35773         ($(objpfx)tst-array3.out): Likewise.
35774         ($(objpfx)tst-array4.out): Likewise.
35775         ($(objpfx)tst-array5.out): Likewise.
35776         ($(objpfx)tst-array5-static.out): Likewise.
35778 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35780         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35781         if defined.
35783         * nss/nsswitch.h (nss_interface_function): Provide new
35784         macro for use with NSS functions.
35785         * grp/initgroups.c: Use new macro.
35786         * nss/getXXbyYY.c: Likewise.
35787         * nss/getXXbyYY_r.c: Likewise.
35788         * nss/getXXent.c: Likewise.
35789         * nss/getXXent_r.c: Likewise.
35790         * sysdeps/posix/getaddrinfo.c: Likewise.
35792 2012-10-30  Andreas Jaeger  <aj@suse.de>
35794         * po/ru.po: Update Russion translation from translation project.
35796 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35798         [BZ #14152]
35799         [BZ #14783]
35800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35801         result and shift together with sticky bit instead of replicating
35802         round-to-nearest rounding.
35803         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35804         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35805         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35806         missing underflow exceptions.
35807         (fma_test_towardzero): Add more tests.
35808         (fma_test_downward): Likewise.
35809         (fma_test_upward): Likewise.
35811         [BZ #14047]
35812         * sysdeps/generic/tininess.h: New file.
35813         * sysdeps/i386/tininess.h: Likewise.
35814         * sysdeps/sh/tininess.h: Likewise.
35815         * sysdeps/x86_64/tininess.h: Likewise.
35816         * stdlib/tst-strtod-underflow.c: Likewise.
35817         * stdlib/tst-tininess.c: Likewise.
35818         * stdlib/strtod_l.c: Include <tininess.h>.
35819         (round_and_return): Do not set errno for exact underflow cases.
35820         Force an underflow exception when setting errno for underflow.
35821         Determine underflow based on rounding to normal precision if
35822         TININESS_AFTER_ROUNDING.
35823         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35824         ERANGE for exact underflow cases.
35825         * stdlib/Makefile (tests): Add tst-tininess and
35826         tst-strtod-underflow.
35827         ($(objpfx)tst-tininess): Use $(link-libm).
35828         ($(objpfx)tst-strtod-underflow): Likewise.
35830 2012-10-30  Andreas Jaeger  <aj@suse.de>
35832         [BZ#14767]
35833         * elf/Makefile (tests): Remove conditional for have-initfini-array
35834         since this is now always required and the variable does not exist
35835         anymore.
35836         (tests-static): Likewise.
35837         (modules-names): Likewise.
35839         * po/eo.po: Add Esperanto translation from translation project.
35841         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35842         merged with constructor/destructor.
35843         (init_array): Likewise.
35844         * elf/tst-array2dep.c (fini_array): Likewise.
35845         (init_array): Likewise.
35847 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35849         * manual/message.texi: Delete @cartouche tags.
35851 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35853         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35854         EOPNOTSUPP.
35855         * sysdeps/mach/hurd/fsync.c: Likewise.
35857         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35858         [_POSIX_REALTIME_SIGNALS]: Change condition to
35859         [_POSIX_REALTIME_SIGNALS > 0].
35861 2012-10-27  Andreas Jaeger  <aj@suse.de>
35863         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35864         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35865         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35866         [__WORDSIZE != 64]: Likewise.
35868 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35870         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35871         *  iconvdata/tst-tables.sh: Likewise.
35873 2012-10-25  David S. Miller  <davem@davemloft.net>
35875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35876         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35877         of strtoull.
35879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35880         ifunc-impl-list.c
35881         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35882         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35883         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35884         file.
35886 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35889         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35890         __getdirentries.
35892 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35893             Jim Blandy  <jimb@codesourcery.com>
35895         * scripts/cross-test-ssh.sh: New file.
35896         * manual/install.texi (Configuring and compiling): Document use of
35897         cross-test-ssh.sh.
35898         * INSTALL: Regenerated.
35900 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35902         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35903         EOPNOTSUPP.
35905 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35907         * Makeconfig (run-program-prefix): Fix comment.
35909 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35910             Jim Blandy  <jimb@codesourcery.com>
35912         * Makeconfig (test-wrapper): New variable,
35913         (test-wrapper-env): Likewise.
35914         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35915         (run-built-tests): Define to yes.
35916         (run-program-prefix): Use $(test-wrapper).
35917         (built-program-cmd): Likewise.
35918         * Rules (make-test-out): Use $(test-wrapper-env) and
35919         $(host-built-program-cmd).
35920         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35921         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35922         tst-pathopt.sh.
35923         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35924         $(test-wrapper-env) to tst-rtld-load-self.sh.
35925         ($(objpfx)order2.out): Use $(test-wrapper).
35926         ($(objpfx)tst-initorder.out): Likewise.
35927         ($(objpfx)tst-initorder2.out): Likewise.
35928         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35929         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35930         (test_wrapper_env): New variable.  Use it to run ld.so.
35931         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35932         Use it to run ld.so.
35933         (test_wrapper_env): Likewise.
35934         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35935         $(test-wrapper) to run-iconv-test.sh.
35936         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35937         (ICONV): Use $test_wrapper.
35938         * posix/Makefile ($(objpfx)globtest.out): Pass
35939         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35940         globtest.sh, not $(run-program-prefix).
35941         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35942         (test_wrapper): Likewise.
35943         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35944         set together with run_via_rtld_prefix.
35945         (run_program_prefix): Define in terms of test_wrapper and
35946         run_via_rtld_prefix.
35948 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35950         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35951         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35952         Targets removed.
35954         [BZ #14743]
35955         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35956         Declare __clock_getres, __clock_gettime, __clock_settime,
35957         __clock_nanosleep, and __clock_getcpuclockid.
35958         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35959         Remove librt_hidden_def (clock_gettime).
35960         * sysdeps/unix/clock_gettime.c: Likewise.
35961         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35962         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35963         * rt/clock_getres.c: Define __clock_getres as an alias.
35964         * sysdeps/posix/clock_getres.c: Likewise.
35965         * rt/clock_settime.c: Define __clock_settime as an alias.
35966         * sysdeps/unix/clock_settime.c: Likewise.
35967         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35968         * sysdeps/unix/clock_nanosleep.c: Likewise.
35969         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35970         * rt/clock-compat.c: New file.
35971         * rt/Makefile (librt-routines): Add clock-compat and move
35972         $(clock-routines) to ...
35973         (routines): ... here, new variable.
35974         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35975         Don't add get_clockfreq here.
35976         * rt/Versions (libc: GLIBC_2.17): New version set.
35977         Add clock_* symbols here.
35978         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35979         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35980         (GLIBC_2.17): Add clock_* symbols.
35981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35983         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35985         Likewise.
35986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35987         Likewise.
35988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35992         * NEWS: Mention the move.
35994         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35995         Use __open, __read, __close rather than their public counterparts.
35996         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35997         (__get_clockfreq_via_cpuinfo): Likewise.
35998         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35999         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36001         * config.h.in (HAVE_IFUNC): New #undef.
36002         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36003         was successful.
36004         * configure: Regenerated.
36006 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36008         * configure.in: Move READELF check to start of file.
36009         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36010         libc_cv_asm_gnu_indirect_function in the process.
36011         * configure: Regenerated.
36013 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36015         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36016         send the output to /dev/null.
36017         (libc_cv_cc_with_libunwind): Likewise.
36018         (libc_cv_as_noexecstack): Likewise.
36019         * configure: Regenerate.
36021 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36023         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36025         * posix/globtest.sh (TMPDIR): Do not set.
36026         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36027         (testout): Likewise.
36029 2012-10-24  Andreas Jaeger  <aj@suse.de>
36031         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36032         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36033         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36034         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36035         posix_fadvise64, posix_fallocate64.
36037         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36038         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36039         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36040         Likewise.
36041         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36042         Likewise.
36043         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36046         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36047         <bits/fcntl-linux.h>.
36048         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36050         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36051         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36052         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36053         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36054         [__WORDSIZE != 64]: Likewise.
36056 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36058         * Makeconfig (run-built-tests): New variable.
36059         * Rules [$(cross-compiling) = yes]: Change condition to
36060         [$(run-built-tests) = no].
36061         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36062         to [$(run-built-tests) = yes].
36063         * elf/Makefile [$(cross-compiling) = no]: Likewise
36064         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36065         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36066         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36067         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36068         * io/Makefile [$(cross-compiling) = no]: Likewise.
36069         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36070         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36071         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36072         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36073         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36074         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36075         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36076         * string/Makefile [$(cross-compiling) = no]: Likewise.
36078         * posix/Makefile ($(objpfx)globtest.out): Pass
36079         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36080         $(rtld-installed-name).
36081         * posix/globtest.sh (elf_objpfx): Remove variable.
36082         (rtld_installed_name): Likewise.
36083         (library_path): Likewise.
36084         (run_program_prefix): New variable.  Use for running globtest
36085         binary.
36087 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36088             Joseph Myers  <joseph@codesourcery.com>
36090         * Makeconfig (host-built-program-cmd): New variable.
36091         * elf/Makefile (tst-stackguard1-ARGS): Use
36092         $(host-built-program-cmd).
36093         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36094         (tst-spawn-ARGS): Likewise.
36095         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36097 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36098             Jim Blandy  <jimb@codesourcery.com>
36100         * Makeconfig (run-via-rtld-prefix): New variable.
36101         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36102         (built-program-cmd): Likewise.
36104 2012-10-22  Andreas Jaeger  <aj@suse.de>
36106         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36107         __O_RSYNC if it exists, otherwise to O_SYNC.
36109 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36110             Joseph Myers  <joseph@codesourcery.com>
36112         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36113         /dev/null.
36114         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36115         from /dev/null
36116         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36117         /dev/null.
36119 2012-10-22  Andreas Jaeger  <aj@suse.de>
36121         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36122         Define always.
36123         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36126         bits/fcntl-linux.h.
36128         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36129         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36131         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36132         to __O_LARGEFILE.
36133         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36134         to __O_LARGEFILE.
36136 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36137             Joseph Myers  <joseph@codesourcery.com>
36139         * config.make.in (NM): New variable.
36141 2012-10-21  Andreas Jaeger  <aj@suse.de>
36143         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36144         definitions and declarations that are provided by
36145         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36147 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36149         [BZ #14683]
36150         * elf/Makefile (tests-static): Add tst-leaks1-static.
36151         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36152         ($(objpfx)tst-leaks1-static): New rule.
36153         ($(objpfx)tst-leaks1-static-mem): Likewise.
36154         (tst-leaks1-static-ENV): New macro.
36155         * elf/dl-open.c (dl_open_worker): Check the main application
36156         only if SHARED is defined.
36157         * elf/tst-leaks1-static.c: New file.
36159 2012-10-20  Andreas Jaeger  <aj@suse.de>
36161         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36162         generic values for Linux.
36163         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36164         and declarations that are provided by <bits/fcntl-linux.h> and
36165         include <bits/fcntl-linux.h>.
36166         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36167         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36169 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36171         * io/fcntl.h: Move include of <bits/types.h> to the top and
36172         include it unconditionally.
36174 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36176         * wcsmbs/Makefile (tests-ifunc): New variable.
36177         (tests): Add $(tests-ifunc).
36178         * wcsmbs/test-wcschr-ifunc.c: New file.
36179         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36180         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36181         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36182         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36183         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36185         * string/Makefile (tests-ifunc): New variable.
36186         (tests): Add $(tests-ifunc).
36187         * string/test-memccpy.c (TEST_NAME): New macro.
36188         * string/test-memchr.c (TEST_NAME): Likewise.
36189         * string/test-memcmp.c (TEST_NAME): Likewise.
36190         * string/test-memcpy.c (TEST_NAME): Likewise.
36191         * string/test-memmem.c (TEST_NAME): Likewise.
36192         * string/test-memmove.c (TEST_NAME): Likewise.
36193         * string/test-memset.c (TEST_NAME): Likewise.
36194         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36195         * string/test-stpcpy.c (TEST_NAME): Likewise.
36196         * string/test-stpncpy.c (TEST_NAME): Likewise.
36197         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36198         * string/test-strcasestr.c (TEST_NAME): Likewise.
36199         * string/test-strcat.c (TEST_NAME): Likewise.
36200         * string/test-strchr.c (TEST_NAME): Likewise.
36201         * string/test-strcmp.c(TEST_NAME): Likewise.
36202         * string/test-strcpy.c (TEST_NAME): Likewise.
36203         * string/test-strcspn.c (TEST_NAME): Likewise.
36204         * string/test-strlen.c (TEST_NAME): Likewise.
36205         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36206         * string/test-strncmp.c (TEST_NAME): Likewise.
36207         * string/test-strncpy.c (TEST_NAME): Likewise.
36208         * string/test-strnlen.c (TEST_NAME): Likewise.
36209         * string/test-strpbrk.c (TEST_NAME): Likewise.
36210         * string/test-strrchr.c (TEST_NAME): Likewise.
36211         * string/test-strspn.c (TEST_NAME): Likewise.
36212         * string/test-strstr.c (TEST_NAME): Likewise.
36213         * string/test-bcopy-ifunc.c: New file.
36214         * string/test-bzero-ifunc.c: Likewise.
36215         * string/test-memccpy-ifunc.c: Likewise.
36216         * string/test-memchr-ifunc.c: Likewise.
36217         * string/test-memcmp-ifunc.c: Likewise.
36218         * string/test-memcpy-ifunc.c: Likewise.
36219         * string/test-memmem-ifunc.c: Likewise.
36220         * string/test-memmove-ifunc.c: Likewise.
36221         * string/test-mempcpy-ifunc.c: Likewise.
36222         * string/test-memset-ifunc.c: Likewise.
36223         * string/test-rawmemchr-ifunc.c: Likewise.
36224         * string/test-stpcpy-ifunc.c: Likewise.
36225         * string/test-stpncpy-ifunc.c: Likewise.
36226         * string/test-strcasecmp-ifunc.c: Likewise.
36227         * string/test-strcasestr-ifunc.c: Likewise.
36228         * string/test-strcat-ifunc.c: Likewise.
36229         * string/test-strchr-ifunc.c: Likewise.
36230         * string/test-strchrnul-ifunc.c: Likewise.
36231         * string/test-strcmp-ifunc.c: Likewise.
36232         * string/test-strcpy-ifunc.c: Likewise.
36233         * string/test-strcspn-ifunc.c: Likewise.
36234         * string/test-strlen-ifunc.c: Likewise.
36235         * string/test-strncasecmp-ifunc.c: Likewise.
36236         * string/test-strncat-ifunc.c: Likewise.
36237         * string/test-strncmp-ifunc.c: Likewise.
36238         * string/test-strncpy-ifunc.c: Likewise.
36239         * string/test-strnlen-ifunc.c: Likewise.
36240         * string/test-strpbrk-ifunc.c: Likewise.
36241         * string/test-strrchr-ifunc.c: Likewise.
36242         * string/test-strspn-ifunc.c: Likewise.
36243         * string/test-strstr-ifunc.c: Likewise.
36245         * debug/Makefile (tests-ifunc): New variable.
36246         (tests): Add $(tests-ifunc).
36247         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36248         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36249         * debug/test-stpcpy_chk-ifunc.c: New file.
36250         * debug/test-strcpy_chk-ifunc.c: Likewise.
36252 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36254         [BZ #13601]
36255         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36256         header is not read in.
36258 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36260         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36261         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36262         directly.  Pass built executable to script as
36263         $(built-program-cmd).
36264         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36265         $testprogram without using LD_LIBRARY_PATH and $ldso.
36267         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36268         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36269         $(rtld-installed-name).
36270         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36271         (rtld_installed_name): Likewise.
36272         (library_path): Likewise.
36273         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36274         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36275         $(run-program-prefix) to tst-tables.sh.
36276         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36277         it to run tst-table-from and tst-table-to.
36278         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36279         Pass it to tst-table.sh.
36280         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36281         $(run-program-prefix) to tst-gettext.sh.
36282         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36283         tst-translit.sh.
36284         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36285         tst-gettext2.sh.
36286         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36287         to run tst-gettext.
36288         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36289         to run tst-gettext2.
36290         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36291         to run tst-translit.
36292         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36293         $(run-program-prefix) to tst-mtrace.sh.
36294         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36295         to run tst-mtrace.
36296         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36297         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36298         $(rtld-installed-name).
36299         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36300         (rtld_installed_name): Likewise.
36301         (run_program_prefix): New variable.  Use it to run wordexp-test.
36303         * Makeconfig (ARCH): Remove all definitions.
36304         (machine): Likewise.
36305         [ARCH]: Remove conditional code.
36306         [!objdir]: Give error.
36307         [!objdir] (objpfx): Remove.
36308         [!objdir] (common-objpfx): Likewise.
36309         [!objdir] (common-objdir): Likewise.
36310         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36311         AC_CONFIG_FILES call.
36312         * configure: Regenerated.
36314         [BZ #13888]
36315         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36316         or TMPDIR.
36317         (testout): Likewise.
36319         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36320         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36321         $(rtld-installed-name).
36322         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36323         (rtld_installed_name): Likwise.
36324         (runit): Remove function.
36325         (run_getconf): New variable,  Use it for running getconf binary.
36327 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36329         [BZ #14716]
36330         * string/test-memmem.c (check_result): New function.
36331         (do_one_test): Use it.
36332         (check1): New function.
36333         (test_main): Use it.
36335 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36337         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36339 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36341         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36342         (_G_LSEEK64): Likewise.
36343         (_G_MMAP64): Likewise.
36344         (_G_FSTAT64): Likewise.
36345         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36346         (_G_LSEEK64): Likewise.
36347         (_G_MMAP64): Likewise.
36348         (_G_FSTAT64): Likewise.
36349         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36350         unconditional.  Call __mmap64 directly.
36351         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36352         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36353         __lseek64 directly.
36354         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36355         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36356         __mmap64 directly.
36357         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36358         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36359         __lseek64 directly.
36360         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36361         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36362         __lseek64 directly.
36363         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36364         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36365         __lseek64 directly.
36366         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36367         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36368         __fxstat64 directly.
36369         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36370         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36371         unconditional.
36372         (freopen64) [!_G_OPEN64]: Remove conditional code.
36373         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36374         unconditional.
36375         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36376         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36377         unconditional.
36378         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36379         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36380         unconditional.
36381         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36382         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36383         unconditional.
36384         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36385         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36386         unconditional.
36387         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36388         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36389         unconditional.
36390         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36391         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36392         unconditional.
36393         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36395 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36397         [BZ #12140]
36398         * manual/memory.texi (Malloc Tunable Parameters): Add note
36399         about free list pointers overwriting some perturb bytes.
36400         Wording suggested by Roland McGrath.
36402 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36404         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36405         (lgamma_test): Likewise.
36406         (tgamma_test): Likewise.
36408 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36410         [BZ #14700]
36411         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36412         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36414 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36416         * NEWS: Mention BZ #14716.
36417         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36418         when removing AVAILABLE1_USES_J macro.
36420 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36422         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36423         (__bswap_64): __uint64_t for unsigned 64-bit int.
36425 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36427         * include/string.h (memmem): Declare libc hidden alias.
36428         * string/memmem.c (memmem): Define libc hidden alias.
36429         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36430         __read, __close instead of open, read, close.
36432 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36434         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36435         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36436         global and hidden.
36437         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36438         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36439         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36440         Likewise.
36441         (__rawmemchr_sse2): Likewise.
36442         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36443         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36444         (__strchr_sse2): Likewise.
36445         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36446         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36447         (__strcasecmp_sse2): Likewise.
36448         (__strncasecmp_sse2): Likewise.
36449         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36450         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36451         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36452         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36453         (__strrchr_sse2): Likewise.
36454         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36455         ifunc-impl-list.c.
36456         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36457         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36458         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36459         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36460         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36461         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36462         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36463         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36464         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36465         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36466         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36467         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36468         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36469         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36470         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36471         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36472         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36473         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36474         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36475         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36476         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36477         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36478         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36479         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36480         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36481         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36482         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36483         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36484         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36485         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36487         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36488         global and hidden.
36489         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36490         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36491         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36492         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36493         Likewise.
36494         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36495         Likewise.
36496         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36497         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36498         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36499         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36500         ifunc-impl-list.c.
36501         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36502         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36503         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36504         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36505         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36506         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36507         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36508         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36509         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36510         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36511         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36512         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36513         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36514         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36515         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36516         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36517         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36518         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36519         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36520         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36521         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36522         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36523         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36524         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36525         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36526         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36527         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36528         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36529         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36530         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36531         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36532         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36533         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36534         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36535         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36536         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36537         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36538         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36539         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36540         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36541         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36543         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36544         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36545         * include/ifunc-impl-list.h: New file.
36546         * misc/ifunc-impl-list.c: Likewise.
36547         * misc/Makefile (routines): Add ifunc-impl-list.
36548         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36549         * string/test-string.h: Include <ifunc-impl-list.h>.
36550         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36551         TEST_NAME]: New variables.
36552         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36553         are defined.
36554         (test_init): Call __libc_ifunc_impl_list to initialize
36555         func_list if TEST_IFUNC and TEST_NAME are defined.
36557         * string/Makefile (strop-tests): Add bcopy and bzero.
36558         * string/test-bcopy.c: New file.
36559         * string/test-bzero.c: Likewise.
36560         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36561         defined.
36562         * string/test-memset.c: Support bzero test if TEST_BZERO is
36563         defined.
36564         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36565         __libc_memmove.
36566         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36567         __libc_memset.
36568         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36569         of memset.
36571 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36573         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36574         * configure: Regenerated.
36576         * Makeconfig (+link-static-before-libc): Don't include
36577         $(link-static-libc).
36579         * libio/libio.h (_IO_pos_t): Remove.
36581 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36583         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36584         McGrath.
36586 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36588         * crypt/crypt-entry.c: Include fips-private.h.
36589         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36590         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36591         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36592         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36594 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36596         * crypt/crypt-private.h: Include stdbool.h.
36597         (_ufc_setup_salt_r): Return bool.
36598         * crypt/crypt-entry.c: Include errno.h.
36599         (__crypt_r): Return NULL with EINVAL for bad salt.
36600         * crypt/crypt_util.c (bad_for_salt): New.
36601         (_ufc_setup_salt_r): Check that salt is long enough and within
36602         the specified alphabet.
36603         * crypt/badsalttest.c: New file.
36604         * crypt/Makefile (tests): Add it.
36605         ($(objpfx)badsalttest): New.
36607 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36609         * NEWS: Add entry for BZ #14602.
36611 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36613         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36614         type-generic.
36615         * math/libm-test.inc: Update comment listing what functions and
36616         macros are tested.
36617         (isgreater_test): New function.
36618         (isgreaterequal_test): Likewise.
36619         (isless_test): Likewise.
36620         (islessequal_test): Likewise.
36621         (islessgreater_test): Likewise.
36622         (isunordered_test): Likewise.
36623         (main): Call the new functions.
36625 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36627         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36628         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36629         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36630         * sysdeps/i386/configure: Regenerated.
36631         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36632         * sysdeps/mach/configure: Regenerated.
36633         * sysdeps/mach/hurd/configure: Regenerated.
36634         * sysdeps/powerpc/configure: Regenerated.
36635         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36636         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36637         * sysdeps/s390/s390-32/configure: Regenerated.
36638         * sysdeps/s390/s390-64/configure: Regenerated.
36639         * sysdeps/sh/configure: Regenerated.
36640         * sysdeps/sparc/configure: Regenerated.
36641         * sysdeps/unix/sysv/linux/configure: Regenerated.
36642         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36643         * sysdeps/x86_64/configure: Regenerated.
36645         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36646         defined.  Don't check if MAP is NULL.
36648 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36650         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36651         (_G_stat64): Likewise.
36652         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36653         (_G_stat64): Likewise.
36654         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36655         instead of struct _G_stat64.
36656         * libio/fileops.c (mmap_remap_check): Likewise.
36657         (decide_maybe_mmap): Likewise.
36658         (_IO_new_file_seekoff): Likewise.
36659         (_IO_file_stat): Likewise.
36660         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36661         _G_off64_t.
36662         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36663         instead of struct _G_stat64.
36664         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36666 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36668         [BZ #14602]
36669         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36670         Replace with ...
36671         (CHECK_EOL): New macro.
36672         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36673         CHECK_EOL.
36674         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36675         Replace with CHECK_EOL.
36676         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36677         Replace with CHECK_EOL.
36679 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36681         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36682         type-generic.
36683         * math/libm-test.inc: Update comment listing what functions and
36684         macros are tested.
36685         (finite_test): New function.
36686         (isinf_test): Likewise.
36687         (isnan_test): Likewise.
36688         (fpclassify_test): Test subnormal input.
36689         (isfinite_test): Likewise.
36690         (isnormal_test): Likewise.
36691         (main): Call the new functions.
36693 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36695         [BZ #14660]
36696         * Makerules (%.dynsym): Force C locale when running
36697         $(OBJDUMP) --dynamic-syms.
36699 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36701         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36702         <stdint.h>.
36704 2012-10-06  David S. Miller  <davem@davemloft.net>
36706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36707         upper 32-bits of the length value in %o2 since we use branch-on-register
36708         tests which consider the entire 64-bit register.
36710 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36712         * string/test-strstr.c (check2): Add a test for page boundary.
36714 2012-10-05  David S. Miller  <davem@davemloft.net>
36716         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36717         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36718         file.
36719         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36720         sysdep_routines.
36721         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36722         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36723         and bzero when HWCAP_SPARC_CRYPTO is present.
36725 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36727         [BZ #14602]
36728         * string/test-strstr.c (check2): New function.
36729         (test_main): Call check2.
36731         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36732         and bug-strchr1.
36733         * string/bug-strcasestr1.c (do_test): Moved to ...
36734         * string/test-strcasestr.c (check1): Here.  New function.
36735         (do_one_test): Break out result checking code into ...
36736         (check_result): This.  New function.
36737         (do_one_test): Call check_result.
36738         (test_main): Call check1.
36739         * string/bug-strchr1.c (do_test): Moved to ...
36740         * string/test-strchr.c (check1): Here.  New function.
36741         (do_one_test): Break out result checking code into ...
36742         (check_result): This.  New function.
36743         (do_one_test): Call check_result.
36744         (test_main): Call check1.
36745         * string/bug-strstr1.c (main): Moved to ...
36746         * string/test-strstr.c (check1): Here.  New function.
36747         (do_one_test): Break out result checking code into ...
36748         (check_result): This.  New function.
36749         (do_one_test): Call check_result.
36750         (test_main): Call check1.
36751         * string/bug-strcasestr1.c: Removed.
36752         * string/bug-strchr1.c: Likewise.
36753         * string/bug-strstr1.c: Likewise.
36755         * elf/Makefile (dl-routines): Add hwcaps.
36756         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36757         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36758         (_dl_important_hwcaps): Moved to ...
36759         * elf/dl-hwcaps.c: Here.  New file.
36760         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36762         [BZ #14557]
36763         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36764         if IS_IN_rtld isn't defined.
36766         * elf/dl-support.c (_dl_sysinfo_map): New.
36767         Include "get-dynamic-info.h" and "setup-vdso.h".
36768         (_dl_non_dynamic_init): Call setup_vdso.
36769         * elf/dynamic-link.h: Don't include <assert.h>.
36770         (elf_get_dynamic_info): Moved to ...
36771         * elf/get-dynamic-info.h: Here.  New file.
36772         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36773         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36774         * elf/setup-vdso.h: Here.  New file.
36775         * elf/rtld.c: Include "setup-vdso.h".
36776         (dl_main): Call setup_vdso.
36778 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36780         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36781         creal in comment listing functions tested.  List finite, isinf,
36782         isnan, isless, islessequal, isgreater, isgreaterequal,
36783         islessgreater, isunordered, lgamma_r and pow10 as functions and
36784         macros not tested.  Mention which functions not tested are aliases
36785         for other functions.  Fix typo.  Note that signs of NaNs are not
36786         tested.
36788         * scripts/config.guess: Update from config.git.
36789         * scripts/config.sub: Likewise.
36791 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36793         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36794         * misc/madvise.c (madvise): Renamed to __madvise.
36795         Make madvise a weak alias.
36796         * include/sys/mman.h: Declare __madvise.
36797         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36798         * sysdeps/unix/syscalls.list
36799         (madvise): Make __madvise the strong name, and madvise a weak alias.
36800         * sysdeps/unix/sysv/linux/syscalls.list
36801         (madvise, mmap): Remove redundant entries.
36802         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36803         * malloc/malloc.c (mtrim): Likewise.
36804         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36806 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36808         * sysdeps/mach/hurd/dl-cache.c: File removed.
36809         * config.h.in (USE_LDCONFIG): New #undef.
36810         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36811         * configure: Regenerated.
36812         * elf/Makefile (dl-routines): Add dl-cache only under
36813         [$(use-ldconfig) = yes].
36814         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36815         cache on [USE_LDCONFIG].
36816         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36817         [USE_LDCONFIG].
36818         * elf/rtld.c (dl_main): Likewise.
36820 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36822         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36823         _SC_LEVEL4_CACHE_LINESIZE.
36825 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36827         * sysdeps/unix/bsd/confstr.h: File removed.
36829 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36831         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36832         sys/sdt-config.h.
36834 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36836         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36837         Make 'mapoff' field ElfW(Off) rather than off_t.
36839 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36841         * nscd/Makefile: Remove nscd-cflags and all its users.
36842         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36843         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36845         [BZ #10631]
36846         * malloc.c (malloc_printerr): Clarify error message.
36848 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36850         [BZ #14648]
36851         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36852         Set bit_FMA_Usable if FMA is supported.
36853         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36854         macro.
36855         (bit_FMA4_Usable): Updated.
36856         (index_FMA_Usable): New macro.
36857         (CPUID_FMA): Likewise
36858         (HAS_FMA): Defined with bit_FMA_Usable.
36860 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36862         * bits/types.h (__swblk_t): Type removed.
36863         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36864         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36865         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36866         (__SWBLK_T_TYPE): Likewise.
36867         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36868         (__SWBLK_T_TYPE): Likewise.
36869         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36870         (__SWBLK_T_TYPE): Likewise.
36871         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36872         (__SWBLK_T_TYPE): Likewise.
36874 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36875             Honza Horak <hhorak@redhat.com>
36877         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36878         (xdr_mapname): Use YPMAXMAP as maxsize.
36879         (xdr_peername): Use YPMAXPEER as maxsize.
36880         (xdr_keydat): Use YPAXRECORD as maxsize.
36881         (xdr_valdat): Use YPMAXRECORD as maxsize.
36883 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36885         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36887         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36888         * csu/init-first.c: ... here.
36889         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36890         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36891         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36892         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36893         * sysdeps/i386/init-first.c: File removed.
36894         * sysdeps/sh/init-first.c: File removed.
36896 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36898         [BZ #14645]
36899         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36900         if x * y might underflow to zero and z is zero.
36901         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36902         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36903         * math/libm-test.inc (min_subnorm_value): New variable.
36904         (fma_test): Add more tests.
36905         (fma_test_towardzero): Likewise.
36906         (fma_test_downward): Likewise
36907         (fma_test_upward): Likewise.
36908         (initialize): Set min_subnorm_value.
36910 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36912         [BZ #14638]
36913         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36914         0 + 0.
36915         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36916         mode for addition resulting in exact zero.
36917         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36919         exact 0 + 0.
36920         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36922         * math/libm-test.inc (fma_test): Add more tests.
36923         (fma_test_towardzero): New function.
36924         (fma_test_downward): Likewise.
36925         (fma_test_upward): Likewise.
36926         (main): Call the new functions.
36928 2012-09-28  David S. Miller  <davem@davemloft.net>
36930         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36932 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36934         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36935         instead of SIGALRM.
36937         * sysdeps/gnu/_G_config.h: Moved to ...
36938         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36939         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36940         * sysdeps/generic/_G_config.h: ... here.
36942         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36944         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36946         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36947         Conditionalize target on [libnss_test1.so-version].
36949         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36951         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36952         (elfobjdir): Move out of conditionals.
36954         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36955         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36956         (__nss_lookup_function): Conditionalize label remove_from_tree on
36957         [!DO_STATIC_NSS || SHARED], matching its only use.
36959 2012-09-28  David S. Miller  <davem@davemloft.net>
36961         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36962         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36963         file.
36964         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36965         sysdep_routines.
36966         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36967         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36968         when HWCAP_SPARC_CRYPTO is present.
36970 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36972         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36974 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36976         [BZ #6530]
36977         * stdio-common/vfprintf.c (process_string_arg): Revert
36978         2000-07-22 change.
36980 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36982         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36983         for testcase.
36984         * stdio-common/tst-sprintf.c: Include <locale.h>
36985         (main): Test sprintf's handling of incomplete multibyte
36986         characters.
36988 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36990         * elf/dl-runtime.c (VERSYMIDX): Removed.
36991         * elf/dl-version.c (VERSYMIDX): Likewise.
36992         * elf/do-rel.h (VERSYMIDX): Likewise.
36993         (VALIDX): Likewise.
36994         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36995         * elf/rtld.c (VALIDX): Likewise.
36996         (ADDRIDX): Likewise.
36997         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36998         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36999         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37000         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37001         (VALIDX): Likewise.
37002         (ADDRIDX): Likewise.
37004 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37006         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37008 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37010         [BZ #11438]
37011         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37012         to global scope.
37013         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37014         addresses are in the same scope as 192.0.2/24.
37015         * posix/gai.conf: Document new scope table defaults.
37017 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37019         [BZ #5298]
37020         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37021         for ftell.  Compute offsets from write pointers instead.
37022         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37024 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37026         [BZ #14543]
37027         * libio/Makefile (tests): New test case tst-fseek.
37028         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37029         combination works in wide mode.
37030         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37031         state when the external buffer state changes.
37033 2012-09-27  David S. Miller  <davem@davemloft.net>
37035         [BZ #14376]
37036         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37037         pass reloc->r_addend in as the 'high' argument to
37038         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37042 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37044         * rt/tst-aio2.c: Include <pthread.h>.
37045         * rt/tst-aio3.c: Likewise.
37047 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37049         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37051 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37053         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37054         contents on [SHARED].
37056 2012-09-26  Marek Polacek  <polacek@redhat.com>
37058         [BZ #14530]
37059         [BZ #13741]
37060         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37061         for C++ and GCC <4.3 as well as for non GCC compilers.
37063 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37067 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37069         * Makefile.in (all, install): Declare with .PHONY.
37070         Reported by Michael Hope <michael.hope@linaro.org>.
37072 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37074         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37075         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37076         system header.
37077         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37078         Likewise.
37079         (sydep_routines): Add the new and the internal functions.
37080         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37081         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37083         (GLIBC_2.17): Add the new function.
37084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37085         (GLIBC_2.17): Likewise.
37086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37087         (GLIBC_2.17): Likewise.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37089         (GLIBC_2.17): Likewise.
37090         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37092 2012-09-25  Alan Modra  <amodra@gmail.com>
37094         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37095         Add release barrier before setting once_control to say
37096         initialisation is done.  Add hints on lwarx.  Use macro in
37097         place of isync.
37098         (clear_once_control): Add release barrier.
37100 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37102         [BZ #13629]
37103         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37104         specially.
37105         * math/s_clog10.c (__clog10): Likewise.
37106         * math/s_clog10f.c (__clog10f): Likewise.
37107         * math/s_clog10l.c (__clog10l): Likewise.
37108         * math/s_clogf.c (__clogf): Likewise.
37109         * math/s_clogl.c (__clogl): Likewise.
37110         * math/Makefile (libm-calls): Add x2y2m1.
37111         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37112         (__x2y2m1): Likewise.
37113         (__x2y2m1l): Likewise.
37114         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37115         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37116         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37117         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37118         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37119         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37120         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37121         * sysdeps/i386/fpu/libm-test-ulps: Update.
37122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37124         [BZ #14621]
37125         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37126         int as type of variable DEPTH.
37127         (glob): Use size_t instead of int as type of variables NEWCOUNT
37128         and OLD_PATHC.
37130 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37132         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37133         Add s_sincosf-sse2.
37134         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37135         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37136         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37137         macros for using routine as __sincosf_ia32.
37138         Use macro for function declaration and weak_alias.
37139         * sysdeps/i386/fpu/libm-test-ulps: Update.
37141         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37144         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37145         subnormal argument.
37146         * math/s_cexpf.c (__cexpf): Likewise.
37147         * math/s_csinf.c (__csinf): Likewise.
37148         * math/s_csinhf.c (__csinhf): Likewise.
37149         * math/s_ctanf.c (__ctanf): Likewise.
37150         * math/s_ctanhf.c (__ctanhf): Likewise.
37151         * math/s_ccosh.c (__ccoshf): Likewise.
37152         * math/s_cexp.c (__cexpl): Likewise.
37153         * math/s_csin.c (__csin): Likewise.
37154         * math/s_csinh.c (__csinh): Likewise.
37155         * math/s_ctan.c (__ctan): Likewise.
37156         * math/s_ctanh.c (ctanh): Likewise.
37157         * math/s_ccoshl.c (__ccoshl): Likewise.
37158         * math/s_cexpl.c (__cexpl): Likewise.
37159         * math/s_csinl.c (__csinl): Likewise.
37160         * math/s_csinhl.c (__csinhl): Likewise.
37161         * math/s_ctanl.c (__ctanl): Likewise.
37162         * math/s_ctanhl.c (__ctanhl): Likewise.
37164 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37166         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37167         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37168         (_IO_off_t): Define to __off_t, not _G_off_t.
37169         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37170         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37171         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37172         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37173         type of __dummy and __dummy2 fields.
37174         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37175         (_G_ssize_t): Likewise.
37176         (_G_off_t): Likewise.
37177         (_G_pid_t): Likewise.
37178         (_G_uid_t): Likewise.
37179         (_G_wchar_t): Likewise.
37180         (_G_wint_t): Likewise.
37181         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37182         (_G_ssize_t): Likewise.
37183         (_G_off_t): Likewise.
37184         (_G_pid_t): Likewise.
37185         (_G_uid_t): Likewise.
37186         (_G_wchar_t): Likewise.
37187         (_G_wint_t): Likewise.
37188         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37189         (_G_ssize_t): Likewise.
37190         (_G_off_t): Likewise.
37191         (_G_pid_t): Likewise.
37192         (_G_uid_t): Likewise.
37193         (_G_wchar_t): Likewise.
37194         (_G_wint_t): Likewise.
37196 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37198         * malloc/arena.c: Include malloc-sysdep.h.
37199         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37200         is sufficient to shrink the heap or an unmap is needed.
37201         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37202         new function check_may_shrink_heap.
37203         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37204         new function check_may_shrink_heap.
37206 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37208         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37209         comments.
37211 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37213         * catgets/test-gencat.sh: Add "set -e".
37214         * elf/tst-pathopt.sh: Likewise.
37215         * grp/tst_fgetgrent.sh: Likewise.
37216         * iconvdata/run-iconv-test.sh: Likewise.
37217         * intl/tst-gettext.sh: Likewise.
37218         * intl/tst-gettext2.sh: Likewise.
37219         * intl/tst-gettext4.sh: Likewise.
37220         * intl/tst-gettext6.sh: Likewise.
37221         * intl/tst-translit.sh: Likewise.
37222         * io/ftwtest-sh: Likewise.
37223         * libio/test-freopen.sh: Likewise.
37224         * malloc/tst-mtrace.sh: Likewise.
37225         * posix/globtest.sh: Likewise.
37226         * posix/tst-getconf.sh: Likewise.
37227         * posix/wordexp-tst.sh: Likewise.
37228         * stdio-common/tst-printf.sh: Likewise.
37229         * stdio-common/tst-unbputc.sh: Likewise.
37230         * stdlib/tst-fmtmsg.sh: Likewise.
37231         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37232         * catgets/Makefile: Do not specify -e option when running
37233         testsuite shell scripts.
37234         * elf/Makefile: Likewise.
37235         * grp/Makefile: Likewise.
37236         * iconvdata/Makefile: Likewise.
37237         * intl/Makefile: Likewise.
37238         * io/Makefile: Likewise.
37239         * libio/Makefile: Likewise.
37240         * malloc/Makefile: Likewise.
37241         * posix/Makefile: Likewise.
37242         * stdio-common/Makefile: Likewise.
37243         * stdlib/Makefile: Likewise.
37244         * sysdeps/x86_64/Makefile: Likewise.
37246         * io/ftwtest-sh: Add copyright header.
37247         * posix/globtest.sh: Likewise.
37248         * posix/tst-getconf.sh: Likewise.
37249         * posix/wordexp-tst.sh: Likewise.
37250         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37252 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37254         [BZ #13679]
37255         * Makeconfig (+link): Defined as $(+link-static) if
37256         $(build-shared) isn't yes.
37257         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37258         isn't yes.
37259         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37261         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37263         [BZ #14562]
37264         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37265         new chunk size with MALLOC_ALIGN_MASK.
37267 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37269         [BZ #5044]
37270         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37271         <rounding-mode.h>.
37272         (__printf_fphex): Determine rounding using get_rounding_mode and
37273         round_away.
37274         * stdio-common/tst-printf-round.c (struct hex_test): New
37275         structure.
37276         (hex_tests): New variable.
37277         (test_hex_in_one_mode): New function.
37278         (do_test): Also run tests for hex float output.
37280 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37282         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37283         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37284         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37285         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37286         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37287         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37288         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37289         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37291 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37293         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37294         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37295         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37296         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37298 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37300         [BZ #14579]
37301         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37302         mode only.
37303         * elf/tst-rtld-load-self.sh: New test.
37304         * elf/Makefile: Run it.
37306 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37308         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37309         (tst-writev-ENV): Remove.
37310         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37312 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37314         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37316 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37318         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37319         unconditional.
37320         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37321         Likewise.
37322         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37323         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37324         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37325         Likewise.
37327 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37329         [BZ #14587]
37330         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37331         * config.make.in (have-cpp-asm-debuginfo): Removed.
37332         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37333         * configure: Regenerated.
37335 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37337         [BZ #5044]
37338         * stdio-common/printf_fp.c: Include <stdbool.h> and
37339         <rounding-mode.h>.
37340         (___printf_fp): Determine rounding using get_rounding_mode and
37341         round_away.
37342         * stdio-common/tst-printf-round.c: New file.
37343         * stdio-common/Makefile (tests): Add tst-printf-round.
37344         (link-libm): New variable.
37345         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37347 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37349         [BZ #14576]
37350         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37351         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37352         Likewise.
37353         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37354         Likewise.
37356 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37358         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37359         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37360         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37361         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37363 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37365         [BZ #14518]
37366         * include/rounding-mode.h: New file.
37367         * sysdeps/generic/get-rounding-mode.h: Likewise.
37368         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37369         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37370         (MAX_VALUE): New macro.
37371         (MIN_VALUE): Likewise.
37372         (overflow_value): New function.
37373         (underflow_value): Likewise.
37374         (round_and_return): Use overflow_value and underflow_value to
37375         determine return values in overflow and underflow cases.  Use
37376         round_away to determine rounding depending on rounding mode.
37377         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37378         determine return values in overflow and underflow cases.
37379         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37380         (struct test_results): New structure.
37381         (struct test): Use struct test_results to store expected results
37382         for all rounding modes.
37383         (TEST): Include expected results for all rounding modes.
37384         (test_in_one_mode): New function.
37385         (do_test): Use test_in_one_mode to compute and check results.
37386         Check results for all rounding modes.
37387         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37388         $(link-libm).
37390 2012-12-09  Allan McRae  <allan@archlinux.org>
37392         * sysdeps/i386/fpu/libm-test-ulps: Update
37394 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37396         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37397         (_G_int32_t): Likewise.
37398         (_G_uint16_t): Likewise.
37399         (_G_uint32_t): Likewise.
37400         (_G_HAVE_BOOL): Likewise.
37401         (_G_HAVE_ATEXIT): Likewise.
37402         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37403         (_G_HAVE_IO_FILE_OPEN): Likewise.
37404         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37405         (_G_int32_t): Likewise.
37406         (_G_uint16_t): Likewise.
37407         (_G_uint32_t): Likewise.
37408         (_G_HAVE_BOOL): Likewise.
37409         (_G_HAVE_ATEXIT): Likewise.
37410         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37411         (_G_HAVE_IO_FILE_OPEN): Likewise.
37412         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37413         (_G_int32_t): Likewise.
37414         (_G_uint16_t): Likewise.
37415         (_G_uint32_t): Likewise.
37416         (_G_HAVE_BOOL): Likewise.
37417         (_G_HAVE_ATEXIT): Likewise.
37418         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37419         (_G_HAVE_IO_FILE_OPEN): Likewise.
37421 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37423         * csu/libc-tls.c: Update copyright years.
37425 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37427         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37428         [!_G_USING_THUNKS]: Remove conditional code.
37429         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37430         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37432         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37433         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37434         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37435         (_G_VTABLE_LABEL_PREFIX): Likewise.
37436         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37437         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37438         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37439         (_G_VTABLE_LABEL_PREFIX): Likewise.
37440         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37441         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37442         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37443         (_G_VTABLE_LABEL_PREFIX): Likewise.
37444         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37446 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37448         * libio/Makefile: Include ../Makeconfig before tests.
37449         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37450         only if $(build-shared) is yes.
37452         * iconv/gconv_db.c: Update copyright years.
37454 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37456         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37457         unwind info if defined PIC. Fix special cases description.
37458         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37460         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37461         DP_HI_MASK entry.
37462         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37464 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37466         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37468         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37469         is NULL.
37471         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37472         (LDLIBS-tst-chk4): This.
37473         (LDFLAGS-tst-chk5): Renamed to ...
37474         (LDLIBS-tst-chk5): This.
37475         (LDFLAGS-tst-chk6): Renamed to ...
37476         (LDLIBS-tst-chk6): This.
37477         (LDFLAGS-tst-lfschk4): Renamed to ...
37478         (LDLIBS-tst-lfschk4): This.
37479         (LDFLAGS-tst-lfschk5): Renamed to ...
37480         (LDLIBS-tst-lfschk5): This.
37481         (LDFLAGS-tst-lfschk6): Renamed to ...
37482         (LDLIBS-tst-lfschk6): This.
37484         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37485         on $(common-objpfx)soversions.mk.
37487 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37489         [BZ #10014]
37490         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37491         example host name.
37493 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37495         * malloc/arena.c (arena_get_retry): New function that gets
37496         another arena for the caller to try its request on.
37497         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37498         current arena cannot fulfill the request.
37499         (__libc_memalign): Likewise.
37500         (__libc_memalign): Likewise.
37501         (__libc_pvalloc): Likewise.
37502         (__libc_calloc): Likewise.
37504 2012-09-05  John Tobey  <john.tobey@gmail.com>
37506         [BZ #13542]
37507         * manual/arith.texi (Operations on Complex): Fix description
37508         of carg branch cut.
37510 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37512         [BZ #10014]
37513         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37514         host name.
37516         [BZ #10038]
37517         * manual/memory.texi (Memory): Make order of menu items match
37518         order of sections.
37520 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37522         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37523         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37524         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37526 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37528         * csu/libc-tls.c (static_dtv): Renamed to ...
37529         (_dl_static_dtv): This.  Make it global.
37530         (_dl_initial_dtv): Removed.
37531         (__libc_setup_tls): Updated.
37532         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37533         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37534         DL_INITIAL_DTV.
37536 2012-09-06  Petr Machata  <pmachata@redhat.com>
37538         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37539         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37540         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37541         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37543 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37545         [BZ #14545]
37546         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37547         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37548         freeing dtv[-1].
37550 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37552         [BZ #14544]
37553         * Makeconfig (link-static-before-libc): Replace $(+prector)
37554         with $(+prectorT).
37555         (link-static-after-libc): Replace $(+postctor) with
37556         $(+postctorT).
37557         (link-bounded): Replace $(+prector)/$(+postctor) with
37558         $(+prectorT)/$(+postctorT).
37559         (+prectorT): New macro.
37560         (+postctorT): Likewise.
37562 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37564         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37565         (round_str): Handle values above the maximum for IBM long double
37566         as inexact.
37567         * stdlib/tst-strtod-round.c (tests): Regenerated.
37569 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37571         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37572         assembler flag.
37573         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37574         zarch_nohighgprs around the zarch optimized routines.
37575         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37576         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37577         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37578         for zarch.
37580 2012-09-05  David S. Miller  <davem@davemloft.net>
37582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37584         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37585         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37586         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37587         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37588         entries.
37590 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37592         * malloc/arena.c: Fold copyright years.
37593         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37595 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37597         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37599 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37601         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37603 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37605         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37606         change internal state upon failure.
37608 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37610         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37611         * malloc/memusage.c (mmap): Likewise.
37612         (mmap64, mremap): Likewise.  Adjust name in comment.
37614 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37616         * libio/fileops.c: Fix typos in comments.
37617         * libio/oldfileops.c: Likewise.
37618         * libio/wfileops.c: Likewise.
37620 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37622         [BZ #1349]
37623         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37624         (tst-malloc-usable-ENV): Set environment for test case.
37625         * malloc/hooks.c (malloc_check_get_size): New function to get
37626         requested size.
37627         * malloc/malloc.c (musable): Use malloc_check_get_size.
37628         * malloc/tst-malloc-usable.c: New test case.
37630 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37632         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37634 2012-09-05  Allan McRae  <allan@archlinux.org>
37636         [BZ #13966]
37637         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37638         determine header location.
37639         * configure: Regenerated.
37641 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37643         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37644         float format.
37645         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37646         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37647         format.
37648         (test): Regenerate.
37650 2012-09-04  David S. Miller  <davem@davemloft.net>
37652         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37653         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37654         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37656 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37658         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37659         failures.
37661         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37663 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37665         [BZ #9914]
37666         * libio/iogetdelim.c: Include <limits.h>.
37667         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37668         + len + 1 would overflow.
37670 2012-09-03  Andreas Jaeger  <aj@suse.de>
37672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37673         * sysdeps/i386/fpu/libm-test-ulps: Update.
37675 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37677         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37678         Add s_sinf-sse2, s_conf-sse2.
37680         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37681         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37682         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37683         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37685         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37686         for using routine as __sinf_ia32.
37687         Use macro for function declaration and weak_alias.
37688         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37689         for using routine as __cosf_ia32.
37690         Use macro for function declaration and weak_alias.
37692         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37693         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37695         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37696         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37699         * math/libm-test.inc (cos_test): Add more test cases.
37700         (sin_test): Likewise.
37701         (sincos_test): Likewise.
37703 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37705         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37706         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37707         hidden.
37708         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37710 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37712         [BZ #14538]
37713         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37714         first element of the GOT.
37715         (elf_machine_load_address): Return the difference between
37716         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37718 2012-09-01  Allan McRae  <allan@archlinux.org>
37720         [BZ #13412]
37721         * configure.in (AWK): Require gawk version 3.0 or later.
37722         * configure: Regenerated.
37724 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37726         * sysdeps/unix/sysv/linux/kernel-features.h
37727         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37728         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37729         [__NR_clock_getres]: Make code unconditional.
37730         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37731         (clock_getcpuclockid): Remove code left unreachable by removal of
37732         conditionals.
37733         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37734         code unconditional.
37735         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37736         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37737         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37738         Make code unconditional.
37739         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37740         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37741         * sysdeps/unix/sysv/linux/clock_settime.c
37742         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37743         conditional code.
37744         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37745         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37747 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37749         [BZ #14476]
37750         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37751         scripts/test-installation.pl.
37753         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37754         and $ld_so_version if it is set.
37756 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37758         [BZ #14516]
37759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37760         failure if reading from procfs failed.
37761         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37763 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37765         * sysdeps/unix/sysv/linux/kernel-features.h
37766         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37767         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37768         Remove conditional code.
37769         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37770         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37771         Remove conditional code.
37772         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37773         * sysdeps/unix/sysv/linux/i386/fxstat.c
37774         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37776         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37777         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37779         * sysdeps/unix/sysv/linux/i386/lxstat.c
37780         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37782         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37783         Remove conditional code.
37784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37785         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37786         Remove conditional code.
37787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37788         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37789         <kernel-features.h>.
37790         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37791         Remove.
37792         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37793         Remove conditional code.
37794         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37795         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37796         Remove conditional.
37798 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37800         [BZ #5400]
37801         * NEWS: Add fixed bug number.
37803 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37805         [BZ #14519]
37806         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37807         underflowing exponent in case of negative sign.
37808         * stdlib/tst-strtod-round-data: Add more tests.
37809         * stdlib/tst-strtod-round.c (tests): Regenerated.
37811         [BZ #3479]
37812         * stdlib/strtod_l.c (NDIG): Remove.
37813         (HEXNDIG): Likewise.
37814         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37815         smallest representable value.
37816         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37817         lie within an exact representation of 1/2 ulp of the result.
37818         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37819         unconditionally.
37820         (TENS_P9_IDX): Define unconditionally.
37821         (TENS_P9_SIZE): Likewise.
37822         (TENS_P10_IDX): Likewise.
37823         (TENS_P10_SIZE): Likewise.
37824         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37825         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37826         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37827         entries for 10^2^13 and 10^2^14.
37828         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37829         (TENS_P13_IDX): Define.
37830         (TENS_P13_SIZE): Likewise.
37831         (TENS_P14_IDX): Likewise.
37832         (TENS_P14_SIZE): Likewise.
37833         (_fpioconst_pow10): Change array size to
37834         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37835         unconditional.
37836         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37837         1024]: Add entries for 10^2^13 and 10^2^14.
37838         [LAST_POW10 > _LAST_POW10]: Remove #error.
37839         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37840         (_fpioconst_pow10): Change array size to
37841         FPIOCONST_POW10_ARRAY_SIZE.
37842         * stdlib/gen-fpioconst.c: New file.
37843         * stdlib/gen-tst-strtod-round.c: Likewise.
37844         * stdlib/tst-strtod-round-data: Likewise.
37845         * stdlib/tst-strtod-round.c: Likewise.
37846         * stdlib/Makefile (tests): Add tst-strtod-round.
37848         [BZ #14459]
37849         * stdlib/strtod_l.c: Include <stdint.h>.
37850         (NDEBUG): Do not define.
37851         (round_and_return): Change EXPONENT parameter to type intmax_t.
37852         Rearrange calculations to avoid internal overflow possibilities.
37853         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37854         Rearrange calculations to avoid internal overflow possibilities.
37855         Assert that number fits inside MPNSIZE limbs.
37856         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37857         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37858         calculations and add assertions to avoid internal overflow
37859         possibilities.  Add casts to avoid signed/unsigned operations.
37860         * stdlib/tst-strtod-overflow.c: New file.
37861         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37863 2012-08-25  Marek Polacek  <polacek@redhat.com>
37865         * time/time.h: Fix some typos in comments.
37867 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37869         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37870         * posix/tst-rfc3484-2.c: Likewise.
37871         * posix/tst-rfc3484-3.c: Likewise.
37873 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37875         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37876         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37878 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37880         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37881         #include of fxstatat64.c.
37883 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37885         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37886         * shadow/getspent_r.c: Likewise.
37887         * shadow/getspnam.c: Likewise.
37888         * shadow/getspnam_r.c: Likewise.
37889         * gshadow/getsgent.c: Likewise.
37890         * gshadow/getsgent_r.c: Likewise.
37891         * gshadow/getsgnam.c: Likewise.
37892         * gshadow/getsgnam_r.c: Likewise.
37893         * inet/getnetbyad.c: Likewise.
37894         * inet/getnetbyad_r.c: Likewise.
37895         * inet/getnetbynm.c: Likewise.
37896         * inet/getnetbynm_r.c: Likewise.
37897         * inet/getnetent.c: Likewise.
37898         * inet/getnetent_r.c: Likewise.
37899         * inet/getproto.c: Likewise.
37900         * inet/getproto_r.c: Likewise.
37901         * inet/getprtent.c: Likewise.
37902         * inet/getprtent_r.c: Likewise.
37903         * inet/getprtname.c: Likewise.
37904         * inet/getprtname_r.c: Likewise.
37905         * inet/getrpcbyname.c: Likewise.
37906         * inet/getrpcbyname_r.c: Likewise.
37907         * inet/getrpcbynumber.c: Likewise.
37908         * inet/getrpcbynumber_r.c: Likewise.
37909         * inet/getrpcent.c: Likewise.
37910         * inet/getrpcent_r.c: Likewise.
37911         * inet/getaliasent.c: Likewise.
37912         * inet/getaliasent_r.c: Likewise.
37913         * inet/getaliasname.c: Likewise.
37914         * inet/getaliasname_r.c: Likewise.
37915         * nscd/getgrgid_r.c: Likewise.
37916         * nscd/getgrnam_r.c: Likewise.
37917         * nscd/gethstbyad_r.c: Likewise.
37918         * nscd/gethstbynm3_r.c: Likewise.
37919         * nscd/getpwnam_r.c: Likewise.
37920         * nscd/getpwuid_r.c: Likewise.
37921         * nscd/getsrvbynm_r.c: Likewise.
37922         * nscd/getsrvbypt_r.c: Likewise.
37923         * nscd/gai.c: Likewise.
37925         * configure.in (build_nscd): New substituted variable, set
37926         by --disable-build-nscd and defaults to $use_nscd.
37927         * configure: Regenerated.
37928         * config.make.in (build-nscd): New substituted variable.
37929         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37930         Change conditional to require [$(build-nscd) = yes] as well.
37931         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37933         [BZ# 13696]
37934         * configure.in (use_nscd): New substituted variable, set by
37935         --disable-nscd.  If enabled, define USE_NSCD.
37936         * configure: Regenerated.
37937         * config.h.in: Add USE_NSCD.
37938         * config.make.in (use-nscd): New substituted variable.
37939         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37940         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37941         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37942         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37943         (CFLAGS-getgrnam_r.c): Likewise.
37944         (CFLAGS-initgroups.c): Likewise.
37945         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37946         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37947         Variables removed.
37948         * inet/getnetgrent_r.c
37949         (nscd_setnetgrent): New function, broken out of ...
37950         (setnetgrent): ... here.  Call it.
37951         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37952         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37953         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37954         * nscd/Makefile (routines, aux): Move definitions after include of
37955         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37956         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37957         Conditionalize on [USE_NSCD].
37958         (is_nscd, nscd_init_cb): Likewise.
37959         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37960         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37961         * nss/nss_db/db-init.c: Likewise.
37962         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37963         [USE_NSCD].
37964         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37965         (make_request): Use it.
37966         (cache_valid_p): New function.
37967         (__check_pf): Use it.
37968         * NEWS: Add item for --disable-nscd.
37970 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37972         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37973         to support sed >= 4.2.1-20-ga9bf076.
37974         * configure: Regenerated.
37976 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37978         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37979         Conditionalize whole body on [IREL].
37981 2012-08-22  Jeff Law <law@redhat.com>
37983         [BZ #14505]
37984         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37985         if the family is PF_UNSPEC.
37987 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37989         * Makerules (lib-version): Rename from V.
37990         (install-lib-nosubdir): Change V to lib-version.
37992 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37994         [BZ #14252]
37995         * powerpc32/power6/wcschr.c: New file.
37996         * powerpc32/power6/wcscpy.c: New file.
37997         * powerpc32/power6/wcsrchr.c: New file.
37998         * powerpc64/power6/wcschr.c: New file.
37999         * powerpc64/power6/wcscpy.c: New file.
38000         * powerpc64/power6/wcsrchr.c: New file.
38002 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38004         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38005         (two_way_short_needle): Use it.
38006         * string/strstr.c (AVAILABLE1_USES_J): Define.
38007         * string/strcasestr.c: Likewise.
38009         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38010         array references.
38011         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38013         [BZ #11607]
38014         * NEWS: Add an entry.
38015         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38016         define their defaults.
38017         (two_way_short_needle): Detect end-of-string on-the-fly.
38018         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38019         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38020         * string/bug-strcasestr1.c: New test.
38021         * string/Makefile: Run it.
38023 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38025         [BZ #11607]
38026         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38027         the first character.
38029 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38031         * csu/elf-init.c (__libc_csu_irel): Function removed.
38032         * csu/libc-start.c (apply_irel): New function.
38033         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38035 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38037         * sysdeps/unix/sysv/linux/kernel-features.h
38038         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38039         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38040         <kernel-features.h>.
38041         [__NR_fadvise64_64]: Make code unconditional.
38042         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38043         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38044         !__NR_fadvise64_64)]: Likewise.
38045         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38046         !__NR_fadvise64_64))]: Likewise.
38047         [__NR_fadvise64]: Make code unconditional.
38048         [!__NR_fadvise64]: Remove conditional code.
38049         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38050         <kernel-features.h>.
38051         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38052         unconditional.
38053         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38054         conditional code.
38055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38056         not include <kernel-features.h>.
38057         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38058         unconditional.
38059         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38060         conditional code.
38061         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38062         include <kernel-features.h>.
38063         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38064         unconditional.
38065         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38066         conditional code.
38068 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38070         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38071         slight instruction rearrangements per scrollpipe analysis.
38072         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38074 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38076         * manual/syslog.texi (syslog; vsyslog, closelog):
38077         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38078         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38080         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38081         DSOCAPS to match condition on defining it.
38083 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38085         * sysdeps/unix/sysv/linux/kernel-features.h
38086         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38088         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38089         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38091         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38092         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38094         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38095         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38097         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38098         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38100         * sysdeps/unix/sysv/linux/kernel-features.h
38101         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38102         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38103         unconditional.
38104         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38105         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38106         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38107         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38108         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38109         Make code unconditional.
38110         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38111         (__mmap64) [!__NR_mmap2]: Likewise.
38112         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38113         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38114         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38115         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38116         [__NR_mmap2]: Make code unconditional.
38117         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38118         (__mmap64) [!__NR_mmap2]: Likewise.
38120 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38122         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38124 2012-08-18  Andreas Jaeger  <aj@suse.de>
38126         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38128 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38130         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38131         * include/unistd.h (__have_sock_cloexec): Likewise.
38132         (__have_pipe2): Likewise.
38133         (__have_dup3): Likewise.
38135 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38137         [BZ #9685]
38138         * include/unistd.h (__have_pipe2): Change define into an extern int.
38139         (__have_dup3): Likewise.
38140         * socket/have_sock_cloexec.c: Include fcntl.h.
38141         (__have_pipe2): New variable.
38142         (__have_dup3): Likewise.
38144 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38146         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38148 2012-08-17  Marek Polacek  <polacek@redhat.com>
38150         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38151         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38153 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38155         * configure.in: Add AC_SUBST for sysheaders.
38156         * configure: Regenerated.
38157         * config.make.in (sysheaders): New substituted variable.
38159         * sysdeps/unix/mkfifo.c: Moved ...
38160         * sysdeps/posix/mkfifo.c: ... here.
38161         * sysdeps/unix/mkfifoat.c: Moved ...
38162         * sysdeps/posix/mkfifoat.c: ... here.
38164         * sysdeps/unix/utime.c: Moved ...
38165         * sysdeps/posix/utime.c: ... here.
38167         * sysdeps/unix/time.c: Moved ...
38168         * sysdeps/posix/time.c: ... here.
38169         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38170         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38172         * sysdeps/unix/nice.c: Moved ...
38173         * sysdeps/posix/nice.c: ... here.
38175         * sysdeps/unix/alarm.c: Moved ...
38176         * sysdeps/posix/alarm.c: ... here.
38178         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38180 2012-08-17  Jeff Law <law@redhat.com>
38182         * intl/Makefile (codeset_mo): New variable.
38183         ($(codeset_mo)): New target.
38184         (tst-codeset.out): Depend on that.  Remove explicit rule.
38185         (tst-gettext3.out, tst-gettext5.out): Likewise.
38186         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38187         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38188         * intl/tst-codeset.sh: Remove.
38189         * intl/tst-gettext3.sh: Likewise.
38190         * intl/tst-gettext5.sh: Likewise.
38192 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38194         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38195         * sysdeps/unix/syscalls.list: ... here.
38197         * sysdeps/posix/getaddrinfo.c
38198         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38199         (gaiconf_init, gaiconf_reload): Use them.
38200         [!_STATBUF_ST_NSEC]
38201         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38202         Define using time_t rather than struct timespec.
38204         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38205         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38206         Macros removed.
38207         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38208         [!NO_THREADS].
38209         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38210         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38211         Likewise.
38213         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38214         __libc_cleanup_push argument.
38216         * bits/param.h: New file.
38217         * misc/sys/param.h: New file.
38218         * include/sys/param.h: New file.
38219         * misc/Makefile (headers): Add bits/param.h.
38220         * sysdeps/generic/sys/param.h: File removed.
38221         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38222         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38223         * sysdeps/mach/hurd/bits/param.h: New file.
38224         * sysdeps/mach/hurd/sys/param.h: File removed.
38226         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38227         last change.
38229         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38230         [_IO_MTSAFE_IO].
38231         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38232         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38233         New macros.
38235         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38236         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38237         rather than -D_IO_MTSAFE_IO conditionally.
38238         * stdio-common/Makefile (CPPFLAGS): Likewise.
38239         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38240         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38241         Use $(libio-mtsafe).
38242         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38243         of -D_IO_MTSAFE_IO.
38244         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38245         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38246         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38247         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38248         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38249         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38250         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38251         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38252         (CFLAGS-fread_u_chk.c): Likewise.
38253         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38254         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38255         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38256         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38257         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38258         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38259         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38260         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38261         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38263         * libio/Makefile: Test [$(libc-reentrant) = yes]
38264         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38266         * Makeconfig
38267         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38268         * sysdeps/pthread/configure: File removed.
38269         * sysdeps/pthread/Makeconfig: New file.
38270         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38271         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38273 2012-08-16  Gary Benson  <gbenson@redhat.com>
38275         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38276         unmapping the first object in a namespace.
38278 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38280         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38281         (__internal_setnetgrent): ... this.  Add internal_function to
38282         definition.  Add libc_hidden_def.
38283         (setnetgrent): Update caller.
38284         (internal_endnetgrent): Renamed to ...
38285         (__internal_endnetgrent): ... this.  Add internal_function to
38286         definition.  Add libc_hidden_def.
38287         (endnetgrent): Update caller.
38288         (internal_getnetgrent_r): Renamed to ...
38289         (__internal_getnetgrent_r): ... this.  Add internal_function to
38290         definition.  Add libc_hidden_def.
38291         (__getnetgrent_r): Update caller.
38292         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38294 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38296         * stdlib/longlong.h: Update from GCC.
38298 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38300         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38301         on _QL, which is set by umul_ppmm but never used.
38302         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38303         variables, which are set by GMP macros but never used.
38304         * stdio-common/_itowa.c (_itowa): Likewise.
38305         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38306         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38308 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38310         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38311         struct La_sh_regs is not constant.
38312         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38313         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38314         and struct La_sparc64_regs are not constant.
38316 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38318         * sysdeps/unix/sysv/linux/kernel-features.h
38319         (__ASSUME_POSIX_TIMERS): Remove.
38320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38321         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38322         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38323         Make code unconditional.
38324         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38325         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38326         Make code unconditional.
38327         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38328         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38329         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38330         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38331         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38332         Make code unconditional.
38333         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38334         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38335         (__libc_missing_posix_timers): Remove.
38337 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38339         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38340         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38342         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38344         * elf/dl-sym.c: Include <stdlib.h>.
38346         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38347         constants, which avoids warnings in 32-bit builds.
38349         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38350         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38352         * misc/lseek.c: File moved to ...
38353         * io/lseek.c: ... here.
38355         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38357         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38358         shifting LEN more than 31 bits at once.
38360 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38362         [BZ #14195]
38363         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38364         segmentation fault for a case of two empty input strings.
38365         * string/test-strncasecmp.c (check1): Renamed to...
38366         (bz12205): ...this.
38367         (bz14195): Add new testcase for two empty input strings and N > 0.
38368         (test_main): Call new testcase, adapt for renamed function.
38370 2012-08-15  Andreas Jaeger  <aj@suse.de>
38372         [BZ #14090]
38373         * crypt/md5test2.c: New test, based on test supplied by Serge
38374         Belyshev <belyshev@depni.sinp.msu.ru>.
38375         * crypt/Makefile (xtests): Add md5test-giant..
38376         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38378 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38380         [BZ #14090]
38381         * crypt/md5.c (md5_process_block): Don't assume the buffer
38382         length is less than 2**32.
38383         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38384         length is less than 2**64.
38386 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38388         * string/str-two-way.h: Include <sys/param.h>.
38389         (MAX): Macro removed.
38391         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38392         Move #define and #undef of memmove to just before and after
38393         including <string.h>.
38395         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38396         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38397         and after including <string.h>.  Move declarations of
38398         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38399         to before #include "string/memmove.c".
38401         * include/dirent.h: Declare __getdirentries.
38403         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38404         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38406 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38408         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38409         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38410         * sysdeps/i386/configure: Regenerated.
38411         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38412         STABS_CURRENT_FILE, and STABS_FUN.
38413         (END): Remove call to STABS_FUN_END.
38414         (STABS_CURRENT_FILE1): Delete.
38415         (STABS_CURRENT_FILE): Likewise.
38416         (STABS_FUN): Likewise.
38417         (STABS_FUN_END): Likewise.
38418         (STABS_FUN2): Likewise.
38419         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38420         * sysdeps/x86_64/configure: Regenerated.
38422 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38424         * elf/dl-open.c: Include <atomic.h>.
38425         * elf/dl-lookup.c: Likewise.
38427 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38429         * sysdeps/unix/sysv/linux/kernel-features.h
38430         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38431         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38432         unconditionally.
38433         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38434         unconditionally.
38435         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38436         condition on __ASSUME_CLONE_THREAD_FLAGS.
38438 2012-08-14  Andreas Jaeger  <aj@suse.de>
38440         * sysdeps/i386/fpu/libm-test-ulps: Update.
38442 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38444         * include/atomic.h (atomic_exchange_and_add): Split into ...
38445         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38446         New atomic macros.
38448 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38452 2012-08-13  Jeff Law <law@redhat.com>
38454         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38455         null byte in the output string.
38457 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38459         * sysdeps/unix/sysv/linux/kernel-features.h
38460         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38461         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38462         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38463         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38464         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38465         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38466         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38468 2012-08-09  Jeff Law <law@redhat.com>
38470         [BZ #13939]
38471         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38472         When avoid_arena is set, don't retry in the that arena.  Pick the
38473         next one, whatever it might be.
38474         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38475         (arena_lock): Pass in new parameter to arena_get2.
38476         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38477         arena_get2.
38478         (__libc_malloc): Unify retrying after main arena failure with
38479         __libc_memalign version.
38480         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38482 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38484         [BZ #14166]
38485         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38486         to __redirect_strstr.
38487         (__strstr_sse42): Use typeof __redirect_strstr.
38488         (__strstr_ia32): Likewise.
38489         (__libc_strstr): New prototype.
38490         (strstr): Renamed to ...
38491         (__libc_strstr): This.
38492         (strstr): New strong alias of __libc_strstr.
38493         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38494         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38495         __redirect_time.
38496         Include <time.h>.
38497         (__libc_time): New prototype.
38498         (time_ifunc): Replace time with __libc_time.
38499         (time): New strong alias and hidden definition of __libc_time.
38500         (__GI_time): Remove strong alias.
38501         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38502         Include <stddef.h>.
38503         (memmove): Redefined to __redirect_memmove.
38504         (__memmove_sse2): Use typeof __redirect_memmove.
38505         (__memmove_ssse3): Likewise.
38506         (__memmove_ssse3_back): Likewise.
38507         (__libc_memmove): New prototype.
38508         (memmove): Renamed to ...
38509         (__libc_memmove): This.
38510         (memmove): New strong alias of __libc_memmove.
38512 2012-08-08  Mark Salter  <msalter@redhat.com>
38514         * elf/elf.h
38515         (R_MN10300_TLS_GD): Define.
38516         (R_MN10300_TLS_LD): Likewise.
38517         (R_MN10300_TLS_LDO): Likewise.
38518         (R_MN10300_TLS_GOTIE): Likewise.
38519         (R_MN10300_TLS_IE): Likewise.
38520         (R_MN10300_TLS_LE): Likewise.
38521         (R_MN10300_TLS_DTPMOD): Likewise.
38522         (R_MN10300_TLS_DTPOFF): Likewise.
38523         (R_MN10300_TLS_TPOFF): Likewise.
38524         (R_MN10300_SYM_DIFF): Likewise.
38525         (R_MN10300_ALIGN): Likewise.
38526         (R_MN10300_NUM): Update.
38528 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38530         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38531         Remove.
38533 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38535         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38537         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38538         sysdeps/unix -> sysdeps/posix move.
38539         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38541 2012-08-07      Allan McRae     <allan@archlinux.org>
38543         [BZ #14303]
38544         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38545         (SUNOS_CPP): Likewise.
38546         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38547         not found.
38548         (open_input): Call CPP using execvp.
38550 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38552         * sysdeps/unix/sysv/linux/kernel-features.h
38553         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38554         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38555         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38556         (__ASSUME_WAITID_SYSCALL): Likewise.
38557         * sysdeps/unix/sysv/linux/dl-execstack.c
38558         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38559         code unconditional.
38560         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38561         conditional code.
38562         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38563         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38564         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38565         code.
38566         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38567         unconditional.
38568         [__ASSUME_WAITID_SYSCALL]: Likewise.
38569         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38571 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38573         * sysdeps/unix/closedir.c: Renamed to ...
38574         * sysdeps/posix/closedir.c: ... here.
38575         * sysdeps/unix/dirfd.c: Renamed to ...
38576         * sysdeps/posix/dirfd.c: ... here.
38577         * sysdeps/unix/dirstream.h: Renamed to ...
38578         * sysdeps/posix/dirstream.h: ... here.
38579         * sysdeps/unix/fdopendir.c: Renamed to ...
38580         * sysdeps/posix/fdopendir.c: ... here.
38581         * sysdeps/unix/opendir.c: Renamed to ...
38582         * sysdeps/posix/opendir.c: ... here.
38583         * sysdeps/unix/readdir.c: Renamed to ...
38584         * sysdeps/posix/readdir.c: ... here.
38585         * sysdeps/unix/readdir_r.c: Renamed to ...
38586         * sysdeps/posix/readdir_r.c: ... here.
38587         * sysdeps/unix/rewinddir.c: Renamed to ...
38588         * sysdeps/posix/rewinddir.c: ... here.
38589         * sysdeps/unix/seekdir.c: Renamed to ...
38590         * sysdeps/posix/seekdir.c: ... here.
38591         * sysdeps/unix/telldir.c: Renamed to ...
38592         * sysdeps/posix/telldir.c: ... here.
38593         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38594         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38595         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38596         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38598         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38599         * bits/fcntl.h: ... here.
38601         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38602         not 0.
38603         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38604         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38605         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38606         (struct flock): Move l_start, l_len to the beginning.
38607         Use __pid_t for l_pid.
38608         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38609         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38610         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38611         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38612         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38613         [__USE_LARGEFILE64] (struct flock64): New type.
38614         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38616         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38617         * bits/dirent.h: ... here.
38619         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38620         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38622 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38624         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38625         Change from 2.6.0 to 2.6.16.
38626         * sysdeps/unix/sysv/linux/configure: Regenerated.
38627         * sysdeps/unix/sysv/linux/kernel-features.h
38628         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38629         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38630         version.
38631         (__ASSUME_UTIMES): Likewise.
38632         (__ASSUME_CLONE_STOPPED): Remove.
38633         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38634         architectures, not kernel version.
38635         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38636         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38637         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38638         (__ASSUME_WAITID_SYSCALL): Likewise.
38639         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38640         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38641         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38642         refer to older versions.
38644 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38646         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38647         Define alphasort64 as an alias.
38648         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38649         Define versionsort64 as an alias.
38650         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38651         Define scandir64 as an alias.
38652         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38653         Define scandirat64 as an alias.
38654         * dirent/alphasort64.c (alphasort64):
38655         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38656         * dirent/versionsort64.c: Likewise.
38657         * dirent/scandir64.c: Likewise.
38658         * dirent/scandirat64.c: Likewise.
38659         * sysdeps/wordsize-64/alphasort.c: File removed.
38660         * sysdeps/wordsize-64/alphasort64.c: File removed.
38661         * sysdeps/wordsize-64/scandir.c: File removed.
38662         * sysdeps/wordsize-64/scandir64.c: File removed.
38663         * sysdeps/wordsize-64/scandirat.c: File removed.
38664         * sysdeps/wordsize-64/scandirat64.c: File removed.
38665         * sysdeps/wordsize-64/versionsort.c: File removed.
38666         * sysdeps/wordsize-64/versionsort64.c: File removed.
38667         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38669         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38670         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38671         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38672         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38673         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38676         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38677         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38678         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38679         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38680         [defined __arch64__ || defined __sparcv9]
38681         (__INO_T_MATCHES_INO64_T): New macro.
38682         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38683         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38684         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38685         * sysdeps/unix/sysv/linux/bits/dirent.h
38686         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38687         (_DIRENT_MATCHES_DIRENT64): New macro.
38689         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38690         Define lockf64 as an alias.
38691         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38692         Define fseeko64 as an alias.
38693         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38694         Define ftello64 as an alias.
38695         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38696         Define _IO_fgetpos64 and fgetpos64 as aliases.
38697         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38698         Define _IO_fsetpos64 and fsetpos64 as aliases.
38699         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38700         Conditionalize body on this.
38701         * libio/fseeko64.c: Likewise.
38702         * libio/ftello64.c: Likewise.
38703         * libio/iofgetpos64.c: Likewise.
38704         * libio/iofsetpos64.c: Likewise.
38705         * sysdeps/wordsize-64/lockf.c: File removed.
38706         * sysdeps/wordsize-64/lockf64.c: File removed.
38707         * sysdeps/wordsize-64/fseeko.c: File removed.
38708         * sysdeps/wordsize-64/fseeko64.c: File removed.
38709         * sysdeps/wordsize-64/ftello.c: File removed.
38710         * sysdeps/wordsize-64/ftello64.c: File removed.
38711         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38712         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38713         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38714         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38715         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38717         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38718         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38719         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38720         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38721         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38723         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38724         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38726         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38728         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38730         [defined __arch64__ || defined __sparcv9]
38731         (__OFF_T_MATCHES_OFF64_T): New macro.
38732         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38733         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38735         (__OFF_T_MATCHES_OFF64_T): New macro.
38737 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38739         * stdlib/secure-getenv.c (__secure_getenv): Replace
38740         GLIBC_2_16 with GLIBC_2_17.
38742 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38744         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38745         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38747 2012-08-03  David S. Miller  <davem@davemloft.net>
38749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38751 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38753         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38754         Remove.
38755         (__ASSUME_CORRECT_SI_PID): Likewise.
38756         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38757         (__ASSUME_TMPFS_NAME): Likewise.
38758         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38759         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38760         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38761         (HAVE_AUX_SECURE): Make definition unconditional.
38762         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38763         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38765 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38767         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38768         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38769         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38770         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38771         __eloop_threshold instead of SYMLOOP_MAX.
38773         * sysdeps/generic/eloop-threshold.h: New file.
38774         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38775         of MAXSYMLINKS.
38776         * elf/chroot_canon.c (chroot_canon): Likewise.
38778 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38780         [BZ #13717]
38781         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38782         Change to 2.6.0 everywhere.
38783         * sysdeps/unix/sysv/linux/configure: Regenerated.
38784         * sysdeps/unix/sysv/linux/kernel-features.h
38785         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38786         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38787         kernel versions.
38788         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38789         (__ASSUME_FUTEX_REQUEUE): Remove.
38790         (__ASSUME_STATFS64): Define unconditionally.
38791         (__ASSUME_AT_SECURE): Likewise.
38792         (__ASSUME_CORRECT_SI_PID): Likewise.
38793         (__ASSUME_TGKILL): Define without depending on kernel version for
38794         i386.
38795         (__ASSUME_UTIMES): Likewise.
38796         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38797         kernel version.
38798         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38799         (__ASSUME_TMPFS_NAME): Likewise.
38800         * README: Update reference to Linux kernel versions.
38802 2012-08-02  Marek Polacek  <polacek@redhat.com>
38804         [BZ# 14150]
38805         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38806         libc_cv_asm_type_prefix with %.
38807         * configure: Regenerated.
38808         * include/libc-symbols.h: Remove comment about
38809         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38810         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38811         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38812         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38813         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38814         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38815         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38816         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38817         * elf/tst-unique2mod1.c: Likewise.
38818         * elf/tst-unique1mod2.c: Likewise.
38819         * elf/tst-unique1mod1.c: Likewise.
38820         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38821         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38822         Replace ASM_TYPE_DIRECTIVE with .type.
38823         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38824         * sysdeps/i386/sysdep.h: Likewise.
38825         * sysdeps/x86_64/sysdep.h: Likewise.
38826         * sysdeps/sh/sysdep.h: Likewise.
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38828         Do not define ASM_TYPE_DIRECTIVE.
38829         * sysdeps/powerpc/sysdep.h: Likewise.
38830         * sysdeps/powerpc/powerpc32/sysdep.h:
38831         Replace ASM_TYPE_DIRECTIVE with .type.
38832         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38833         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38834         * sysdeps/i386/fpu/e_powf.S: Likewise.
38835         * sysdeps/i386/fpu/e_expl.S: Likewise.
38836         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38837         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38838         * sysdeps/i386/fpu/e_pow.S: Likewise.
38839         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38840         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38841         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38842         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38843         * sysdeps/i386/fpu/e_log2.S: Likewise.
38844         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38845         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38846         * sysdeps/i386/fpu/e_powl.S: Likewise.
38847         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38848         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38849         * sysdeps/i386/fpu/e_logl.S: Likewise.
38850         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38851         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38852         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38853         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38854         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38855         * sysdeps/i386/fpu/e_log.S: Likewise.
38856         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38857         * sysdeps/i386/fpu/e_logf.S: Likewise.
38858         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38859         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38860         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38861         * sysdeps/i386/fpu/e_log10.S: Likewise.
38862         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38863         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38864         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38865         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38866         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38867         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38868         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38869         * sysdeps/i386/i686/strtok.S: Likewise.
38870         * sysdeps/i386/i386-mcount.S: Likewise.
38871         * sysdeps/i386/strtok.S: Likewise.
38872         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38873         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38874         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38875         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38876         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38877         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38878         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38879         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38880         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38881         * sysdeps/x86_64/_mcount.S: Likewise.
38882         * sysdeps/x86_64/strtok.S: Likewise.
38883         * sysdeps/sh/_mcount.S: Likewise.
38885 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38887         * libio/iofopen.c: Include <fcntl.h>.
38888         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38889         (_IO_fopen64, fopen64): Define as aliases.
38890         * libio/iofopen64.c: Include <fcntl.h>.
38891         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38892         Conditionalize body on this.
38893         * sysdeps/wordsize-64/iofopen.c: File removed.
38894         * sysdeps/wordsize-64/iofopen64.c: File removed.
38896 2012-08-01  Marek Polacek  <polacek@redhat.com>
38898         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38899         Use dlfcn directly instead of a variable.
38900         (binfmt-subdir): Do not define.
38901         (dlfcn): Likewise.
38903 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38905         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38906         Remove all definitions.
38907         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38908         <kernel-features.h>.
38909         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38910         (miss_F_GETOWN_EX): Remove all definitions.
38911         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38912         macro definition.
38913         [!__ASSUME_FCNTL64]: Remove conditional code.
38914         [__ASSUME_FCNTL64]: Make code unconditional.
38915         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38916         <kernel-features.h>.
38917         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38918         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38919         (lockf64) [__NR_fcntl64]: Make code unconditional.
38920         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38922         * sysdeps/unix/sysv/linux/kernel-features.h
38923         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38924         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38925         Make code unconditional.
38926         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38927         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38929         [__NR_vfork]: Make code unconditional.
38930         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38931         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38933         [__NR_vfork]: Make code unconditional.
38934         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38935         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38937 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38939         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38940         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38942         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38943         Define mkstemp64 as an alias.
38944         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38945         Define mkstemps64 as an alias.
38946         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38947         Define mkostemp64 as an alias.
38948         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38949         Define mkostemps64 as an alias.
38950         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38951         Conditionalize body on this.
38952         * misc/mkostemp64.c: Likewise.
38953         * misc/mkostemps64.c: Likewise.
38954         * misc/mkstemps64.c: Likewise.
38955         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38956         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38957         * sysdeps/wordsize-64/mkostemp.c: File removed.
38958         * sysdeps/wordsize-64/mkstemp.c: File removed.
38959         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38960         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38961         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38962         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38964         [BZ #14138]
38965         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38966         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38967         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38968         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38970         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38971         compat_symbol macros from <shlib-compat.h> rather than the underlying
38972         default_symbol_version and symbol_version macros, so that DEFAULT
38973         lines in shlib-versions are respected.
38974         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38976 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38978         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38979         Declare with warn_unused_result.
38980         (setgid, setregid, setegid, setresgid): Likewise.
38981         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38982         Likewise.
38983         * WUR-REPORT: Remove set*id functions.
38985 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38987         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38989 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38991         [BZ #10191]
38992         * include/sys/socket.h (__libc_accept, __libc_accept4):
38993         Add attribute_hidden.
38994         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38996         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38997         use of PTR_MANGLE.
38998         * inet/getnetgrent_r.c (setup): Likewise.
39000         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39002 2012-07-31  David S. Miller  <davem@davemloft.net>
39004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39006 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39008         [BZ #13629]
39009         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39010         value between 1.0 and 2.0 and smaller part has absolute value less
39011         than 1.0.
39012         * math/s_clog10.c (__clog10): Likewise.
39013         * math/s_clog10f.c (__clog10f): Likewise.
39014         * math/s_clog10l.c (__clog10l): Likewise.
39015         * math/s_clogf.c (__clogf): Likewise.
39016         * math/s_clogl.c (__clogl): Likewise.
39017         * math/libm-test.inc (clog_test): Add more tests.
39018         (clog10_test): Likewise.
39019         * sysdeps/i386/fpu/libm-test-ulps: Update.
39020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39022 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39024         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39025         Exit with zero in case no suitable GID is found, and write a
39026         message to standard error.
39028 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39030         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39031         rather than to 1.
39032         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39033         (MAXPATHLEN): Removed.
39034         (NOGROUP, NODEV): New macros.
39035         (setbit, clrbit, isset, isclr): New macros.
39036         (howmany, roundup, powerof2): New macros.
39037         (DEV_BSIZE): New macro.
39039         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39040         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39042         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39043         definition on [!__NO_LONG_DOUBLE_MATH].
39045         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39046         PTR_MANGLE and PTR_DEMANGLE.
39048         * socket/accept4.c (accept4): Rename to __libc_accept4.
39049         Define accept4 as a weak alias.
39051         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39052         on [_DIRENT_HAVE_D_TYPE].
39053         * io/ftw.c (ftw_dir): Likewise.
39055         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39057         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39059         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39060         Use the BSD numbers rather than the arbitrary ones we had.
39061         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39062         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39063         (SIGXCPU, SIGXFSZ): New macros.
39064         (_NSIG): Now 32.
39066         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39067         initializer on [_LIBC_REENTRANT].
39069         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39070         definitions inside [_POSIX_MAPPED_FILES].
39072         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39074         * dirent/opendir.c: Include <fcntl.h>.
39076         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39077         (__libc_getspecific): Likewise.
39078         (__libc_key_create): Likewise.
39080         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39081         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39082         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39083         (tmpfile64): Define as alias.
39084         * sysdeps/wordsize-64/tmpfile.c: File removed.
39085         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39086         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39089         * stdio-common/vfscanf.c: Include <stdbool.h>.
39090         * nss/makedb.c: Likewise.
39091         * stdio-common/_i18n_number.h: Likewise.
39092         * argp/argp-help.c: Likewise.
39093         * posix/wordexp.c: Likewise.
39094         * sysdeps/posix/spawni.c: Likewise.
39095         * nss/nss_files/files-initgroups.c: Likewise.
39096         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39097         * nss/nss_files/files-initgroups.c: Likewise.
39098         * nss/nss_db/db-netgrp.c: Likewise.
39099         * nss/nss_db/db-initgroups.c: Likewise.
39100         * io/fchmodat.c: Include <sys/stat.h>.
39102         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39103         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39105         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39106         [HAVE_MMAP].
39108         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39109         Add multiple inclusion protection.
39111 2012-07-27  David S. Miller  <davem@davemloft.net>
39113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39115 2012-07-27  Gary Benson  <gbenson@redhat.com>
39117         [BZ #14298]
39118         * elf/rtld.c: Include <stap-probe.h>.
39119         (dl_main): Added static probes "init_start" and "init_complete".
39120         * elf/dl-load.c: Include <stap-probe.h>.
39121         (lose): Take new parameter "nsid".
39122         Added static probe "map_failed".
39123         (_dl_map_object_from_fd): Pass namespace id to lose.
39124         Added static probe "map_start".
39125         (open_verify): Pass namespace id to lose.
39126         * elf/dl-open.c: Include <stap-probe.h>.
39127         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39128         and "reloc_complete".
39129         * elf/dl-close.c: Include <stap-probe.h>.
39130         (_dl_close_worker): Added static probes "unmap_start" and
39131         "unmap_complete".
39132         * elf/rtld-debugger-interface.txt: New file documenting the above.
39134 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39136         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39137         rather than a string variable.
39138         * sunrpc/rpc_main.c (h_output): Likewise.
39139         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39141 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39143         * inet/check_native.c: New file.
39145 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39147         [BZ #13629]
39148         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39149         if larger part has absolute value 1.0.
39150         * math/s_clog10.c (__clog10): Likewise.
39151         * math/s_clog10f.c (__clog10f): Likewise.
39152         * math/s_clog10l.c (__clog10l): Likewise.
39153         * math/s_clogf.c (__clogf): Likewise.
39154         * math/s_clogl.c (__clogl): Likewise.
39155         * math/libm-test.inc (clog_test): Add more tests.
39156         (clog10_test): Likewise.
39157         * sysdeps/i386/fpu/libm-test-ulps: Update.
39158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39160         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39161         (pltexit): Likewise.
39162         (La_regs): Likewise.
39163         (La_retval): Likewise.
39164         (int_retval): Likewise.
39165         Update #error for removed macros to refer only to definitions in
39166         tst-audit.h.
39167         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39168         macro.
39169         (pltexit): Likewise.
39170         (La_regs): Likewise.
39171         (La_retval): Likewise.
39172         (int_retval): Likewise.
39173         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39174         macro.
39175         (pltexit): Likewise.
39176         (La_regs): Likewise.
39177         (La_retval): Likewise.
39178         (int_retval): Likewise.
39179         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39180         macro.
39181         (pltexit): Likewise.
39182         (La_regs): Likewise.
39183         (La_retval): Likewise.
39184         (int_retval): Likewise.
39185         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39186         macro.
39187         (pltexit): Likewise.
39188         (La_regs): Likewise.
39189         (La_retval): Likewise.
39190         (int_retval): Likewise.
39191         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39192         macro.
39193         (pltexit): Likewise.
39194         (La_regs): Likewise.
39195         (La_retval): Likewise.
39196         (int_retval): Likewise.
39197         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39198         macro.
39199         (pltexit): Likewise.
39200         (La_regs): Likewise.
39201         (La_retval): Likewise.
39202         (int_retval): Likewise.
39203         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39204         macro definitions in tst-audit.h.
39205         * sysdeps/i386/tst-audit.h: New file.
39206         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39207         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39208         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39209         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39210         * sysdeps/sh/tst-audit.h: Likewise.
39211         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39212         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39213         * sysdeps/x86_64/tst-audit.h: Likewise.
39215 2012-07-26  Andreas Jaeger  <aj@suse.de>
39217         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39218         ptrace.
39220         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39221         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39222         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39223         PTRACE_O_MASK.
39224         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39225         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39226         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39228         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39229         value.
39231         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39232         _sigsys.
39233         (si_call_addr, si_syscall, si_arch): Define new macro.
39234         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39235         _sigsys.
39236         (si_call_addr, si_syscall, si_arch): Define new marcro.
39237         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39238         _sigsys.
39239         (si_call_addr, si_syscall, si_arch): Define new macro.
39240         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39241         _sigsys.
39242         (si_call_addr, si_syscall, si_arch): Define new macro.
39244 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39246         [BZ #13717]
39247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39248         Change to 2.4.21 where previously 2.4.1.
39249         * sysdeps/unix/sysv/linux/configure: Regenerated.
39250         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39251         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39252         Linux kernel version.
39253         (__ASSUME_STD_AUXV): Remove.
39254         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39255         kernel version.
39256         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39257         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39258         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39259         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39260         (__ASSUME_NETLINK_SUPPORT): Likewise.
39261         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39262         (__no_netlink_support): Remove conditional definition.
39263         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39264         Remove.
39265         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39266         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39267         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39268         (if_nameindex_ioctl): Remove.
39269         (if_nameindex_netlink): Do not handle __no_netlink_support.
39270         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39271         code.
39272         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39273         Remove conditional code.
39274         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39275         code.
39276         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39277         unconditional.
39278         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39279         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39280         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39281         Remove.
39282         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39283         [!__ASSUME_STD_AUXV]: Remove conditional code.
39284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39285         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39286         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39288         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39289         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39290         code.
39291         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39293         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39294         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39295         conditional code.
39296         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39298         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39299         code.
39300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39301         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39302         conditional code.
39303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39304         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39305         code unconditional.
39306         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39307         conditional code.
39308         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39309         unconditional.
39310         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39311         conditional code.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39313         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39314         unconditional.
39315         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39316         conditional code.
39317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39318         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39319         code unconditional.
39320         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39321         conditional code.
39322         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39323         unconditional.
39324         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39325         conditional code.
39326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39327         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39328         code unconditional.
39329         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39330         conditional code.
39331         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39332         unconditional.
39333         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39334         conditional code.
39336 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39338         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39339         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39340         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39341         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39342         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39343         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39344         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39345         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39346         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39347         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39348         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39349         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39350         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39351         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39352         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39353         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39354         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39356         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39358         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39359         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39360         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39362 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39364         * Versions.def: Add GLIBC_2.17.
39365         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39366         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39367         Introduce __libc_secure_getenv.
39368         * stdlib/Versions (2.17): Add secure_getenv
39369         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39370         * stdlib/secure-getenv.c: Rename __secure_getenv to
39371         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39372         symbol __secure_getenv for GLIBC_2.0.
39373         * stdlib/tst-secure-getenv.c: New.
39374         * stdlib/Makefile (tests): Add testcase.
39375         * manual/startup.texi (Environment Access): Document
39376         secure_getenv.
39377         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39378         __libc_secure_getenv.
39379         * inet/ruserpass.c (ruserpass): Likewise.
39380         * malloc/mtrace.c (mtrace): Likewise.
39381         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39382         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39383         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39384         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39385         HAVE_SECURE_GETENV.
39386         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39387         __secure_getenv to __libc_secure_getenv.
39388         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39390         Likewise.
39391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39392         Likewise.
39393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39397         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39401 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39403         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39404         (struct La_i86_retval): Likewise.
39405         (struct La_x86_64_regs): Likewise.
39406         (struct La_x86_64_retval): Likewise.
39407         (struct La_x32_regs): Likewise.
39408         (struct La_x32_retval): Likewise.
39409         (struct La_ppc32_regs): Likewise.
39410         (struct La_ppc32_retval): Likewise.
39411         (struct La_ppc64_regs): Likewise.
39412         (struct La_ppc64_retval): Likewise.
39413         (struct La_sh_regs): Likewise.
39414         (struct La_sh_retval): Likewise.
39415         (struct La_s390_32_regs): Likewise.
39416         (struct La_s390_32_retval): Likewise.
39417         (struct La_s390_64_regs): Likewise.
39418         (struct La_s390_64_retval): Likewise.
39419         (struct La_sparc32_regs): Likewise.
39420         (struct La_sparc32_retval): Likewise.
39421         (struct La_sparc64_regs): Likewise.
39422         (struct La_sparc64_retval): Likewise.
39423         (struct audit_ifaces): Remove architecture-specific pltenter and
39424         pltexit members.
39425         * sysdeps/i386/ldsodefs.h: New file.
39426         * sysdeps/powerpc/ldsodefs.h: Likewise.
39427         * sysdeps/s390/ldsodefs.h: Likewise.
39428         * sysdeps/sh/ldsodefs.h: Likewise.
39429         * sysdeps/sparc/ldsodefs.h: Likewise.
39430         * sysdeps/x86_64/ldsodefs.h: Likewise.
39432 2012-07-25  Marek Polacek  <polacek@redhat.com>
39434         [BZ #6808]
39435         * math/libm-test.inc (yn_test): Add another test.
39436         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39437         to ERANGE when the result is +-Inf.
39438         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39439         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39440         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39441         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39443 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39445         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39446         equal to 0.
39447         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39448         clock_t.
39449         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39451 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39453         * configure.in <sysdeps resolving>: Correct printing
39454         Implies_before.
39455         * configure: Regenerate.
39457 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39459         * math/w_ilogb.c: Include <limits.h>.
39460         * math/w_ilogbl.c: Likewise.
39462 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39464         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39465         va_copy.  Document allowing for unavailable va_copy only as
39466         pre-C99 compatibility.
39467         * manual/string.texi (Copying and Concatenation): Use va_copy
39468         instead of __va_copy in concat example.
39470 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39472         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39473         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39474         it if not null.
39476         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39477         with O_NOLINK passed to __file_name_lookup.
39479         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39480         with O_NOLINK passed to __file_name_lookup.
39482         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39483         negative N or less than NGIDS.
39485         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39486         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39487         enough.  Use memcpy instead of strncpy.
39489 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39491         * elf/Makefile (check-data): Remove.
39492         (localplt.data): New vpath directive.
39493         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39494         instead of $(check-data).
39495         * scripts/data/localplt-generic.data: Move to ...
39496         * sysdeps/generic/localplt.data: ... here.
39497         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39498         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39499         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39501         ... here.
39502         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39504         ... here.
39505         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39506         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39507         ... here.
39508         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39510         ... here.
39511         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39513         ... here.
39514         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39516         ... here.
39518 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39520         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39521         PPC32 and PPC64 files.
39522         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39523         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39525 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39527         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39528         __makecontext_ret to ...
39529         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39530         ... here and call exit if uc_link is NULL.  New file.
39531         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39532         __makecontext_ret.S.
39533         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39534         __makecontext_ret to ...
39535         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39536         ... here and call exit if uc_link is NULL.  New file.
39537         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39538         __makecontext_ret.S.
39540 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39542         * elf/elf.h (R_390_IRELATIVE): New definition.
39543         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39544         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39545         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39546         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39547         (elf_machine_lazy_rel): Likewise.
39548         * sysdeps/s390/dl-irel.h: New file.
39549         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39550         * sysdeps/s390/s390-64/memset.S: New asm code.
39551         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39552         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39553         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39554         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39555         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39556         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39557         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39558         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39559         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39560         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39561         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39562         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39563         * sysdeps/s390/s390-32/memset.S: New asm code.
39564         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39566 2012-07-17  Marek Polacek  <polacek@redhat.com>
39568         [BZ #14349]
39569         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39570         * sysdeps/s390/s390-64/configure.in: Likewise.
39571         * sysdeps/sparc/configure.in: Likewise.
39572         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39573         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39574         * sysdeps/i386/configure.in: Likewise.
39575         * sysdeps/x86_64/configure.in: Likewise.
39576         * sysdeps/sh/configure.in: Likewise.
39577         * sysdeps/s390/s390-32/configure: Regenerated.
39578         * sysdeps/s390/s390-64/configure: Likewise.
39579         * sysdeps/x86_64/configure: Likewise.
39580         * sysdeps/sh/configure: Likewise.
39581         * sysdeps/powerpc/powerpc64/configure: Likewise.
39582         * sysdeps/powerpc/powerpc32/configure: Likewise.
39583         * sysdeps/sparc/configure: Likwise.
39584         * sysdeps/i386/configure: Likewise.
39586         * elf/dl-open.c: Comment fixes.
39588 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39590         * Makefile [CXX] (check-data): Remove.
39591         [CXX] (c++-types.data): New vpath directive.
39592         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39593         vpath.  Do not allow for C++ type data being missing.
39594         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39595         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39596         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39597         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39598         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39599         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39600         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39602         ... here.
39603         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39605         ... here.
39606         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39608         ... here.
39609         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39611         ... here.
39612         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39614         ... here.
39615         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39617         ... here.
39618         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39620         ... here.
39621         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39622         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39624         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39625         definitions to architecture-specific files.
39626         (TLS_IE): Likewise.
39627         (TLS_LD): Likewise.
39628         (TLS_GD): Likewise.
39629         * sysdeps/i386/tls-macros.h: New file.
39630         * sysdeps/powerpc/tls-macros.h: Likewise.
39631         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39632         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39633         * sysdeps/sh/tls-macros.h: Likewise.
39634         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39635         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39636         * sysdeps/x86_64/tls-macros.h: Likewise.
39638 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39640         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39641         zero value for regular exit case.
39643         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39644         (__start_context): Preserve zero value for regular exit case.
39646 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39647             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39649         * manual/setjmp.texi (setcontext): Clarify normal process
39650         termination when uc_link is the null pointer.
39651         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39652         exit call.
39654 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39656         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39657         preprocessor.  Test for each exception mask separately.
39659 2012-07-16  Andreas Jaeger  <aj@suse.de>
39661         * po/ru.po: Update from translation team.
39663 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39665         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39666         equal to 0.
39667         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39668         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39669         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39670         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39671         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39673 2012-07-13  Andreas Jaeger  <aj@suse.de>
39675         * po/fr.po: Update from translation team.
39677 2012-07-12  Marek Polacek  <polacek@redhat.com>
39679         [BZ #14173]
39680         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39681         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39682         loop condition.
39684 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39686         [BZ #13717]
39687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39688         Change to 2.4.1 where previously 2.4.0.
39689         * sysdeps/unix/sysv/linux/configure: Regenerated.
39690         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39691         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39692         version.
39693         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39694         (__ASSUME_AT_CLKTCK): Remove.
39695         (__ASSUME_AT_PAGESIZE): Likewise.
39696         (__ASSUME_AT_XID): Likewise.
39697         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39698         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39699         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39700         unconditionally.
39701         (HAVE_AUX_PAGESIZE): Likewise.
39702         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39703         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39704         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39706 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39708         [BZ #14307]
39709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39710         the temporary buffer used to invoke __gethostbyname2_r,
39711         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39712         host_data / struct gaih_addrtuple.
39713         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39714         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39715         header file nss/nsswitch.h.
39716         * nss/nsswitch.h (global scope): Add definition of implementation
39717         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39718         resolv/nss_dns/dns-host.c).
39720 2012-07-11  Andreas Jaeger  <aj@suse.de>
39722         * po/fr.po: Update from translation team.
39724         * po/sv.po: Update from translation team
39725         * po/fr.po: Another update from translation team.
39727 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39729         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39730         for subnormals or multiply small sinh result by itself.
39731         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39734 2012-07-11  David S. Miller  <davem@davemloft.net>
39736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39738 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39740         [BZ #14347]
39741         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39742         (INTERNAL_MARK): Shift it here.
39744 2012-07-10  Marek Polacek  <polacek@redhat.com>
39746         [BZ #14151]
39747         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39748         libc_cv_asm_global_directive with .globl.
39749         * configure: Regenerated.
39750         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39751         with .globl.
39752         * sysdeps/i386/configure: Regenerated.
39753         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39754         with .globl.
39755         * sysdeps/x86_64/configure: Regenerated.
39756         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39757         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39758         * elf/tst-unique2mod2.c: Likewise.
39759         * elf/tst-unique2mod1.c: Likewise.
39760         * elf/tst-unique1mod2.c: Likewise.
39761         * elf/tst-unique1mod1.c: Likewise.
39762         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39763         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39764         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39765         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39766         * sysdeps/mach/sysdep.h: Likewise.
39767         * sysdeps/i386/sysdep.h: Likewise.
39768         * sysdeps/i386/i386-mcount.S: Likewise.
39769         * sysdeps/x86_64/_mcount.S: Likewise.
39770         * sysdeps/x86_64/sysdep.h: Likewise.
39771         * sysdeps/sh/_mcount.S: Likewise.
39772         * sysdeps/sh/sysdep.h: Likewise.
39773         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39774         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39775         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39776         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39777         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39778         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39779         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39780         * locale/localeinfo.h: Likewise.
39781         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39782         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39784 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39786         [BZ #14336]
39787         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39788         system".
39789         * manual/message.texi (The Uniforum approach): Likewise.
39790         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39791         (glibc iconv Implementation): Likewise.
39793 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39795         [BZ #14337]
39796         * math/s_clog.c (__clog): Avoid scaling a value down where that
39797         could result in underflow.
39798         * math/s_clog10.c (__clog10): Likewise.
39799         * math/s_clog10f.c (__clog10f): Likewise.
39800         * math/s_clog10l.c (__clog10l): Likewise.
39801         * math/s_clogf.c (__clogf): Likewise.
39802         * math/s_clogl.c (__clogl): Likewise.
39803         * math/libm-test.inc (clog_test): Add more tests.
39804         (clog10_test): Likewise.
39805         * sysdeps/i386/fpu/libm-test-ulps: Update.
39806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39808 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39810         [BZ #14283]
39811         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39812         by 7 not 8 to examine high bit of fractional part.
39814         [BZ #14042]
39815         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39816         for call to __mcount_internal.
39817         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39818         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39819         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39821 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39823         [BZ #14154]
39824         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39825         approximation for values within 0x1p-13f of an odd multiple of
39826         pi/4.
39827         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39828         exception.  Add more tests.
39829         * sysdeps/i386/fpu/libm-test-ulps: Update.
39831         [BZ #6778]
39832         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39833         inputs and return -1 for them.  Do not check for +Inf in case not
39834         reachable for +Inf.
39835         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39836         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39837         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39838         and return -1 for them.  Do not check for +Inf in case not
39839         reachable for +Inf.
39840         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39841         define.
39842         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39843         and return -1 for them.  Do not check for +Inf in case not
39844         reachable for +Inf.
39845         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39846         spurious underflow.
39847         * sysdeps/i386/fpu/libm-test-ulps: Update.
39848         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39850 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39852         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39854 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39856         [BZ #14157]
39857         [BZ #14331]
39858         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39859         could result in spurious underflow.  Scale down values above
39860         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39861         * math/s_csqrtf.c (__csqrtf): Likewise.
39862         * math/s_csqrtl.c (__csqrtl): Likewise.
39863         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39864         spurious underflow.
39865         * sysdeps/i386/fpu/libm-test-ulps: Update.
39866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39868 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39870         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39871         xopen-msg.sed.
39872         * catgets/xopen-msg.awk: New file.
39873         * catgets/xopen-msg.sed: Removed.
39875         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39876         po2text.sed.
39877         * intl/po2test.awk: New file.
39878         * intl/po2test.sed: Removed.
39880 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39882         [BZ #14328]
39883         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39884         or multiply small sinh result by itself.
39885         * math/s_ctanf.c (__ctanf): Likewise.
39886         * math/s_ctanh.c (__ctanh): Likewise.
39887         * math/s_ctanhf.c (__ctanhf): Likewise.
39888         * math/s_ctanhl.c (__ctanhl): Likewise.
39889         * math/s_ctanl.c (__ctanl): Likewise.
39890         * math/libm-test.inc (ctan_test_tonearest): New function.
39891         (ctan_test_towardzero): Likewise.
39892         (ctan_test_downward): Likewise.
39893         (ctan_test_upward): Likewise.
39894         (ctanh_test_tonearest): Likewise.
39895         (ctanh_test_towardzero): Likewise.
39896         (ctanh_test_downward): Likewise.
39897         (ctanh_test_upward): Likewise.
39898         (main): Call these new functions.
39899         * sysdeps/i386/fpu/libm-test-ulps: Update.
39900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39902 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39904         * .gitignore: Delete /ports entry.
39906 2012-07-03  Andreas Jaeger  <aj@suse.de>
39908         * po/bg.po: Update from translation team.
39909         * po/cs.po: Likewise.
39910         * po/de.po: Likewise.
39911         * po/hr.po: Likewise.
39912         * po/nl.pl: Likewise.
39913         * po/pl.po: Likewise.
39914         * po/vi.po: Likewise.
39916 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39918         * Makeconfig [!+link] (+link-before-libc): New variable.
39919         [!+link] (+link-after-libc): Likewise.
39920         [!+link] (+link-tests): Likewise.
39921         [!+link] (+link): Define in terms of $(+link-before-libc) and
39922         $(+link-after-libc).
39923         [!+link-static] (+link-static-before-libc): New variable.
39924         [!+link-static] (+link-static-after-libc): Likewise.
39925         [!+link-static] (+link-static-tests): Likewise.
39926         [!+link-static] (+link-static): Define in terms of
39927         $(+link-static-before-libc) and $(+link-static-after-libc).
39928         [build-shared] (link-libc-before-gnulib): New variable.
39929         [build-shared] (link-libc-tests): Likewise.
39930         [build-shared] (link-libc): Define in terms of
39931         $(link-libc-before-gnulib).
39932         [!build-shared] (link-libc-tests): New variable.
39933         (link-libc-static-tests): New variable.
39934         [!gnulib] (gnulib-arch): New variable.
39935         [!gnulib] (gnulib-tests): Likewise.
39936         [!gnulib] (static-gnulib-arch): Likewise.
39937         [!gnulib] (static-gnulib-tests): Likewise.
39938         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39939         Define with "=" instead of ":=".
39940         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39941         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39942         * Rules (binaries-all-notests): New variable.
39943         (binaries-all-tests): Likewise.
39944         (binaries-static-notests): Likewise.
39945         (binaries-static-tests): Likewise.
39946         (binaries-all): Define using $(binaries-all-notests) and
39947         $(binaries-all-tests).
39948         (binaries-static): Define using $(binaries-static-notests) and
39949         $(binaries-static-tests).
39950         (binaries-shared-tests): New variable.
39951         (binaries-shared-notests): Likewise.
39952         (binaries-shared): Remove variable.
39953         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39954         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39955         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39956         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39957         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39958         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39959         * elf/Makefile (sln-modules): New variable.
39960         (extra-objs): Add $(sln-modules:=.o).
39961         (ldconfig-modules): Add static-stubs.
39962         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39963         * elf/static-stubs.c: New file.
39965         [BZ #14283]
39966         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39967         by 7 not 8 to examine high bit of fractional part.  Use volatile
39968         variables when splitting into final array of floats if
39969         __FLT_EVAL_METHOD__ != 0.
39970         * math/libm-test.inc (cos_test): Add another test.
39971         (sin_test): Likewise.
39972         * sysdeps/i386/fpu/libm-test-ulps: Update.
39974         [BZ #14273]
39975         * math/libm-test.inc (cosh_test): Add more tests.
39977         * version.h (RELEASE): Set to "development".
39978         (VERSION): Set to "2.16.90".
39980 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39982         * NEWS: Update copyright. Remove last-updated date.
39983         Mention math library bug fixes and timezone data changes.
39984         * README: Mention GNU/Hurd, x32, and HPPA support status.
39986 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39988         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39990 2012-06-27  Andreas Jaeger  <aj@suse.de>
39992         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39994 2012-06-25  Andreas Jaeger  <aj@suse.de>
39996         * sysdeps/s390/fpu/libm-test-ulps: Update.
39998 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39999             Thomas Schwinge  <thomas@codesourcery.com>
40001         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40002         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40003         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40004         fanotify_mark.
40006 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40008         * sysdeps/mach/start.c: Remove file.
40009         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40010         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40011         * sysdeps/sh/init-first.c: Likewise.
40013         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40014         registers for frame unwinding purposes, add CFI directives.
40015         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40016         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40017         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40018         Likewise.
40020         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40021         __fortify_fail returning.
40022         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40024         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40025         sysdeps/sh/____longjmp_chk.S.
40026         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40027         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40028         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40029         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40031         * sysdeps/sh/abort-instr.h: New file.
40032         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40033         process in case exit returns.
40035         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40036         initialize the GOT register before use.
40038         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40039         calculation of ARGC > 4.
40041         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40042         meaningful names to some local labels.
40044 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40045             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40047         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40048         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40049         (__arch_compare_and_exchange_val_16_acq): Likewise.
40050         (__arch_compare_and_exchange_val_32_acq): Likewise.
40051         (atomic_exchange_and_add): Fix gUSA sequence.
40052         (atomic_add): Likewise.
40053         (atomic_add_negative): Likewise.
40054         (atomic_add_zero): Likewise.
40055         (atomic_bit_test_set): Likewise.
40057 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40059         [BZ #13579]
40060         * include/link.h (struct link_map): Add l_free_initfini.
40061         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40062         l_initfini.
40063         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40064         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40065         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40066         set.
40068 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40070         * configure.in: Use AC_LANG_SOURCE.
40071         * configure: Regenerate.
40073 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40075         * configure.in (libc_cv_localstatedir): New substituted variable.
40076         * configure: Regenerated.
40077         * config.make.in (localstatedir): New variable, substituted from
40078         libc_cv_localstatedir.
40079         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40080         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40081         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40082         * sysdeps/gnu/configure: Regenerated.
40084 2012-06-21  Jeff Law  <law@redhat.com>
40086         [BZ #14277]
40087         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40088         free.  Simplify list management for _LIBC case.
40090 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40092         [BZ #14273]
40093         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40094         Clear sign bit of 64-bit integer value before comparing against
40095         overflow value.
40097         * sysdeps/mach/configure: Regenerated.
40099 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40101         [BZ #14278]
40102         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40104 2012-06-21  Jeff Law  <law@redhat.com>
40106         [BZ #13882]
40107         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40108         uint16_t for elements in the "seen" array to avoid char overflows.
40109         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40110         * elf/dl-open.c (dl_open_worker): Likewise.
40112 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40114         * scripts/list-sources.sh: Scan PORTS for translations.
40115         * po/libc.pot: Regenerated.
40117 2012-06-21  Andreas Jaeger  <aj@suse.de>
40119         [BZ #12194]
40120         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40121         warning.
40122         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40123         * bits/byteswap-16.h (__bswap_16): Likewise.
40124         * bits/byteswap.h (__bswap_constant_16): Likewise.
40126 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40128         [BZ #14117]
40129         * sysdeps/i386/fpu_control.h: Removed.
40130         * sysdeps/x86_64/fpu_control.h: Moved to ...
40131         * sysdeps/x86/fpu_control.h: Here.
40133         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40134         (_FPU_SETCW): Likewise.
40136 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40138         [BZ #14117]
40139         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40140         * sysdeps/x86/fpu/bits/mathinline.h: This.
40141         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40143         [BZ #14050]
40144         [BZ #14117]
40145         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40146         functions if __x86_64__ is defined.
40148 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40150         * string/endian.h: Add !__ASSEMBLER__ condition for including
40151         conversion interfaces.
40153 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40155         [BZ #14241]
40156         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40157         of ABS(x) in calculating zero to negative powers other than odd
40158         integers.
40159         * math/libm-test.inc (pow_test): Add more tests.
40161 2012-06-15  Andreas Jaeger  <aj@suse.de>
40163         * manual/contrib.texi (Contributors): Update entry of Liubov
40164         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40165         Machado Filho.
40167 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40169         * string/string.h: Add __wur to GNU version of strerror_r.
40171 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40173         [BZ #14229]
40174         * string/Makefile (tests): Add tst-strtok_r.
40175         * string/tst-strtok_r.c: New file.
40176         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40177         RAX_LP/RDX_LP on SAVE_PTR.
40179 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40181         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40183 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40185         * libm_test.inc (csqrt_test): Allow more spurious underflow
40186         exceptions.
40187         (j0_test): Likewise.
40188         (j1_test): Likewise.
40189         (y0_test): Likewise.
40190         (y1_test): Likewise.
40192 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40194         * po/Makefile (libc.pot): Use UTF-8 charset.
40196 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40198         [BZ #14210]
40199         Suppress sign-conversion warning from FD_SET.
40200         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40201         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40202         not unsigned long int.
40203         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40205 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40207         [BZ #14050]
40208         [BZ #14117]
40209         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40210         __extern_always_inline instead of __extern_inline.
40211         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40212         (__signbit): Likewise.
40213         (__signbitl): Support C++ namespace.
40214         (lrintf): New inline function.
40215         (lrint): Likewise.
40216         (llrintf): Likewise.
40217         (llrint): Likewise.
40218         (fmaxf): Likewise.
40219         (fmax): Likewise.
40220         (fminf): Likewise.
40221         (fmin): Likewise.
40222         (rint): Likewise.
40223         (rintf): Likewise.
40224         (ceil): Likewise.
40225         (ceilf): Likewise.
40226         (floor): Likewise.
40227         (floorf): Likewise.
40228         (nearbyint): Likewise.
40229         (nearbyintf): Likewise.
40231 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40233         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40234         non-default versions.
40236 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40238         [BZ #14218]
40239         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40241 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40243         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40244         (FE_UPWARD, FE_DOWNWARD): Don't define.
40245         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40246         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40248         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40249         reading it.
40250         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40251         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40253 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40255         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40256         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40257         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40258         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40260 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40262         [BZ #14117]
40263         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40264         * sysdeps/i386/fpu/Implies: New file.
40265         * sysdeps/x86_64/fpu/Implies: Likewise.
40266         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40267         * sysdeps/x86/fpu/bits/fenv.h: This.
40269         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40270         __SSE_MATH__.
40272 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40274         [BZ #14134]
40275         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40276         character 0xffff that matches the last element of the
40277         conversion table.
40279 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40281         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40282         fmodl commit.
40284 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40286         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40287         values higher than 25.6283.
40289 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40292         subnormal exponent extraction and add some __builtin_expect.
40293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40294         Fix for subnormal mantissa calculation.
40296 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40298         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40299         cpu2 is -1 and errno is not ENOSYS.
40301 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40303         [BZ #14117]
40304         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40305         * sysdeps/x86/bits/string.h: This.
40306         * sysdeps/x86_64/bits/string.h: Removed.
40308         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40309         if not compiling for x86-64, but compiling for >= i486.
40311         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40312         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40314         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40315         New macro from Linux kernel 3.4.0.
40316         (FP_XSTATE_MAGIC2): Likewise.
40317         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40318         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40319         (struct _fpx_sw_bytes): New struct.
40320         (struct _xsave_hdr): Likewise.
40321         (struct _ymmh_state): Likewise.
40322         (struct _xstate): Likewise.
40324         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40325         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40326         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40327         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40328         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40329         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40331         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40332         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40333         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40334         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40335         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40336         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40338 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40340         [BZ #13743]
40341         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40342         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40343         (sysdep_headers): Include sys/platform/ppc.h.
40344         * sysdeps/powerpc/test-gettimebase.c: Test for
40345         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40346         * manual/Makefile (appendices): Include platform.texi.
40347         * manual/contrib.texi (Contributors): Update @node pointers.
40348         * manual/maint.texi (Maintenance): Likewise.
40349         (Platform): New node.
40350         * manual/platform.texi: New file.  Document the new features.
40352 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40353             Jakub Jelinek  <jakub@redhat.com>
40355         [BZ #14188]
40356         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40357         where __builtin_expect is unavailable.
40359 2012-06-03  David S. Miller  <davem@davemloft.net>
40361         * stdlib/longlong.h: Updated from GCC.
40363 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40365         [BZ #14042]
40366         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40367         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40368         __mcount_internal.
40369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40370         (GLIBC_2.16): Likewise.
40372 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40374         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40376 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40379         (default-abi): New variable.
40380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40381         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40382         variable.
40383         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40384         Likewise.
40385         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40386         Likewise.
40387         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40388         Likewise.
40390         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40391         definition.  Document in comment.
40393 2012-06-01  David S. Miller  <davem@davemloft.net>
40395         * stdlib/longlong.h: Updated from GCC.
40397 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40399         [BZ #14117]
40400         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40401         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40402         sys/debugreg.h sys/io.h here.
40403         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40404         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40405         sys/io.h.
40406         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40407         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40408         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40409         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40410         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40411         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40413         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40414         Define only if __x86_64__ is defined.
40416 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40418         [BZ #14048]
40419         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40420         Use int64_t for variable i.
40421         * math/libm-test.inc (fmod_test): Add more tests.
40423         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40424         z computation is not scheduled after fetestexcept.
40425         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40426         Use math_force_eval instead of asm to ensure calculation scheduled
40427         before exception test.
40428         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40429         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40431 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40434         computation is not scheduled after fetestexcept.
40436 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40438         [BZ #14117]
40439         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40440         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40442 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40444         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40445         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40447 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40449         [BZ #14117]
40450         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40451         <bits/wordsize.h>.
40452         (__WCHAR_MIN): Support __WORDSIZE == 64.
40453         (__WCHAR_MAX): Likewise.
40455         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40456         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40458         [BZ #14183]
40459         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40460         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40462         [BZ #14117]
40463         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40464         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40466         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40467         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40469         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40470         Defined to 1 if __x86_64__ isn't defined.
40471         (_STAT_VER_LINUX_OLD): New.
40472         (st_atime): Remove duplicate.
40473         (st_mtime): Likewise.
40474         (st_ctime): Likewise.
40476 2012-05-31  David S. Miller  <davem@davemloft.net>
40478         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40479         entries.
40481 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40483         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40484         gen-libm-test.pl.
40486         [BZ #14132]
40487         * elf/dl-reloc.c: Include <_itoa.h>.
40488         (_dl_reloc_bad_type): Remove use of INTUSE.
40489         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40490         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40491         * stdio-common/psiginfo.c (psiginfo): Likewise.
40492         * stdio-common/psignal.c (psignal): Likewise.
40493         * string/strsignal.c (strsignal): Likewise.
40494         * include/signal.h (_sys_siglist): Declare hidden proto.
40495         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40496         INTVARDEF with libc_hidden_data_def.
40497         * stdio-common/itoa-udigits.c: Likewise.
40498         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40499         (_itoa_lower_digits_internal): Remove declaration.
40500         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40501         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40502         (_sys_sigabbrev_internal): Remove aliases.
40503         (_sys_siglist): Define hidden alias.
40505 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40507         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40508         bits/sysctl.h.
40510 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40512         [BZ #14117]
40513         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40514         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40516         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40517         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40518         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40519         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40521         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40523         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40524         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40525         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40527         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40528         with __addr.
40529         (insw): Likewise.
40530         (insl): Likewise.
40531         (outsb): Likewise.
40532         (outsw): Likewise.
40533         (outsl): Likewise.
40535         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40536         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40537         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40539         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40540         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40541         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40542         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40543         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40544         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40546         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40547         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40549         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40550         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40552         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40553         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40554         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40556         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40557         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40558         to ...
40559         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40561         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40562         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40563         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40565         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40566         for x86-64.
40567         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40569 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40571         * math/math.h (M_El): Use two more decimal places.
40572         (M_LOG2El): Likewise.
40573         (M_LOG10El): Likewise.
40574         (M_LN2l): Likewise.
40575         (M_LN10l): Likewise.
40576         (M_PIl): Likewise.
40577         (M_PI_2l): Likewise.
40578         (M_PI_4l): Likewise.
40579         (M_1_PIl): Likewise.
40580         (M_2_PIl): Likewise.
40581         (M_2_SQRTPIl): Likewise.
40582         (M_SQRT2l): Likewise.
40583         (M_SQRT1_2l): Likewise.
40585 2012-05-31  David S. Miller  <davem@davemloft.net>
40587         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40588         values between float registers.
40589         * sysdeps/sparc/sparc64/memset.S: Likewise.
40590         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40592 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40594         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40595         -D_FORTIFY_SOURCE=1.
40596         (CPPFLAGS-tst-longjmp_chk.c): Define.
40597         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40598         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40599         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40600         CFLAGS-tst-wchar-h.c.
40602 2012-05-31  Marek Polacek  <polacek@redhat.com>
40604         [BZ #14132]
40605         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40606         __endmntent_internal): Remove declaration.
40607         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40608         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40609         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40611 2012-05-30  David S. Miller  <davem@davemloft.net>
40613         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40614         (___Q_simulate_exceptions): Use real FP ops rather than writing
40615         into the %fsr.
40616         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40617         Likewise.
40619 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40621         [BZ #14117]
40622         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40623         * sysdeps/x86/bits/xtitypes.h: This.
40625         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40626         * sysdeps/x86/bits/wordsize.h: This.
40628         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40629         * sysdeps/x86/bits/huge_vall.h: This.
40631         * sysdeps/i386/bits/select.h: Removed.
40632         * sysdeps/x86_64/bits/select.h: Renamed to ...
40633         * sysdeps/x86/bits/select.h: This.
40635         * sysdeps/i386/bits/setjmp.h: Removed.
40636         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40637         * sysdeps/x86/bits/setjmp.h: This.
40639         * sysdeps/i386/bits/mathdef.h: Removed.
40640         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40641         * sysdeps/x86/bits/mathdef.h: This.
40643 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40645         [BZ #14132]
40646         * include/sys/socket.h (__connect_internal)
40647         (__libc_sa_len_internal): Remove declaration.
40648         (__connect, __libc_sa_len): Declare hidden_proto.
40649         (SA_LEN): Remove use of INTUSE.
40650         * socket/connect.c: Add libc_hidden_def.
40651         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40652         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40653         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40654         alias.
40655         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40656         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40657         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40658         of adding _internal alias.
40660 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40662         [BZ #14117]
40663         * sysdeps/i386/bits/link.h: Removed.
40664         * sysdeps/i386/bits/linkmap.h: Likewise.
40665         * sysdeps/x86_64/bits/link.h: Renamed to ...
40666         * sysdeps/x86/bits/link.h: This.
40667         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40668         * sysdeps/x86/bits/linkmap.h: This.
40670         * sysdeps/i386/bits/endian.h: Removed.
40671         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40672         * sysdeps/x86/bits/endian.h: This.
40674         * sysdeps/i386/bits/byteswap.h: Removed.
40675         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40676         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40677         * sysdeps/x86/bits/byteswap.h: This.
40678         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40679         * sysdeps/x86/bits/byteswap-16.h: This.
40680         * sysdeps/i386/Implies: Add x86.
40681         * sysdeps/x86_64/Implies: Likewise.
40683 2012-05-30  David S. Miller  <davem@davemloft.net>
40685         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40686         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40687         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40688         (FP_TRAPPING_EXCEPTIONS): Define.
40689         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40690         (FP_TRAPPING_EXCEPTIONS): Define.
40691         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40692         subnormals only when inexact has been signalled or underflow
40693         exceptions are enabled.
40694         (_FP_PACK_CANONICAL): Likewise.
40696 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40698         [BZ #14183]
40699         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40700         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40702 2012-05-30  Richard Henderson  <rth@twiddle.net>
40704         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40705         with #ifndef NOT_IN_libc.
40707         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40708         marked to avoid plt entry.
40710 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40712         [BZ #14112]
40713         * Makeconfig (default-abi): New macro.
40714         (abi-includes): Likewise.
40715         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40716         $(abi-$(default-abi)-lib-soname) for soname if defined.
40717         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40718         abi-variants.
40719         * Makefile (installed-stubs): Likewise.
40720         * include/stubs-biarch.h: Removed.
40721         * scripts/lib-names.awk: Only handle one library at a time.
40722         * scripts/soversions.awk: Remove WORDSIZE support.
40723         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40724         entries.
40725         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40726         Removed.
40727         (syscall-list-default-condition): Likewise.
40728         (syscall-list-default-condition): Likewise.
40729         (syscall-list-includes): Likewise.
40730         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40731         syscall-list-* with abi-*.  Handle undefined abi-variants.
40732         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40733         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40734         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40735         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40736         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40737         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40738         Removed.
40739         (syscall-list-32-options): Likewise.
40740         (syscall-list-32-condition): Likewise.
40741         (syscall-list-64-options): Likewise.
40742         (syscall-list-64-condition): Likewise.
40743         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40744         macro.
40745         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40746         Renamed to ...
40747         (abi-*): This.
40748         (abi-64-ld-soname): New macro.
40749         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40750         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40751         Renamed to ...
40752         (abi-*): This.
40753         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40754         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40756 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40758         * sysdeps/unix/sysv/linux/kernel-features.h
40759         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40760         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40761         include <kernel-features.h>.
40762         [!__NR_ftruncate64]: Remove conditional code.
40763         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40764         [__NR_ftruncate64]: Make code unconditional.
40765         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40766         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40767         include <kernel-features.h>.
40768         [!__NR_ftruncate64]: Remove conditional code.
40769         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40770         [__NR_ftruncate64]: Make code unconditional.
40771         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40773         include <kernel-features.h>.
40774         [!__NR_ftruncate64]: Remove conditional code.
40775         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40776         [__NR_ftruncate64]: Make code unconditional.
40777         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40779         include <kernel-features.h>.
40780         [!__NR_ftruncate64]: Remove conditional code.
40781         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40782         [__NR_ftruncate64]: Make code unconditional.
40783         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40785         * configure.in (libc_cv_fpie): Weaken to a compile test using
40786         LIBC_TRY_CC_OPTION.
40787         * configure: Regenerated.
40789 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40795         Refreshed.
40796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40802         Refreshed.
40804 2012-05-27  David S. Miller  <davem@davemloft.net>
40806         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40807         (___Q_zero): New.
40808         (__Q_simulate_exceptions): Return void.  Change to simulate
40809         exceptions by writing into the %fsr.
40810         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40811         (__Qp_handle_exceptions): Likewise.
40812         (numbers): Delete.
40813         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40814         __Qp_handle_exceptions.
40815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40816         __Qp_handle_exceptions.
40817         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40818         as unused and give dummy FP_RND_NEAREST initializer.
40819         (FP_INHIBIT_RESULTS): Define.
40820         (___Q_simulate_exceptions): Update declaration.
40821         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40822         formatting.
40823         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40824         as unused and give dummy FP_RND_NEAREST initializer.
40825         (__Qp_handle_exceptions): Update declaration.
40826         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40827         formatting.
40829 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40831         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40832         the temporary FPU control word.
40833         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40834         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40835         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40836         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40837         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40838         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40839         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40840         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40841         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40842         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40843         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40845 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40847         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40848         fields.
40850 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40852         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40853         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40854         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40855         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40856         Likewise.
40857         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40858         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40859         Likewise.
40861 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40863         * po/h.po: Update from translation team.
40865 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40867         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40869         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40870         handling of denormals.
40871         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40872         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40873         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40874         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40875         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40878         Likewise.
40880 2012-05-26  Marek Polacek  <polacek@redhat.com>
40882         [BZ #14152]
40883         * math/libm-test.inc (fma_test): Don't always expect underflow
40884         exception.
40886 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40888         [BZ #12416]
40889         * elf/tst-execstack.c: Include stackinfo.h.
40890         (do_test): Adjust test case to ensure that pthread_getattr_np
40891         behaviour remains the same after marking stack executable.
40893 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40895         * sysdeps/unix/sysv/linux/kernel-features.h
40896         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40897         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40898         kernel-features.h.
40899         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40900         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40901         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40902         kernel-features.h.
40903         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40904         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40906 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40908         * configure.in: Define the default includes to being none.
40909         * configure: Regenerated.
40911 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40913         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40914         * sysdeps/x86_64/setjmp.S: Likewise.
40915         * sysdeps/i386/bsd-setjmp.S: Likewise.
40916         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40917         * sysdeps/i386/setjmp.S: Likewise.
40918         * sysdeps/i386/__longjmp.S: Likewise.
40919         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40920         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40922         * include/stap-probe.h: New file.
40923         * configure.in: Handle --enable-systemtap.
40924         * configure: Regenerated.
40925         * config.h.in (USE_STAP_PROBE): New #undef.
40926         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40927         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40928         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40930 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40932         [BZ #13717]
40933         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40934         to 2.4.0 where earlier.
40935         * sysdeps/unix/sysv/linux/configure: Regenerated.
40936         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40937         <kernel-features.h>.
40938         [__ASSUME_32BITUIDS]: Make code unconditional.
40939         [!__ASSUME_32BITUIDS]: Remove conditional code.
40940         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40941         <kernel-features.h>.
40942         [__ASSUME_32BITUIDS]: Make code unconditional.
40943         [!__ASSUME_32BITUIDS]: Remove conditional code.
40944         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40945         [__ASSUME_32BITUIDS]: Make code unconditional.
40946         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40947         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40948         <kernel-features.h>.
40949         [__ASSUME_32BITUIDS]: Make code unconditional.
40950         [!__ASSUME_32BITUIDS]: Remove conditional code.
40951         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40952         <kernel-features.h>.
40953         [__ASSUME_32BITUIDS]: Make code unconditional.
40954         [!__ASSUME_32BITUIDS]: Remove conditional code.
40955         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40956         <kernel-features.h>.
40957         [__ASSUME_32BITUIDS]: Make code unconditional.
40958         [!__ASSUME_32BITUIDS]: Remove conditional code.
40959         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40960         <kernel-features.h>.
40961         [__ASSUME_32BITUIDS]: Make code unconditional.
40962         [!__ASSUME_32BITUIDS]: Remove conditional code.
40963         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40964         <kernel-features.h>.
40965         [__ASSUME_32BITUIDS]: Make code unconditional.
40966         [!__ASSUME_32BITUIDS]: Remove conditional code.
40967         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40968         <kernel-features.h>.
40969         [__ASSUME_32BITUIDS]: Make code unconditional.
40970         [!__ASSUME_32BITUIDS]: Remove conditional code.
40971         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40972         <kernel-features.h>.
40973         [__ASSUME_32BITUIDS]: Make code unconditional.
40974         [!__ASSUME_32BITUIDS]: Remove conditional code.
40975         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40976         <kernel-features.h>.
40977         [__ASSUME_32BITUIDS]: Make code unconditional.
40978         [!__ASSUME_32BITUIDS]: Remove conditional code.
40979         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40980         <kernel-features.h>.
40981         [__ASSUME_32BITUIDS]: Make code unconditional.
40982         [!__ASSUME_32BITUIDS]: Remove conditional code.
40983         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40984         <kernel-features.h>.
40985         [__ASSUME_32BITUIDS]: Make code unconditional.
40986         [!__ASSUME_32BITUIDS]: Remove conditional code.
40987         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40988         <kernel-features.h>.
40989         [__NR_setresgid] (__setresgid): Do not declare.
40990         [__ASSUME_32BITUIDS]: Make code unconditional.
40991         [!__ASSUME_32BITUIDS]: Remove conditional code.
40992         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40993         <kernel-features.h>.
40994         [__NR_setresuid] (__setresuid): Do not declare.
40995         [__ASSUME_32BITUIDS]: Make code unconditional.
40996         [!__ASSUME_32BITUIDS]: Remove conditional code.
40997         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40998         <kernel-features.h>.
40999         [__ASSUME_32BITUIDS]: Make code unconditional.
41000         [!__ASSUME_32BITUIDS]: Remove conditional code.
41001         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41002         <kernel-features.h>.
41003         [__ASSUME_32BITUIDS]: Make code unconditional.
41004         [!__ASSUME_32BITUIDS]: Remove conditional code.
41005         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41006         <kernel-features.h>.
41007         [__ASSUME_32BITUIDS]: Make code unconditional.
41008         [!__ASSUME_32BITUIDS]: Remove conditional code.
41009         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41010         <kernel-features.h>.
41011         [__ASSUME_32BITUIDS]: Make code unconditional.
41012         [!__ASSUME_32BITUIDS]: Remove conditional code.
41013         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41014         <kernel-features.h>.
41015         [__ASSUME_32BITUIDS]: Make code unconditional.
41016         [!__ASSUME_32BITUIDS]: Remove conditional code.
41017         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41018         <kernel-features.h>.
41019         [__ASSUME_32BITUIDS]: Make code unconditional.
41020         [!__ASSUME_32BITUIDS]: Remove conditional code.
41021         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41022         <kernel-features.h>.
41023         [__ASSUME_32BITUIDS]: Make code unconditional.
41024         [!__ASSUME_32BITUIDS]: Remove conditional code.
41025         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41026         <kernel-features.h>.
41027         [__ASSUME_32BITUIDS]: Make code unconditional.
41028         [!__ASSUME_32BITUIDS]: Remove conditional code.
41029         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41030         <kernel-features.h>.
41031         [__ASSUME_32BITUIDS]: Make code unconditional.
41032         [!__ASSUME_32BITUIDS]: Remove conditional code.
41033         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41034         <kernel-features.h>.
41035         [__ASSUME_32BITUIDS]: Make code unconditional.
41036         [!__ASSUME_32BITUIDS]: Remove conditional code.
41037         * sysdeps/unix/sysv/linux/kernel-features.h
41038         (__ASSUME_SETRESUID_SYSCALL): Remove.
41039         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41040         (__ASSUME_32BITUIDS): Likewise.
41041         (__ASSUME_LDT_WORKS): Likewise.
41042         (__ASSUME_O_DIRECTORY): Likewise.
41043         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41044         architecture but not kernel version.
41045         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41046         (__ASSUME_MMAP2_SYSCALL): Likewise.
41047         (__ASSUME_STAT64_SYSCALL): Likewise.
41048         (__ASSUME_IPC64): Likewise.
41049         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41050         <kernel-features.h>.
41051         [__ASSUME_32BITUIDS]: Make code unconditional.
41052         [!__ASSUME_32BITUIDS]: Remove conditional code.
41053         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41054         <kernel-features.h>.
41055         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41056         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41057         132096]: Remove conditional code.
41058         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41059         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41060         <kernel-features.h>.
41061         [__ASSUME_32BITUIDS]: Make code unconditional.
41062         [!__ASSUME_32BITUIDS]: Remove conditional code.
41063         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41064         <kernel-features.h>.
41065         [__ASSUME_32BITUIDS]: Make code unconditional.
41066         [!__ASSUME_32BITUIDS]: Remove conditional code.
41067         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41068         <kernel-features.h>.
41069         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41070         unconditional.
41071         (__setresgid): Do not declare.
41072         [__ASSUME_32BITUIDS]: Make code unconditional.
41073         [!__ASSUME_32BITUIDS]: Remove conditional code.
41074         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41075         <kernel-features.h>.
41076         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41077         unconditional.
41078         (__setresuid): Do not declare.
41079         [__ASSUME_32BITUIDS]: Make code unconditional.
41080         [!__ASSUME_32BITUIDS]: Remove conditional code.
41081         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41082         <kernel-features.h>.
41083         [__ASSUME_32BITUIDS]: Make code unconditional.
41084         [!__ASSUME_32BITUIDS]: Remove conditional code.
41085         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41086         <kernel-features.h>.
41087         [__ASSUME_32BITUIDS]: Make code unconditional.
41088         [!__ASSUME_32BITUIDS]: Remove conditional code.
41090 2012-05-25  Richard Henderson  <rth@twiddle.net>
41092         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41093         dl_hwcap to ifunc resolver.
41094         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41095         elf_ifunc_invoke.
41096         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41097         dl_hwcap to ifunc resolver.
41098         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41100 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41102         [BZ #14153]
41103         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41104         for |x| <= 2**-26, not 2**-57.
41105         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41106         exception.
41108 2012-05-24  Jeff Law  <law@redhat.com>
41110         * stdio-common/Makefile (tests): Add bug25.
41111         * stdio-common/bug25.c: New test.
41113 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41115         [BZ #13576]
41116         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41117         multiple of MALLOC_ALIGNMENT in size.
41118         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41120 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41122         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41123         Require >= 256.
41124         (FILENAME_MAX): Use macro-int-constant.
41125         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41126         (_IOFBF): Use macro-int-constant.
41127         (_IOLBF): Likewise.
41128         (_IONBF): Likewise.
41129         (SEEK_CUR): Likewise.
41130         (SEEK_END): Likewise.
41131         (SEEK_SET): Likewise.
41132         (TMP_MAX): Likewise.
41133         (EOF): Use macro-int-constant.  Require < 0.
41134         (NULL): Use macro-constant.  Require == 0.
41135         (stdin): Require type to be FILE *.
41136         (stdout): Likewise.
41137         (stderr): Likewise.
41138         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41139         macro-int-constant.
41140         (EXIT_SUCCESS): Likewise.
41141         (NULL): Use macro-constant.  Require == 0.
41142         (RAND_MAX): Use macro-int-constant.
41143         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41144         [C99-based standards] (strtof): Require function.
41145         [C99-based standards] (strtold): Likewise.
41146         [C99-based standards] (strtoll): Likewise.
41147         [C99-based standards] (strtoull): Likewise.
41148         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41149         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41150         [ISO || ISO99 || ISO11] (math.h): Likewise.
41151         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41152         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41155 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41157         [BZ #14132]
41158         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41159         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41160         * intl/dgettext.c (DCGETTEXT): Likewise.
41161         * intl/gettext.c (DCGETTEXT): Likewise.
41162         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41163         * posix/regex_internal.h (gettext): Likewise.
41164         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41165         Remove declaration.
41166         * include/argz.h (__argz_count_internal)
41167         (__argz_stringify_internal): Remove declaration.
41168         (__argz_count, __argz_stringify): Declare hidden proto.
41169         * intl/dcgettext.c: Remove use of INTDEF.
41170         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41171         * string/argz-stringify.c: Likewise.
41172         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41173         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41174         Declare hidden proto.
41175         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41176         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41177         Declare hidden proto.
41178         * include/stdio.h (__asprintf_internal): Don't declare.
41179         (__asprintf): Don't define as macro.  Declare hidden proto.
41180         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41181         (__fsetlocking): Declare hidden proto.
41182         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41183         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41184         hidden proto.
41185         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41186         (_IO_setlinebuf): Remove use of INTUSE.
41187         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41188         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41189         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41190         Remove declaration.
41191         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41192         (_IO_do_flush): Remove use of INTUSE.
41193         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41194         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41195         (_IO_adjust_column, _IO_least_wmarker)
41196         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41197         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41198         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41199         (_IO_default_doallocate, _IO_wdefault_doallocate)
41200         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41201         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41202         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41203         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41204         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41205         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41206         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41207         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41208         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41209         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41210         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41211         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41212         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41213         proto.
41214         (_IO_flush_all_internal, _IO_adjust_column_internal)
41215         (_IO_default_uflow_internal, _IO_default_finish_internal)
41216         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41217         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41218         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41219         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41220         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41221         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41222         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41223         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41224         (_IO_file_close_internal, _IO_file_close_it_internal)
41225         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41226         (_IO_file_init_internal, _IO_file_attach_internal)
41227         (_IO_file_fopen_internal, _IO_file_read_internal)
41228         (_IO_file_sync_internal, _IO_file_seek_internal)
41229         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41230         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41231         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41232         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41233         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41234         (_IO_list_all_internal, _IO_link_in_internal)
41235         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41236         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41237         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41238         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41239         (_IO_do_write_internal, _IO_padn_internal)
41240         (_IO_getline_info_internal, _IO_getline_internal)
41241         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41242         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41243         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41244         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41245         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41246         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41247         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41248         with libc_hidden_ver, remove use of INTUSE.
41249         * libio/genops.c: Likewise.
41250         * libio/freopen.c: Likewise.
41251         * libio/freopen64.c: Likewise.
41252         * libio/iofclose.c: Likewise.
41253         * libio/iofdopen.c: Likewise.
41254         * libio/iofflush.c: Likewise.
41255         * libio/iofflush_u.c: Likewise.
41256         * libio/iofgets.c: Likewise.
41257         * libio/iofgets_u.c: Likewise.
41258         * libio/iofopen.c: Likewise.
41259         * libio/iofopncook.c: Likewise.
41260         * libio/iofread.c: Likewise.
41261         * libio/iofread_u.c: Likewise.
41262         * libio/ioftell.c: Likewise.
41263         * libio/iofwrite.c: Likewise.
41264         * libio/iogetline.c: Likewise.
41265         * libio/iogets.c: Likewise.
41266         * libio/iogetwline.c: Likewise.
41267         * libio/iopadn.c: Likewise.
41268         * libio/iopopen.c: Likewise.
41269         * libio/ioseekoff.c: Likewise.
41270         * libio/ioseekpos.c: Likewise.
41271         * libio/iosetbuffer.c: Likewise.
41272         * libio/iosetvbuf.c: Likewise.
41273         * libio/ioungetc.c: Likewise.
41274         * libio/ioungetwc.c: Likewise.
41275         * libio/iovdprintf.c: Likewise.
41276         * libio/iovsprintf.c: Likewise.
41277         * libio/iovsscanf.c: Likewise.
41278         * libio/memstream.c: Likewise.
41279         * libio/obprintf.c: Likewise.
41280         * libio/oldfileops.c: Likewise.
41281         * libio/oldiofclose.c: Likewise.
41282         * libio/oldiofdopen.c: Likewise.
41283         * libio/oldiofopen.c: Likewise.
41284         * libio/oldiopopen.c: Likewise.
41285         * libio/oldstdfiles.c: Likewise.
41286         * libio/putc.c: Likewise.
41287         * libio/setbuf.c: Likewise.
41288         * libio/setlinebuf.c: Likewise.
41289         * libio/stdfiles.c: Likewise.
41290         * libio/strops.c: Likewise.
41291         * libio/vasprintf.c: Likewise.
41292         * libio/vscanf.c: Likewise.
41293         * libio/vsnprintf.c: Likewise.
41294         * libio/vswprintf.c: Likewise.
41295         * libio/wfiledoalloc.c: Likewise.
41296         * libio/wfileops.c: Likewise.
41297         * libio/wgenops.c: Likewise.
41298         * libio/wmemstream.c: Likewise.
41299         * libio/wstrops.c: Likewise.
41300         * libio/__fpurge.c: Likewise.
41301         * libio/__fsetlocking.c: Likewise.
41302         * assert/assert.c: Likewise.
41303         * debug/fgets_chk.c: Likewise.
41304         * debug/fgets_u_chk.c: Likewise.
41305         * debug/fread_chk.c: Likewise.
41306         * debug/fread_u_chk.c: Likewise.
41307         * debug/gets_chk.c: Likewise.
41308         * debug/obprintf_chk.c: Likewise.
41309         * debug/vasprintf_chk.c: Likewise.
41310         * debug/vdprintf_chk.c: Likewise.
41311         * debug/vsnprintf_chk.c: Likewise.
41312         * debug/vsprintf_chk.c: Likewise.
41313         * malloc/mtrace.c: Likewise.
41314         * misc/error.c: Likewise.
41315         * misc/syslog.c: Likewise.
41316         * stdio-common/asprintf.c: Likewise.
41317         * stdio-common/fxprintf.c: Likewise.
41318         * stdio-common/getw.c: Likewise.
41319         * stdio-common/isoc99_fscanf.c: Likewise.
41320         * stdio-common/isoc99_scanf.c: Likewise.
41321         * stdio-common/isoc99_vfscanf.c: Likewise.
41322         * stdio-common/isoc99_vscanf.c: Likewise.
41323         * stdio-common/isoc99_vsscanf.c: Likewise.
41324         * stdio-common/printf-prs.c: Likewise.
41325         * stdio-common/printf_fp.c: Likewise.
41326         * stdio-common/printf_fphex.c: Likewise.
41327         * stdio-common/printf_size.c: Likewise.
41328         * stdio-common/putw.c: Likewise.
41329         * stdio-common/scanf.c: Likewise.
41330         * stdio-common/sprintf.c: Likewise.
41331         * stdio-common/tmpfile.c: Likewise.
41332         * stdio-common/vfprintf.c: Likewise.
41333         * stdio-common/vfscanf.c: Likewise.
41334         * stdlib/strfmon_l.c: Likewise.
41335         * sunrpc/openchild.c: Likewise.
41336         * sunrpc/xdr_stdio.c: Likewise.
41337         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41338         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41340 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41342         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41344         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41345         in the third column, to generate for the shared library an IFUNC
41346         that uses _dl_vdso_vsym.
41347         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41348         * Makeconfig (object-suffixes-noshared): New variable.
41350         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41351         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41352         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41353         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41355         [BZ #14132]
41356         * include/sys/time.h (__gettimeofday): Remove macro.
41357         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41358         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41359         Remove INTDEF.
41360         (__gettimeofday): Add libc_hidden_def.
41361         (gettimeofday): Add libc_hidden_weak.
41362         * sysdeps/mach/gettimeofday.c: Likewise.
41363         * sysdeps/posix/gettimeofday.c: Likewise.
41364         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41365         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41366         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41367         (__gettimeofday_internal): Remove strong_alias.
41368         (__gettimeofday): Add libc_hidden_def.
41369         (gettimeofday): Add libc_hidden_weak.
41370         * sysdeps/unix/syscalls.list (gettimeofday):
41371         Remove __gettimeofday_internal alias.
41373 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41374             H.J. Lu  <hongjiu.lu@intel.com>
41376         [BZ #12495]
41377         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41378         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41379         (largebin_index_32_big): New.
41380         (largebin_index): Use it for 16-byte alignment.
41381         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41382         correction with front_misalign.
41384 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41388         Likewise.
41389         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41390         Likewise.
41391         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41392         Likewise.
41393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41394         Likewise.
41395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41396         Likewise.
41397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41398         Likewise.
41399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41400         Likewise.
41401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41402         Likewise.
41403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41404         Likewise.
41405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41406         Likewise.
41407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41408         Likewise.
41409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41410         Likewise.
41412         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41413         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41415 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41417         [BZ #10846]
41418         [BZ #14036]
41419         * math/libm-test.inc (exp_test): Add test from bug 14036.
41420         (pow_test): Add test from bug 10846.
41422         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41423         and other flags.
41424         (special_function): Do not include flags in test name.
41425         (parse_args): Likewise.
41426         * sysdeps/i386/fpu/libm-test-ulps: Update.
41427         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41428         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41432         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41433         exceptions.
41434         * math/libm-test.inc ("Philosophy"): Update comment about
41435         exception testing.
41436         (UNDERFLOW_EXCEPTION): New macro.
41437         (UNDERFLOW_EXCEPTION_OK): Likewise.
41438         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41439         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41440         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41441         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41442         (INVALID_EXCEPTION_OK): Update value.
41443         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41444         (OVERFLOW_EXCEPTION_OK): Likewise.
41445         (IGNORE_ZERO_INF_SIGN): Likewise.
41446         (test_exceptions): Handle underflow exceptions.
41447         (acos_test): Update for underflow exception expectations.
41448         (cexp_test): Likewise.
41449         (clog_test): Likewise.
41450         (clog10_test): Likewise.
41451         (csqrt_test): Likewise.
41452         (ctan_test): Likewise.
41453         (ctanh_test): Likewise.
41454         (exp_test): Likewise.
41455         (exp10_test): Likewise.
41456         (exp2_test): Likewise.
41457         (expm1_test): Likewise.
41458         (fma_test): Likewise.
41459         (j0_test): Likewise.
41460         (jn_test): Likewise.
41461         (nexttoward_test): Likewise.
41462         (pow_test): Likewise.
41463         (scalbn_test): Likewise.
41464         (scalbln_test): Likewise.
41465         (tan_test): Likewise.
41466         (y1_test): Likewise.
41467         * sysdeps/i386/fpu/libm-test-ulps: Update.
41468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41470 2012-05-23  David S. Miller  <davem@davemloft.net>
41472         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41473         (__libc_sigaction): Remove unused local variables.
41475 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41477         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41479 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41481         mktime: avoid signed integer overflow
41482         * time/mktime.c (__mktime_internal): Do not mishandle the case
41483         where diff == INT_MIN.
41485         mktime: simplify computation of average
41486         * time/mktime.c (ranged_convert): Use new time_t_avg function
41487         instead of rolling our own (probably-slower) code.
41489         mktime: do not assume signed right shift propagates sign bit
41490         * time/mktime.c (isdst_differ): New static function.
41491         (__mktime_internal): No need to normalize tm_isdst now.
41492         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41493         tm_isdst values.
41495         mktime: merge another wrapv change from gnulib
41496         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41497         from some compilers.
41499         mktime: remove incorrect attempt at unusual arithmetics
41500         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41501         The code didn't really work on such machines anyway.
41502         (TYPE_MINIMUM): Assume two's complement.
41503         (twos_complement_arithmetic): Verify that long_int and time_t
41504         are two's complement (or unsigned, in the latter case).
41506         mktime: check signed shifts on long_int and time_t, too
41507         * time/mktime.c (SHR): Check that shifts work as desired
41508         on the types long_int and time_t too, as SHR is used on
41509         such types.
41511         mktime: do not assume 'long' is wide enough
41512         * time/mktime.c (verify): Move decl up.
41513         (long_int): New type.
41514         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41515         to remove assumption in the code that 'long' is wide enough to
41516         store year values.  This assumption is not true on x32 and on
41517         some non-glibc platforms.
41519         mktime: merge wrapv change from gnulib
41520         * time/mktime.c (WRAPV): New macro.
41521         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41522         (guess_time_tm, __mktime_internal): Do not assume that signed
41523         integer overflow wraps around; modern compilers generate code
41524         where this assumption is no longer valid.
41526 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41528         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41529         Replace "jmp L(pseudo_end)" with "ret".
41530         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41531         Likewise.
41533 2012-05-23  Andreas Jaeger  <aj@suse.de>
41535         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41536         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41538 2012-05-23  Andreas Jaeger  <aj@suse.de>
41539             Maximilian Attems  <max@stro.at>
41541         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41542         New macros.
41544 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41546         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41547         code so that pseudo_end is just ret and the stack pointer is
41548         correct also for static library in error case.
41550 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41552         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41553         move to syscalls.list.
41554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41559         * manual/install.texi (Running make install): Do not mention Linux
41560         kernel version for which pt_chown is not needed.
41561         (Linux): Do not mention problems with nscd with 2.0 kernels.
41562         * INSTALL: Regenerated.
41564 2012-05-23  Andreas Jaeger  <aj@suse.de>
41566         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41567         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41568         macro.
41569         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41570         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41571         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41572         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41573         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41574         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41575         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41576         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41577         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41578         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41579         * sysdeps/unix/sysv/linux/bits/in.h
41580         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41582 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41584         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41585         (PREPARE_VERSION): Just use assert instead, it will be elided
41586         under [NDEBUG] anyway.
41588 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41590         * sysdeps/unix/sysv/linux/Makefile: Include
41591         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41592         (sysdep_routines): Remove sysctl.
41593         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41594         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41595         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41596         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41597         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41599 2012-05-22  Andreas Jaeger  <aj@suse.de>
41601         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41602         that pseudo_end is just ret and the stack pointer is correct also
41603         for static library in error case.
41605 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41607         [BZ #14122]
41608         * nss/nsswitch.c (defconfig_entries): New variable.
41609         (__nss_database_lookup): Don't leak defconfig entries.
41610         (nss_parse_service_list): Don't leak on error paths.
41611         (free_database_entries): New function.
41612         (free_defconfig): New function.
41613         (free_mem): Move common code to free_database_entries.
41615 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41617         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41618         Add arch_prctl.
41619         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41621         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41622         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41624         New macro.
41625         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41626         (INTERNAL_SYSCALL_TYPES): Likewise.
41627         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41628         (LOAD_REGS_TYPES_[1-6]): Likewise.
41629         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41630         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41632 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41634         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41635         copysignl for GLIBC_2_0.
41636         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41637         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41638         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41639         logbl for GLIBC_2_0.
41640         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41641         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41643 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41645         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41646         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41648         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41649         Use "neg %eax".
41651         * time/mktime.c: Update copyright years.
41653 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41655         mktime: merge comment-quoting-style change from gnulib
41656         * time/mktime.c: Quote 'like this' in comments.
41657         The GNU coding standards suggest that we no longer quote `like this',
41658         as "`" and "'" are typically rendered asymmetrically nowadays.
41659         The typical gnulib style is to quote 'like this' when quoting
41660         code, and "like this" when quoting English.
41662         * time/mktime.c (compile-command): Add "-I.".
41664         mktime: merge mktime-internal.h change from gnulib
41665         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41667         mktime: merge time_r change from gnulib
41668         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41670         mktime: merge DEBUG change from gnulib
41671         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41672         case system <time.h> has a #define.
41674         mktime: merge <sys/types.h> change from gnulib
41675         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41676         since <time.t> is now guaranteed to define time_t.
41678         mktime: merge HAVE_CONFIG_H change from gnulib
41679         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41681 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41684         Use "neg %eax".
41686         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41687         __rlim_t cast.
41688         (struct rusage): Use anonymous union to pad each field to
41689         __syscall_slong_t.
41691 2012-05-21  David S. Miller  <davem@davemloft.net>
41693         * Makefules (o-iterator): Remove .s cases.
41694         (compile-command.s): Delete.
41695         (COMPILE.s): Delete.
41696         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41698 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41700         * configure.in (libc_cv_predef_stack_protector): Only consider
41701         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41702         * configure: Regenerated.
41704 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41706         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41707         New macro.  Use R*LP on int and pointer.
41708         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41709         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41710         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41711         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41713         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41714         [__WORDSIZE_TIME64_COMPAT32] instead of
41715         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41716         (struct utmp): Likewise.
41717         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41718         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41719         Renamed to ...
41720         (__WORDSIZE_TIME64_COMPAT32): This.
41721         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41722         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41723         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41724         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41725         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41726         (__WORDSIZE_TIME64_COMPAT32): New macro.
41728 2012-05-21  Andreas Jaeger  <aj@suse.de>
41730         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41731         only if [SHARED]. Add prototype for __wcschr_ia32.
41733 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41735         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41736         of %rbp unmolested in the jmp_buf while mangling the low bits.
41737         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41738         unmolested high bits of %rbp while demangling the low bits.
41739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41741 2012-05-21  Andreas Jaeger  <aj@suse.de>
41743         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41744         * sunrpc/svc_simple.c: Use it for registerrpc.
41745         * sunrpc/xcrypt.c: Use it for passwd2des.
41747         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41749 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41751         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41752         Don't define if [__SYSCALL_WORDSIZE != 32].
41753         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41754         New macro.
41756 2012-05-21  Bruno Haible  <bruno@clisp.org>
41757             Andreas Jaeger  <aj@suse.de>
41759         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41760         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41761         inptr and inend for must_buffer_ch.
41762         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41763         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41764         * stdio-common/Makefile (tests): Remove bug15.
41765         (bug15-ENV): Remove macro.
41766         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41767         anymore.
41769 2012-05-19  Andreas Jaeger  <aj@suse.de>
41770             Roland McGrath  <roland@hack.frob.com>
41772         * manual/contrib.texi: Completely rewritten. It contains now an
41773         alphabetical list of contributors and their contributions.
41775 2012-05-21  Richard Henderson  <rth@twiddle.net>
41777         * misc/getauxval.c (__getauxval): Use unsigned long int.
41778         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41779         (getauxval): Use unsigned long int.
41781 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41783         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41785 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41787         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41788         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41789         __alignof__ (long double).
41791 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41795 2012-05-20  Richard Henderson  <rth@twiddle.net>
41797         * misc/getauxval.c: New file.
41798         * misc/sys/auxv.h: New file.
41799         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41800         (routines): Add getauxval.
41801         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41802         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41803         * elf/dl-sysdep.c (_dl_auxv): Remove.
41804         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41805         * elf/dl-support.c (_dl_auxv): New variable.
41806         (_dl_aux_init): Initialize it.
41807         * manual/startup.texi (Auxiliary Vector): New node.
41808         * sysdeps/generic/bits/hwcap.h: New file.
41809         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41810         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41811         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41812         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41813         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41814         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41816         Update.
41817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41820         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41826 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41828         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41830 2012-05-19  David S. Miller  <davem@davemloft.net>
41832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41834 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41836         [BZ #14123]
41837         * math/s_ccosh.c: Include <float.h>
41838         (__ccosh): Avoid internal overflow calculating sinh and cosh
41839         values before multiplying by sin and cos values.
41840         * math/s_ccoshf.c: Likewise.
41841         * math/s_ccoshl.c: Likewise.
41842         * math/s_csin.c: Likewise.
41843         * math/s_csinf.c: Likewise.
41844         * math/s_csinl.c: Likewise.
41845         * math/s_csinh.c: Likewise.
41846         * math/s_csinhf.c: Likewise.
41847         * math/s_csinhl.c: Likewise.
41848         * math/libm-test.inc (ccos_test): Add more tests.
41849         (ccosh_test): Likewise.
41850         (csin_test): Likewise.
41851         (csinh_test): Likewise.
41852         * sysdeps/i386/fpu/libm-test-ulps: Update.
41853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41855 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41857         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41858         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41860         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41862 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41864         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41865         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41866         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41867         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41868         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41869         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41870         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41871         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41872         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41873         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41874         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41875         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41876         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41877         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41878         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41879         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41880         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41881         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41882         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41883         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41884         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41885         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41886         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41887         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41888         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41889         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41890         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41891         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41892         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41893         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41894         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41896 2012-05-18  Andreas Jaeger  <aj@suse.de>
41898         * csu/.gitignore: Delete.
41900 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41902         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41903         (timex): Use __syscall_slong_t.
41905 2012-05-18  Andreas Jaeger  <aj@suse.de>
41906             Carlos O'Donell  <carlos_odonell@mentor.com>
41908         * manual/install.texi (Configuring and compiling): Update
41909         description about files modified in the source directory.
41910         * INSTALL: Regenerated.
41912 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41914         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41915         value.  Use "or" to set return value to -1.
41916         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41917         negate return value.
41919 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41921         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41922         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41923         failure if the compiler has Graphite support disabled.
41924         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41925         Likewise.
41926         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41927         (CFLAGS-memmove.c): Likewise.
41928         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41929         Likewise.
41931 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41933         * sysdeps/x86_64/x32/_itoa.h: New file.
41935         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41936         getdents system call only if kernel and user dirents have the
41937         same d_ino and d_off.
41939         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41940         LLONG_MAX != LONG_MAX.
41941         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41942         (_fitoa_word): Likewise.
41944         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41945         years.
41946         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41947         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41948         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41950         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41951         include <bits/wordsize.h>.  Check __x86_64__ instead of
41952         __WORDSIZE.
41953         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41954         if __x86_64__ is defined.  Use anonymous union on fpstate.
41956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41957         anonymous union.
41959 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41961         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41962         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41963         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41964         Refer to _rtld_local_ro instead of _rtld_global_ro.
41965         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41966         Likewise.
41967         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41968         Likewise.
41969         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41970         Likewise.
41971         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41972         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41973         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41975         * sysdeps/powerpc/powerpc32/dl-machine.c
41976         (__elf_machine_runtime_setup) [PROF]: Don't reference
41977         _dl_prof_resolve.
41979 2012-05-18  Andreas Jaeger  <aj@suse.de>
41981         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41982         function only available for GCCs before 3.4 since GCC 3.4
41983         introduced a builtin.
41984         (lrint): Likewise.
41985         (llrintf): Likewise.
41986         (llrint): Likewise.
41987         (fmaxf): Likewise.
41988         (fmax): Likewise.
41989         (fminf): Likewise.
41990         (fmin): Likewise.
41991         (rint): Likewise.
41992         (rintf): Likewise.
41993         (nearbyint): Likewise.
41994         (nearbyintf): Likewise.
41995         (ceil): Likewise.
41996         (ceilf): Likewise.
41997         (floor): Likewise.
41998         (floorf): Likewise.
42000 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42002         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42003         on both fields and cast pointer to __syscall_ulong_t.
42005         * bits/types.h (__fsword_t): New type.
42006         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42007         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42009         (__FSWORD_T_TYPE): Likewise.
42010         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42011         (__FSWORD_T_TYPE): Likewise.
42012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42013         (__FSWORD_T_TYPE): Likewise.
42014         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42015         (__FSWORD_T_TYPE): Likewise.
42016         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42017         __SWORD_TYPE with __fsword_t.
42018         (statfs64): Likewise.
42020 2012-05-17  David S. Miller  <davem@davemloft.net>
42022         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42024 2012-05-17  Andreas Jaeger  <aj@suse.de>
42026         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42027         warning.
42029 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42031         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42033 2012-05-17  Andreas Jaeger  <aj@suse.de>
42035         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42036         when it is used.
42038 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42040         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42042 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42044         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42045         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42047 2012-05-17  Andreas Jaeger  <aj@suse.de>
42048             Carlos O'Donell  <carlos_odonell@mentor.com>
42050         [BZ #14059]
42051         * sysdeps/x86_64/multiarch/init-arch.h
42052         (bit_YMM_Usable): Rename to...
42053         (bit_AVX_Usable): ... this.
42054         (bit_FMA4_Usable): New macro.
42055         (bit_XMM_state): New macro.
42056         (bit_YMM_state): New macro.
42057         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42058         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42059         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42060         (CPUID_OSXSAVE): New macro.
42061         (CPUID_AVX): New macro.
42062         (CPUID_FMA4): New macro.
42063         (index_YMM_Usable): Rename to...
42064         (index_AVX_Usable): ... this.
42065         (HAS_AVX): Use HAS_ARCH_FEATURE.
42066         (HAS_FMA4): Likewise.
42067         (HAS_YMM_USABLE): Remove.
42068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42069         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42070         are present.
42071         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42072         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42073         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42074         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42075         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42077 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42079         * math/libm-test.c: Support platforms without multiple rounding modes.
42080         * math/bug-nextafter.c: Support platforms without FP exceptions.
42081         * math/bug-nexttoward.c: Likewise.
42082         * math/test-fenv.c: Likewise.
42083         * math/test-misc.c: Likewise.
42084         * stdlib/bug-getcontext.c: Likewise.
42086 2012-05-17  Andreas Jaeger  <aj@suse.de>
42088         * manual/examples/search.c (critter_cmp): Change signature to
42089         avoid warnings.
42090         * manual/string.texi (Collation Functions): Likewise.
42092 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42094         * bits/types.h: Fold copyright years.
42095         * bits/typesizes.h: Likewise.
42096         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42097         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42098         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42099         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42100         * time/time.h: Likewise.
42102 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42104         [BZ #208]
42105         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42106         in instead of returning them.  Return void.
42107         (__libc_mallinfo): Accumulate over all arenas.
42108         (__malloc_stats): Adjust for change in int_mallinfo interface.
42110 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42112         [BZ #10375]
42113         * configure.in (NM): Add AC_CHECK_TOOL for it.
42114         (libc_extra_cflags): New substituted variable.
42115         Check for -fstack-protector being used implicitly.
42116         * configure: Regenerated.
42117         * config.make.in (config-extra-cflags): New variable,
42118         gets @libc_extra_cflags@.
42119         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42121         [BZ #10375]
42122         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42123         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42124         * configure: Regenerated.
42125         * config.make.in (CPPUNDEFS): New substituted variable.
42126         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42127         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42128         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42130 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42132         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42133         (mq_attr): Use __syscall_slong_t.
42135 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42137         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42138         Check __x86_64__ instead of __WORDSIZE.
42139         (_STAT_VER_LINUX): Likewise.
42140         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42141         __syscall_ulong_t and __syscall_slong_t.
42142         (stat64): Likewise.
42144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42148 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42150         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42152 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42154         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42155         __syscall_ulong_t.
42157         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42158         include <bits/wordsize.h>.  Check __x86_64__ instead of
42159         __WORDSIZE.
42160         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42161         defined.
42162         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42164         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42165         include <bits/wordsize.h>.  Check __x86_64__ instead of
42166         __WORDSIZE.
42167         (user_regs_struct): Use "__extension__ unsigned long long"
42168         instead of "unsigned long" if __x86_64__ is defined.
42169         (user): Likewise.  Pad after pointer field if __ILP32__ is
42170         defined.
42172 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42174         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42175         versions 5 to 9.
42176         * configure: Regenerated.
42177         * manual/install.texi (texinfo): Increase version requirement to
42178         4.5 or later.
42179         * INSTALL: Regenerated.
42181         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42183 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42185         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42187         * sysdeps/x86_64/x32/ffs.c: New file.
42189         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42190         __syscall_ulong_t.
42191         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42192         defined.  Use __syscall_ulong_t.
42193         (shminfo): Use __syscall_ulong_t.
42194         (shm_info): Likewise.
42196         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42197         __syscall_ulong_t.
42199         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42200         <bits/wordsize.h>.
42201         (msgqnum_t): Use __syscall_ulong_t.
42202         (msglen_t): Likewise.
42203         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42204         __syscall_ulong_t.
42206         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42207         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42209         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42211         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42212         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42214         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42215         __syscall_slong_t.
42217         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42218         include <bits/wordsize.h>.  Check __x86_64__ instead of
42219         __WORDSIZE.
42221         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42222         "unsigned long long int" if __x86_64__ is defined.
42223         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42225         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42226         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42227         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42229         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42230         <stdint.h>.
42231         (GET_PC): Cast to uintptr_t first.
42232         (GET_FRAME): Likewise.
42233         (GET_STACK): Likewise.
42235         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42236         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42237         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42238         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42239         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42240         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42241         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42242         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42243         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42244         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42245         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42246         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42247         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42248         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42249         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42251         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42252         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42253         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42254         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42256         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42258         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42260         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42261         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42262         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42263         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42265 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42267         * Makerules (+depfiles): Also collect depfiles from .oS in
42268         $(extra-objs).
42269         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42270         .oS, $(libnldbl-routines)).
42272         * Makerules (native-compile-mkdep-flags): Define.
42273         * sunrpc/Makefile (extra-objs): Add $(addprefix
42274         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42275         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42276         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42277         calling $(make-target-directory).
42279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42281         * bits/types.h (__snseconds_t): Removed.
42282         * time/time.h (struct timespec): Replace __snseconds_t with
42283         __syscall_slong_t.
42284         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42285         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42286         Likewise.
42287         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42288         (__SNSECONDS_T_TYPE): Likewise.
42289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42290         (__SNSECONDS_T_TYPE): Likewise.
42291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42292         (__SNSECONDS_T_TYPE): Likewise.
42294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42296         * sysdeps/mach/hurd/bits/typesizes.h
42297         (__SYSCALL_SLONG_TYPE): New macro.
42298         (__SYSCALL_ULONG_TYPE): Likewise.
42300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42302         * bits/types.h (__syscall_slong_t): New type.
42303         (__syscall_ulong_t): Likewise.
42305         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42306         (__SYSCALL_ULONG_TYPE): Likewise.
42307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42308         (__SYSCALL_SLONG_TYPE): Likewise.
42309         (__SYSCALL_ULONG_TYPE): Likewise.
42310         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42311         (__SYSCALL_SLONG_TYPE): Likewise.
42312         (__SYSCALL_ULONG_TYPE): Likewise.
42313         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42314         (__SYSCALL_SLONG_TYPE): Likewise.
42315         (__SYSCALL_ULONG_TYPE): Likewise.
42317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42319         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42320         Add sigaltstack-offsets.sym.
42321         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42322         <sigaltstack-offsets.h>.
42323         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42324         longjmp_msg pointer.
42325         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42326         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42327         signal stack.
42328         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42330 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42332         * elf/stackguard-macros.h: Remove file.
42333         * sysdeps/generic/stackguard-macros.h: New file.
42334         * sysdeps/i386/stackguard-macros.h: Likewise.
42335         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42336         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42337         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42338         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42339         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42340         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42341         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42342         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42343         <elf/stackguard-macros.h>.
42345         [BZ #14109]
42346         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42347         __aligned__ in attribute.
42348         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42349         (gregset_t): Likewise.
42351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42353         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42354         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42355         * sysdeps/x86_64/x32/Implies-after: New file.
42357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42359         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42360         and access return value for _dl_profile_fixup.  Use R10_LP to
42361         load frame size.
42363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42365         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42369         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42370         * sysdeps/x86_64/x32/sysdep.h: New file.
42372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42374         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42375         * sysdeps/x86_64/setjmp.S: Likewise.
42377 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42379         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42380         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42381         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42382         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42383         remove unused global constant.
42385 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42387         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42388         include of <not-cancel.h>.
42390 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42392         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42394 2012-05-15  Jeff Law  <law@redhat.com>
42395             Andreas Jaeger  <aj@suse.de>
42397         [BZ #13594]
42398         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42399         out from...
42400         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42401         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42402         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42403         code changing __hst_map_handle.map.
42405 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42407         * configure.in (sysnames): Look for Implies-before and Implies-after
42408         files.
42409         * configure: Regenerated.
42411 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42413         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42414         8-byte data alignment with LP_SIZE alignment.
42416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42418         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42419         into R10_LP.
42421 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42423         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42427         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42428         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42429         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42430         Likewise.
42431         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42435         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42436         (stackinfo_sub_sp): Likewise.
42438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42440         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42441         RAX_LP.
42443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42445         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42446         into R*_LP.
42448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42450         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42451         sizes into R*_LP.
42453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42455         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42459         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42460         into R11_LP and load __x86_64_shared_cache_size_half into
42461         R8_LP.
42463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42465         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42466         R8_LP.
42468 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42471         logb for POWER7.
42472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42473         logbf for POWER7.
42474         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42475         logbl for POWER7.
42476         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42477         powerpc32/power7/fpu/s_logb.c via #include.
42478         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42479         powerpc32/power7/fpu/s_logbf.c via #include.
42480         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42481         powerpc32/power7/fpu/s_logbl.c via #include.
42483 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42485         * README.libm: Remove file.
42487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42489         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42490         count for x32.  Use R*_LP and omit operand-size suffix.
42492 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42494         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42495         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42496         * sysdeps/x86_64/x32/shlib-versions: New file.
42498 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42500         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42501         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42502         Use _dl_fatal_printf instead.
42504 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42506         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42507         set if not set by the user.  Do not allow for being unset.
42508         * sysdeps/unix/sysv/linux/configure: Regenerated.
42510 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42512         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42513         the `q' suffix from lea and replace .quad with ASM_ADDR.
42515 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42518         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42519         instead of $17.
42520         (PTR_DEMANGLE): Likewise.
42522 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42524         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42525         (LP_OP): Likewise.
42526         (ASM_ADDR): Likewise.
42527         (RAX_LP): Likewise.
42528         (RBP_LP): Likewise.
42529         (RBX_LP): Likewise.
42530         (RCX_LP): Likewise.
42531         (RDI_LP): Likewise.
42532         (RSI_LP): Likewise.
42533         (RSP_LP): Likewise.
42534         (R8_LP): Likewise.
42535         (R9_LP): Likewise.
42536         (R10_LP): Likewise.
42537         (R10_LP): Likewise.
42538         (R11_LP): Likewise.
42539         (R12_LP): Likewise.
42540         (R13_LP): Likewise.
42541         (R14_LP): Likewise.
42542         (R15_LP): Likewise.
42544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42546         * sysdeps/x86_64/x32/dl-machine.h: New file.
42548 2012-05-14  Andreas Jaeger  <aj@suse.de>
42550         * manual/Makefile (subdir): Remove export of subdir.
42551         (all): Remove target.
42552         (.PHONY): Remove all from list.
42553         (mkinstalldirs): Remove.
42554         (.PHONY): Remove installdirs from list.
42555         ($(inst_infodir)/libc.info): Use make-target-directory.
42556         (installdirs): Remove.
42557         (subdir_%): Remove.
42558         (glibc-targets): Remove.
42559         (lib): Remove.
42560         (stubs): Remove.
42561         ($(objpfx)stubs ../po/manual.pot): Remove.
42562         ($(objpfx)stamp%): Remove.
42563         (make-target-directory): Remove.
42564         (subdir_install): Remove.
42565         (routines): Remove.
42566         (aux): Remove.
42567         (sources): Remove.
42568         (objects): Remove.
42569         (headers): Remove.
42571         [BZ #13750]
42572         * manual/.gitignore: Remove, it's not needed anymore.
42573         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42574         all files in it.
42575         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42576         directory.
42577         (texis): Renamed to $(objpfx)texis.
42578         (texis-path): New, contains path to generated files.
42579         (chapters.%): Use texis-path for complete path, add extra argument
42580         libc-texinfo.sh.
42581         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42582         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42583         (summary,texi, stamp-summary): Use complete path of
42584         files. Generate files in build dir.
42585         (dir-add.texi): Build in build dir.
42586         (libm-err.texi,stamp-libm-err): Likewise.
42587         (version.texi, stamp-version): Likewise.
42588         (.%c.texi): Likewise.
42589         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42590         (mostlyclean): Remove target.
42591         (realclean): Remove target.
42592         (generated): Add new variable with contents from mostlyclean and
42593         realclean, remove entries duplicated in common-mostlyclean, add
42594         stamp-libm-err and stamp-version.
42595         (generated-dirs): Add libc directory.
42596         ($(inst_infodir)/libc.info): Install files from build dir.
42598         * manual/install.texi (Configuring and compiling): Adjust since
42599         the info files are not part of the tar ball anymore.
42601 2012-05-14  Andreas Jaeger  <aj@suse.de>
42603         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42604         variable.
42606 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42608         [BZ #13717]
42609         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42610         to 2.2.0 where earlier.
42611         * sysdeps/unix/sysv/linux/configure: Regenerated.
42612         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42613         Remove conditional code.
42614         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42615         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42616         Remove conditional code.
42617         [!__NR_lchown]: Likewise.
42618         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42619         [__NR_lchown]: Likewise.
42620         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42621         comment referencing __ASSUME_LCHOWN_SYSCALL.
42622         * sysdeps/unix/sysv/linux/i386/sigaction.c
42623         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42624         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42625         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42626         Remove conditional code.
42627         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42628         (__protocol_available): Remove #if 0 code.
42629         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42630         conditional code.
42631         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42632         * sysdeps/unix/sysv/linux/kernel-features.h
42633         (__ASSUME_GETCWD_SYSCALL): Don't define.
42634         (__ASSUME_REALTIME_SIGNALS): Likewise.
42635         (__ASSUME_PREAD_SYSCALL): Likewise.
42636         (__ASSUME_PWRITE_SYSCALL): Likewise.
42637         (__ASSUME_POLL_SYSCALL): Likewise.
42638         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42639         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42640         non-SPARC.
42641         (__ASSUME_SIOCGIFNAME): Don't define.
42642         (__ASSUME_MSG_NOSIGNAL): Likewise.
42643         (__ASSUME_SENDFILE): Define unconditionally.
42644         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42645         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42646         conditional code.
42647         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42648         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42649         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42650         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42651         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42652         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42653         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42655         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42656         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42658         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42659         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42661         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42662         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42664         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42665         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42667         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42670         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42671         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42673         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42676         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42677         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42678         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42679         Remove conditional code.
42680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42681         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42682         Remove conditional code.
42683         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42684         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42685         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42686         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42687         Remove conditional code.
42688         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42689         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42690         Remove conditional code.
42691         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42692         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42693         Remove conditional code.
42694         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42695         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42696         Remove conditional code.
42697         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42698         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42699         Remove conditional code.
42700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42701         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42702         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42703         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42704         * sysdeps/unix/sysv/linux/sigaction.c
42705         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42706         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42707         * sysdeps/unix/sysv/linux/sigpending.c
42708         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42709         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42710         * sysdeps/unix/sysv/linux/sigprocmask.c
42711         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42712         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42713         * sysdeps/unix/sysv/linux/sigsuspend.c
42714         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42715         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42716         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42717         (__libc_missing_rt_sigs): Remove.
42718         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42719         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42720         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42721         Remove conditional code.
42722         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42723         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42724         return 1.
42725         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42726         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42727         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42728         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42730 2012-05-14  Andreas Jaeger  <aj@suse.de>
42732         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42733         it's not used in glibc.
42734         (__coshm1): Likewise.
42735         (__acosh1p): Likewise.
42736         (__sgn): Likewise.
42738         * manual/string.texi (Copying and Concatenation): Add missing
42739         variable in concat example.
42740         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42742 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42744         [BZ #14103]
42745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42746         __builtin_clzl with __builtin_clzll.
42748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42750         [BZ #14104]
42751         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42752         libc_freeres_ptr.
42754 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42756         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42757         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42758         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42759         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42761 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42763         * NEWS: Update ia64 info.
42765 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42767         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42768         used as bcopy.
42770 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42772         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42773         * sysdeps/unix/syscalls.list (dup3): Likewise.
42774         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42775         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42777 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42779         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42780         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42782 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42784         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42785         thread pointer.
42786         (TLS_IE): Use mov/add instead of movq/addq to load thread
42787         pointer.
42788         (TLS_GD_PREFIX): New.
42789         (TLS_GD): Use it.
42791 2012-05-11  David S. Miller  <davem@davemloft.net>
42793         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42794         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42795         (_FPU_SETCW): Likewise.
42797 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42799         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42800         is 32-byte aligned.
42802 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42804         [BZ #11837]
42805         * iconvdata/gb18030.c: Update tables.
42806         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42807         characters specially.
42808         (BODY for TO_LOOP): Add encoding of missing ranges.
42810 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42812         [BZ #13673]
42813         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42814         * sysdeps/mach/hurd/dup3.c: Likewise.
42815         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42816         * sysdeps/powerpc/memmove.c:: Likewise.
42818 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42820         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42821         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42823 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42825         * elf/elf.h (R_X86_64_RELATIVE64): New.
42826         (R_X86_64_NUM): Updated.
42827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42828         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42829         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42830         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42831         tst-quad1pie tst-quad2pie
42832         (modules-names): Add tst-quadmod1 tst-quadmod2.
42833         ($(objpfx)tst-quad1): New dependency.
42834         ($(objpfx)tst-quad2): Likewise.
42835         ($(objpfx)tst-quad1pie): Likewise.
42836         ($(objpfx)tst-quad2pie): Likewise.
42837         * sysdeps/x86_64/tst-quad1.c: New file.
42838         * sysdeps/x86_64/tst-quad1pie.c: New file.
42839         * sysdeps/x86_64/tst-quad2.c: Likewise.
42840         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42841         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42842         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42843         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42844         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42846 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42848         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42849         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42850         * streams/stropts.h (t_scalar_t): Define type.
42852         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42853         (_PATH_PRESERVE): Set to "/var/lib".
42854         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42856         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42857         instead of int.
42859         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42860         if __dir_mkfile succeeded.
42862         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42863         checking for _hurd_dtablesize.  Unlock it right after having
42864         finished _hurd_dtable allocation.
42866 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42868         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42869         * sysdeps/mach/hurd/configure: Regenerated.
42870         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42871         special-casing to...
42872         * sysdeps/gnu/configure.in: ... this new file.
42873         * sysdeps/unix/sysv/linux/configure: Regenerated.
42874         * sysdeps/gnu/configure: New generated file.
42876         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42877         for Linux: use nsec instead of usec, as well as:
42878         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42879         members of type struct timespec.
42880         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42881         New macros.
42882         (struct stat64): Likewise.
42883         (_STATBUF_ST_NSEC): New macro.
42884         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42886         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42887         __strtoul_internal rather than strtoul.
42889 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42891         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42892         and reject them.
42894 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42896         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42897         which preserves existing values.
42898         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42900 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42902         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42903         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42904         greater than FD_SETSIZE.
42906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42908         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42909         allocated, call __vm_protect to finish enabling the existing space, and
42910         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42911         allocate the remainder.
42913 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42915         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42916         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42920         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42921         sysdeps/mach/hurd/readlink.c.
42923         * posix/tst-sysconf.c (posix_options): Only use
42924         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42925         _POSIX_SYNCHRONIZED_IO when they are defined
42926         * sysdeps/mach/hurd/bits/posix_opt.h:
42927         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42928         (_XOPEN_REALTIME): Undefine macro.
42929         (_XOPEN_REALTIME_THREADS): Undefine macro.
42930         (_XOPEN_SHM): Undefine macro.
42931         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42932         macro to -1.
42933         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42934         macro to -1.
42935         (_POSIX_ASYNC_IO): Undefine macro.
42936         (_POSIX_PRIORITIZED_IO): Undefine macro.
42937         (_POSIX_SPIN_LOCKS): Define macro to -1.
42939         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42940         SA_NODEFER, SA_RESETHAND.
42941         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42942         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42943         F_DUPFD_CLOEXEC.
42945 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42947         * elf/Makefile (pldd-modules): Define unconditionally.
42949 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42951         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42953 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42955         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42956         Return ENOENT when name is empty.
42957         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42959 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42961         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42963         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42967         Fix mlock in all cases except non-readable pages.
42968         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42969         instead of VM_PROT_ALL as parameter to __vm_wire function.
42971         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42972         (__mkdir): When path is `/', just fail with EEXIST.
42973         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42977         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42978         <sys/uio.h> (for writev).
42979         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42980         and <sys/param.h> (for MIN).
42982 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42984         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42985         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42986         if interrupted.
42988 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42990         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42991         Depend on against $(link-rpcuserlibs).
42993 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42995         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42996         (__libc_stack_end): Do not use attribute_relro.
42997         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42998         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42999         to libthread-provided value.
43000         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43001         attribute_relro.
43003 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43005         [BZ #3748]
43006         * bits/libc-lock.h (__libc_once_get): New macro.
43007         * sysdeps/mach/bits/libc-lock.h: Likewise.
43008         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43010         instead of using implementation details.
43012         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43013         * libio/freopen.c: Likewise.
43014         * libio/freopen64.c: Likewise.
43015         * misc/syslog.c: Likewise.
43016         * nscd/connections.c: Likewise.
43017         * nscd/netgroupcache.c: Likewise.
43018         * sysdeps/posix/getcwd.c: Likewise.
43020 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43022         * math/w_ilogbf.c: Add #include <limits.h>.
43024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43026         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43027         path instead of returning without unlocking.
43029         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43030         immediate-write ioctls.
43031         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43033 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43035         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43036         __builtin_frame_address instead of making assumptions about the
43037         location of the return address relative to DATA.  Force early load of
43038         the return address.
43039         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43040         __builtin_frame_address.
43042         dup3 for GNU Hurd.
43043         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43044         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43045         implement dup3 and do some further code clean-ups.
43046         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43047         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43049 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43051         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43053         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43054         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43055         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43056         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43057         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43058         d->port.lock.
43060         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43061         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43062         when handler == SIG_ERR, not when handler != SIG_ERR.
43064 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43066         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43067         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43068         definitions.
43070         accept4 for GNU Hurd.
43071         * include/sys/socket.h (__libc_accept4): New prototype.
43072         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43073         to implement __libc_accept4.
43074         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43075         __libc_accept4.
43076         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43078         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43079         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43080         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43081         signal-defines.sym.
43083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43085         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43089         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43090         assertion on O_CLOEXEC flag.
43091         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43092         * hurd/intern-fd.c: Likewise.
43093         * hurd/port2fd.c: Likewise.
43095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43097         [BZ #3906]
43098         * bits/in.h (IPV6_PKTINFO): Define new macro.
43099         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43101 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43103         [BZ #13954]
43104         [BZ #13955]
43105         [BZ #13956]
43106         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43107         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43108         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43109         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43110         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43111         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43112         * math/libm-test.inc (logb_test) : Additional logb tests.
43114 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43115             Andreas Jaeger  <aj@suse.de>
43117         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43118         * configure: Regenerated.
43119         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43120         * config.make.in (link-obsolete-rpc): New substituted variable.
43121         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43122         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43123         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43124         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43125         so that libc.a contains the symbols.
43126         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43127         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43128         * sunrpc/auth_none.c: Likewise.
43129         * sunrpc/auth_unix.c: Likewise.
43130         * sunrpc/authdes_prot.c: Likewise.
43131         * sunrpc/authuxprot.c: Likewise.
43132         * sunrpc/clnt_gen.c: Likewise.
43133         * sunrpc/clnt_perr.c: Likewise.
43134         * sunrpc/clnt_raw.c: Likewise.
43135         * sunrpc/clnt_simp.c: Likewise.
43136         * sunrpc/clnt_tcp.c: Likewise.
43137         * sunrpc/clnt_udp.c: Likewise.
43138         * sunrpc/clnt_unix.c: Likewise.
43139         * sunrpc/des_crypt.c: Likewise.
43140         * sunrpc/des_soft.c: Likewise.
43141         * sunrpc/get_myaddr.c: Likewise.
43142         * sunrpc/key_call.c: Likewise.
43143         * sunrpc/key_prot.c: Likewise.
43144         * sunrpc/netname.c: Likewise.
43145         * sunrpc/pm_getmaps.c: Likewise.
43146         * sunrpc/pm_getport.c: Likewise.
43147         * sunrpc/pmap_clnt.c: Likewise.
43148         * sunrpc/pmap_prot.c: Likewise.
43149         * sunrpc/pmap_prot2.c: Likewise.
43150         * sunrpc/pmap_rmt.c: Likewise.
43151         * sunrpc/publickey.c: Likewise.
43152         * sunrpc/rpc_cmsg.c: Likewise.
43153         * sunrpc/rpc_common.c: Likewise.
43154         * sunrpc/rpc_dtable.c: Likewise.
43155         * sunrpc/rpc_prot.c: Likewise.
43156         * sunrpc/rpc_thread.c: Likewise.
43157         * sunrpc/rtime.c: Likewise.
43158         * sunrpc/svc.c: Likewise.
43159         * sunrpc/svc_auth.c: Likewise.
43160         * sunrpc/svc_raw.c: Likewise.
43161         * sunrpc/svc_run.c: Likewise.
43162         * sunrpc/svc_tcp.c: Likewise.
43163         * sunrpc/svc_udp.c: Likewise.
43164         * sunrpc/svc_unix.c: Likewise.
43165         * sunrpc/svcauth_des.c: Likewise.
43166         * sunrpc/xcrypt.c: Likewise.
43167         * sunrpc/xdr.c: Likewise.
43168         * sunrpc/xdr_array.c: Likewise.
43169         * sunrpc/xdr_float.c: Likewise.
43170         * sunrpc/xdr_intXX_t.c: Likewise.
43171         * sunrpc/xdr_mem.c: Likewise.
43172         * sunrpc/xdr_rec.c: Likewise.
43173         * sunrpc/xdr_ref.c: Likewise.
43174         * sunrpc/xdr_sizeof.c: Likewise.
43175         * sunrpc/xdr_stdio.c: Likewise.
43177 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43180         change.  Update copyright years.
43182 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43184         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43186 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43187             Joseph Myers  <joseph@codesourcery.com>
43188             Paul Pluzhnikov  <ppluzhnikov@google.com>
43190         [BZ #14012]
43191         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43192         requiring rpcgen.
43193         [cross-compiling] (extra-libs): Likewise.
43194         [cross-compiling] (extra-libs-others): Likewise.
43195         [cross-compiling] (librpcsvc-routines): Likewise.
43196         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43197         [cross-compiling] (omit-deps): Likewise.
43198         (sunrpc-CPPFLAGS): New variable.
43199         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43200         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43201         (cross-rpcgen-objs): New variable.
43202         (extra-objs): Append $(cross-rpcgen-objs).
43203         ($(cross-rpcgen-objs)): New rule.
43204         ($(objpfx)cross-rpcgen): Likewise.
43205         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43206         comment.
43207         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43208         ($(objpfx)x%.stmp): Likewise.
43209         * sunrpc/proto.h [IS_IN_build] (_): Define.
43210         [IS_IN_build] (_libc_intl_domainname): Likewise.
43212 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43214         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43215         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43216         and R_X86_64_TPOFF64.
43218 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43220         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43221         sysdeps/unix/sysv/syscalls.list.
43222         (stime): Likewise.
43223         (utime): Likewise.
43224         * sysdeps/unix/sysv/syscalls.list: Remove file.
43226 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43228         [BZ #3440]
43229         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43230         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43231         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43232         (__LC_IDENTIFICATION): Make these macros useful in #if
43233         expressions, as required by C99.
43235 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43237         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43238         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43239         after this.
43241 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43243         * stdlib/longlong.h: Updated from GCC.
43245 2012-05-09  Andreas Jaeger  <aj@suse.de>
43247         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43248         default is first entry.
43249         (run_mode): Set type.
43250         (main): Remove informal message about syslog.
43251         (options): Fix typo.
43253         [BZ #14053]
43254         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43255         to asm.
43256         (lrint): Likewise.
43257         (llrintf): Likewise.
43258         (llrint): Likewise.
43259         (rint): Likewise.
43260         (rintf): Likewise.
43261         (nearbyint): Likewise.
43262         (nearbyintf): Likewise.
43264 2012-05-09  Andreas Jaeger  <aj@suse.de>
43265             Pedro Alves  <palves@redhat.com>
43267         * nscd/nscd.c (run_mode): Use enum.
43268         (main): Cleanup coding style issue.
43270 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43271             Andreas Jaeger  <aj@suse.de>
43273         * nscd/nscd.c (go_background): Replaced with...
43274         (run_mode): ... this.
43275         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43276         (options): Add -F --foreground.
43277         (main): Implement it.
43278         (parse_opt): Parse it.
43280 2012-05-09  Andreas Jaeger  <aj@suse.de>
43282         [BZ #14083]
43283         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43284         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43285         -Wconversion warning.
43286         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43287         Likewise.
43289 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43291         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43292         == 0.
43293         (LC_ALL): Use macro-int-constant.
43294         (LC_COLLATE): Likewise.
43295         (LC_CTYPE): Likewise.
43296         (LC_MESSAGES): Likewise.
43297         (LC_MONETARY): Likewise.
43298         (LC_NUMERIC): Likewise.
43299         (LC_TIME): Likewise.
43300         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43301         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43302         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43303         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43304         Specify type.
43305         [C99-based standards] (float_t): Expect type.
43306         [C99-based standards] (double_t): Expect type.
43307         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43308         type.
43309         [C99-based standards] (HUGE_VALL): Likewise.
43310         [C99-based standards] (INFINITY): Likewise.
43311         [C99-based standards] (NAN): Likewise.
43312         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43313         [C99-based standards] (FP_NAN): Likewise.
43314         [C99-based standards] (FP_NORMAL): Likewise.
43315         [C99-based standards] (FP_SUBNORMAL): Likewise.
43316         [C99-based standards] (FP_ZERO): Likewise.
43317         [C99-based standards] (FP_FAST_FMA): Use
43318         optional-macro-int-constant.  Specify type.  Require == 1.
43319         [C99-based standards] (FP_FAST_FMAF): Likewise.
43320         [C99-based standards] (FP_FAST_FMAL): Likewise.
43321         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43322         [C99-based standards] (FP_ILOGBNAN): Likewise.
43323         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43324         Specify type.
43325         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43326         [C99-based standards] (math_errhandling): Specify type.
43327         [ISO99 || ISO11] (signgam): Do not allow.
43328         [non-C99-based standards] (copysignf): Do not allow.
43329         [non-C99-based standards] (exp2f): Likewise.
43330         [non-C99-based standards] (log2f): Likewise.
43331         [non-C99-based standards] (modff): Allow.
43332         [non-C99-based standards] (erff): Do not allow.
43333         [non-C99-based standards] (erfcf): Likewise.
43334         [non-C99-based standards] (gammaf): Likewise.
43335         [non-C99-based standards] (hypotf): Likewise.
43336         [non-C99-based standards] (j0f): Likewise.
43337         [non-C99-based standards] (j1f): Likewise.
43338         [non-C99-based standards] (jnf): Likewise.
43339         [non-C99-based standards] (lgammaf): Likewise.
43340         [non-C99-based standards] (tgammaf): Likewise.
43341         [non-C99-based standards] (y0f): Likewise.
43342         [non-C99-based standards] (y1f): Likewise.
43343         [non-C99-based standards] (ynf): Likewise.
43344         [non-C99-based standards] (isnanf): Likewise.
43345         [non-C99-based standards] (acoshf): Likewise.
43346         [non-C99-based standards] (asinhf): Likewise.
43347         [non-C99-based standards] (atanhf): Likewise.
43348         [non-C99-based standards] (cbrtf): Likewise.
43349         [non-C99-based standards] (expm1f): Likewise.
43350         [non-C99-based standards] (ilogbf): Likewise.
43351         [non-C99-based standards] (log1pf): Likewise.
43352         [non-C99-based standards] (logbf): Likewise.
43353         [non-C99-based standards] (nextafterf): Likewise.
43354         [non-C99-based standards] (remainderf): Likewise.
43355         [non-C99-based standards] (rintf): Likewise.
43356         [non-C99-based standards] (scalbf): Likewise.
43357         [non-C99-based standards] (copysignl): Likewise.
43358         [non-C99-based standards] (exp2l): Likewise.
43359         [non-C99-based standards] (log2l): Likewise.
43360         [non-C99-based standards] (modfl): Allow.
43361         [non-C99-based standards] (erfl): Do not allow.
43362         [non-C99-based standards] (erfcl): Likewise.
43363         [non-C99-based standards] (gammal): Likewise.
43364         [non-C99-based standards] (hypotl): Likewise.
43365         [non-C99-based standards] (j0l): Likewise.
43366         [non-C99-based standards] (j1l): Likewise.
43367         [non-C99-based standards] (jnl): Likewise.
43368         [non-C99-based standards] (lgammal): Likewise.
43369         [non-C99-based standards] (tgammal): Likewise.
43370         [non-C99-based standards] (y0l): Likewise.
43371         [non-C99-based standards] (y1l): Likewise.
43372         [non-C99-based standards] (ynl): Likewise.
43373         [non-C99-based standards] (isnanl): Likewise.
43374         [non-C99-based standards] (acoshl): Likewise.
43375         [non-C99-based standards] (asinhl): Likewise.
43376         [non-C99-based standards] (atanhl): Likewise.
43377         [non-C99-based standards] (cbrtl): Likewise.
43378         [non-C99-based standards] (expm1l): Likewise.
43379         [non-C99-based standards] (ilogbl): Likewise.
43380         [non-C99-based standards] (log1pl): Likewise.
43381         [non-C99-based standards] (logbl): Likewise.
43382         [non-C99-based standards] (nextafterl): Likewise.
43383         [non-C99-based standards] (remainderl): Likewise.
43384         [non-C99-based standards] (rintl): Likewise.
43385         [non-C99-based standards] (scalbl): Likewise.
43386         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43387         [non-C99-based standards] (FP_*): Do not allow.
43388         [C99-based standards] (FP_*): Change to
43389         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43390         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43391         allow.
43392         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43393         (SIG_ERR): Likewise.
43394         [X/Open-based standards] (SIG_HOLD): Likewise.
43395         (SIG_IGN): Likewise.
43396         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43397         positive value.
43398         (SIGFPE): Likewise.
43399         (SIGILL): Likewise.
43400         (SIGINT): Likewise.
43401         (SIGSEGV): Likewise.
43402         (SIGTER): Likewise.
43403         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43404         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43405         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43406         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43407         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43408         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43409         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43410         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43411         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43412         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43413         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43414         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43415         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43416         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43417         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43418         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43419         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43420         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43421         [X/Open-based standards] (SIGTRAP): Likewise.
43422         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43423         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43424         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43425         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43426         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43427         allow.
43429 2012-05-08  Ian Wienand  <ianw@vmware.com>
43431         [BZ #14080]
43432         * time/tzset.c (__tzset_parse_tz): Update default rules for
43433         daylight time changes in the Energy Policy Act of 2005.
43435 2012-05-09  Andreas Jaeger  <aj@suse.de>
43437         [BZ #13983]
43438         * elf/ldconfig.c (parse_conf): Change string to make clear that
43439         ldconfig only issued a warning if ld.so.conf does not exist.
43441 2012-05-08  David S. Miller  <davem@davemloft.net>
43443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43444         movxtod instead of popping the value on the stack.
43446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43448 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43450         * config.h.in: Add HAVE_ARM_PCS_VFP.
43452 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43454         [BZ #13979]
43455         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43456         checking but the checks are disabled for any reason.
43458 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43460         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43461         and ELF64_R_TYPE with ELFW(R_TYPE).
43463 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43465         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43466         (ulimit): Likewise.
43468         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43469         (settimeofday): Likewise.
43471 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43473         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43474         a struct th_u2 inside the union, and move tu_block/tu_code into
43475         a new th_u3 union of tu_block/tu_code inside of that.  Move
43476         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43477         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43478         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43479         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43480         (th_stuff): Change to th_u1.tu_stuff.
43481         (th_data): Define.
43482         (th_msg): Change to th_u1.th_u2.tu_data.
43484 2012-05-07  David S. Miller  <davem@davemloft.net>
43486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43488         [BZ #14074]
43489         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43490         (SETUP_PIC_REG): Use it.
43491         (SETUP_PIC_REG_LEAF): Use it.
43493 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43495         [BZ #13885]
43496         [BZ #13923]
43497         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43498         USE_AS_EXPM1L.
43499         (EXPL_FINITE): Likewise.
43500         (FLDLOG): Likewise.
43501         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43502         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43503         e_expl.S.
43504         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43505         USE_AS_EXPM1L.
43506         (EXPL_FINITE): Likewise.
43507         (FLDLOG): Likewise.
43508         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43509         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43510         e_expl.S.
43511         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43512         test of -max_value argument for long double.
43513         * sysdeps/i386/fpu/libm-test-ulps: Update.
43514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43516 2012-05-06  David S. Miller  <davem@davemloft.net>
43518         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43519         quad soft-float symbols whose references which are compiler
43520         generated.
43521         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43523 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43525         [BZ #13884]
43526         [BZ #13914]
43527         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43528         USE_AS_EXP10L.
43529         (EXPL_FINITE): Likewise.
43530         (FLDLOG): Likewise.
43531         (c0): Likewise.
43532         (c1): Likewise.
43533         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43534         Adjust comments for base varying.
43535         (__expl_finite): Change alias to EXPL_FINITE.
43536         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43537         e_expl.S.
43538         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43539         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43540         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43541         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43542         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43543         USE_AS_EXP10L.
43544         (EXPL_FINITE): Likewise.
43545         (FLDLOG): Likewise.
43546         (c0): Likewise.
43547         (c1): Likewise.
43548         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43549         Adjust comments for base varying.
43550         (__expl_finite): Change alias to EXPL_FINITE.
43551         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43552         tests for bugs.
43553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43555         [BZ #14064]
43556         * math/libm-test.inc (check_float_internal): Correct ulp
43557         calculation for subnormal expected results.
43559 2012-05-06  Andreas Jaeger  <aj@suse.de>
43561         * Makeconfig (+math-flags): New, set to -frounding-math.
43562         (+cflags): Add +math-flags so that all of glibc gets compiled with
43563         it.
43565         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43567 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43569         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43570         Disable one test.
43572         [BZ #13787]
43573         [BZ #13922]
43574         [BZ #14036]
43575         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43576         (__ieee754_expl): Allow for and saturate large arguments.
43577         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43578         (u_threshold): Likewise.
43579         (__exp): Call __ieee754_exp before checking for overflow and
43580         underflow.
43581         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43582         (u_threshold): Likewise.
43583         (__expf): Call __ieee754_expf before checking for overflow and
43584         underflow.
43585         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43586         (u_threshold): Likewise.
43587         (__expl): Call __ieee754_expl before checking for overflow and
43588         underflow.
43589         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43590         (__ieee754_expl): Allow for and saturate large arguments.
43591         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43592         missing overflow exception on overflow.
43593         (expm1_test): Do not allow missing overflow exception on overflow.
43595         * sysdeps/i386/fpu/e_expl.c: Move to ...
43596         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43597         rather than using inline asm.
43598         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43599         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43600         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43602         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43603         (nice): Likewise.
43604         (poll): Likewise.
43605         (signal): Likewise.
43606         (time): Likewise.
43607         (times): Likewise.
43609 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43611         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43612         sysdeps/unix/common/syscalls.list.
43613         (fchmod): Likewise.
43614         (fchown): Likewise.
43615         (ftruncate): Likewise.
43616         (getrusage): Likewise.
43617         (gettimeofday): Likewise.
43618         (setpgid): Likewise.
43619         (setregid): Likewise.
43620         (setreuid): Likewise.
43621         (sigaction): Likewise.
43622         (truncate): Likewise.
43623         (vhangup): Likewise.
43624         * sysdeps/unix/common/syscalls.list: Remove file.
43625         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43626         * sysdeps/unix/sysv/linux/Implies: Likewise.
43628 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43630         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43632         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43633         Moved to ...
43634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43635         Here.
43636         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43637         to ...
43638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43639         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43640         to ...
43641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43642         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43643         to ...
43644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43645         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43646         to ...
43647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43648         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43649         to ...
43650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43651         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43652         to ...
43653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43654         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43655         to ...
43656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43657         Here.
43658         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43659         to ...
43660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43661         Here.
43662         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43663         to ...
43664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43665         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43666         Moved to ...
43667         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43668         Here.
43669         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43670         to ...
43671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43673 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43675         * sysdeps/unix/common/bits/dirent.h: Remove file.
43676         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43678         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43679         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43680         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43681         * sysdeps/unix/bsd/isatty.c: Likewise.
43682         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43683         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43684         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43686 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43688         [BZ #13563]
43689         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43690         long double comparison inaccuracies.
43691         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43694 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43696         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43699 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43701         [BZ #14049]
43702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43703         nonzero digits before rounding a hex value.
43704         * stdlib/tst-strtod.c (tests): Add another test.
43706 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43708         * sysdeps/s390/fpu/libm-test-ulps: Update.
43710 2012-05-03  Andreas Jaeger  <aj@suse.de>
43712         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43713         does not get optimized out.
43714         (malloc_opt_barrier): New.
43716 2012-05-03  Andreas Jaeger  <aj@suse.de>
43717             Roland McGrath  <roland@hack.frob.com>
43719         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43720         intermediate file deletion.
43721         (generated): Add .symlist files.
43723 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43725         [BZ #13775]
43726         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43727         Redirect under this condition.
43728         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43729         [__USE_GNU] (__dprintf_chk): Not under this condition.
43730         [__USE_GNU] (__vdprintf_chk): Likewise.
43731         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43732         under this condition.
43733         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43734         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43735         [__USE_XOPEN2K8] (vdprintf): Likewise.
43736         [__USE_GNU] (__dprintf_chk): Not under this condition.
43737         [__USE_GNU] (__vdprintf_chk): Likewise.
43738         [__USE_GNU] (dprintf): Likewise.
43739         [__USE_GNU] (vdprintf): Likewise.
43741 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43743         * elf/Makefile (common-generated): Set this instead of generated for
43744         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43745         $(all-built-dso)-derived lists.
43747 2012-05-03  Andreas Jaeger  <aj@suse.de>
43749         * sysdeps/i386/fpu/libm-test-ulps: Update.
43751         * FAQ: Removed.
43752         * FAQ.in: Likewise.
43753         * scripts/gen-FAQ.pl: Likewise.
43754         * manual/install.texi (Installation): Point to online location of
43755         FAQ.
43756         * Makefile (files-for-dist): Remove FAQ.
43757         (FAQ): Remove.
43759 2012-05-02  Allan McRae  <allan@archlinux.org>
43761         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43762         (LDFLAGS-reldepmod5.so): Likewise.
43763         (LDFLAGS-reldep6mod1.so): Likewise.
43764         (LDFLAGS-reldep6mod4.so): Likewise.
43765         (LDFLAGS-reldep8mod3.so): Likewise.
43766         (LDFLAGS-unload4mod1.so): Likewise.
43767         (LDFLAGS-unload4mod2.so): Likewise.
43768         (LDFLAGS-tst-initorder): Likewise.
43769         (LDFLAGS-tst-initordera2.so): Likewise.
43770         (LDFLAGS-tst-initordera3.so): Likewise.
43771         (LDFLAGS-tst-initordera4.so): Likewise.
43772         (LDFLAGS-tst-initorderb2.so): Likewise.
43773         (LDFLAGS-noload): Likewise.
43774         (LDFLAGS-next): Likewise.
43775         (LDFLAGS-order2mod1.so): Likewise.
43776         (LDFLAGS-order2mod2.so): Likewise.
43777         (LDFLAGS-tst-initorder2): Likewise.
43778         (LDFLAGS-tst-initorder2a.so): Likewise.
43779         (LDFLAGS-tst-initorder2b.so): Likewise.
43780         (LDFLAGS-tst-initorder2c.so): Likewise.
43781         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43783 2012-05-02  David S. Miller  <davem@davemloft.net>
43785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43787 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43789         [BZ #14055]
43790         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43792 2012-05-02  Andreas Jaeger  <aj@suse.de>
43794         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43795         since we manipulate rounding mode.
43796         (CPPFLAGS-test-idouble.c): Likewise.
43797         (CPPFLAGS-test-ifloat.c): Likewise.
43798         (CFLAGS-test-ldouble.c): Likewise.
43799         (CFLAGS-test-double.c): Likewise.
43800         (CFLAGS-test-float.c): Likewise.
43801         (CFLAGS-test-misc.c): Likewise.
43802         (CFLAGS-test-test-fenv.c): Likewise.
43804 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43806         [BZ #2550]
43807         [BZ #2570]
43808         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43809         comparisons to determine direction to adjust input.
43811 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43813         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43814         output to the target.
43816         * scripts/localplt.awk: New file.
43817         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43818         (check-localplt-CFLAGS): Variable removed.
43819         ($(all-built-dso:=.jmprel)): New static pattern rule.
43820         (generated): Add those targets.
43821         (localplt-built-dso): New variable.
43822         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43824         * elf/check-localplt.c: File removed.
43826         * scripts/check-execstack.awk: New file.
43827         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43828         (check-execstack-CFLAGS): Variable removed.
43829         ($(objpfx)check-execstack.h): Target removed.
43830         ($(objpfx)execstack-default): New target.
43831         (generated): Add that instead of check-execstack.h.
43832         ($(all-built-dso:=.phdr)): New static pattern rule.
43833         (generated): Add those targets.
43834         * elf/check-execstack.c: File removed.
43836         * scripts/check-textrel.awk: New file.
43837         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43838         (check-textrel-CFLAGS): Variable removed.
43839         (all-built-dso): Use := to define.o
43840         ($(all-built-dso:=.dyn)): New static pattern rule.
43841         (generated): Add those targets.
43842         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43843         * config.make.in (READELF): New substituted variable.
43844         * elf/check-textrel.c: File removed.
43846 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43848         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43849         allow.
43850         * conform/data/ctype.h-data [C99-based standards] (isblank):
43851         Expect function.
43852         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43853         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43854         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43855         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43856         Specify type.  Require positive value.
43857         (EILSEQ): Likewise.
43858         (ERANGE): Likewise.
43859         [ISO || POSIX] (EILSEQ): Do not expect.
43860         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43861         Specify type.  Require positive value.
43862         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43863         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43864         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43865         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43866         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43867         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43868         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43869         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43870         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43871         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43872         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43873         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43874         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43875         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43876         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43877         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43878         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43879         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43880         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43881         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43882         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43883         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43884         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43885         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43886         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43887         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43888         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43889         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43890         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43891         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43892         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43893         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43894         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43895         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43896         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43897         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43898         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43899         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43900         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43901         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43902         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43903         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43904         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43905         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43906         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43907         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43908         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43909         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43910         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43911         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43912         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43913         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43914         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43915         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43916         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43917         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43918         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43919         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43920         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43921         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43922         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43923         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43924         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43925         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43926         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43927         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43928         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43929         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43930         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43931         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43932         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43933         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43934         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43935         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43936         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43937         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43938         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43939         Require >= 2.
43940         (FLT_ROUNDS): Expect as macro, not constant.
43941         (FLT_MANT_DIG): Use macro-int-constant.
43942         (DBL_MANT_DIG): Likewise.
43943         (LDBL_MANT_DIG): Likewise.
43944         (FLT_DIG): Likewise.
43945         (DBL_DIG): Likewise.
43946         (LDBL_DIG): Likewise.
43947         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43948         (DBL_MIN_EXP): Likewise.
43949         (LDBL_MIN_EXP): Likewise.
43950         (FLT_MAX_EXP): Use macro-int-constant.
43951         (DBL_MAX_EXP): Likewise.
43952         (LDBL_MAX_EXP): Likewise.
43953         (FLT_MAX_10_EXP): Likewise.
43954         (DBL_MAX_10_EXP): Likewise.
43955         (LDBL_MAX_10_EXP): Likewise.
43956         (FLT_MAX): Use macro-constant.
43957         (DBL_MAX): Likewise.
43958         (LDBL_MAX): Likewise.
43959         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43960         (DBL_EPSILON): Likewise.
43961         (LDBL_EPSILON): Likewise.
43962         (FLT_MIN): Likewise.
43963         (DBL_MIN): Likewise.
43964         (LDBL_MIN): Likewise.
43965         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43966         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43967         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43968         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43969         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43970         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43971         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43972         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43973         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43974         [ISO11] (FLT_TRUE_MIN): Likewise.
43975         [ISO11] (LDBL_TRUE_MIN): Likewise.
43976         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43977         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43978         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43979         (SCHAR_MAX): Likewise.
43980         (UCHAR_MAX): Likewise.
43981         (CHAR_MIN): Likewise.
43982         (CHAR_MAX): Likewise.
43983         (MB_LEN_MAX): Use macro-int-constant.
43984         (SHRT_MIN): Use macro-int-constant.  Specify type.
43985         (SHRT_MAX): Likewise.
43986         (USHRT_MAX): Likewise.
43987         (INT_MAX): Likewise.
43988         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43989         bound negative.
43990         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43991         bound with "U".
43992         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43993         bound with "L".
43994         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43995         bound negative.  Suffix upper bound with "L".
43996         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43997         bound with "UL".
43998         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43999         Specify type.
44000         [C99-based standards] (LLONG_MAX): Likewise.
44001         [C99-based standards] (ULLONG_MAX): Likewise.
44002         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44003         == 0.
44004         [ISO11] (max_align_t): Require type.
44005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44007         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44008         from $CFLAGS, without defining away __attribute__ calls.
44009         (checknamespace): Use $CFLAGS_namespace.
44011         * conform/conformtest.pl (@keywords): Only include C99 keywords
44012         for standards based on C99 or C11.
44014         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44015         Disable tests.
44016         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44017         UNIX98]: Likewise.
44019         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44020         usability of symbols in #if.
44022         * conform/conformtest.pl: If macro or constant types start
44023         "promoted:", expect the symbol to be of the following type
44024         promoted by the integer promotions.
44026         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44027         in one place.  Also handle "macro-constant".
44029         * conform/conformtest.pl: Only accept expected macro values with
44030         "==".  Parse all "macro" lines in one place.
44031         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44033         * conform/conformtest.pl: Handle braced types on "constant" lines
44034         instead of handling "typed-constant".
44035         * conform/data/signal.h-data: Use "constant" instead of
44036         "typed-constant".
44038         * conform/conformtest.pl: Handle "optional-" at start of lines in
44039         one place rather than duplicating several cases.  Handle each
44040         format of "macro" line with initial "optional-".
44042         * conform/conformtest.pl: Only accept expected constant or
44043         optional-constant values with "==".  Parse all "constant" lines in
44044         one place.  Parse all "optional-constant" lines in one place.
44045         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44046         * conform/data/fmtmsg.h-data: Likewise.
44047         * conform/data/netinet/in.h-data: Likewise.
44048         * conform/data/tar.h-data: Likewise.
44049         * conform/data/limits.h-data: Use "==" form on "constant" and
44050         "optional-constant" lines.
44052         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44053         Use -std=c99 for XOPEN2K.
44054         (@knownproblems): Remove.
44055         (newtoken): Don't check %isknown.
44057         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44058         Do not expect macro.
44059         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44060         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44061         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44062         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44063         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44064         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44065         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44066         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44067         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44068         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44069         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44070         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44071         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44072         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44073         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44074         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44075         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44076         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44077         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44078         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44079         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44080         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44081         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44082         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44083         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44084         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44085         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44086         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44087         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44088         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44089         [XPG3] (acosh): Likewise.
44090         [XPG3] (asinh): Likewise.
44091         [XPG3] (atanh): Likewise.
44092         [XPG3] (cbrt): Likewise.
44093         [XPG3] (expm1): Likewise.
44094         [XPG3] (ilogb): Likewise.
44095         [XPG3] (log1p): Likewise.
44096         [XPG3] (logb): Likewise.
44097         [XPG3] (nextafter): Likewise.
44098         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44099         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44100         [XPG3] (remainder): Likewise.
44101         [XPG3] (rint): Likewise.
44102         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44103         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44104         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44105         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44106         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44107         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44108         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44109         [UNIX98 || XOPEN2K] (scalb): Expect.
44110         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44111         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44112         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44113         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44114         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44115         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44116         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44117         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44118         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44119         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44120         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44121         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44122         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44123         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44124         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44125         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44126         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44127         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44128         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44129         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44130         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44131         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44132         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44133         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44134         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44135         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44136         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44137         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44138         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44139         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44140         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44141         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44142         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44143         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44144         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44145         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44146         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44147         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44148         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44149         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44150         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44151         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44152         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44153         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44154         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44155         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44156         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44157         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44158         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44159         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44160         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44161         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44162         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44163         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44164         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44165         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44166         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44167         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44168         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44169         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44170         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44171         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44172         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44173         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44174         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44175         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44176         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44177         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44178         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44179         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44180         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44181         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44182         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44183         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44184         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44185         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44186         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44187         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44188         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44189         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44190         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44191         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44192         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44193         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44194         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44195         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44196         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44197         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44198         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44199         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44200         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44201         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44202         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44203         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44204         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44205         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44206         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44207         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44208         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44209         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44210         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44211         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44212         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44213         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44214         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44215         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44216         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44217         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44218         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44219         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44220         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44221         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44222         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44223         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44224         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44225         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44226         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44227         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44228         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44229         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44230         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44231         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44232         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44233         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44234         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44235         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44236         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44237         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44238         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44239         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44240         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44241         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44242         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44243         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44244         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44245         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44246         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44248         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44249         _XOPEN_SOURCE_EXTENDED for XPG4.
44251         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44253         * Makeconfig (localtime): Remove variable.
44254         (inst_localtime-file): Likewise.
44256 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44259         Update.
44260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44261         Update.
44262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44263         Update.
44264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44265         Update.
44266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44267         Update.
44268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44269         Update.
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44271         Update.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44273         Update.
44274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44275         Update.
44277 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44279         [BZ #2550]
44280         [BZ #2570]
44281         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44282         comparisons to determine direction to adjust input.
44283         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44284         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44285         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44286         Likewise.
44287         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44288         Likewise.
44289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44290         Likewise.
44291         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44292         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44293         Likewise.
44294         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44295         Likewise.
44296         * math/libm-test.inc (nexttoward_test): Add more tests.
44298 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44300         [BZ #14040]
44301         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44302         in version GLIBC_2.1, not GLIBC_2.0.
44303         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44304         Likewise.
44306 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44308         [BZ #13942]
44309         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44310         (1 - x) * (1 + x).
44311         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44312         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44313         * math/libm-test.inc (acos_test): Add more tests.
44314         (asin_test): Likewise.
44315         * sysdeps/i386/fpu/libm-test-ulps: Update.
44316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44318         [BZ #14034]
44319         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44320         of square root.
44321         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44322         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44323         * math/libm-test.inc (acos_test_tonearest): New function.
44324         (acos_test_towardzero): Likewise.
44325         (acos_test_downward): Likewise.
44326         (acos_test_upward): Likewise.
44327         (asin_test_tonearest): Likewise.
44328         (asin_test_towardzero): Likewise.
44329         (asin_test_downward): Likewise.
44330         (asin_test_upward): Likewise.
44331         (main): Call the new functions.
44332         * sysdeps/i386/fpu/libm-test-ulps: Update.
44333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44335         [BZ #13884]
44336         [BZ #13924]
44337         * math/e_exp10.c: Include <float.h>.
44338         (__ieee754_exp10): Handle underflow here rather than multiplying
44339         large negative argument by M_LN10.
44340         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44341         of __ieee754_expf.
44342         * math/e_exp10l.c: Include <float.h>.
44343         (__ieee754_exp10l): Handle underflow here rather than multiplying
44344         large negative argument by M_LN10l.
44345         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44346         spurious overflow exception on underflow.
44348 2012-04-29  Marek Polacek  <polacek@redhat.com>
44350         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44351         (__fortify_function): New macro.
44352         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44353         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44354         __extern_always_inline.
44355         * libio/bits/stdio2.h: Likewise.
44356         * libio/bits/stdio.h: Likewise.
44357         * string/string.h: Likewise.
44358         * string/bits/string3.h: Likewise.
44359         * include/stdio.h: Likewise.
44360         * stdlib/bits/stdlib.h: Likewise.
44361         * stdlib/stdlib.h: Likewise.
44362         * rt/bits/mqueue2.h: Likewise.
44363         * rt/mqueue.h: Likewise.
44364         * posix/bits/unistd.h: Likewise.
44365         * posix/unistd.h: Likewise.
44366         * io/bits/poll2.h: Likewise.
44367         * io/bits/fcntl2.h: Likewise.
44368         * io/fcntl.h: Likewise.
44369         * io/sys/poll.h: Likewise.
44370         * misc/bits/syslog.h: Likewise.
44371         * misc/bits/syslog-ldbl.h: Likewise.
44372         * misc/sys/syslog.h: Likewise.
44373         * socket/bits/socket2.h: Likewise.
44374         * socket/sys/socket.h: Likewise.
44375         * debug/tst-chk1.c: Likewise.
44376         * wcsmbs/bits/wchar2.h: Likewise.
44377         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44378         * wcsmbs/wchar.h: Likewise.
44380 2012-04-29  Andreas Jaeger  <aj@suse.de>
44382         * Makerules (tests): Remove enable-check-abi protection.
44383         (check-abi-warn): Remove.
44384         (check-abi-%): Remove check-abi-warn usage.
44386         * configure.in: Remove check-abi configure option.
44387         * configure: Regenerated.
44388         * config.make.in (enable-check-abi): Remove.
44390 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44392         [BZ #14033]
44393         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44394         double functions to double *_finite functions.
44396         [BZ #13941]
44397         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44398         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44399         LDBL_MIN_EXP.
44400         * stdio-common/Makefile (tests): Add tst-sprintf3.
44401         * stdio-common/tst-sprintf3.c: New file.
44403         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44404         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44406 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44408         * conform/conformtest.pl: Remove duplicate typed-constant
44409         handling.
44411 2012-04-28  David S. Miller  <davem@davemloft.net>
44413         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44414         (check-abi-%): Remove AWK script prerequisite and explicit
44415         abilist directory.
44416         (check-abi): Rewrite to just diff the symlist with the abilist.
44417         (config-tls, config-abi-config): Delete, no longer used.
44418         (update-abi-%): Remove AWK script and explicit abilist directory.
44419         (update-abi): Rewrite to simply compare and conditionally copy the
44420         symlist and the sysdep abilist file.  Remove update-abi-config
44421         checks.
44422         * abilist/ld.abilist: Remove.
44423         * abilist/libBrokenLocale.abilist: Remove.
44424         * abilist/libanl.abilist: Remove.
44425         * abilist/libcrypt.abilist: Remove.
44426         * abilist/libdl.abilist: Remove.
44427         * abilist/librt.abilist: Remove.
44428         * abilist/libthread_db.abilist: Remove.
44429         * abilist/libutil.abilist: Remove.
44430         * scripts/extract-abilist.awk: Remove.
44431         * scripts/merge-abilist.awk: Remove.
44432         * sysdeps/generic/libcidn.abilist: New file.
44433         * sysdeps/generic/libnss_compat.abilist: New file.
44434         * sysdeps/generic/libnss_db.abilist: New file.
44435         * sysdeps/generic/libnss_dns.abilist: New file.
44436         * sysdeps/generic/libnss_files.abilist: New file.
44437         * sysdeps/generic/libnss_hesiod.abilist: New file.
44438         * sysdeps/generic/libnss_nis.abilist: New file.
44439         * sysdeps/generic/libnss_nisplus.abilist: New file.
44440         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44441         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44442         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44443         file.
44444         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44445         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44446         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44447         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44448         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44449         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44450         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44451         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44452         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44453         file.
44454         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44455         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44456         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44457         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44458         file.
44459         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44460         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44461         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44462         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44463         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44464         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44465         file.
44466         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44467         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44468         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44469         file.
44470         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44471         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44472         New file.
44473         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44474         New file.
44475         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44476         New file.
44477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44478         New file.
44479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44480         New file.
44481         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44482         New file.
44483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44484         New file.
44485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44486         New file.
44487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44488         New file.
44489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44490         New file.
44491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44492         New file.
44493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44494         New file.
44495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44496         New file.
44497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44498         file.
44499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44500         New file.
44501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44502         New file.
44503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44504         file.
44505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44506         New file.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44508         New file.
44509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44510         file.
44511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44512         New file.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44514         New file.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44516         New file.
44517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44518         New file.
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44520         New file.
44521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44522         New file.
44523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44525         file.
44526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44527         New file.
44528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44529         file.
44530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44531         file.
44532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44533         file.
44534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44535         file.
44536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44537         file.
44538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44539         New file.
44540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44541         file.
44542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44543         file.
44544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44545         New file.
44546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44547         file.
44548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44550         file.
44551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44552         New file.
44553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44554         file.
44555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44556         file.
44557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44558         file.
44559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44560         file.
44561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44562         file.
44563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44564         New file.
44565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44566         file.
44567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44568         file.
44569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44570         New file.
44571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44572         file.
44573         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44574         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44575         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44576         file.
44577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44578         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44579         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44580         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44581         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44582         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44583         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44584         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44585         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44586         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44589         file.
44590         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44591         New file.
44592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44593         file.
44594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44595         file.
44596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44597         file.
44598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44599         file.
44600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44601         file.
44602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44603         New file.
44604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44605         New file.
44606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44607         file.
44608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44609         New file.
44610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44611         file.
44612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44614         file.
44615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44616         New file.
44617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44618         file.
44619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44620         file.
44621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44622         file.
44623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44624         file.
44625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44626         file.
44627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44628         New file.
44629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44630         New file.
44631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44632         file.
44633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44634         New file.
44635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44636         file.
44638 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44640         * conform/conformtest.pl: Fix typo in handling typed-constant from
44641         allow-header.
44643 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44645         * README: Cut down references to pre-2.6 Linux kernels and
44646         Linuxthreads.  Update lists of configurations in libc and ports
44647         and sort alphabetically.  Say "or newer" with Linux kernel version
44648         requirements.
44650         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44652 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44654         [BZ #887]
44655         * math/libm-test.inc (logb_test_downward): New test to expose
44656         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44657         rounding mode.
44659 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44661         [BZ #14027]
44662         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44663         to be done.
44664         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44665         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44667 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44669         * sysdeps/unix/i386/brk.S: Remove file.
44670         * sysdeps/unix/i386/dl-brk.S: Likewise.
44671         * sysdeps/unix/i386/pipe.S: Likewise.
44672         * sysdeps/unix/i386/sigreturn.S: Likewise.
44673         * sysdeps/unix/i386/syscall.S: Likewise.
44674         * sysdeps/unix/i386/vfork.S: Likewise.
44675         * sysdeps/unix/i386/wait.S: Likewise.
44677         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44678         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44680         * configure.in (arm*-none*): Do not allow without
44681         --enable-hacker-mode.
44682         (netbsd*): Remove case setting base_os.
44683         (386bsd*): Likewise.
44684         (freebsd*): Likewise.
44685         (bsdi*): Likewise.
44686         (osf*): Likewise.
44687         (sunos*): Likewise.
44688         (ultrix*): Likewise.
44689         (newsos*): Likewise.
44690         (dynix*): Likewise.
44691         (*bsd*): Likewise.
44692         (sysv*): Likewise.
44693         (isc*): Likewise.
44694         (esix*): Likewise.
44695         (sco*): Likewise.
44696         (minix*): Likewise.
44697         (irix4*): Likewise.
44698         (irix6*): Likewise.
44699         (solaris[2-9]*): Likewise.
44700         (none): Likewise.
44701         * configure: Regenerated.
44703 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44705         [BZ #11521]
44706         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44707         overflow or cancellation in calculating denominator.
44708         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44709         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44710         down expression to avoid unexpected rounding in newer GCCs.
44711         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44713 2012-04-26  David S. Miller  <davem@davemloft.net>
44715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44716         long-double compat symbols.
44717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44731 2012-04-25  David S. Miller  <davem@davemloft.net>
44733         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44734         HWCAP_* values only after the memory barriers have been defined.
44735         (atomic_full_barrier): Define.
44736         (atomic_read_barrier): Define.
44737         (atomic_write_barrier): Define.
44739 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44741         * shlib-versions: Add libgcc_s version information.
44742         * sysdeps/generic/libgcc_s.h: Remove.
44743         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44744         libgcc_s.h.
44745         * sysdeps/gnu/unwind-resume.c: Likewise.
44746         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44748 2012-04-25  David S. Miller  <davem@davemloft.net>
44750         * sysdeps/unix/sparc/brk.S: Delete.
44751         * sysdeps/unix/sparc/dl-brk.S: Delete.
44752         * sysdeps/unix/sparc/pipe.S: Delete.
44753         * sysdeps/unix/sparc/sysdep.S: Delete.
44754         * sysdeps/unix/sparc/sysdep.h: Delete.
44755         * sysdeps/unix/sparc/vfork.S: Delete.
44756         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44757         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44758         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44759         (ret_ERRVAL, r0, r1, MOVE): Define.
44760         (JUMPTARGET): Remove.
44761         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44762         sysdeps/unix/sparc/sysdep.h
44763         (ENTRY, END): Remove.
44764         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44766 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44768         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44769         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44770         -DIS_IN_build.
44772         * timezone/README: Update upstream location and email address for
44773         tzcode and tzdata.
44774         * timezone/zdump.c: Update from tzcode 2012b.
44775         * timezone/zic.c: Likewise.
44777         * configure.in (libc_cv_as_needed): Remove test.
44778         * configure: Regenerated.
44779         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44780         conditional definition.
44781         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44782         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44783         * config.make.in (have-as-needed): Remove variable.
44785 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44786             Paul Pluzhnikov  <ppluzhnikov@google.com>
44788         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44789         strings correctly.
44791 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44793         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44794         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44795         * sysdeps/sh/strlen.S: Likewise.
44797 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44799         * sysdeps/unix/fork.S: Remove file.
44800         * sysdeps/unix/i386/fork.S: Likewise.
44801         * sysdeps/unix/sparc/fork.S: Likewise.
44803         * sysdeps/unix/system.c: Remove file.
44804         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44806         * sysdeps/unix/getegid.S: Remove file.
44807         * sysdeps/unix/geteuid.S: Likewise.
44809 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44811         * scripts/check-localplt.awk: New file.
44812         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44813         of diff.
44814         * scripts/data/localplt-generic.data: Add a comment.
44816         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44817         NODE when __dir_mkfile failed.
44818         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44819         Reported by Ludovic Courtès <ludo@gnu.org>.
44821 2012-04-24  Andreas Jaeger  <aj@suse.de>
44823         * Makerules (common-clean): Also remove gen-as-const-headers
44824         files.
44826 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44828         * Makerules (native-compile): Do not change working directory for
44829         build.  Use $(OUTPUT_OPTION) in command.
44830         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44832 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44834         [BZ #13886]
44835         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44836         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44837         * math/libm-test.inc (floor_test): Add more tests.
44838         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44840 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44842         * sysdeps/unix/getdents.c: Remove file.
44843         * sysdeps/unix/sysv/getdents.c: Likewise.
44844         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44846         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44847         sysdeps/unix/mman/syscalls.list.
44848         (mmap): Likewise.
44849         (mprotect): Likewise.
44850         (msync): Likewise.
44851         (munmap): Likewise.
44852         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44853         * sysdeps/unix/mman/syscalls.list: Remove.
44854         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44856         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44857         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44858         * configure: Regenerated.
44859         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44860         $(libgcc_s_suffix).
44861         * config.make.in (libgcc_s_suffix): Remove variable.
44863 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44865         * sysdeps/unix/sysv/gethostname.c: Move to ...
44866         * sysdeps/posix/gethostname.c: ... here.
44868         * sysdeps/unix/execve.S: Remove file.
44870         * sysdeps/unix/_exit.S: Remove file.
44872 2012-04-23  Andreas Jaeger  <aj@suse.de>
44874         [BZ #13739]
44875         * manual/Makefile: Remove make dist support, there's no
44876         need for a stand-alone documentation tar ball.
44877         (TEXI2DVI): Define always, it's not in Makeconfig.
44878         (dist): Removed.
44879         (tar-it): Removed.
44880         (edition): Removed.
44881         (glibc-doc-$(edition).tar): Removed
44882         (%.Z): Removed.
44883         (%.gz): Removed.
44884         (%.uu): Removed.
44885         (ETAGS): Remove, it's in Makeconfig.
44886         (move-if-change): Remove, it's in Makeconfig.
44888 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44890         [BZ #13970]
44891         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44892         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44893         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44894         (strtod_l, strtof_l, strtold_l): Remove __wur.
44895         It is not necessarily an error to ignore strtol's return value.
44896         One can reliably look at the stored endptr to decide whether
44897         the number had valid syntax.
44899 2012-04-21  Andreas Jaeger  <aj@suse.de>
44901         [BZ #13739]
44902         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44904 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44906         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44907         * sysdeps/unix/sysv/Versions: Remove file.
44909 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44911         [BZ #13927]
44912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44914 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44916         [BZ #7064]
44917         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44918         version from __vm86.
44920 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44922         * sysdeps/unix/common/lxstat.c: Remove file.
44923         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44925         * sysdeps/unix/sysv/Makefile: Remove file.
44927         * sysdeps/unix/sysv/direct.h: Remove file.
44929         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44930         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44931         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44932         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44933         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44934         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44935         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44937         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44939         * sysdeps/unix/xmknod.c: Remove file.
44940         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44942         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44944         * sysdeps/unix/sysv/i386/time.S: Remove file.
44946         * sysdeps/unix/fxstat.c: Remove file.
44947         * sysdeps/unix/xstat.c: Likewise.
44948         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44950         * sysdeps/unix/sysv/sigaction.c: Remove file.
44952         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44953         (sysdep_headers): Remove variable.
44954         [termio.h not in sysdep_headers] (generated): Likewise.
44955         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44956         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44957         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44958         * sysdeps/unix/sysv/tcflow.c: Likewise.
44959         * sysdeps/unix/sysv/tcflush.c: Likewise.
44960         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44961         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44962         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44963         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44964         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44966         * sysdeps/unix/siglist.c: Remove file.
44968         * sysdeps/unix/getppid.S: Remove file.
44970         * sysdeps/unix/mkdir.c: Remove file.
44971         * sysdeps/unix/rmdir.c: Likewise.
44973 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44975         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44976         ERR_MAX value.
44977         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44978         errlist-compat value.
44980 2012-04-18  David S. Miller  <davem@davemloft.net>
44982         * sysdeps/generic/memcopy.h (reg_char): Delete.
44983         * debug/strcat_chk.c: Use char, not reg_char.
44984         * debug/strcpy_chk.c: Likewise.
44985         * debug/strncat_chk.c: Likewise.
44986         * debug/strncpy_chk.c: Likewise.
44987         * string/memchr.c: Likewise.
44988         * string/memrchr.c: Likewise.
44989         * string/rawmemchr.c: Likewise.
44990         * string/strcat.c: Likewise.
44991         * string/strchr.c: Likewise.
44992         * string/strchrnul.c: Likewise.
44993         * string/strcmp.c: Likewise.
44994         * string/strcpy.c: Likewise.
44995         * string/strncat.c: Likewise.
44996         * string/strncmp.c: Likewise.
44997         * string/strncpy.c: Likewise.
44999 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45001         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45002         __builtin_memcopy is called when src and dest ranges are known to not
45003         overlap.
45005 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45007         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45008         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45009         fwd_align_merge macro call.
45010         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45011         bwd_align_merge macro call.
45012         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45014 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45016         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45017         bwd_align_merge macros.
45018         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45019         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45020         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45022 2012-04-18  David S. Miller  <davem@davemloft.net>
45024         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45026 2012-04-18  Andreas Jaeger  <aj@suse.de>
45028         [BZ# 6794]
45029         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45030         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45031         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45033         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45034         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45035         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45037         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45038         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45039         Adjust for changed ldbl-128 files.
45041         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45042         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45043         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45045 2012-04-17  David S. Miller  <davem@davemloft.net>
45047         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45049 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45051         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45052         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45053         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45054         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45055         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45056         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45058 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45060         [BZ #6794]
45061         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45062         * math/libm-test.inc: Add ilogb errno and exception tests.
45063         * math/w_ilogb.c: New file: ilogb wrapper.
45064         * math/w_ilogbf.c: New file: ilogbf wrapper.
45065         * math/w_ilogbl.c: New file: ilogbl wrapper.
45066         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45067         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45068         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45069         exception being thrown with 0.0 as argument.
45070         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45071         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45072         exception being thrown with 0.0 as argument.
45073         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45074         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45075         exception being thrown with 0.0 as argument.
45076         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45077         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45078         exception being thrown with 0.0 as argument.
45079         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45080         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45081         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45082         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45083         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45084         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45085         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45086         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45087         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45089 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45091         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45092         with altivec.
45094 2012-04-16  Marek Polacek  <polacek@redhat.com>
45096         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45098 2012-04-16  Marek Polacek  <polacek@redhat.com>
45100         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45101         operands of fdivp instruction.
45103 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45105         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45106         * elf/tst-auditmod3b.c: Likewise.
45107         * elf/tst-auditmod4b.c: Likewise.
45108         * elf/tst-auditmod5b.c: Likewise.
45109         * elf/tst-auditmod6b.c: Likewise.
45110         * elf/tst-auditmod6c.c: Likewise.
45111         * elf/tst-auditmod7b.c: Likewise.
45112         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45113         * sysdeps/x86_64/preconfigure.in: Likewise.
45114         * sysdeps/x86_64/preconfigure: Regenerated.
45116 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45118         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45119         __ILP32__.
45121 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45123         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45124         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45126 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45128         [BZ #13973]
45129         * locale/iso-639.def: Fix gl language name. Spotted by
45130         Yaron Shahrabani.
45132 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45134         [BZ #2074]
45135         * libio/libio.h (__io_write_fn): Update comment.
45137 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45139         [BZ #2074]
45140         * stdio.texi (Hook Functions): The user provided writer function
45141         is not allowed to return -1.
45143 2012-04-11  David S. Miller  <davem@davemloft.net>
45145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45147 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45149         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45150         Add a leading slash to rtkaio.
45152 2012-04-11  Jim Meyering  <meyering@redhat.com>
45154         [BZ #11959]
45155         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45156         It is not necessarily an error to ignore fwrite's return
45157         value.  One can reliably use ferror to test for errors after
45158         the fact.
45160 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45162         * bits/types.h (__snseconds_t): New type.
45163         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45165         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45166         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45167         (__SNSECONDS_T_TYPE): Likewise.
45168         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45169         (__SNSECONDS_T_TYPE): Likewise.
45170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45171         (__SNSECONDS_T_TYPE): Likewise.
45173 2012-04-10  Andreas Jaeger  <aj@suse.de>
45175         [BZ #2636]
45176         * manual/time.texi (Processor Time): Return type of times is
45177         elapsed real time since an arbitrary point in the past.
45178         (CPU Time): Move CLK_TCK from here...
45179         (Processor Time): ...to here.  Correct description.
45180         * manual/conf.texi (Constants for Sysconf): Correct description of
45181         _SC_CLK_TCK.
45183 2012-04-10  David S. Miller  <davem@davemloft.net>
45185         [BZ #13967]
45186         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45187         where the is a gap between DT_REL(A) and DT_JMPREL.
45189 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45191         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45192         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45193         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45195 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45197         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45198         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45199         (dl_main): Handle --inhibit-cache.
45200         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45201         _dl_inhibit_cache.
45202         * elf/dl-load.c (_dl_map_object): Use it.
45203         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45205 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45207         [BZ #13872]
45208         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45209         (__ieee754_powl): Saturate large exponents rather than testing for
45210         overflow of y*log2(x).
45211         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45212         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45213         exceptions.
45215         [BZ #11521]
45216         * math/s_ctan.c: Include <float.h>.
45217         (__ctan): Avoid internal overflow or cancellation in calculating
45218         denominator.
45219         * math/s_ctanf.c: Likewise.
45220         * math/s_ctanl.c: Likewise.
45221         * math/s_ctanh.c: Likewise.
45222         * math/s_ctanhf.c: Likewise.
45223         * math/s_ctanhl.c: Likewise.
45224         * math/libm-test.inc (ctan_test): Add more tests.
45225         (ctanh_test): Likewise.
45226         * sysdeps/i386/fpu/libm-test-ulps: Update.
45227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45229 2012-04-09  Andreas Jaeger  <aj@suse.de>
45231         [BZ #6894]
45232         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45233         is an optional BSD extension.
45235         [BZ #10254]
45236         * manual/stdio.texi (Opening Streams): Document additional fopen
45237         parameters.
45239 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45241         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45242         %eax without telling the compiler.
45244 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45246         [BZ # 13963]
45247         * manual/install.texi: Use sourceware.org.
45249 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45251         [BZ #13873]
45252         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45253         (__ieee754_pow): Generate overflow and underflow using huge*huge
45254         and tiny*tiny rather than just returning constant infinity or zero
45255         for large exponents.
45256         * math/libm-test.inc (pow_test): Require overflow exceptions for
45257         applicable cases of large exponents.
45259         [BZ #706]
45260         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45261         (__ieee754_pow): Use iterative multiplication algorithm only for
45262         integer exponents with absolute value below 1024.  Check for odd
45263         integer exponents when using algorithm for real exponents.
45264         * math/libm-test.inc (pow_test): Add more tests.
45265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45267 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45269         [BZ #13705]
45270         * math/libm-test.inc (exp_test): Do not allow overflow exception
45271         on underflow test.
45273 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45275         [BZ #13705]
45276         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45277         instead of __kernel_standard_f.
45279 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45281         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45282         * sysdeps/x86_64/memset_chk.S: Likewise.
45284 2012-04-08  Andreas Jaeger  <aj@suse.de>
45286         [BZ #10153]
45287         * manual/startup.texi (Environment Access): Describe return value
45288         for putenv and setenv.
45290         [BZ #6895]
45291         * manual/filesys.texi (Directory Entries): Add description for
45292         DT_LNK.
45294         [BZ #6890]
45295         * manual/filesys.texi (Directory Entries): Clarify that it's file
45296         system not operating system in the description of DT_UNKNOWN.
45298         [BZ #6578]
45299         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45301 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45303         [BZ #6649]
45304         * manual/llio.texi (Opening and Closing Files): Add cross
45305         reference to explain mode argument.
45307 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45309         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45310         * sysdeps/x86_64/memset_chk.S: Likewise.
45312 2012-04-07  David S. Miller  <davem@davemloft.net>
45314         * elf/elf.h (R_SPARC_WDISP10): Define.
45315         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45316         R_SPARC_SIZE32.
45317         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45318         R_SPARC_SIZE64 and R_SPARC_H34.
45320 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45322         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45323         conditions and remove no longer applicable assertion.
45325 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45327         * bits/byteswap.h: Include <features.h>.
45328         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45329         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45331 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45333         * bits/byteswap.h (__bswap_16): Removed.
45334         Include <bits/byteswap-16.h> to get __bswap_16.
45335         * sysdeps/i386/bits/byteswap.h: Likewise.
45336         * sysdeps/s390/bits/byteswap.h: Likewise.
45337         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45338         * bits/byteswap-16.h: New file.
45339         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45340         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45341         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45342         * string/Makefile (headers): Add bits/byteswap-16.h.
45344 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45346         [BZ #13895]
45347         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45348         extra indirection.
45349         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45350         * nss/tst-nss-static.c: New.
45352 2012-04-06  Robert Millan  <rmh@gnu.org>
45354         [BZ #6486]
45355         * manual/llio.texi (File Position Primitive): lseek
45356         refers to WHENCE when it really means OFFSET.
45358 2012-04-06  Andreas Jaeger  <aj@suse.de>
45360         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45361         strncmp declarations.
45363         * abilist/libc.abilist: Add __poll and __ppoll.
45365 2012-04-05  David S. Miller  <davem@davemloft.net>
45367         * scripts/check-local-headers.sh: Accept a host triplet in the
45368         path matched by the exclude regexp.
45370         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45371         definition.
45372         * sysdeps/powerpc/powerpc32/dl-machine.h
45373         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45374         * sysdeps/s390/s390-32/dl-machine.h
45375         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45376         * sysdeps/sparc/sparc32/dl-machine.h
45377         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45378         * sysdeps/sparc/sparc64/dl-machine.h
45379         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45381         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45382         lazy binding.
45383         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45384         undefined symbol errors.
45386         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45387         DT_NEEDED entries.
45389 2012-04-05  Michael Matz  <matz@suse.de>
45391         [BZ #13592]
45392         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45394 2012-04-05  Andreas Jaeger  <aj@suse.de>
45396         [BZ #13908]
45397         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45398         comment.
45400 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45402         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45403         which ROUND is no valid rounding mode.
45405 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45407         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45408         read again.
45409         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45411 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45413         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45414         an exception using FPU order intentionally.
45416 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45418         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45419         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45420         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45421         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45423 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45425         [BZ #12340]
45426         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45427         EINVAL when BUFLEN is too smal.
45429 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45431         [BZ #13553]
45432         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45433         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45435 2012-04-03  Andreas Jaeger  <aj@suse.de>
45437         [BZ #13938]
45438         * manual/setjmp.texi (System V contexts): Fix sentence.
45440         [BZ #13926]
45441         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45442         New macro for this case.
45443         [!__GNUC__] (__bswap_64): New inline function for this case.
45444         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45445         * bits/byteswap.h: Likewise.
45446         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45447         ull, guard with __GLIBC_HAVE_LONG_LONG.
45449         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45450         __GLIBC_HAVE_LONG_LONG.
45452         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45453         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45455 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45457         [BZ #13691]
45458         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45459         inptr and inend, rather than using last_ch.
45461 2012-04-02  David S. Miller  <davem@davemloft.net>
45463         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45464         * stdio-common/printf-parse.h (read_int): Change return type to
45465         'int', return -1 on INT_MAX overflow.
45466         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45467         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45468         overflows INT_MAX.  Check for overflow of in-format-string precision
45469         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45470         SIZE_MAX not INT_MAX for integer overflow test.
45471         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45472         skip the construct in the format string but do not record anything.
45473         * stdio-common/bug22.c: Adjust to test both width/prevision
45474         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45475         explicitly for proper errno values.
45477 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45479         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45480         CHAR_MAX.
45481         * string/test-strcmp.c [! WIDE]: Likewise.
45482         * time/tst-mktime2.c: Likewise for INT_MAX.
45483         * string/test-string.h: #include <sys/param.h> for MIN.
45485         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45486         * sysdeps/i386/init-first.c (init): Likewise.
45487         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45488         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45489         * sysdeps/sh/init-first.c (init): Likewise.
45491 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45493         * po/ru.po: Update from translation team.
45494         * po/vi.po: Likewise.
45496 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45498         * resolv/nss_dns/dns-host.c: Merge copyright years.
45500 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45502         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45503         Optimize memcpy with prefetch if
45504         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45505         src, dst pointers have unequal 16 byte alignments.
45507 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45509         [BZ #13928]
45510         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45511         from a CNAME entry and return the minimum ttl for the query.
45512         (gaih_getanswer_slice): Likewise.
45514 2012-03-30  Jeff Law  <law@redhat.com>
45516         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45517         due to long keys.
45518         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45519         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45521         * resolv/nss_dns/dns-host.c: Update copyright year.
45523 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45525         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45526         requests to save a system call.  Fix check that all bytes are sent.
45528         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45529         comments for sendmmsg.
45531 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45533         [BZ #13691]
45534         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45535         with only 1 character between 0x0041 and 0x01b0.
45536         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45537         * wcsmbs/tst-mbsnrtowcs.c: New file.
45539 2012-03-29  David S. Miller  <davem@davemloft.net>
45541         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45542         small copies by hand.
45544 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45546         [BZ #13761]
45547         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45548         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45549         group memberships.
45551 2012-03-28  David S. Miller  <davem@davemloft.net>
45553         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45554         that branches into memcpy.
45555         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45558         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45559         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45560         bits.
45561         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45562         implementation too.
45563         * sysdeps/sparc/mempcpy.S: New file.
45565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45566         the IFUNC routine in the libc case.
45567         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45569         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45570         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45571         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45572         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45573         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45574         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45575         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45576         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45578         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45579         loop to 256 bytes instead of 64 bytes and fix test signedness.
45581         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45582         * sysdeps/sparc/sparc32/Makefile: rather than here...
45583         * sysdeps/sparc/sparc64/Makefile: and here.
45585 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45587         * malloc/mallocbug.c: Avoid warnings about unused variables.
45589 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45591         [BZ #13760]
45592         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45593         in the right place. Discard and retry query if response is
45594         larger than input buffer size.
45596 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45598         [BZ #369]
45599         [BZ #2678]
45600         [BZ #3866]
45601         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45602         x for large integer exponent.
45603         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45604         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45605         sign of result as needed afterwards.
45606         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45607         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45608         result for underflowing pow the same as for overflow.
45609         (__kernel_standard_l): Handle powl overflow and underflow here
45610         rather than calling __kernel_standard.
45611         * math/libm-test.inc (pow_test): Add more tests.
45613         [BZ #3868]
45614         [BZ #13879]
45615         [BZ #13910]
45616         [BZ #13911]
45617         [BZ #13912]
45618         [BZ #13913]
45619         [BZ #13915]
45620         [BZ #13916]
45621         [BZ #13917]
45622         [BZ #13918]
45623         [BZ #13919]
45624         [BZ #13920]
45625         [BZ #13921]
45626         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45627         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45628         (__kernel_standard_l): New function.
45629         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45630         __kernel_standard.
45631         * math/w_acosl.c (__acosl): Likewise.
45632         * math/w_asinl.c (__asinl): Likewise.
45633         * math/w_atan2l.c (__atan2l): Likewise.
45634         * math/w_atanhl.c (__atanhl): Likewise.
45635         * math/w_coshl.c (__coshl): Likewise.
45636         * math/w_exp10l.c (__exp10l): Likewise.
45637         * math/w_exp2l.c (__exp2l): Likewise.
45638         * math/w_fmodl.c (__fmodl): Likewise.
45639         * math/w_hypotl.c (__hypotl): Likewise.
45640         * math/w_j0l.c (__j0l, __y0l): Likewise.
45641         * math/w_j1l.c (__j1l, __y1l): Likewise.
45642         * math/w_jnl.c (__jnl, __ynl): Likewise.
45643         * math/w_lgammal.c (__lgammal): Likewise.
45644         * math/w_log10l.c (__log10l): Likewise.
45645         * math/w_log2l.c (__log2l): Likewise.
45646         * math/w_logl.c (__logl): Likewise.
45647         * math/w_powl.c (__powl): Likewise.
45648         * math/w_remainderl.c (__remainderl): Likewise.
45649         * math/w_scalbl.c (sysv_scalbl): Likewise.
45650         * math/w_sinhl.c (__sinhl): Likewise.
45651         * math/w_sqrtl.c (__sqrtl): Likewise.
45652         * math/w_tgammal.c (__tgammal): Likewise.
45653         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45654         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45655         * math/libm-test.inc (acos_test): Add more tests.
45656         (acosh_test): Likewise.
45657         (asin_test): Likewise.
45658         (atanh_test): Likewise.
45659         (exp_test): Likewise.
45660         (exp10_test): Likewise.
45661         (exp2_test): Likewise.
45662         (expm1_test): Likewise.
45663         (lgamma_test): Likewise.
45664         (log_test): Likewise.
45665         (log10_test): Likewise.
45666         (log1p_test): Likewise.
45667         (log2_test): Likewise.
45668         (pow_test): Do not allow some spurious overflow exceptions.
45669         (sqrt_test): Add more tests.
45670         (tgamma_test): Likewise.
45671         (y0_test): Likewise.
45672         (y1_test): Likewise.
45673         (yn_test): Likewise.
45675 2012-03-27  Anton Blanchard  <anton@samba.org>
45677         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45678         MAP_HUGETLB.
45679         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45680         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45681         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45683 2012-03-27  David S. Miller  <davem@davemloft.net>
45685         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45687         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45688         have-as-vis3 check.
45690 2012-03-27  Andreas Jaeger  <aj@suse.de>
45692         * sysdeps/x86_64/elf/configure.in: Moved to ...
45693         * sysdeps/x86_64/configure.in: ... here.
45694         * sysdeps/x86_64/elf/start.S: Moved to ...
45695         * sysdeps/x86_64/start.S: ... here.
45696         * sysdeps/x86_64/elf/configure: Delete.
45698         * sysdeps/x86_64/configure.in: Merge contents from
45699         sysdeps/i386/configure.in (without i686 check).
45701         * sysdeps/i386/elf/Versions: Merge into ...
45702         * sysdeps/i386/Versions: ... this.
45703         * sysdeps/i386/elf/Versions: Delete file.
45704         * sysdeps/i386/elf/start.S: Moved to ...
45705         * sysdeps/i386/start.S: ...here.
45706         * sysdeps/i386/elf/configure.in: Merge into...
45707         * sysdeps/i386/configure.in: ...here.
45708         * sysdeps/i386/elf/configure.in: Delete file.
45709         * sysdeps/i386/elf/configure: Delete file.
45711         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45712         * debug/backtracesyms.c: ... here.
45713         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45714         * debug/backtracesymsfd.c: ... here.
45715         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45716         * sysdeps/generic/ifunc-sel.h: ... here.
45718         * sysdeps/unix/i386/start.c: Delete file.
45719         * sysdeps/unix/sparc/start.c: Delete file.
45720         * sysdeps/unix/start.c: Delete file.
45722         * sysdeps/sh/elf/configure.in: Moved to ...
45723         * sysdeps/sh/configure.in: ... here.
45724         * sysdeps/sh/elf/start.S: Moved to ...
45725         * sysdeps/sh/start.S: ... here.
45726         * sysdeps/sh/elf/configure: Delete file.
45728         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45729         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45730         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45731         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45732         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45733         * sysdeps/powerpc/powerpc64/start.S: here.
45734         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45735         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45736         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45737         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45738         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45740         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45741         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45742         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45743         * sysdeps/powerpc/powerpc32/start.S: ... here.
45744         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45745         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45746         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45748         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45749         * sysdeps/powerpc/ifunc-sel.h: ... here.
45750         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45751         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45753         * sysdeps/sparc/elf/configure.in: Moved to ...
45754         * sysdeps/sparc/configure.in: ... here.
45755         * sysdeps/sparc/elf/configure: Delete file.
45756         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45757         * sysdeps/sparc/sparc32/start.S: ... here.
45758         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45759         * sysdeps/sparc/sparc64/start.S: ... here.
45760         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45761         * sysdeps/sparc/sparc32/Makefile: ... this.
45762         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45763         * sysdeps/sparc/sparc64/Makefile: ... this.
45765         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45766         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45767         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45768         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45769         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45770         * sysdeps/s390/s390-32/setjmp.S: ... here.
45771         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45772         * sysdeps/s390/s390-32/configure.in: ... here.
45773         * sysdeps/s390/s390-32/elf/configure: Delete file.
45774         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45775         * sysdeps/s390/s390-32/start.S: ... here.
45777         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45778         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45779         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45780         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45781         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45782         * sysdeps/s390/s390-64/setjmp.S: ... here.
45783         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45784         * sysdeps/s390/s390-64/configure.in: ... here
45785         * sysdeps/s390/s390-64/elf/configure: Delete file.
45786         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45787         * sysdeps/s390/s390-64/start.S: ... here.
45788         * sysdeps/s390/s390-64/elf/configure: Delete.
45790         * configure.in: Remove support for elf directories in sysdeps.
45792         * configure: Regenerated.
45793         * sysdeps/i386/configure: Regenerated.
45794         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45795         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45796         * sysdeps/s390/s390-32/configure: Regenerated.
45797         * sysdeps/s390/s390-64/configure: Regenerated.
45798         * sysdeps/sh/configure: Regenerated.
45799         * sysdeps/sparc/configure: Regenerated.
45800         * sysdeps/x86_64/configure: Regenerated.
45802 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45804         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45807         denormal result into account.
45809 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45811         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45812         Reported by Allan McRae <allan@archlinux.org>.
45814 2012-03-23  Jeff Law  <law@redhat.com>
45816         * nss/getnssent.c (__nss_getent): Fix typo.
45818 2012-03-23  David S. Miller  <davem@davemloft.net>
45820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45822 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45824         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45825         to pad to uint64_t for each field.
45826         (dl_tls_index): Replace unsigned long with uint64_t.
45828 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45829         Paul Pluzhnikov  <ppluzhnikov@google.com>
45831         [BZ #6528]
45832         * grp/Makefile (otherlibs): Don't set it.
45833         * inet/Makefile (otherlibs): Likewise.
45834         * login/Makefile (otherlibs): Likewise.
45835         * nscd/Makefile (otherlibs): Likewise.
45836         * posix/Makefile (otherlibs): Likewise.
45837         * pwd/Makefile (otherlibs): Likewise.
45838         * rt/Makefile (otherlibs): Likewise.
45839         * sunrpc/Makefile (otherlibs): Likewise.
45840         * nss/Makefile (otherlibs): Likewise.
45841         Add libnss_files to routines and static-only-routines.
45842         ($(objpfx)getent): Remove rule.
45843         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45844         static-only-routines.
45846 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45848         [BZ #13892]
45849         * math/s_cexp.c: Include <float.h>.
45850         (__cexp): Handle exp result overflowing not necessarily
45851         overflowing both real and imaginary parts of result.
45852         * math/s_cexpf.c: Likewise.
45853         * math/s_cexpl.c: Likewise.
45854         * math/libm-test.inc (cexp_test): Add more tests.
45855         * sysdeps/i386/fpu/libm-test-ulps: Update.
45856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45858 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45860         * include/link.h (ELFW): New macro.
45861         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45862         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45864 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45866         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45867         with uint64_t.
45869 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45871         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45872         declaration.
45873         (struct La_x32_retval): Likewise.
45875 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45877         * sysdeps/x86_64/preconfigure.in: New file.
45878         * sysdeps/x86_64/preconfigure: New generated file.
45880 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45882         [BZ #13824]
45883         * math/e_exp2l.c: Include <float.h>.
45884         (__ieee754_exp2l): Handle overflow and underflow cases
45885         separately.  Only pass fractional part of argument to
45886         __ieee754_expl.
45887         * math/libm-test.inc (exp2_test): Add more tests.
45889         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45890         negating x to take absolute value.
45891         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45892         Likewise.
45893         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45894         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45895         Likewise.
45896         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45897         computing low part if x was negated.
45898         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45900 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45902         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45903         la_x32_gnu_pltexit.
45904         (pltexit): Cast int_retval to ptrdiff_t.
45905         * elf/tst-auditmod3b.c: Likewise.
45906         * elf/tst-auditmod4b.c: Likewise.
45907         * elf/tst-auditmod5b.c: Likewise.
45908         * elf/tst-auditmod6b.c: Likewise.
45909         * elf/tst-auditmod6c.c: Likewise.
45910         * elf/tst-auditmod7b.c: Likewise.
45912         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45913         and x32_gnu_pltexit.
45915         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45916         __ELF_NATIVE_CLASS.
45917         (La_x32_regs): New macro.
45918         (La_x32_retval): Likewise.
45919         (la_x32_gnu_pltenter): New function prototype.
45920         (la_x32_gnu_pltexit): Likewise.
45922 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45924         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45925         exponent.
45927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45929         * configure.in (libc_cv_cc_nofma): Check for option to disable
45930         generation of FMA instructions.
45931         * configure: Regenerate.
45932         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45933         * sysdeps/ieee754/dbl-64/Makefile: New file.
45934         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45935         Remove brandred-fma4.
45936         (CFLAGS-brandred-fma4.c): Remove.
45937         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45938         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45939         define.
45940         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45941         define.
45943 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45945         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45946         LLONG_MAX != LONG_MAX.
45947         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45948         (_fitoa_word): Likewise.
45949         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45950         LLONG_MAX != LONG_MAX.
45951         * stdio-common/_itowa.h: Include <_itoa.h>.
45952         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45953         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45954         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45955         only if not defined.
45956         (_ITOA_WORD_TYPE): Likewise.
45957         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45958         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45960 2012-03-21  David S. Miller  <davem@davemloft.net>
45962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45964 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45966         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45967         of x86_64 when setting libc_cv_slibdir, libdir and
45968         libc_cv_localedir.
45969         * sysdeps/unix/sysv/linux/configure: Regenerated.
45971 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45973         * manual/lang.texi (Old Varargs): Remove section.
45974         (How Variadic): Update menu.
45975         (va_start): Do not mention varargs.h.
45977 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45978             Joseph Myers  <joseph@codesourcery.com>
45980         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45981         link test.
45982         * configure: Regenerated.
45984 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45986         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45987         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45988         conformtest.pl
45990 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45992         * NOTES: Remove.
45993         * Makefile (files-for-dist): Remove NOTES.
45994         (NOTES): Remove rule.
45995         * README: Don't refer to NOTES.
45996         * manual/creature.texi: Don't include macros.texi.
45997         * manual/intro.texi (creature.texi): Remove comment referring to
45998         NOTES.
46000         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46001         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46002         * configure: Regenerated.
46003         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46004         LIBC_TRY_CC_OPTION.
46005         (libc_cv_as_i686): Likewise.
46006         (libc_cv_cc_avx): Likewise.
46007         (libc_cv_cc_sse2avx): Likewise.
46008         (libc_cv_cc_fma4): Likewise.
46009         (libc_cv_cc_novzeroupper): Likewise.
46010         * sysdeps/i386/configure: Regenerated.
46012         [BZ #13883]
46013         * sysdeps/i386/fpu/s_cexp.S: Remove.
46014         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46015         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46016         * math/libm-test.inc (cexp_test): Add more tests.
46017         * sysdeps/i386/fpu/libm-test-ulps: Update.
46018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46020 2012-03-21  Allan McRae  <allan@archlinux.org>
46022         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46024 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46026         [BZ #13871]
46027         * math/w_exp2.c: Do not include <float.h>.
46028         (o_threshold, u_threshold): Remove.
46029         (__exp2): Calculate result before checking finiteness and calling
46030         __kernel_standard.
46031         * math/w_exp2f.c: Likewise.
46032         * math/w_exp2l.c: Likewise.
46033         * math/libm-test.inc (exp2_test): Require overflow exception for
46034         1e6 input.
46036         [BZ #3866]
46037         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46038         range of signed 64-bit integers before using fistpll.  Remove
46039         checks for whether integers fit in mantissa bits.
46040         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46041         the range of signed 32-bit integers before using fistpl.  Remove
46042         checks for whether integers fit in mantissa bits.
46043         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46044         (__ieee754_powl): Test for y outside the range of signed 64-bit
46045         integers before using fistpll.  Reduce 64-bit values to 63-bit
46046         ones as needed.
46047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46048         divide-by-zero is raised for zero to large negative powers.
46049         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46050         (__ieee754_powl): Test for y outside the range of signed 64-bit
46051         integers before using fistpll.  Reduce 64-bit values to 63-bit
46052         ones as needed.
46053         * math/libm-test.inc (pow_test): Add more tests.
46055 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46057         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46058         <stdio-common/_itoa.h>.
46059         * debug/segfault.c: Likewise.
46060         * elf/dl-cache.c: Likewise.
46061         * elf/dl-minimal.c: Likewise.
46062         * elf/dl-misc.c: Likewise.
46063         * elf/dl-sysdep.c: Likewise.
46064         * elf/dl-version.c: Likewise.
46065         * elf/rtld.c: Likewise.
46066         * hurd/hurdsock.c: Likewise.
46067         * hurd/lookup-retry.c: Likewise.
46068         * malloc/malloc.c: Likewise.
46069         * malloc/mtrace.c: Likewise.
46070         * nscd/nscd_getgr_r.c: Likewise.
46071         * nscd/nscd_getpw_r.c: Likewise.
46072         * nscd/nscd_getserv_r.c: Likewise.
46073         * posix/getopt_init.c: Likewise.
46074         * posix/wordexp.c: Likewise.
46075         * stdio-common/_itoa.c: Likewise.
46076         * stdio-common/printf_fphex.c: Likewise.
46077         * stdio-common/vfprintf.c: Likewise.
46078         * string/_strerror.c: Likewise.
46079         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46080         * sysdeps/i386/i686/hp-timing.h: Likewise.
46081         * sysdeps/mach/_strerror.c: Likewise.
46082         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46083         * sysdeps/mach/hurd/sethostid.c: Likewise.
46084         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46085         * sysdeps/mach/xpg-strerror.c: Likewise.
46086         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46088         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46089         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46090         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46091         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46092         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46093         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46094         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46095         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46096         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46097         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46098         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46099         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46100         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46101         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46102         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46103         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46104         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46105         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46106         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46108         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46110         * stdio-common/_itoa.h: Moved to ...
46111         * sysdeps/generic/_itoa.h: Here.
46113         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46115         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46116         instead of "_itoa.h" and "_itowa.h".
46117         * stdio-common/vfprintf.: Likewise.
46119 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46121         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46122         <bits/wordsize.h>.
46123         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46124         (__signbit): Likwise.
46125         (llrintf): Likwise.
46126         (llrint): Likwise.
46128 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46130         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46131         __WORDSIZE != 64.
46133 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46135         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46136         OVERFLOW_EXCEPTION_OK.
46137         * math/libm-test.inc ("Philosophy"): Update comment about
46138         exception testing.
46139         (OVERFLOW_EXCEPTION): Define.
46140         (OVERFLOW_EXCEPTION_OK): Likewise.
46141         (INVALID_EXCEPTION_OK): Renumber.
46142         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46143         (IGNORE_ZERO_INF_SIGN): Likewise.
46144         (test_exceptions): Handle FE_OVERFLOW.
46145         (exp10_test): Expect overflow exceptions.
46146         (exp2_test): Likewise.
46147         (expm1_test): Likewise.
46148         (nextafter_test): Likewise.
46149         (pow_test): Likewise.
46150         (scalbn_test): Likewise.
46151         (scalbln_test): Likewise.
46153 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46155         * sysdeps/x86_64/bits/atomic.h
46156         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46157         64bit integer.
46158         (atomic_exchange_acq): Likewise.
46159         (__arch_exchange_and_add_body): Likewise.
46160         (__arch_add_body): Likewise.
46161         (atomic_add_negative): Likewise.
46162         (atomic_add_zero): Likewise.
46164 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46166         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46167         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46169 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46171         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46172         Check __x86_64__ instead of __WORDSIZE.
46174 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46176         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46178 2012-03-19  David S. Miller  <davem@davemloft.net>
46180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46182         * sysdeps/sparc/fpu/fenv_private.h: New file.
46183         * sysdeps/sparc/fpu/math_private.h: Use it.
46184         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46185         Remove.
46186         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46187         (libc_feholdexcept_setroundl): Remove.
46188         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46189         Remove.
46190         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46191         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46193 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46195         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46196         int64_t instead of long int.
46197         (INSERT_WORDS64): Likwise.
46199 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46201         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46202         _Unwind_GetCFA return to _Unwind_Ptr first.
46204 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46206         [BZ #13629]
46207         * math/s_clog.c: Include <float.h>.
46208         (__clog): Scale large or subnormal inputs.
46209         * math/s_clogf.c: Likewise.
46210         * math/s_clogl.c: Likewise.
46211         * math/s_clog10.c: Include <float.h>.
46212         (M_LOG10_2): Define.
46213         (__clog10): Scale large or subnormal inputs.
46214         * math/s_clog10f.c: Likewise.
46215         * math/s_clog10l.c: Likewise.
46216         * math/libm-test.inc (clog_test): Add more tests.
46217         (clog10_test): Likewise.
46218         * sysdeps/i386/fpu/libm-test-ulps: Update.
46219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46221         [BZ #11451]
46222         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46223         x and y.
46224         * math/libm-test.inc (atan2_test): Add another test.
46226         * Makerules (common-objdir-compile): Remove.
46227         * sysdeps/unix/Makefile (config-generated): Do not add
46228         $(unix-generated) to variable.
46229         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46230         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46231         Remove rule.
46232         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46233         Likewise.
46234         [generic bits/local_lim.h] (before-compile): Do not append to
46235         variable.
46236         [generic bits/local_lim.h] (common-generated): Likewise.
46237         [generic sys/param.h] (before-compile): Do not append to variable.
46238         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46239         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46240         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46241         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46242         include.
46243         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46244         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46245         [generic sys/param.h] ($(addprefix
46246         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46247         [generic sys/param.h] (common-generated): Do not append to
46248         variable.
46249         [generic sys/param.h] (sysdep_headers): Likewise.
46250         [generic bits/errno.h] (before-compile): Do not append to
46251         variable.
46252         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46253         rule.
46254         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46255         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46256         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46257         [generic bits/errno.h] (common-generated): Do not append to
46258         variable.
46259         [generic bits/ioctls.h] (before-compile): Do not append to
46260         variable.
46261         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46262         rule.
46263         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46264         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46265         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46266         rule.
46267         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46268         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46269         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46270         [generic bits/ioctls.h] (common-generated): Do not append to
46271         variable.
46272         [generic sys/syscall.h] (syscall.h): Remove variable.
46273         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46274         rule.
46275         [generic sys/syscall.h] (before-compile): Do not append to
46276         variable.
46277         [generic sys/syscall.h] (common-generated): Likewise.
46278         * sysdeps/unix/errnos-tmpl.c: Remove file.
46279         * sysdeps/unix/errnos.awk: Likewise.
46280         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46281         * sysdeps/unix/ioctls.awk: Likewise.
46282         * sysdeps/unix/mk-local_lim.c: Likewise.
46283         * sysdeps/unix/snarf-ioctls: Likewise.
46285 2012-03-19  Richard Henderson  <rth@twiddle.net>
46287         * sysdeps/i386/fpu/fenv_private.h: New file.
46288         * sysdeps/i386/fpu/math_private.h: Use it.
46289         (math_opt_barrier, math_force_eval): Remove.
46290         (libc_feholdexcept_setround_53bit): Remove.
46291         (libc_feupdateenv_53bit): Remove.
46292         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46293         (math_opt_barrier, math_force_eval): Remove.
46294         (libc_feholdexcept): Remove.
46295         (libc_feholdexcept_setround): Remove.
46296         (libc_fetestexcept, libc_fesetenv): Remove.
46297         (libc_feupdateenv_test): Remove.
46298         (libc_feupdateenv, libc_feholdsetround): Remove.
46299         (libc_feresetround): Remove.
46301         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46302         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46304         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46305         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46306         (libc_feupdateenv_testl): New.
46307         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46308         (libc_feupdateenv_testf): New.
46309         (libc_feupdateenv): Use libc_feupdateenv_test.
46310         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46311         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46313         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46314         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46315         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46316         (libc_feresetround_noex): New.
46317         (libc_feresetround_noexf): New.
46318         (libc_feresetround_noexl): New.
46319         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46320         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46321         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46322         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46323         SET_RESTORE_ROUND.
46324         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46325         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46326         (__cos): Likewise.
46327         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46328         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46329         SET_RESTORE_ROUND_NOEX.
46330         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46331         SET_RESTORE_ROUND_NOEXF.
46332         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46333         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46334         (libc_feholdsetroundf): New.
46335         (libc_feresetround, libc_feresetroundf): New.
46337         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46338         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46339         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46341         * sysdeps/generic/math_private.h: Include <fenv.h>.
46342         (default_libc_feholdexcept): New.
46343         (default_libc_feholdexcept_setround): New.
46344         (default_libc_fesetenv, default_libc_feupdateenv): New.
46345         (libc_feholdexcept): Only define if undefined.
46346         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46347         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46348         (libc_feholdexcept_setroundl): Likewise.
46349         (libc_feholdexcept_setround_53bit): Likewise.
46350         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46351         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46352         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46353         (libc_feupdateenv_53bit): Likewise.
46354         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46355         (libc_feholdexcept): Convert from macro to inline function.
46356         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46357         (libc_fesetenv, libc_feupdateenv): Likewise.
46359         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46360         not previously defined.
46361         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46362         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46363         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46364         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46365         * sysdeps/ieee754/flt-32/math_private.h: New file.
46366         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46367         math_private.h below SET_FLOAT_WORD.
46368         (__isnan, __isinf_ns, __finite): Remove.
46369         (__isnanf, __isinf_nsf, __finitef): Remove.
46371 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46375 2012-03-17  David S. Miller  <davem@davemloft.net>
46377         [BZ #6471]
46378         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46379         for 2.16.
46381 2012-03-16  David S. Miller  <davem@davemloft.net>
46383         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46384         warnings.
46386         [BZ #6471]
46387         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46388         properly.
46389         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46390         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46391         sysdep_routines when subdir is sysvipc.
46392         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46393         __getshmlba helper.
46395         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46397 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46399         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46400         [__LP64__].
46402 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46404         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46405         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46406         (__lround): Renamed to ...
46407         (__llround): This.  Replace long int with long long int.
46408         Define lround functions as aliases of llround functions.
46409         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46411 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46413         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46414         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46415         adresses to uintptr_t.  Replace "long int" and "unsigned long
46416         int" with "greg_t" on va_arg.
46418 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46420         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46421         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46423         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46424         Move e_machine check before EI_CLASS check.  Handle x32
46425         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46426         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46427         SKIP_EM_IA_64 and include
46428         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46430         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46431         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46432         (add_system_dir): New macro.
46434         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46435         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46437 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46439         [BZ #2551]
46440         [BZ #2552]
46441         [BZ #2553]
46442         [BZ #2554]
46443         [BZ #2562]
46444         [BZ #2563]
46445         [BZ #2565]
46446         [BZ #2566]
46447         [BZ #2576]
46448         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46449         (y0): Likewise.
46450         * math/w_j0f.c (j0f): Likewise.
46451         (y0f): Likewise.
46452         * math/w_j0l.c (__j0l): Likewise.
46453         (__y0l): Likewise.
46454         * math/w_j1.c (j1): Likewise.
46455         (y1): Likewise.
46456         * math/w_j1f.c (j1f): Likewise.
46457         (y1f): Likewise.
46458         * math/w_j1l.c (__j1l): Likewise.
46459         (__y1l): Likewise.
46460         * math/w_jn.c (jn): Likewise.
46461         (yn): Likewise.
46462         * math/w_jnf.c (jnf): Likewise.
46463         (ynf): Likewise.
46464         * math/w_jnl.c (__jnl): Likewise.
46465         (__ynl): Likewise.
46466         * math/libm-test.inc (j0_test): Add more tests.
46467         (j1_test): Likewise.
46468         (jn_test): Likewise.  Add trailing semicolon to existing test.
46469         (y0_test): Likewise.
46470         (y1_test): Likewise.
46471         * sysdeps/i386/fpu/libm-test-ulps: Update.
46472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46474         [BZ #13851]
46475         [BZ #13854]
46476         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46477         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46478         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46479         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46480         (__tanl): Set errno for infinite argument.
46481         * sysdeps/i386/fpu/mptan.c: Remove.
46482         * sysdeps/i386/fpu/s_tan.S: Likewise.
46483         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46484         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46485         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46486         * math/libm-test.inc (tan_test): Add more tests and enable more
46487         tests for double and long double.
46488         * sysdeps/i386/fpu/libm-test-ulps: Update.
46489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46491 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46493         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46494         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46496 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46498         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46499         * configure.in: Use it for both main tree and add-ons.
46500         * configure: Regenerated.
46502 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46504         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46506 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46508         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46509         in comment.
46511         [BZ #13851]
46512         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46513         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46514         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46515         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46516         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46517         infinite argument.
46518         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46519         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46520         != 0 for prec == 2.
46521         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46522         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46523         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46524         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46525         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46526         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46527         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46528         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46529         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46530         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46531         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46532         * math/libm-test.inc (cos_test): Add more tests and enable more
46533         tests for long double.
46534         (sin_test): Likewise.
46535         (sincos_test): Likewise.
46536         * sysdeps/i386/fpu/libm-test-ulps: Update.
46537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46539 2012-03-16  David S. Miller  <davem@davemloft.net>
46541         * sysdeps/sparc/fpu/math_private.h: New file.
46543 2012-03-15  David S. Miller  <davem@davemloft.net>
46545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46546         file.
46547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46549         file.
46550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46555         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46556         sysdep routines.
46557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46559         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46560         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46562         * sysdeps/sparc/sparc-ifunc.h: New file.
46563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46564         sparc-ifunc.h
46565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46567         Likewise.
46568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46569         Likewise.
46570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46574         Likewise.
46575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46580         Likewise.
46581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46582         Likewise.
46583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46589         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46591         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46593         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46597         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46601         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46603         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46604         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46608 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46610         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46611         scaling.
46612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46614 2012-03-15  Andreas Jaeger  <aj@suse.de>
46616         [BZ #13852]
46617         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46618         ieee754/flt-32 implementation for sin, cos and sincos.
46619         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46620         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46621         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46622         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46623         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46624         ieee754/flt-32 implementation for tan.
46626         * math/libm-test.inc (cos_test): Enable some large input tests for
46627         float as well
46628         (sin_test): Likewise.
46629         (sincos_test): Likewise.
46630         (tan_test): Add tests for large input.
46632         * sysdeps/i386/fpu/libm-test-ulps: Update.
46634 2012-03-15  Andreas Jaeger  <aj@suse.de>
46636         [BZ #13658]
46637         * math/libm-test.inc (cos_test): Add more test cases.
46638         (sin_test): Likewise.
46639         (sincos_test): Likewise.
46641 2012-03-15  Andreas Jaeger  <aj@suse.de>
46643         [BZ #13837]
46644         * math/libm-test.inc (cos_test): Add a test case for large input
46645         value.
46646         (sin_test): Likewise.
46647         (sincos_test): Likewise.
46649 2012-03-15  Andreas Jaeger  <aj@suse.de>
46650             Joseph Myers  <joseph@codesourcery.com>
46652         [BZ #13658]
46653         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46654         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46655         * sysdeps/i386/fpu/branred.c: Likewise.
46656         * sysdeps/i386/fpu/dosincos.c: Likewise.
46657         * sysdeps/i386/fpu/mpa.c: Likewise.
46658         * sysdeps/i386/fpu/s_cos.S: Likewise.
46659         * sysdeps/i386/fpu/s_sin.S: Likewise.
46660         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46661         * sysdeps/i386/fpu/sincos32.c: Likewise.
46663         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46664         Define.
46665         (libc_feupdateenv_53bit): Define.
46666         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46667         Define.
46668         (libc_feupdateenv_53bit): Define.
46670         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46671         53 bit (without extend i386 double precision).
46673         * math/libm-test.inc (sincos_test): Add tests for large input.
46674         (sin): Likewise.
46675         (cos): Likewise.
46677         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46679 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46683 2012-03-15  David S. Miller  <davem@davemloft.net>
46685         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46686         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46687         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46688         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46693         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46701         file.
46702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46704         file.
46705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46707         file.
46708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46710         file.
46711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46712         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46713         fmin/fmax sysdep routines.
46714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46716 2012-03-14  David S. Miller  <davem@davemloft.net>
46718         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46722         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46725         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46726         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46730         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46738         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46742         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46746         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46747         routines.
46748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46749         file.
46750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46752         file.
46753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46755         file.
46756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46758         file.
46759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46761         file.
46762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46764         file.
46765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46766         file.
46767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46768         file.
46769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46770         file.
46771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46772         New file.
46773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46774         file.
46775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46776         file.
46777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46779         file.
46780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46782         file.
46783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46785         file.
46786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46788         VIS3 routines.
46790         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46791         New file.
46793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46795         * sysdeps/sparc/configure.in: New file.
46796         * sysdeps/sparc/configure: Generate.
46797         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46798         * configure: Regenerate.
46799         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46800         * config.make.in (have-as-vis3): New.
46801         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46802         available use -Av9d instead of -Av9a.
46803         * sysdeps/sparc/sparc64/Makefile: Likewise.
46804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46806         New file.
46807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46808         file.
46809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46810         New file.
46811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46812         file.
46813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46814         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46817         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46819         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46820         fzeros/fnegs to load 0x80000000 into a float register instead of
46821         using the stack.
46822         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46824 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46827         bits/syscall.h.
46828         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46829         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46830         ($(inst_includedir)/bits/syscall.h): Remove rule.
46831         ($(objpfx)bits/syscall.d): Include instead of
46832         $(objpfx)syscall-list.d.
46833         (generated): Change syscall-list.h and syscall-list.d to
46834         bits/syscall.h and bits/syscall.d.
46836 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46838         [BZ #13846]
46839         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46841 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46843         [BZ #13841]
46844         * math/s_csqrt.c: Include <float.h>.
46845         (__csqrt): Scale large or subnormal inputs.
46846         * math/s_csqrtf.c: Likewise.
46847         * math/s_csqrtl.c: Likewise.
46848         * math/libm-test.inc (csqrt_test): Add more tests.
46849         * sysdeps/i386/fpu/libm-test-ulps: Update.
46850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46852         [BZ #13840]
46853         * math/libm-test.inc (hypot_test): Add more tests.
46855 2012-03-13  David S. Miller  <davem@davemloft.net>
46857         [BZ #13840]
46858         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46859         double-precision for the calculation instead of scaling.
46861 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46863         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46864         manipulate bits before adding and subtracting TWO52[sx].
46865         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46866         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46867         Likewise.
46868         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46870 2012-03-13  David S. Miller  <davem@davemloft.net>
46872         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46873         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46874         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46875         rtld-global-offsets.h
46876         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46878         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46879         large parameters.
46881         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46883         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46884         'err' in the ifdef scope in which it is actually used.
46886         * nss/nss_db/db-init.c: Include string.h
46888 2012-03-12  David S. Miller  <davem@davemloft.net>
46890         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46891         masking out of the most significant byte of random value used.
46892         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46893         Fix coding style in previous change.
46895         * sysdeps/unix/sysv/linux/kernel-features.h
46896         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46897         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46898         expression.
46899         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46900         later.
46902 2012-03-11  David S. Miller  <davem@davemloft.net>
46904         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46905         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46906         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46907         for 'resultvar' otherwise things get truncated on 64-bit.
46909         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46910         Fix masking out of the most significant byte of random value used.
46912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46914 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46918 2012-03-09  David S. Miller  <davem@davemloft.net>
46920         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46921         variables with appropriate CPP guards.
46922         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46923         from the frame pointer, not the stack pointer.  Correct layout
46924         comments.  Fix test on resulting framesize and the management of
46925         the outregs buffer for pltexit.  Preserve floating point return
46926         values across _dl_call_pltexit call.
46927         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46928         framesize and the management of the outregs buffer for pltexit.
46929         Preserve floating point return values across _dl_call_pltexit
46930         call.
46931         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46932         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46933         (la_sparc64_gnu_pltexit): New functions.
46934         (print_exit): Fix format string for return register value.
46936 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46938         * sunrpc/Makefile (others): Add rpcgen.
46939         ($(objpfx)rpcgen): Remove special build rule and dependency on
46940         libc.
46941         * sunrpc/rpcgen.c: New file.
46943 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46945         [BZ #13673]
46946         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46947         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46948         * sysdeps/i386/crti.S: Likewise.
46949         * sysdeps/i386/crtn.S: Likewise.
46950         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46951         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46952         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46953         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46954         * sysdeps/sh/crti.S: Likewise.
46955         * sysdeps/sh/crtn.S: Likewise.
46956         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46958         [BZ #13673]
46959         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46960         with URL.
46961         * locale/programs/locfile-kw.gperf: Likewise.
46962         * locale/programs/charmap-kw.h: Regenerated.
46963         * locale/programs/locfile-kw.h: Likewise.
46965         [BZ #13673]
46966         * intl/plural.y: Replace FSF snail mail address with URL.
46967         * intl/plural.c: Regenerated.
46969 2012-03-09  Richard Henderson  <rth@twiddle.net>
46971         * include/math_private.h: Remove file.
46972         * math/math_private.h: Move file ...
46973         * sysdeps/generic/math_private.h: ... here.
46975         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46976         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46977         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46979         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46980         and <math_private.h>.
46981         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46982         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46983         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46984         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46985         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46986         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46987         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46988         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46989         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46990         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46991         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46992         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46993         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46994         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46995         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46996         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46997         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46998         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46999         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47000         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47002         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47003         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47004         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47005         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47006         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47007         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47008         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47009         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47010         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47011         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47012         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47013         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47014         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47015         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47016         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47017         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47018         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47019         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47020         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47021         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47022         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47023         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47024         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47025         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47026         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47027         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47028         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47029         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47030         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47032         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47033         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47034         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47035         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47036         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47037         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47038         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47039         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47040         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47041         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47042         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47043         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47044         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47045         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47046         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47047         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47048         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47049         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47050         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47051         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47052         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47053         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47054         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47055         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47058         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47059         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47060         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47061         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47062         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47063         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47064         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47065         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47067         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47068         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47069         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47070         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47071         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47072         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47073         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47074         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47075         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47076         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47077         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47078         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47079         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47080         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47081         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47082         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47083         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47084         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47085         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47086         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47087         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47088         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47089         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47090         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47091         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47092         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47093         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47094         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47095         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47096         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47097         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47098         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47099         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47100         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47101         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47102         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47103         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47104         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47105         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47106         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47108         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47109         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47110         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47111         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47112         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47113         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47114         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47115         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47116         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47117         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47118         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47119         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47120         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47121         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47122         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47123         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47124         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47125         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47126         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47127         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47128         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47129         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47130         * sysdeps/ieee754/k_standard.c: Likewise.
47131         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47132         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47133         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47134         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47135         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47136         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47137         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47138         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47139         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47141         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47147         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47148         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47149         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47150         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47151         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47154         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47155         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47156         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47157         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47158         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47159         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47162         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47164         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47165         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47166         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47167         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47168         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47169         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47170         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47171         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47172         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47173         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47174         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47175         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47176         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47177         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47178         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47179         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47180         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47181         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47182         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47183         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47184         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47185         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47186         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47187         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47188         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47189         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47190         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47191         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47192         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47193         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47194         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47195         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47196         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47197         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47198         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47199         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47201         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47202         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47203         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47204         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47205         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47206         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47207         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47208         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47209         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47211         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47213         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47214         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47215         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47216         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47217         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47218         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47219         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47227         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47228         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47229         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47230         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47232         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47233         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47234         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47235         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47236         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47237         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47238         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47239         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47240         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47241         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47242         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47243         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47244         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47245         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47246         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47247         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47248         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47249         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47250         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47251         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47252         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47253         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47254         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47255         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47256         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47257         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47258         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47259         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47261         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47262         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47263         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47264         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47265         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47266         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47267         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47268         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47269         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47270         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47271         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47272         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47273         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47274         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47275         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47276         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47277         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47278         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47279         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47280         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47281         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47282         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47284         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47285         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47286         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47287         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47288         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47289         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47290         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47291         * sysdeps/ieee754/s_lib_version.c: Likewise.
47292         * sysdeps/ieee754/s_matherr.c: Likewise.
47293         * sysdeps/ieee754/s_signgam.c: Likewise.
47294         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47296         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47297         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47298         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47299         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47300         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47301         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47302         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47303         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47304         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47305         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47306         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47307         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47308         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47309         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47310         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47311         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47312         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47314         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47316 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47318         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47319         * sunrpc/rpc_main.c: Likewise.
47320         * sunrpc/rpc_svcout.c: Likewise.
47322 2012-03-09  David S. Miller  <davem@davemloft.net>
47324         * include/math_private.h: New file.
47326 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47328         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47329         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47330         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47331         from <bits/socket_type.h>.
47332         (enum __socket_type): Don't define here.
47333         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47334         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47335         bits/socket_type.h.
47337         [BZ #13566]
47338         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47339         checking __USE_GNU.
47341         * Makerules ($(inst_includedir)/%.h): New rule.
47342         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47343         (install-others): Remove variable setting.
47344         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47346 2012-03-08  Richard Henderson  <rth@twiddle.net>
47348         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47349         from macro to inline function; merge with the
47350         !__LIBC_INTERNAL_MATH_INLINES version.
47351         (__ieee754_sqrtf): Likewise.
47353         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47354         to inline function.
47355         (__rintf, __floor, __floorf): Likewise.
47357         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47358         macro to inline function.
47359         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47361         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47362         not <math/math_private.h>.
47364 2012-03-08  David S. Miller  <davem@davemloft.net>
47366         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47367         copyright year.
47368         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47370 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47372         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47373         normalization.
47374         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47375         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47377 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47379         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47380         be defined individually, they must be defined as a block.  Define
47381         S for printing a string instead of hidint the different by using a
47382         macro for adding the 'l'.
47383         * stdio-common/tst-fphex-wide.c: Adjust.
47385 2012-03-07  Marek Polacek  <polacek@redhat.com>
47387         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47389 2012-03-08  Marek Polacek  <polacek@redhat.com>
47391         [BZ #13806]
47392         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47393         * stdio-common/tst-fphex.c: Define a few macros to make the
47394         test reusable.  Use them.
47395         * stdio-common/tst-fphex-wide.c: New file.
47397 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47399         [BZ #6911]
47400         * manual/macros.texi (gnusystems): New macro.
47401         (nongnusystems): Likewise.
47402         (gnulinuxhurdsystems): Likewise.
47403         (gnuhurdsystems): Likewise..
47404         (gnulinuxsystems): Likewise.
47405         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47406         variants of the GNU system, not "GNU system".
47407         * manual/conf.texi: Likewise.
47408         * manual/errno.texi: Likewise.  Update example of errno macro
47409         expansion.
47410         * manual/filesys.texi: Likewise.
47411         (getumask): Document as specific to GNU/Hurd.
47412         * manual/install.texi: Likewise.  Reword some references to
47413         GNU/Linux.
47414         * manual/intro.texi: Likewise.
47415         * manual/io.texi: Likewise.
47416         (File Name Portability): Detail which constraints are inapplicable
47417         to all GNU systems and which are only inapplicable to GNU/Hurd.
47418         * manual/job.texi: Likewise.
47419         * manual/llio.texi: Likewise.
47420         (O_NOCTTY): Document as present on GNU/Linux.
47421         * manual/maint.texi: Likewise.
47422         * manual/memory.texi: Likewise.
47423         * manual/pattern.texi: Likewise.
47424         * manual/pipe.texi: Likewise.
47425         * manual/process.texi: Likewise.
47426         * manual/resource.texi: Likewise.
47427         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47428         child on GNU/Hurd.
47429         * manual/setjmp.texi: Likewise.
47430         * manual/signal.texi: Likewise.
47431         * manual/startup.texi: Likewise.
47432         * manual/stdio.texi: Likewise.
47433         * manual/terminal.texi: Likewise.
47434         (ONLCR): Document as POSIX.
47435         (OXTABS): Document availability on GNU/Linux as XTABS.
47436         (ONOEOT): Document availability separately from other bits.
47437         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47438         * manual/time.texi: Likewise.
47439         * manual/users.texi: Likewise.
47440         * INSTALL: Regenerated.
47441         * sysdeps/gnu/errlist.c: Regenerated.
47443         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47444         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47445         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47446         puts.
47447         * configure: Regenerated.
47449 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47451         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47452         default includes instead of AC_HEADER_CHECK.
47453         * sysdeps/i386/configure: Regenerated.
47455         [BZ #10716]
47456         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47457         * math/s_cacoshf.c (__cacoshf): Likewise.
47458         * math/s_cacoshl.c (__cacoshl): Likewise.
47459         * math/s_casinh.c (__casinh): Set signs of result from argument.
47460         * math/s_casinhf.c (__casinhf): Likewise.
47461         * math/s_casinhl.c (__casinhl): Likewise.
47462         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47463         (casinh_test): Add more tests.
47464         * sysdeps/i386/fpu/libm-test-ulps: Update.
47465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47467 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47469         * po/zh_TW.po: Update from translation team.
47471         * login/Makefile (distribute): Remove variable.
47472         * catgets/Makefile: Likewise.
47473         * mach/Makefile: Likewise.
47474         * malloc/Makefile: Likewise.
47475         * misc/Makefile: Likewise.
47476         * iconv/Makefile: Likewise.
47477         * nscd/Makefile: Likewise.
47478         * hurd/Makefile: Likewise.
47479         * manual/Makefile: Likewise.
47480         * locale/Makefile: Likewise.
47481         * intl/Makefile: Likewise.
47482         * conform/Makefile: Likewise.
47483         * nss/Makefile: Likewise.
47484         * time/Makefile: Likewise.
47485         * soft-fp/Makefile: Likewise.
47486         * dirent/Makefile: Likewise.
47487         * gmon/Makefile: Likewise.
47488         * po/Makefile: Likewise.
47489         * rt/Makefile: Likewise.
47490         * socket/Makefile: Likewise.
47491         * math/Makefile: Likewise.
47492         * signal/Makefile: Likewise.
47493         * debug/Makefile: Likewise.
47494         * elf/Makefile: Likewise.
47495         * timezone/Makefile: Likewise.
47496         * stdlib/Makefile: Likewise.
47497         * iconvdata/Makefile: Likewise.
47498         * sunrpc/Makefile: Likewise.
47499         * io/Makefile: Likewise.
47500         * argp/Makefile: Likewise.
47501         * inet/Makefile: Likewise.
47502         * hesiod/Makefile: Likewise.
47503         * grp/Makefile: Likewise.
47504         * csu/Makefile: Likewise.
47505         * wctype/Makefile: Likewise.
47506         * crypt/Makefile: Likewise.
47507         * libio/Makefile: Likewise.
47508         * string/Makefile: Likewise.
47509         * nis/Makefile: Likewise.
47510         * resolv/Makefile: Likewise.
47511         * stdio-common/Makefile: Likewise.
47512         * wcsmbs/Makefile: Likewise.
47513         * dlfcn/Makefile: Likewise.
47514         * posix/Makefile: Likewise.
47516         [BZ #6959]
47517         * timezone/Makefile: Don't install timezone files, just the programs
47518         and scripts.
47520 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47522         * nss/databases.def: Add missing gshadow entry.
47524         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47526 2012-03-06  Marek Polacek  <polacek@redhat.com>
47528         [BZ #13726]
47529         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47530         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47531         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47532         * stdio-common/tst-long-dbl-fphex.c: New file.
47534 2012-03-06  David S. Miller  <davem@davemloft.net>
47536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47537         (set_obp_int): New function.
47538         (get_obp_int): New function.
47539         (__get_clockfreq_via_dev_openprom): Likewise.
47540         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47541         Avoid unused variable warnings on 'val' and use builtin_expect.
47542         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47543         __builtin_expect.
47544         (INLINE_CLONE_SYSCALL): Likewise.
47546 2012-03-05  David S. Miller  <davem@davemloft.net>
47548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47550 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47554         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47555         only for |x| >= 40.
47556         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47558 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47560         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47561         Replace gettimeofday with __vdso_gettimeofday.
47563         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47564         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47565         __vdso_clock_gettime and __vdso_getcpu.
47567         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47568         time with __vdso_time.
47570 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47572         * manual/lang.texi (size_t): Note types to which size_t may be
47573         equivalent with the GNU C Library, but do not describe when
47574         differences between them are significant.
47576 2012-03-05  Andreas Jaeger  <aj@suse.de>
47578         * sysdeps/i386/fpu/libm-test-ulps: Update.
47580 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47582         [BZ #3976]
47583         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47584         (__ieee754_pow): Save and restore rounding mode and use
47585         round-to-nearest for main computations.
47586         * math/libm-test.inc (pow_test_tonearest): New function.
47587         (pow_test_towardzero): Likewise.
47588         (pow_test_downward): Likewise.
47589         (pow_test_upward): Likewise.
47590         (main): Call the new functions.
47591         * sysdeps/i386/fpu/libm-test-ulps: Update.
47592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47594         [BZ #3976]
47595         * math/libm-test.inc (cosh_test_tonearest): New function.
47596         (cosh_test_towardzero): Likewise.
47597         (cosh_test_downward): Likewise.
47598         (cosh_test_upward): Likewise.
47599         (sinh_test_tonearest): Likewise.
47600         (sinh_test_towardzero): Likewise.
47601         (sinh_test_downward): Likewise.
47602         (sinh_test_upward): Likewise.
47603         (main): Call the new functions.
47604         * sysdeps/i386/fpu/libm-test-ulps: Update.
47605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47607 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47609         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47610         default stack guard is set in last bytes.
47611         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47613 2012-03-05  Kees Cook  <keescook@chromium.org>
47615         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47617         [BZ #13656]
47618         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47619         possibly allocate from heap instead of stack.
47620         * stdio-common/bug-vfprintf-nargs.c: New file.
47621         * stdio-common/Makefile (tests): Add nargs overflow test.
47623 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47627 2012-03-03  Marek Polacek  <polacek@redhat.com>
47629         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47630         * math/math_private.h: Likewise.
47631         * stdlib/tst-strtod.c: Likewise.
47632         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47633         * sysdeps/x86_64/bits/atomic.h: Likewise.
47635 2012-03-02  David S. Miller  <davem@davemloft.net>
47637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47641         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47642         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47643         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47644         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47646 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47648         [BZ #13792]
47649         * manual/examples/README: New file, says the example source files
47650         can be used under GPL>=2.
47651         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47652         line containing just "*/".
47653         * manual/examples/add.c: Add copyright header (GPL>=2).
47654         * manual/examples/argp-ex1.c: Likewise.
47655         * manual/examples/argp-ex2.c: Likewise.
47656         * manual/examples/argp-ex3.c: Likewise.
47657         * manual/examples/argp-ex4.c: Likewise.
47658         * manual/examples/atexit.c: Likewise.
47659         * manual/examples/db.c: Likewise.
47660         * manual/examples/dir.c: Likewise.
47661         * manual/examples/dir2.c: Likewise.
47662         * manual/examples/execinfo.c: Likewise.
47663         * manual/examples/filecli.c: Likewise.
47664         * manual/examples/filesrv.c: Likewise.
47665         * manual/examples/fmtmsgexpl.c: Likewise.
47666         * manual/examples/genpass.c: Likewise.
47667         * manual/examples/inetcli.c: Likewise.
47668         * manual/examples/inetsrv.c: Likewise.
47669         * manual/examples/isockad.c: Likewise.
47670         * manual/examples/longopt.c: Likewise.
47671         * manual/examples/memopen.c: Likewise.
47672         * manual/examples/memstrm.c: Likewise.
47673         * manual/examples/mkfsock.c: Likewise.
47674         * manual/examples/mkisock.c: Likewise.
47675         * manual/examples/mygetpass.c: Likewise.
47676         * manual/examples/pipe.c: Likewise.
47677         * manual/examples/popen.c: Likewise.
47678         * manual/examples/rprintf.c: Likewise.
47679         * manual/examples/search.c: Likewise.
47680         * manual/examples/select.c: Likewise.
47681         * manual/examples/setjmp.c: Likewise.
47682         * manual/examples/sigh1.c: Likewise.
47683         * manual/examples/sigusr.c: Likewise.
47684         * manual/examples/stpcpy.c: Likewise.
47685         * manual/examples/strdupa.c: Likewise.
47686         * manual/examples/strftim.c: Likewise.
47687         * manual/examples/strncat.c: Likewise.
47688         * manual/examples/subopt.c: Likewise.
47689         * manual/examples/swapcontext.c: Likewise.
47690         * manual/examples/termios.c: Likewise.
47691         * manual/examples/testopt.c: Likewise.
47692         * manual/examples/testpass.c: Likewise.
47693         * manual/examples/timeval_subtract.c: Likewise.
47695         [BZ #13792]
47696         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47697         function to ...
47698         * manual/timeval_subtract.c.texi: ... here, new file.
47700 2012-03-02  David S. Miller  <davem@davemloft.net>
47702         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47704 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47706         [BZ #3976]
47707         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47708         (__sin): Save and restore rounding mode and use round-to-nearest
47709         for all computations.
47710         (__cos): Save and restore rounding mode and use round-to-nearest
47711         for all computations.
47712         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47713         <fenv.h>.
47714         (tan): Save and restore rounding mode and use round-to-nearest for
47715         all computations.
47716         * math/libm-test.inc (cos_test_tonearest): New function.
47717         (cos_test_towardzero): Likewise.
47718         (cos_test_downward): Likewise.
47719         (cos_test_upward): Likewise.
47720         (sin_test_tonearest): Likewise.
47721         (sin_test_towardzero): Likewise.
47722         (sin_test_downward): Likewise.
47723         (sin_test_upward): Likewise.
47724         (tan_test_tonearest): Likewise.
47725         (tan_test_towardzero): Likewise.
47726         (tan_test_downward): Likewise.
47727         (tan_test_upward): Likewise.
47728         (main): Call the new functions.
47729         * sysdeps/i386/fpu/libm-test-ulps: Update.
47730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47732         [BZ #10135]
47733         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47734         small n, then large n, before computing and testing k+n.
47735         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47736         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47737         Likewise.
47738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47739         Likewise.
47740         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47741         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47742         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47743         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47744         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47745         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47746         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47747         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47748         * math/libm-test.inc (scalbn_test): Add more tests.
47749         (scalbln_test): Likewise.
47751         * manual/filesys.texi (mode_t): Describe constraints on size and
47752         signedness, not exact equivalence to a particular type.
47753         (ino_t): Likewise.
47754         (ino64_t): Likewise.
47755         (dev_t): Likewise.
47756         (nlink_t): Likewise.
47757         (blkcnt_t): Likewise.
47758         (blkcnt64_t): Likewise.
47759         * manual/llio.texi (off_t): Likewise.
47761         [BZ #3976]
47762         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47763         (__ieee754_exp): Save and restore rounding mode and use
47764         round-to-nearest for all computations.
47765         * math/libm-test.inc (exp_test_tonearest): New function.
47766         (exp_test_towardzero): Likewise.
47767         (exp_test_downward): Likewise.
47768         (exp_test_upward): Likewise.
47769         (main): Call the new functions.
47770         * sysdeps/i386/fpu/libm-test-ulps: Update.
47771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47773 2012-03-01  Chris Demetriou  <cgd@google.com>
47775         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47776         have predictable order.
47778 2012-03-01  David S. Miller  <davem@davemloft.net>
47780         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47782         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47783         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47784         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47785         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47787         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47788         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47789         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47791         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47792         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47793         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47794         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47795         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47799         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47800         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47801         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47803         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47804         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47805         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47806         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47807         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47808         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47809         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47810         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47811         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47812         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47813         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47814         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47815         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47816         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47817         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47818         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47819         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47820         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47821         * sysdeps/sparc/elf/configure: Regenerated.
47823 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47825         * configure.in (AS, LD): Require binutils 2.20 or later.
47826         * configure: Regenerated.
47827         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47828         as required minimum version.
47829         * INSTALL: Regenerated.
47831         [BZ #2541]
47832         [BZ #4108]
47833         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47834         before squaring exponent.
47835         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47836         bottom long double and 27 bits of top long double before squaring
47837         exponent.
47838         * math/libm-test.inc (erfc_test): Add more tests.
47839         * sysdeps/i386/fpu/libm-test-ulps: Update.
47840         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47843 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47845         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47846         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47847         containing bit-fields.
47848         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47849         * soft-fp/single.h (_FP_UNION_S): Likewise.
47850         * soft-fp/double.h (_FP_UNION_D): Likewise.
47852 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47854         [BZ #13786]
47855         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47856         not include ../strcmp.S.
47857         [USE_AS_STRNCASECMP_L]: Likewise.
47858         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47859         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47860         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47861         (__strncasecmp_l_ia32): Define as alias to
47862         __strncasecmp_l_nonascii.
47864         [BZ #5794]
47865         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47866         * sysdeps/i386/fpu/libm-test-ulps: Update.
47867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47869         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47872 2012-02-29  Jeff Law  <law@redhat.com>
47874         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47875         out of bounds read.
47877 2012-02-29  Marek Polacek  <polacek@redhat.com>
47879         [BZ #13706]
47880         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47881         * elf/Makefile: Add rules to run tst-unused-dep.out.
47883 2012-02-28  David S. Miller  <davem@davemloft.net>
47885         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47886         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47889         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47890         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47892 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47894         * math/libm-test.inc (llround_test): Move one test from
47895         lround_test.  Use TEST_f_L in moved test.
47896         (lround_test): Move misplaced test to llround_test.  Add testcase
47897         from bug 2561.
47899 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47901         * sysdeps/x86_64/fpu/e_expf.S: New file.
47902         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47904 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47906         [BZ #13637]
47907         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47908         of remain_len that may cause incomplete multi-byte character and
47909         false match.
47910         * posix/bug-regex33.c: New file.
47911         * posix/Makefile (tests): Add bug-regex33.
47913 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47915         * manual/macros.texi: New file.
47916         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47917         * manual/libc.texinfo: Include macros.texi.
47918         * manual/creatute.texi: Likewise.
47919         * manual/install.texi: Likewise.
47920         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47921         @glibcadj{} in references to the GNU C Library.
47922         * manual/charset.texi: Likewise.
47923         * manual/conf.texi: Likewise.
47924         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47925         when not using those macros.
47926         * manual/creature.texi: Likewise.
47927         * manual/crypt.texi: Likewise.
47928         * manual/errno.texi: Likewise.
47929         * manual/filesys.texi: Likewise.
47930         * manual/header.texi: Likewise.
47931         * manual/install.texi: Likewise.
47932         * manual/intro.texi: Likewise.
47933         * manual/io.texi: Likewise.
47934         * manual/job.texi: Likewise.
47935         * manual/lang.texi: Likewise.
47936         * manual/libc.texiinfo: Likewise.
47937         * manual/llio.texi: Likewise.
47938         * manual/locale.texi: Likewise.
47939         * manual/maint.texi: Likewise.
47940         * manual/math.texi: Likewise.
47941         * manual/memory.texi: Likewise.
47942         * manual/message.texi: Likewise.
47943         * manual/nss.texi: Likewise.
47944         * manual/pattern.texi: Likewise.
47945         * manual/process.texi: Likewise.
47946         * manual/resource.texi: Likewise.
47947         * manual/search.texi: Likewise.
47948         * manual/setjmp.texi: Likewise.
47949         * manual/signal.texi: Likewise.
47950         * manual/socket.texi: Likewise.
47951         * manual/startup.texi: Likewise.
47952         * manual/stdio.texi: Likewise.
47953         * manual/string.texi: Likewise.
47954         * manual/sysinfo.texi: Likewise.
47955         * manual/syslog.texi: Likewise.
47956         * manual/terminal.texi: Likewise.
47957         * manual/time.texi: Likewise.
47958         * manual/users.texi: Likewise.
47959         * INSTALL: Regenerated.
47960         * NOTES: Regenerated.
47961         * sysdeps/gnu/errlist.c: Regenerated.
47963 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47965         * include/dirent.h: Include <dirstream.h> before
47966         <dirent/dirent.h>.
47968 2012-02-28  David S. Miller  <davem@davemloft.net>
47970         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47971         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47972         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47973         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47975 2012-02-27  David S. Miller  <davem@davemloft.net>
47977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47979         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47980         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47983         frame pointer instead of stack pointer relative arg slot.
47984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47985         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47986         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47988 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47990         [BZ #3992]
47991         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47993 2012-02-27  David S. Miller  <davem@davemloft.net>
47995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47999         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48000         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48001         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48002         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48004 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48006         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48007         later.  Allow versions 5-9.
48008         * configure: Regenerated.
48009         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48010         required minimum version and 4.6 as recommended version.  Do not
48011         mention bugs in GCC 2.7 and 2.8.
48012         * INSTALL: Regenerated.
48014 2012-02-27  David S. Miller  <davem@davemloft.net>
48016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48020         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48021         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48022         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48023         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48026         manipulate bits before adding and subtracting TWO112[sx].
48027         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48029 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48031         [BZ #13775]
48032         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48033         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48034         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48035         being in POSIX, because they are in 1003.1-2008.
48037         * rt/tst-aio.c: Include <fcntl.h>.
48038         * rt/tst-aio7.c: Likewise.
48039         * rt/tst-aio64.c: Likewise.
48041         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48043 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48045         * manual/install.texi (--with-headers): Describe headers as
48046         interface headers, not private headers.
48047         (Specific advice for GNU/Linux systems): Describe use of headers
48048         from "make headers_install", not private headers from older
48049         kernels.
48050         * INSTALL: Regenerated.
48051         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48052         Change to 2.6.19.
48053         * sysdeps/unix/sysv/linux/configure: Regenerated.
48055         * manual/llio.texi (fclean): Remove documentation.
48057         * manual/Makefile (libc-texi-generated): New variable.  Include
48058         version.texi.
48059         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48060         $(libc-texi-generated), not duplicated list of files.
48061         (version.texi, stamp-version): New rules.
48062         (realclean): Remove $(libc-texi-generated), not individual files
48063         from that list.  Do not remove dir-add.texinfo.
48064         * manual/libc.texinfo: Comment out uses of edition numbers and
48065         references to printed manual.  Remove last-updated dates.
48066         (EDITION): Comment out.
48067         (ISBN): Likewise.
48068         (VERSION, UPDATED): Remove.
48069         (version.texi): Include.
48071 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48073         * sysdeps/posix/spawni.c: Include <signal.h>.
48074         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48075         * sysdeps/pthread/aio_fsync.c: Likewise.
48077 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48079         * conform/Makefile (tests): Run only when not cross-compiling and
48080         when fast-check is not defined.
48082         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48083         * conform/data/limits.h-data: Fixes for POSIX2008.
48084         * conform/run-conformtest.sh: Run all tests.
48085         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48086         headers.
48087         * include/bits/dlfcn.h: Likewise.
48088         * include/langinfo.h: Likewise.
48089         * include/monetary.h: Likewise.
48090         * include/sys/poll.h: Likewise.
48092         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48093         for __USE_GNU.
48094         * posix/spawn.h: Define __need_sigset_t.
48095         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48096         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48097         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48098         to get sigevent_t only.
48099         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48100         only for __USE_GNU.
48101         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48102         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48103         process_vm_writev only for __USE_GNU.
48104         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48106         * conform/Makefile: For now ignore errors from run-conformtest.
48107         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48108         POSIX to avoid namespace pollution.  Don't prepend headers.
48109         * conform/data/aio.h-data: Fixes for POSIX testing.
48110         * conform/data/fcntl.h-data: Likewise.
48111         * conform/data/glob.h-data: Likewise.
48112         * conform/data/grp.h-data: Likewise.
48113         * conform/data/pthread.h-data: Likewise.
48114         * conform/data/pwd.h-data: Likewise.
48115         * conform/data/signal.h-data: Likewise.
48116         * conform/data/spawn.h-data: Likewise.
48117         * conform/data/stdio.h-data: Likewise.
48118         * conform/data/stdlib.h-data: Likewise.
48119         * conform/data/stropts.h-data: Likewise.
48120         * conform/data/sys/mman.h-data: Likewise.
48121         * conform/data/sys/stat.h-data: Likewise.
48122         * conform/data/sys/types.h-data: Likewise.
48123         * conform/data/sys/wait.h-data: Likewise.
48124         * conform/data/time.h-data: Likewise.
48125         * conform/data/unistd.h-data: Likewise.
48126         * conform/data/utime.h-data: Likewise.
48128         * io/sys/stat.h: fchmod was always in POSIX.
48129         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48130         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48131         * rt/aio.h: Define __need_timespec before including <time.h>.
48132         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48133         struct.  Add forward declaration of pthread_attr_t and use it in
48134         sigevent.
48135         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48136         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48137         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48138         always remove CLK_TCK definition.
48140 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48142         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48144 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48146         * conform/run-conformtest.sh: New file.
48147         * conform/Makefile: Run run-conformtest for tests.
48148         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48149         support.
48151         * conform/data/uchar.h-data: New file.
48152         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48153         * conform/data/arpa/inet.h-data: Likewise.
48154         * conform/data/assert.h-data: Likewise.
48155         * conform/data/complex.h-data: Likewise.
48156         * conform/data/cpio.h-data: Likewise.
48157         * conform/data/ctype.h-data: Likewise.
48158         * conform/data/dirent.h-data: Likewise.
48159         * conform/data/dlfcn.h-data: Likewise.
48160         * conform/data/errno.h-data: Likewise.
48161         * conform/data/fcntl.h-data: Likewise.
48162         * conform/data/float.h-data: Likewise.
48163         * conform/data/fmtmsg.h-data: Likewise.
48164         * conform/data/fnmatch.h-data: Likewise.
48165         * conform/data/ftw.h-data: Likewise.
48166         * conform/data/glob.h-data: Likewise.
48167         * conform/data/grp.h-data: Likewise.
48168         * conform/data/iconv.h-data: Likewise.
48169         * conform/data/inttypes.h-data: Likewise.
48170         * conform/data/langinfo.h-data: Likewise.
48171         * conform/data/libgen.h-data: Likewise.
48172         * conform/data/limits.h-data: Likewise.
48173         * conform/data/locale.h-data: Likewise.
48174         * conform/data/math.h-data: Likewise.
48175         * conform/data/monetary.h-data: Likewise.
48176         * conform/data/mqueue.h-data: Likewise.
48177         * conform/data/ndbm.h-data: Likewise.
48178         * conform/data/net/if.h-data: Likewise.
48179         * conform/data/netdb.h-data: Likewise.
48180         * conform/data/netinet/in.h-data: Likewise.
48181         * conform/data/nl_types.h-data: Likewise.
48182         * conform/data/poll.h-data: Likewise.
48183         * conform/data/pthread.h-data: Likewise.
48184         * conform/data/pwd.h-data: Likewise.
48185         * conform/data/regex.h-data: Likewise.
48186         * conform/data/sched.h-data: Likewise.
48187         * conform/data/search.h-data: Likewise.
48188         * conform/data/semaphore.h-data: Likewise.
48189         * conform/data/setjmp.h-data: Likewise.
48190         * conform/data/signal.h-data: Likewise.
48191         * conform/data/spawn.h-data: Likewise.
48192         * conform/data/stdarg.h-data: Likewise.
48193         * conform/data/stdio.h-data: Likewise.
48194         * conform/data/stdlib.h-data: Likewise.
48195         * conform/data/string.h-data: Likewise.
48196         * conform/data/strings.h-data: Likewise.
48197         * conform/data/stropts.h-data: Likewise.
48198         * conform/data/sys/ipc.h-data: Likewise.
48199         * conform/data/sys/mman.h-data: Likewise.
48200         * conform/data/sys/msg.h-data: Likewise.
48201         * conform/data/sys/resource.h-data: Likewise.
48202         * conform/data/sys/select.h-data: Likewise.
48203         * conform/data/sys/sem.h-data: Likewise.
48204         * conform/data/sys/shm.h-data: Likewise.
48205         * conform/data/sys/socket.h-data: Likewise.
48206         * conform/data/sys/stat.h-data: Likewise.
48207         * conform/data/sys/statvfs.h-data: Likewise.
48208         * conform/data/sys/time.h-data: Likewise.
48209         * conform/data/sys/timeb.h-data: Likewise.
48210         * conform/data/sys/times.h-data: Likewise.
48211         * conform/data/sys/types.h-data: Likewise.
48212         * conform/data/sys/uio.h-data: Likewise.
48213         * conform/data/sys/un.h-data: Likewise.
48214         * conform/data/sys/utsname.h-data: Likewise.
48215         * conform/data/sys/wait.h-data: Likewise.
48216         * conform/data/syslog.h-data: Likewise.
48217         * conform/data/tar.h-data: Likewise.
48218         * conform/data/termios.h-data: Likewise.
48219         * conform/data/utime.h-data: Likewise.
48220         * conform/data/utmpx.h-data: Likewise.
48221         * conform/data/varargs.h-data: Likewise.
48222         * conform/data/wchar.h-data: Likewise.
48223         * conform/data/wctype.h-data: Likewise.
48224         * conform/data/wordexp.h-data: Likewise.
48226         * include/stropts.h: New file.
48227         * include/uchar.h: New file.
48228         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48229         * include/assert.h: Likewise.
48230         * include/ctype.h: Likewise.
48231         * include/dirent.h: Likewise.
48232         * include/dlfcn.h: Likewise.
48233         * include/fcntl.h: Likewise.
48234         * include/fnmatch.h: Likewise.
48235         * include/glob.h: Likewise.
48236         * include/grp.h: Likewise.
48237         * include/libio.h: Likewise.
48238         * include/locale.h: Likewise.
48239         * include/math.h: Likewise.
48240         * include/net/if.h: Likewise.
48241         * include/netdb.h: Likewise.
48242         * include/netinet/in.h: Likewise.
48243         * include/pthread.h: Likewise.
48244         * include/pwd.h: Likewise.
48245         * include/regex.h: Likewise.
48246         * include/sched.h: Likewise.
48247         * include/search.h: Likewise.
48248         * include/setjmp.h: Likewise.
48249         * include/signal.h: Likewise.
48250         * include/stdio.h: Likewise.
48251         * include/stdlib.h: Likewise.
48252         * include/string.h: Likewise.
48253         * include/sys/cdefs.h: Likewise.
48254         * include/sys/mman.h: Likewise.
48255         * include/sys/msg.h: Likewise.
48256         * include/sys/resource.h: Likewise.
48257         * include/sys/select.h: Likewise.
48258         * include/sys/socket.h: Likewise.
48259         * include/sys/stat.h: Likewise.
48260         * include/sys/statvfs.h: Likewise.
48261         * include/sys/time.h: Likewise.
48262         * include/sys/times.h: Likewise.
48263         * include/sys/uio.h: Likewise.
48264         * include/sys/utsname.h: Likewise.
48265         * include/sys/wait.h: Likewise.
48266         * include/termios.h: Likewise.
48267         * include/time.h: Likewise.
48268         * include/ulimit.h: Likewise.
48269         * include/unistd.h: Likewise.
48270         * include/utime.h: Likewise.
48271         * include/wchar.h: Likewise.
48272         * include/wctype.h: Likewise.
48273         * include/wordexp.h: Likewise.
48275         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48277         * time/time.h: TIME_UTC must be a macro.
48278         Make timespec_get available for ISO C11 only as well.
48280 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48282         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48283         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48285 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48287         * configure.in: Use -o not -a in test for unsupported multi-arch.
48289 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48291         * manual/texinfo.tex: Update to version 2012-01-19.16.
48293 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48295         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48297 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48299         [BZ #13738]
48300         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48301         * manual/fdl-1.3.texi: New file.
48302         * manual/fdl-1.1.texi: File removed.
48304         [BZ #13738]
48305         * manual/libc.texinfo (FDL_VERSION): New @set.
48306         Use it for mention of FDL in cover text.
48307         (Documentation License): Use it in @include file name.
48309 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48310             Roland McGrath  <roland@hack.frob.com>
48312         [BZ #5461]
48313         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48314         (not LONG_LONG_MAX and LONG_LONG_MIN.
48315         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48316         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48317         name.
48318         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48320 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48322         [BZ #2547]
48323         [BZ #11365]
48324         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48325         manipulate bits before adding and subtracting TWO23[sx].
48326         * math/libm-test.inc (nearbyint_test): Add more tests.
48328 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48330         [BZ #2548]
48331         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48332         bits before adding and subtracting TWO23[sx].
48333         * math/libm-test.inc (rint_test): Add more tests.
48334         (rint_test_tonearest): Likewise.
48335         (rint_test_towardzero): Likewise.
48336         (rint_test_downward): Likewise.
48337         (rint_test_upward: Likewise.
48339 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48341         [BZ #10110]
48342         * include/stdc-predef.h: New file.  Extracted from features.h.
48343         * include/features.h: Include stdc-predef.h.
48344         * Makefile (headers): Add stdc-predef.h.
48345         * CONFORMANCE (Compiler limitations): Update.
48347 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48349         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48351 2012-02-21  David S. Miller  <davem@davemloft.net>
48353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48354         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48356 2012-02-20  David S. Miller  <davem@davemloft.net>
48358         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48359         using a normal save/restore sequence, rather than allocating a
48360         dummy stack frame just to store a frame pointer and restore.
48361         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48363 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48365         * manual/install.texi: Fix stray word in line-wrapped comment.
48367 2012-02-20  David S. Miller  <davem@davemloft.net>
48369         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48370         both binutils and gcc support GOTDATA.
48372         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48373         "rd %pc" in the PIC register setup sequences.
48375         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48376         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48377         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48378         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48379         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48380         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48381         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48382         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48383         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48384         (SYSCALL_ERROR_HANDLER): Likewise.
48385         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48386         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48388         (SYSCALL_ERROR_HANDLER): Likewise.
48390         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48391         (HAVE_GCC_GOTDATA): New.
48392         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48393         relocation support in both binutils and gcc.
48394         * sysdeps/sparc/elf/configure: Regenerate.
48396         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48397         * sysdeps/sparc/sparc32/elf/configure: Delete.
48398         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48399         * sysdeps/sparc/sparc64/elf/configure: Delete.
48400         * sysdeps/sparc/elf/configure.in: New file.
48401         * sysdeps/sparc/elf/configure: Generate.
48403         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48404         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48405         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48406         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48407         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48409 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48411         * manual/install.texi: Do not mention specific glibc version
48412         numbers.
48413         * manual/libc.texinfo (VERSION, UPDATED): Update.
48414         (@copying): Use @copyright{} and range of years.
48416 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48418         [BZ #13695]
48419         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48420         [crti.S not in sysdirs] (generated): Do not append.
48421         [crti.S not in sysdirs] (omit-deps): Likewise.
48422         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48423         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48424         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48425         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48426         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48427         Likewise.
48428         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48429         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48430         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48431         * csu/defs.awk: Remove file.
48432         * sysdeps/generic/initfini.c: Likewise.
48433         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48434         variable.
48435         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48436         Likewise.
48438 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48440         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48441         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48442         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48443         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48444         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48445         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48446         <bits/epoll.h>.
48447         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48448         (__EPOLL_PACKED): Define to empty if not defined by
48449         <bits/epoll.h>.
48450         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48452         bits/epoll.h.
48454 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48456         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48457         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48458         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48459         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48460         <bits/timerfd.h>.
48461         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48463         bits/timerfd.h.
48465 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48467         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48468         in C locale.
48469         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48470         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48471         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48474 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48476         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48477         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48479 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48481         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48482         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48483         defined.
48484         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48485         Likewise.
48486         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48487         entry for 2.16.
48489 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48491         * math/w_acos.c: Use non-signaling floating-point comparisons.
48492         * math/w_acosf.c: Likewise.
48493         * math/w_acosh.c: Likewise.
48494         * math/w_acoshf.c: Likewise.
48495         * math/w_acoshl.c: Likewise.
48496         * math/w_acosl.c: Likewise.
48497         * math/w_asin.c: Likewise.
48498         * math/w_asinf.c: Likewise.
48499         * math/w_asinl.c: Likewise.
48500         * math/w_atanh.c: Likewise.
48501         * math/w_atanhf.c: Likewise.
48502         * math/w_atanhl.c: Likewise.
48503         * math/w_exp2.c: Likewise.
48504         * math/w_exp2f.c: Likewise.
48505         * math/w_exp2l.c: Likewise.
48506         * math/w_j0.c: Likewise.
48507         * math/w_j0f.c: Likewise.
48508         * math/w_j0l.c: Likewise.
48509         * math/w_j1.c: Likewise.
48510         * math/w_j1f.c: Likewise.
48511         * math/w_j1l.c: Likewise.
48512         * math/w_jn.c: Likewise.
48513         * math/w_jnf.c: Likewise.
48514         * math/w_log.c: Likewise.
48515         * math/w_log10.c: Likewise.
48516         * math/w_log10f.c: Likewise.
48517         * math/w_log10l.c: Likewise.
48518         * math/w_log2.c: Likewise.
48519         * math/w_log2f.c: Likewise.
48520         * math/w_log2l.c: Likewise.
48521         * math/w_logf.c: Likewise.
48522         * math/w_logl.c: Likewise.
48523         * math/w_sqrt.c: Likewise.
48524         * math/w_sqrtf.c: Likewise.
48525         * math/w_sqrtl.c: Likewise.
48526         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48527         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48528         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48529         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48530         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48532 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48534         [BZ #9739]
48535         * manual/string.texi (strnlen): Use correct parameter name in
48536         equivalent expression.
48538 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48540         [BZ #11174]
48541         * manual/users.texi (seteuid): Consistently use neweuid for
48542         argument name.
48544 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48546         [BZ #13704]
48547         * manual/nss.texi (Services in the NSS configuration): Correct
48548         list of services in example configuration file.
48550 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48552         [BZ #11322]
48553         * manual/arith.texi: Remove statements about negative zero
48554         behaving identically to zero.
48556 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48558         [BZ #5993]
48559         * manual/install.texi: Do not document upgrading from libc5.
48561 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48563         [BZ #4596]
48564         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48566 2012-02-18  David S. Miller  <davem@davemloft.net>
48568         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48569         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48570         %o7 across the call.
48571         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48572         instead.
48573         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48574         SETUP_PIC_REG_LEAF.
48575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48576         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48577         * sysdeps/sparc/crtn.S: Likewise.
48579 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48581         * aout/Makefile: Remove.
48583 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48585         [BZ #13058]
48586         * manual/examples/argp-ex1.c (main): Format definition in GNU
48587         style.
48588         * manual/examples/argp-ex2.c (main): Likewise.
48589         * manual/examples/argp-ex3.c (main): Likewise.
48590         * manual/examples/argp-ex4.c (main): Likewise.
48591         * manual/examples/longopt.c (main): Use new-style prototype
48592         definition.
48593         * manual/examples/strncat.c (main): Specify return type and use
48594         (void) for arguments.
48595         * manual/examples/subopt.c (main): Use char **argv argument.
48597 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48599         [BZ #5077]
48600         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48601         rounding modes.
48603 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48605         [BZ #6907]
48606         * manual/string.texi (strchr): Change when strchrnul is
48607         recommended.
48609 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48611         [BZ #174]
48612         * manual/locale.texi (setlocale): Document LOCPATH.
48614 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48616         [BZ #10210]
48617         * manual/process.texi (execle): Move @dots{} before last argument.
48619 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48621         [BZ #12047]
48622         * manual/charset.texi (Generic Charset Conversion): Fix typo
48623         (LC_TYPE -> LC_CTYPE).
48625 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48627         [BZ #5805]
48628         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48629         (scalbnf): Likewise.
48630         (scalbnl): Likewise.
48631         (scalbln): Likewise.
48632         (scalblnf): Likewise.
48633         (scalblnl): Likewise.
48634         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48635         (vwarnx): Likewise.
48636         (verr): Likewise.
48637         (verrx): Likewise.
48638         * manual/filesys.texi (telldir): Use braces around return type.
48639         * manual/llio.texi (mmap): Add space after comma.
48640         (mmap64): Likewise.
48641         * manual/math.texi (jn): Use @var{} on parameter names.
48642         (jnf): Likewise.
48643         (jnl): Likewise.
48644         (yn): Likewise.
48645         (ynf): Likewise.
48646         (ynl): Likewise.
48647         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48648         line.
48649         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48650         "...".
48651         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48652         (sched_get_priority_max): Likewise.
48653         * manual/signal.texi (sigvec): Add space after comma.
48654         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48655         names.
48656         (if_indextoname): Likewise.
48657         (if_freenameindex): Likewise.
48658         (sendto): Use ',' instead of '.' in prototype.
48659         * manual/startup.texi (syscall): Use @dots{} instead of literal
48660         "...".
48661         * manual/stdio.texi (__fpending): Separate initial words of
48662         paragraph from @deftypefun line.
48663         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48664         "...".
48665         (vsyslog): Use @var{} on parameter names.
48666         * manual/terminal.texi (stty): Use @var{} on parameter names.
48667         * manual/users.texi (getutmp): Use @var{} on parameter names.
48668         (getutmpx): Likewise.
48670 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48672         [BZ #6884]
48673         * manual/stdio.texi (fopen): Fix typos in description of
48674         ",ccs=STRING".
48676 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48678         [BZ #4026]
48679         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48680         get clock_id definition.
48682 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48684         [BZ #4822]
48685         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48686         (madvise): Cast every argument to void on its own.
48688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48690         [BZ #9902]
48691         * manual/startup.texi (Exit Status): Fix typo.
48693 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48695         [BZ #10140]
48696         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48697         * manual/examples/argp-ex2.c: Likewise.
48698         * manual/examples/argp-ex3.c: Likewise.
48700 2012-02-16  Richard Henderson  <rth@redhat.com>
48702         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48703         * sysdeps/s390/s390-32/initfini.c: Remove.
48704         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48705         * sysdeps/s390/s390-64/initfini.c: Remove.
48707 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48709         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48710         compiler output for sysdeps/generic/initfini.c.
48711         * sysdeps/sh/elf/initfini.c: Remove file.
48713 2012-02-16  David S. Miller  <davem@davemloft.net>
48715         [BZ #11494]
48716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48718         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48719         * sysdeps/sparc/crti.S: New file.
48720         * sysdeps/sparc/crtn.S: New file.
48721         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48722         * sysdeps/sparc/sparc64/Makefile: Likewise.
48724 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48726         [BZ #3335]
48727         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48729 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48731         [BZ #4822]
48732         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48734         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48735         (write, read, close): Likewise.
48736         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48738 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48740         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48741         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48742         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48743         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48744         <bits/signalfd.h>.
48745         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48747         bits/signalfd.h.
48749 2012-02-14  Marek Polacek  <polacek@redhat.com>
48751         * sysdeps/x86_64/crti.S: New file.
48752         * sysdeps/x86_64/crtn.S: New file.
48753         * sysdeps/x86_64/elf/initfini.c: Remove file.
48755 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48757         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48758         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48759         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48760         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48761         <bits/inotify.h>.
48762         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48764         bits/inotify.h.
48766 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48768         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48769         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48770         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48771         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48772         <bits/eventfd.h>.
48773         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48775         bits/eventfd.h.
48777 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48779         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48780         __feraiseexcept instead of feraiseexcept.
48782         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48783         nanosleep invocations.
48784         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48785         strings, and add error checking for a nanosleep invocations.
48787 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48789         Replace FSF snail mail address with URLs, as per GNU coding standards.
48790         Most of the snail mail addresses were wrong anyway, and omitting
48791         them makes the source code easier to maintain.  Almost all of the
48792         changes are to license notices and to locale LC_IDENTIFICATION
48793         addresses, except for this one:
48794         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48795         not its snail mail address.
48797 2012-02-09  Richard Henderson  <rth@twiddle.net>
48799         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48800         of kernel-features.h.
48802         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48804 2012-02-08  Marek Polacek  <polacek@redhat.com>
48806         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48807         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48808         * sysdeps/gnu/_G_config.h: Likewise.
48809         * sysdeps/generic/_G_config.h: Likewise.
48811 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48813         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48814         tests.
48815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48817         * sysdeps/powerpc/powerpc32/crti.S: New file.
48818         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48819         * sysdeps/powerpc/powerpc64/crti.S: New file.
48820         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48822         * Makeconfig (have-initfini): Don't set.
48823         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48824         * configure.in (nopic_initfini): Don't substitute.
48825         * config.h.in (HAVE_INITFINI): Don't #undef.
48826         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48827         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48829 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48831         Support crti.S and crtn.S provided directly by architectures.
48832         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48833         [crti.S in sysdirs] (omit-deps): Likewise.
48834         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48835         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48836         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48837         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48838         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48839         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48840         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48841         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48842         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48843         compiler output for sysdeps/generic/initfini.c.
48844         * sysdeps/i386/elf/Makefile: Remove file.
48845         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48847 2012-02-07  Marek Polacek  <polacek@redhat.com>
48849         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48850         * sysdeps/gnu/_G_config.h: Likewise.
48851         * sysdeps/mach/hurd/_G_config.h: Likewise.
48853 2012-02-07  Marek Polacek  <polacek@redhat.com>
48855         * math/Makefile (tests): Add tst-CMPLX2.
48856         * math/tst-CMPLX2.c: New file.
48858 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48860         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48862         * math/libm-test.inc (jn_test): Add missing L suffix.
48864 2012-02-06  Marek Polacek  <polacek@redhat.com>
48866         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48867         * sysdeps/i386/fpu/e_powf.S: Likewise.
48868         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48869         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48870         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48871         * sysdeps/i386/fpu/e_pow.S: Likewise.
48872         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48873         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48874         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48875         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48876         * sysdeps/i386/fpu/e_log2.S: Likewise.
48877         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48878         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48879         * sysdeps/i386/fpu/e_powl.S: Likewise.
48880         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48881         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48882         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48883         * sysdeps/i386/fpu/e_logl.S: Likewise.
48884         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48885         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48886         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48887         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48888         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48889         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48890         * sysdeps/i386/fpu/e_log.S: Likewise.
48891         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48892         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48893         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48894         * sysdeps/i386/fpu/e_logf.S: Likewise.
48895         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48896         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48897         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48898         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48899         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48900         * sysdeps/i386/fpu/e_log10.S: Likewise.
48901         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48902         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48903         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48904         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48905         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48906         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48907         * sysdeps/i386/asm-syntax.h: Likewise.
48908         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48909         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48910         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48911         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48912         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48913         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48914         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48915         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48916         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48917         * sysdeps/powerpc/sysdep.h: Likewise.
48918         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48919         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48921 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48923         [BZ #411]
48924         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48926 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48928         * sysdeps/i386/sysdep.h: Include <features.h>.
48929         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48930         version.
48932 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48934         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48935         Define.
48936         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48937         LOAD_PIC_REG_STR.
48939 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48941         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48942         (SETUP_PIC_REG): Use GET_PC_THUNK.
48943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48944         macro.
48946 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48948         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48949         for non-PIC compilation.
48950         (SETUP_PIC_REG): Add .p2align directive.
48951         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48952         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48953         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48954         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48955         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48956         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48957         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48958         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48959         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48960         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48961         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48962         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48963         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48964         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48965         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48966         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48967         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48968         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48969         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48970         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48971         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48972         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48973         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48974         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48977         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48978         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48979         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48980         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48981         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48982         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48984         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48985         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48986         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48987         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48988         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48989         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48990         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48991         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48993 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48995         * math/tst-CMPLX.c: Include <stdio.h>.
48997 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48999         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49000         float.
49001         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49002         * sysdeps/sparc/bits/mathdef.h: Likewise.
49004 2012-01-31  Marek Polacek  <polacek@redhat.com>
49006         * libio/libio.h: Don't define _PARAMS.
49007         * locale/programs/config.h: Don't define PARAMS.
49008         * stdlib/strtol_l.c: Likewise.
49009         (__strtol_l): Remove PARAMS from the prototype.
49011 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49013         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49014         names.  Just use the correct names.  Remove unnecessary wrapper
49015         functions.
49016         * malloc/arena.c: Likewise.
49017         * malloc/hooks.c: Likewise.
49019         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49020         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49021         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49023 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49025         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49026         into tail calls.
49027         (update_get_addr): New function.
49028         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49029         GET_ADDR_MODULE parameter.
49031 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49033         * crypt/cert.c: Remove __STDC__ conditionals.
49034         * crypt/crypt-entry.c: Likewise.
49035         * crypt/crypt_util.c: Likewise.
49036         * libio/filedoalloc.c: Likewise.
49037         * libio/fileops.c: Likewise.
49038         * libio/genops.c: Likewise.
49039         * libio/iofclose.c: Likewise.
49040         * libio/iofdopen.c: Likewise.
49041         * libio/iofopen.c: Likewise.
49042         * libio/iofopen64.c: Likewise.
49043         * libio/iogetdelim.c: Likewise.
49044         * libio/iopopen.c: Likewise.
49045         * libio/obprintf.c: Likewise.
49046         * libio/oldfileops.c: Likewise.
49047         * libio/oldiofclose.c: Likewise.
49048         * libio/oldiofdopen.c: Likewise.
49049         * libio/oldiofopen.c: Likewise.
49050         * libio/oldiopopen.c: Likewise.
49051         * libio/wfiledoalloc.c: Likewise.
49052         * libio/wgenops.c: Likewise.
49053         * locale/programs/xmalloc.c: Likewise.
49054         * misc/syslog.c: Likewise.
49055         * stdio-common/xbug.c: Likewise.
49056         * string/memchr.c: Likewise.
49057         * string/memcmp.c: Likewise.
49058         * string/memrchr.c: Likewise.
49059         * string/rawmemchr.c: Likewise.
49060         * sysdeps/posix/getcwd.c: Likewise.
49061         * time/strftime_l.c: Likewise.
49063 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49065         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49066         * config.make.in (config-cflags-sse2avx): Define.
49067         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49068         Fix typo.
49070 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49072         * scripts/config.guess: Update from upstream config git repository.
49073         * scripts/config.sub: Likewise.
49075 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49077         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49078         (EM_NUM): Update.
49079         (R_TILEPRO_*, R_TILEGX_*): New macros.
49081         * scripts/firstversions.awk: Fix bug in version range handling.
49083         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49085         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49087         * include/sys/epoll.h: New file.
49088         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49089         libc_hidden_def.
49091 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49093         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49094         Avoid unnecessary __WORDSIZE == 64 test.
49095         (fmaxf): Use VEX format if possible.
49096         (fmax): Likewise.
49097         (fminf): Likewise.
49098         (fmin): Likewise.
49100         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49101         * math/math_private.h: Remove libc_fegetround* and
49102         libc_fesetround*.
49103         * sysdeps/i386/configure.in: Check for -msse2avx.
49104         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49105         also if SSE2AVX is defined.
49106         Remove libc_fegetround* and libc_fesetround*.
49107         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49108         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49109         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49110         of HAS_YMM_USABLE.
49111         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49112         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49113         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49114         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49115         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49117         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49119 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49121         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49122         size is not set.
49123         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49125 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49127         [BZ #13618]
49128         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49129         relocation.
49130         * Makeconfig (libm): Define.
49131         * elf/Makefile: Add rules to build and run tst-relsort1.
49132         * elf/tst-relsort1.c: New file.
49133         * elf/tst-relsort1mod1.c: New file.
49134         * elf/tst-relsort1mod2.c: New file.
49136 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49138         * math/s_ldexp.c: Remove __STDC__ conditionals.
49139         * math/s_ldexpf.c: Likewise.
49140         * math/s_ldexpl.c: Likewise.
49141         * math/s_nextafter.c: Likewise.
49142         * math/s_nexttowardf.c: Likewise.
49143         * math/s_significand.c: Likewise.
49144         * math/s_significandf.c: Likewise.
49145         * math/s_significandl.c: Likewise.
49146         * math/w_jnl.c: Likewise.
49147         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49148         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49149         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49150         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49151         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49153         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49154         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49155         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49156         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49157         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49158         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49159         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49160         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49161         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49162         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49163         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49164         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49165         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49166         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49167         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49168         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49169         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49170         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49171         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49172         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49173         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49174         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49175         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49176         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49177         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49178         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49179         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49180         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49181         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49182         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49183         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49184         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49185         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49186         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49187         * sysdeps/ieee754/k_standard.c: Likewise.
49188         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49189         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49190         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49191         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49192         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49193         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49194         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49195         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49196         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49197         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49198         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49199         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49200         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49201         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49202         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49203         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49204         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49205         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49206         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49207         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49208         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49209         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49210         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49211         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49212         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49213         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49214         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49215         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49217         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49218         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49219         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49220         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49224         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49225         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49226         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49227         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49228         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49229         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49230         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49236         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49239         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49240         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49241         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49245         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49246         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49247         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49248         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49249         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49251         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49252         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49253         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49254         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49255         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49256         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49257         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49258         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49259         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49260         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49261         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49262         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49263         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49264         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49265         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49266         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49267         * sysdeps/ieee754/s_matherr.c: Likewise.
49268         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49269         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49273 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49275         * crypt/md5.h: Remove __STDC__ conditionals.
49276         * libio/libioP.h: Likewise.
49277         * locale/programs/config.h: Likewise.
49278         * sysdeps/generic/sysdep.h: Likewise.
49279         * sysdeps/i386/asm-syntax.h: Likewise.
49280         * sysdeps/s390/asm-syntax.h: Likewise.
49281         * sysdeps/unix/sysdep.h: Likewise.
49282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49285 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49287         * libio/libio.h: Remove __STDC__ conditionals.
49288         * malloc/obstack.h: Likewise.
49289         * math/complex.h: Likewise.
49290         * math/math.h: Likewise.
49291         * sysdeps/generic/_G_config.h: Likewise.
49292         * sysdeps/gnu/_G_config.h: Likewise.
49293         * sysdeps/mach/hurd/_G_config.h: Likewise.
49294         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49295         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49296         * sysdeps/sparc/bits/mathdef.h: Likewise.
49298 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49300         [BZ #13583]
49301         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49302         Clean up HAS_* macros.
49303         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49304         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49305         possible.
49306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49307         HAS_AVX.
49308         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49309         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49310         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49311         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49312         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49314 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49316         * elf/tst-unique3.cc (gets): Remove declaration.
49317         * elf/tst-unique3lib.cc (gets): Likewise.
49318         * elf/tst-unique3lib2.cc (gets): Likewise.
49319         * elf/tst-unique4.cc (gets): Likewise.
49321 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49323         * include/stdio.h: Add C++ protection.  Add gets declarations and
49324         definitions.
49325         * debug/tst-chk1.c: Don't declare gets here.
49326         * stdio-common/tst-gets.c: Likewise.
49328 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49330         * posix/glob: Remove directory.
49332 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49334         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49336 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49338         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49339         of the non-standard EPFNOSUPPORT.
49341 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49343         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49344         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49345         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49347 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49349         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49351 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49353         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49354         transient errors.
49355         * nscd/grpcache.c (cache_addgr): Likewise.
49356         * nscd/hstcache.c (cache_addhst): Likewise.
49357         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49358         * nscd/pwdcache.c (cache_addpw): Likewise.
49359         * nscd/servicescache.c (cache_addserv): Likewise.
49361 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49363         * malloc/malloc.c: Various cleanups.
49364         * malloc/hooks.c: Likewise.
49366         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49367         * stdlib/bug-fmtmsg1.c: New file.
49369         * stdlib/fmtmsg.c (init): Add missing unlock.
49370         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49372 2012-01-12  Marek Polacek  <polacek@redhat.com>
49374         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49375         and _GNU_SOURCE.
49377 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49379         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49380         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49381         macro to ensure uniqueness of label name.
49382         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49383         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49385 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49387         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49389         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49390         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49391         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49392         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49394 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49396         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49398         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49399         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49400         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49402         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49404         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49405         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49406         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49409         * math/bits/math-finite.h: Add ldexp support.
49411 2012-01-10  Marek Polacek  <polacek@redhat.com>
49413         * locale/programs/localedef.h (show_archive_content): Add noreturn
49414         attribute.
49416 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49418         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49420 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49422         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49424         * io/Makefile (headers): Add bits/poll2.h.
49426 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49429         typo #include statement.
49431 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49433         * include/sys/cdefs.h: Define __attribute_alloc_size.
49434         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49435         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49436         * elf/pldd.c: Likewise.
49437         * iconv/iconv_charmap.c: Likewise.
49438         * iconv/iconvconfig.c: Likewise.
49439         * iconv/strtab.c: Likewise.
49440         * locale/programs/locale.c: Likewise.
49441         * locale/programs/localedef.h: Likewise.
49442         * locale/programs/simple-hash.c: Likewise.
49443         * nscd/nscd.h: Likewise.
49444         * nss/makedb.c: Likewise.
49445         * sysdeps/generic/ldconfig.h: Likewise.
49446         * locale/programs/localedef.c: Remove xmalloc prototype.
49447         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49449 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49451         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49452         appropriate.
49454 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49456         * math/Makefile (tests): Add tst-CMPLX.
49457         * math/tst-CMPLX.c: New file.
49459         * math/complex.h (CMPLXL): Fix typo.
49461         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49462         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49463         GLIBC_2.16.
49464         * debug/tst-chk1.c: Add poll and ppoll tests.
49465         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49466         * include/sys/poll.h: Add hidden proto for ppoll.
49467         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49468         * sysdeps/mach/hurd/ppoll.c: Likewise.
49469         * io/ppoll.c: Likewise.
49470         * debug/poll_chk.c: New file.
49471         * debug/ppoll_chk.c: New file.
49472         * include/bits/poll2.h: New file.
49473         * io/bits/poll2.h: New file.
49475         [BZ #1350]
49476         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49478         * configure.in: static is always set to yes.  Remove.
49479         * config.make.in: Don't set build-static.
49480         * Makeconfig: Remove use of build-static.
49481         * dlfcn/Makefile: Likewise.
49482         * elf/Makefile: Likewise.
49483         * math/Makefile: Likewise.
49484         * misc/Makefile: Likewise.
49485         * nptl/Makefile: Likewise.
49486         * sysdeps/mach/hurd/Makefile: Likewise.
49488         * configure.in: PWD_P is not used anymore.
49489         * config.make.in: Remove PWD_P entry.
49491         * configure.in: Remove last remnants of RANLIB.
49492         No need to check for signed size_t anymore.
49493         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49494         and IA-64.
49495         Remove __builtin_expect test because we require at least gcc 3.4.
49496         * aclocal.m4: Likewise.
49498         * wcsmbs/mbrtoc16.c: Implement using towc function.
49499         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49500         * wcsmbs/wcsmbsload.c: Likewise.
49501         * iconv/gconv_simple.c: Likewise.
49502         * iconv/gconv_int.h: Likewise.
49503         * iconv/gconv_builtin.h: Likewise.
49504         * iconv/iconv_prog.c: Remove CHAR16 handling.
49506         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49508         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49510         * configure.in: Remove --with-elf and --enable-bounded options.
49511         Dont set base_machine for ia64.  More non-ELF conditions removed.
49512         Remove testing and setting of leading underscore information.
49513         * config.make.in (build-bounded): Set to no.
49514         * config.h.in: Remove NO_UNDERSCORES entry.
49515         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49516         them.
49517         * csu/start.c: Remove !NO_UNDERSCORE code.
49518         * locale/localeinfo.h: Likewise.
49519         * sysdeps/generic/machine-gmon.h: Likewise.
49520         * sysdeps/generic/sysdep.h: Likewise.
49521         * sysdeps/i386/sysdep.h: Likewise.
49522         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49523         * sysdeps/mach/sysdep.h: Likewise.
49524         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49525         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49526         * sysdeps/sh/sysdep.h: Likewise.
49527         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49528         * sysdeps/unix/i386/sysdep.S: Likewise.
49529         * sysdeps/unix/sparc/start.c: Likewise.
49530         * sysdeps/unix/sparc/sysdep.S: Likewise.
49531         * sysdeps/unix/sparc/sysdep.h: Likewise.
49532         * sysdeps/unix/start.c: Likewise.
49533         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49534         * sysdeps/x86_64/sysdep.h: Likewise.
49536 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49538         [BZ #13553]
49539         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49540         for non-gcc.
49541         * argp/argp-fmtstream.h: Use const instead __const.
49542         * argp/argp.h: Likewise.
49543         * assert/assert.h: Likewise.
49544         * bits/fenv.h: Likewise.
49545         * bits/sched.h: Likewise.
49546         * bits/sigset.h: Likewise.
49547         * bits/sigthread.h: Likewise.
49548         * catgets/nl_types.h: Likewise.
49549         * conform/data/pthread.h-data: Likewise.
49550         * crypt/crypt-private.h: Likewise.
49551         * crypt/crypt.h: Likewise.
49552         * crypt/crypt_util.c: Likewise.
49553         * ctype/ctype.h: Likewise.
49554         * debug/execinfo.h: Likewise.
49555         * debug/mbsnrtowcs_chk.c: Likewise.
49556         * debug/mbsrtowcs_chk.c: Likewise.
49557         * debug/wcsnrtombs_chk.c: Likewise.
49558         * debug/wcsrtombs_chk.c: Likewise.
49559         * debug/wcstombs_chk.c: Likewise.
49560         * dirent/dirent.h: Likewise.
49561         * dlfcn/dlfcn.h: Likewise.
49562         * elf/neededtest4.c: Likewise.
49563         * grp/grp.h: Likewise.
49564         * gshadow/gshadow.h: Likewise.
49565         * iconv/gconv.h: Likewise.
49566         * iconv/gconv_int.h: Likewise.
49567         * iconv/gconv_simple.c: Likewise.
49568         * iconv/iconv.h: Likewise.
49569         * iconv/loop.c: Likewise.
49570         * iconv/skeleton.c: Likewise.
49571         * include/aio.h: Likewise.
49572         * include/aliases.h: Likewise.
49573         * include/argz.h: Likewise.
49574         * include/arpa/inet.h: Likewise.
49575         * include/assert.h: Likewise.
49576         * include/dirent.h: Likewise.
49577         * include/dlfcn.h: Likewise.
49578         * include/execinfo.h: Likewise.
49579         * include/fcntl.h: Likewise.
49580         * include/fenv.h: Likewise.
49581         * include/glob.h: Likewise.
49582         * include/grp.h: Likewise.
49583         * include/libintl.h: Likewise.
49584         * include/mntent.h: Likewise.
49585         * include/netdb.h: Likewise.
49586         * include/pwd.h: Likewise.
49587         * include/rpc/netdb.h: Likewise.
49588         * include/sched.h: Likewise.
49589         * include/search.h: Likewise.
49590         * include/shadow.h: Likewise.
49591         * include/signal.h: Likewise.
49592         * include/stdio.h: Likewise.
49593         * include/stdlib.h: Likewise.
49594         * include/string.h: Likewise.
49595         * include/sys/socket.h: Likewise.
49596         * include/sys/stat.h: Likewise.
49597         * include/sys/statfs.h: Likewise.
49598         * include/sys/statvfs.h: Likewise.
49599         * include/sys/syslog.h: Likewise.
49600         * include/sys/time.h: Likewise.
49601         * include/sys/uio.h: Likewise.
49602         * include/time.h: Likewise.
49603         * include/unistd.h: Likewise.
49604         * include/utmp.h: Likewise.
49605         * include/wchar.h: Likewise.
49606         * include/wctype.h: Likewise.
49607         * inet/aliases.h: Likewise.
49608         * inet/arpa/inet.h: Likewise.
49609         * inet/netinet/ether.h: Likewise.
49610         * inet/netinet/in.h: Likewise.
49611         * intl/libintl.h: Likewise.
49612         * io/bits/fcntl2.h: Likewise.
49613         * io/fcntl.h: Likewise.
49614         * io/ftw.h: Likewise.
49615         * io/sys/poll.h: Likewise.
49616         * io/sys/stat.h: Likewise.
49617         * io/sys/statfs.h: Likewise.
49618         * io/sys/statvfs.h: Likewise.
49619         * io/utime.h: Likewise.
49620         * libio/bits/stdio.h: Likewise.
49621         * libio/bits/stdio2.h: Likewise.
49622         * libio/libio.h: Likewise.
49623         * libio/libioP.h: Likewise.
49624         * libio/stdio.h: Likewise.
49625         * locale/lc-ctype.c: Likewise.
49626         * locale/locale.h: Likewise.
49627         * login/utmp.h: Likewise.
49628         * malloc/arena.c: Likewise.
49629         * malloc/malloc.c: Likewise.
49630         * malloc/malloc.h: Likewise.
49631         * malloc/mcheck.c: Likewise.
49632         * malloc/mtrace.c: Likewise.
49633         * math/bits/mathcalls.h: Likewise.
49634         * math/fenv.h: Likewise.
49635         * math/math_private.h: Likewise.
49636         * misc/bits/error.h: Likewise.
49637         * misc/bits/syslog.h: Likewise.
49638         * misc/err.h: Likewise.
49639         * misc/error.h: Likewise.
49640         * misc/fstab.h: Likewise.
49641         * misc/mntent.h: Likewise.
49642         * misc/regexp.h: Likewise.
49643         * misc/search.h: Likewise.
49644         * misc/sgtty.h: Likewise.
49645         * misc/sys/mman.h: Likewise.
49646         * misc/sys/syslog.h: Likewise.
49647         * misc/sys/uio.h: Likewise.
49648         * misc/sys/xattr.h: Likewise.
49649         * misc/ttyent.h: Likewise.
49650         * nis/rpcsvc/ypclnt.h: Likewise.
49651         * nss/nss.h: Likewise.
49652         * posix/bits/unistd.h: Likewise.
49653         * posix/fnmatch.h: Likewise.
49654         * posix/glob.h: Likewise.
49655         * posix/sched.h: Likewise.
49656         * posix/spawn.h: Likewise.
49657         * posix/sys/wait.h: Likewise.
49658         * posix/unistd.h: Likewise.
49659         * posix/wordexp.h: Likewise.
49660         * pwd/pwd.h: Likewise.
49661         * resolv/netdb.h: Likewise.
49662         * resource/sys/resource.h: Likewise.
49663         * rt/aio.h: Likewise.
49664         * rt/bits/mqueue2.h: Likewise.
49665         * rt/mqueue.h: Likewise.
49666         * shadow/shadow.h: Likewise.
49667         * signal/signal.h: Likewise.
49668         * socket/send.c: Likewise.
49669         * socket/sendto.c: Likewise.
49670         * socket/sys/socket.h: Likewise.
49671         * stdio-common/printf.h: Likewise.
49672         * stdlib/bits/stdlib.h: Likewise.
49673         * stdlib/fmtmsg.h: Likewise.
49674         * stdlib/monetary.h: Likewise.
49675         * stdlib/stdlib.h: Likewise.
49676         * stdlib/ucontext.h: Likewise.
49677         * streams/stropts.h: Likewise.
49678         * string/argz.h: Likewise.
49679         * string/bits/string2.h: Likewise.
49680         * string/string.h: Likewise.
49681         * string/strings.h: Likewise.
49682         * sunrpc/rpc/auth.h: Likewise.
49683         * sunrpc/rpc/auth_des.h: Likewise.
49684         * sunrpc/rpc/clnt.h: Likewise.
49685         * sunrpc/rpc/netdb.h: Likewise.
49686         * sunrpc/rpc/pmap_clnt.h: Likewise.
49687         * sunrpc/rpc/xdr.h: Likewise.
49688         * sysdeps/generic/inttypes.h: Likewise.
49689         * sysdeps/generic/net/if.h: Likewise.
49690         * sysdeps/generic/sys/swap.h: Likewise.
49691         * sysdeps/gnu/net/if.h: Likewise.
49692         * sysdeps/gnu/utmpx.h: Likewise.
49693         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49694         * sysdeps/i386/i486/bits/string.h: Likewise.
49695         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49696         * sysdeps/s390/bits/string.h: Likewise.
49697         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49698         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49699         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49700         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49701         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49702         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49703         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49704         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49705         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49706         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49707         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49708         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49709         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49710         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49711         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49712         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49713         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49714         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49715         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49716         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49717         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49718         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49719         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49720         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49721         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49722         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49723         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49724         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49725         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49726         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49727         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49728         * sysvipc/sys/ipc.h: Likewise.
49729         * sysvipc/sys/msg.h: Likewise.
49730         * sysvipc/sys/sem.h: Likewise.
49731         * sysvipc/sys/shm.h: Likewise.
49732         * termios/termios.h: Likewise.
49733         * time/sys/time.h: Likewise.
49734         * time/time.h: Likewise.
49735         * wcsmbs/bits/wchar2.h: Likewise.
49736         * wcsmbs/uchar.h: Likewise.
49737         * wcsmbs/wchar.h: Likewise.
49738         * wctype/wctype.h: Likewise.
49740         [BZ #13551]
49741         * Makeconfig: Remove all but ELF support including AIX support.
49742         * Makerules: Likewise.
49743         * config.h.in: Likewise.
49744         * config.make.in: Likewise.
49745         * configure: Likewise.
49746         * configure.in: Likewise.
49747         * csu/Makefile: Likewise.
49748         * csu/version.c: Likewise.
49749         * debug/Makefile: Likewise.
49750         * dlfcn/Makefile: Likewise.
49751         * elf/Makefile: Likewise.
49752         * extra-lib.mk: Likewise.
49753         * iconv/Makefile: Likewise.
49754         * include/libc-symbols.h: Likewise.
49755         * include/shlib-compat.h: Likewise.
49756         * resolv/Makefile: Likewise.
49757         * resolv/res_libc.c: Likewise.
49758         * rt/Makefile: Likewise.
49759         * sysdeps/i386/asm-syntax.h: Likewise.
49760         * sysdeps/i386/sysdep.h: Likewise.
49761         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49762         * sysdeps/mach/sysdep.h: Likewise.
49763         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49764         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49765         * sysdeps/s390/asm-syntax.h: Likewise.
49766         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49767         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49768         * sysdeps/sh/sysdep.h: Likewise.
49769         * sysdeps/unix/sparc/sysdep.h: Likewise.
49770         * sysdeps/wordsize-32/divdi3.c: Likewise.
49771         * sysdeps/x86_64/sysdep.h: Likewise.
49773         * argp/Versions: Remove _argp_unlock_xxx.
49775         [BZ #13559]
49776         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49777         * abilist/libBrokenLocale.abilist: Likewise.
49778         * abilist/libanl.abilist: Likewise.
49779         * abilist/libc.abilist: Likewise.
49780         * abilist/libcrypt.abilist: Likewise.
49781         * abilist/libdl.abilist: Likewise.
49782         * abilist/libm.abilist: Likewise.
49783         * abilist/libnsl.abilist: Likewise.
49784         * abilist/libpthread.abilist: Likewise.
49785         * abilist/libresolv.abilist: Likewise.
49786         * abilist/librt.abilist: Likewise.
49787         * abilist/libthread_db.abilist: Likewise.
49788         * abilist/libutil.abilist: Likewise.
49789         * abilist/libnss_db.abilist: New file.
49791         * scripts/abilist.awk: Add support for indirect functions.
49793         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49795         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49797         * shlib-versions: Remove entries for ports architectures.
49799         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49800         files in ports.
49801         * elf/stackguard-macros.h: Remove support for IA-64.
49802         * elf/tst-auditmod1.c: Likewise.
49803         * sysdeps/generic/ldsodefs.h: Likewise.
49805         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49806         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49807         configure files.
49809         [BZ #13552]
49810         * configure.in: Remove --enable-omitfp support.
49811         * FAQ.in: Adjust.
49812         * config.make.in: Likewise.
49813         * Makeconfig: Likewise.
49814         * manual/install.texi: Likewise.
49816         In case anyone cares, the IA-64 architecture could move to ports.
49817         * sysdeps/ia64/*: Removed.
49818         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49819         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49821         [BZ #13555]
49822         * configure.in: Remove entries for unsupported architectures.
49824         [BZ #13533]
49825         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49826         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49827         routines.
49828         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49829         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49830         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49831         fall back to using wcrtomb.
49832         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49833         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49834         renaming.
49835         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49836         * wcsmbs/tst-c16c32-1.c: New file.
49838         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49839         local variable.
49841         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49843         * elf/tst-unique3.cc: Add explicit declaration of gets.
49844         * elf/tst-unique3lib.cc: Likewise.
49845         * elf/tst-unique3lib2.cc: Likewise.
49846         * elf/tst-unique4.cc: Likewise.
49848         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49850 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49852         [BZ #13566]
49853         * assert/assert.h (static_assert): Don't define for C++.
49854         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49855         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49857 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49859         * iconv/loop.c (single loop): Fix assertion in storing of
49860         remaining bytes.
49862         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49864 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49866         * posix/getconf.c: Update copyright year.
49867         * nss/getent.c: Likewise.
49868         * nss/makedb.c: Likewise.
49869         * iconv/iconvconfig.c: Likewise.
49870         * iconv/iconv_prog.c: Likewise.
49871         * elf/ldconfig.c: Likewise.
49872         * elf/pldd.c: Likewise.
49873         * elf/sotruss.ksh: Likewise.
49874         * catgets/gencat.c: Likewise.
49875         * csu/version.c: Likewise.
49876         * elf/ldd.bash.in: Likewise.
49877         * elf/sprof.c (print_version): Likewise.
49878         * locale/programs/locale.c: Likewise.
49879         * locale/programs/localedef.c: Likewise.
49880         * login/programs/pt_chown.c: Likewise.
49881         * nscd/nscd.c (print_version): Likewise.
49882         * debug/xtrace.sh: Likewise.
49883         * malloc/memusage.sh: Likewise.
49884         * malloc/mtrace.pl: Likewise.
49885         * debug/catchsegv.sh: Likewise.
49887 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49889         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49890         pure attribute.
49892 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49894         [BZ #13533]
49895         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49896         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49897         transformations.
49898         * iconv/gconv_int.h: Likewise.
49899         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49900         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49901         from libc for GLIBC_2.16.
49902         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49903         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49904         * wcsmbs/uchar.h: Really define mbstate_t.
49905         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49906         * wcsmbs/c16rtomb.c: New file.
49907         * wcsmbs/mbrtoc16.c: New file.
49908         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49909         for C/POSIX locale.
49910         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49911         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49913         * wcsmbs/wchar.h: Add missing __restrict.
49915 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49917         [BZ #13532]
49918         * time/Makefile (routines): Add timespec_get.
49919         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49920         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49921         timespec for ISO C11.
49922         * time/timespec_get.c: New file.
49923         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49924         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49926         [BZ #13531]
49927         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49928         * stdlib/stdlib.h: Declare aligned_alloc.
49929         * Versions.def: Add GLIBC_2.16 for libc.
49930         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49932         [BZ 13527]
49933         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49934         ISO C11.
49936         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49937         code.
49939         [BZ #13528]
49940         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49942         [BZ #13529]
49943         * assert/assert.h (static_assert): Define.
49945         * version.h: Update for 2.16 development version.
49947         [BZ #13526]
49948         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49949         _ISOC11_SOURCE.
49951         * version.h (RELEASE): Bump for 2.15 release.
49952         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49954         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49955         Patch by Marek Polacek <mpolacek@redhat.com>.
49957         * bits/byteswap.h: Protect long long constants with __extension__.
49958         * sysdeps/i386/bits/byteswap.h: Likewise.
49959         * sysdeps/ia64/bits/byteswap.h: Likewise.
49960         * sysdeps/s390/bits/byteswap.h: Likewise.
49961         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49963 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49965         [BZ #13540]
49966         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49967         destination buffer.
49968         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49970 2011-12-23  Marek Polacek  <polacek@redhat.com>
49972         * elf/dl-addr.c (determine_info): Add inline keyword.
49973         * elf/tst-auditmod4b.c (check_avx): Likewise.
49974         * elf/tst-auditmod6b.c (check_avx): Likewise.
49975         * elf/tst-auditmod6c.c (check_avx): Likewise.
49976         * elf/tst-auditmod7b.c (check_avx): Likewise.
49978 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49980         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49981         !__SSE_MATH__.
49983 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49985         [BZ #13540]
49986         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49987         processing for last bytes.
49989 2011-08-06  Bruno Haible  <bruno@clisp.org>
49991         [BZ #13061]
49992         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49993         U+0385, not to U+1FEE.
49995         [BZ #13062]
49996         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49997         entry for U+00A5 U+0301.
49999 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50001         [BZ #13166]
50002         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50003         buffer for the output is too small.
50005         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50006         optimization.
50008         [BZ #13185]
50009         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50010         SSE flags if possible.
50012 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50014         [BZ #13540]
50015         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50016         processing for last bytes.
50018 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50020         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50021         (syscall-list-default-options, syscall-list-default-condition)
50022         (syscall-list-includes): Define.
50023         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50024         list of ABIs and options and #if conditions for each ABI.  Do not
50025         handle common syscalls between ABIs specially.
50026         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50027         Remove.
50028         (syscall-list-variants, syscall-list-32bit-options)
50029         (syscall-list-32bit-condition, syscall-list-64bit-options)
50030         (syscall-list-64bit-condition): Define.
50031         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50032         (syscall-list-variants, syscall-list-32bit-options)
50033         (syscall-list-32bit-condition, syscall-list-64bit-options)
50034         (syscall-list-64bit-condition): Define.
50035         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50036         Remove.
50037         (syscall-list-variants, syscall-list-32bit-options)
50038         (syscall-list-32bit-condition, syscall-list-64bit-options)
50039         (syscall-list-64bit-condition): Define.
50040         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50041         Remove.
50042         (syscall-list-variants, syscall-list-32bit-options)
50043         (syscall-list-32bit-condition, syscall-list-64bit-options)
50044         (syscall-list-64bit-condition): Define.
50046 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50048         * locale/iso-639.def: Add brx entry.
50050         [BZ #13328]
50051         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50052         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50054         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50055         __feraiseexcept_renamed.
50057 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50059         [BZ #13538]
50060         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50061         EPOLLET with unsigned values.
50062         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50063         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50065         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50066         to large cancellation.
50067         * math/s_cacoshf.c: Likewise.
50068         * math/s_cacoshl.c: Likewise.
50070 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50072         [BZ #13305]
50073         [BZ #12786]
50074         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50075         * math/s_cacoshf.c: Likewise.
50076         * math/s_cacoshl.c: Likewise.
50078 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50080         [BZ #13439]
50081         * iconv/gconv.h: Define __GCONV_SWAP.
50082         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50083         * iconvdata/utf-16.c: Likewise.
50084         * iconvdata/utf-32.c: Likewise.
50086 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50088         [BZ #13524]
50089         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50090         numerator after shifting it by one limb.
50092 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50094         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50095         under [__USE_EXTERN_INLINES].
50097 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50099         [BZ #13446]
50100         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50102 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50104         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50105         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50106         optimized code.
50107         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50108         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50109         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50110         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50111         for strncasecmp/strncasecmp_l compilation.
50112         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50113         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50115 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50117         [BZ #13484]
50118         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50119         of __asm__.
50121 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50123         [BZ #13506]
50124         * time/tzfile.c (__tzfile_read): Check values from file header.
50126 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50128         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50129         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50130         * powerpc/powerpc32/dl-start.S: Likewise.
50131         * powerpc/powerpc32/elf/start.S: Likewise.
50132         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50133         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50134         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50135         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50136         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50137         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50138         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50139         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50140         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50141         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50142         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50143         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50144         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50145         * powerpc/powerpc32/memset.S: Likewise.
50146         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50147         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50148         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50149         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50150         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50151         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50152         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50153         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50154         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50155         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50156         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50157         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50158         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50160 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50162         * math/libm-test.inc: Added more nearbyint tests.
50163         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50164         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50165         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50166         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50168 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50170         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50171         FD_CLOEXEC.
50173 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50175         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50176         Add wcscpy-ssse3 wcscpy-c.
50177         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50178         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50179         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50180         * sysdeps/x86_64/wcschr.S: New file.
50181         * sysdeps/x86_64/wcsrchr.S: New file.
50182         * string/test-strcmp.c: Remove checking of wcscmp function for
50183         wrong alignments.
50184         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50185         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50186         wcsrchr-sse2 wcsrchr-c.
50187         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50188         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50189         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50190         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50191         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50192         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50193         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50194         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50195         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50196         * wcsmbc/wcschr.c (WCSCHR): New macro.
50198 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50200         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50201         * wcsmbs/test-wcsrchr.c: New file.
50202         * string/test-strrchr.c: Add wcsrchr support.
50203         (WIDE): New macro.
50204         * wcsmbs/test-wcscpy.c: New file.
50205         * string/test-strcpy.c: Add wcscpy support.
50206         (WIDE): New macro.
50208 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50210         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50211         the inner loop.
50213 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50215         [BZ #13472]
50216         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50218 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50220         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50221         Minor optimizations.
50223         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50224         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50225         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50227 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50229         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50230         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50231         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50232         for gcc to avoid warnings.
50233         * inet/Makefile (tests): Add tst-checks.
50234         * inet/tst-checks.c: New file.
50236         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50237         warning.
50239         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50240         __wmemcmp_sse2.
50242         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50243         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50245         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50247 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50249         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50250         problem.
50252         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50254 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50256         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50257         conditional on GCC version.
50258         (__arch_compare_and_exchange_val_8_acq)
50259         (__arch_compare_and_exchange_val_16_acq)
50260         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50261         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50262         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50264 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50266         * sysdeps/sh/backtrace.c: New file.
50268 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50270         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50271         parenthesis.
50273 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50275         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50276         falling back to utime.
50278 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50280         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50281         expectations for float.
50283 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50285         * locale/weight.h (findidx): Add parameter len.
50286         * locale/weightwc.h (findidx): Likewise.
50287         * posix/fnmatch_loop.c (FCT): Adjust caller.
50288         * posix/regcomp.c (build_equiv_class): Likewise.
50289         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50290         * posix/regexec.c (check_node_accept_bytes): Likewise.
50291         * string/strcoll_l.c (STRCOLL): Likewise.
50292         * string/strxfrm_l.c (STRXFRM): Likewise.
50294 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50296         * Makefile.in: Remove CVSOPT handling.
50297         * configure.in: Remove use of AC_REVISION.
50298         * iconvdata/Makefile (distribute): No need to filter out CVS.
50299         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50300         handling.
50302 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50304         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50305         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50306         [USE_AS_STRNCASECMP_L]: Likewise.
50307         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50308         NO_TLS_DIRECT_SEG_REFS.
50309         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50310         Fix argument offsets for non-PIC.
50311         [USE_AS_STRNCASECMP_L]: Likewise.
50312         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50313         NO_TLS_DIRECT_SEG_REFS.
50315 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50317         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50318         O_CLOEXEC.
50319         * locale/loadlocale.c (_nl_load_locale): Likewise.
50321 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50323         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50324         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50325         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50326         (SYSCALL_GETTIME): Set errno on error.
50328         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50329         count references to noai6ai_cached.
50331 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50333         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50335         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50336         FD_CLOEXEC for /proc/self/maps.
50338         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50339         FD_CLOEXEC for /proc/meminfo.
50341         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50342         gai.conf.
50344         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50345         FD_CLOEXEC for given file.
50347         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50349         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50350         FD_CLOEXEC for /etc/hosts.
50351         (_gethtent): Likewise.
50353         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50355         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50356         cancellation and set FD_CLOEXEC for /etc/netgroup.
50358         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50359         reading /etc/publickey.
50361         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50362         allow cancellation when reading /etc/group.
50364         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50365         cancellation.
50366         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50368         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50369         when using data file.
50371         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50373         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50374         (write_nis_obj): Use "c" and "e" in fopen.
50376         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50378         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50380         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50382         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50384         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50385         locale.alias.
50387         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50389         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50391         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50393         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50394         file parsing and set FD_CLOEXEC.
50396 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50398         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50400 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50402         * malloc/arena.c (arena_get2): Don't call reused_arena when
50403         _int_new_arena failed.
50405 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50407         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50408         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50409         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50410         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50411         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50412         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50413         to compile strcasecmp and strncasecmp.
50414         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50415         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50419 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50421         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50422         locale-defines.sym to gen-as-const-headers.
50423         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50424         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50426         to compile strcasecmp and strncasecmp.
50427         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50428         strcasecmp_l and strncasecmp_l.
50429         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50430         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50431         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50432         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50433         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50434         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50435         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50436         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50437         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50438         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50439         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50441 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50443         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50444         result of SYSDEP_GETTIME_CPU to retval.
50445         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50446         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50448         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50449         variable.
50451         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50452         mantissa words.
50453         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50455         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50456         from unused variable.
50458         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50459         DWARF definitions.
50460         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50461         for assembling.
50463         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50464         over namespaces.
50466         * sunrpc/rpc_prot.c (rejected): Fix case value.
50468         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50469         unsigned long long int to avoid warnings in shift.
50471         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50472         of use of trans.
50473         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50474         variable tmp.
50476         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50477         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50478         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50480         * nis/nis_table.c (nis_list): Use variable of correct type for
50481         result of __follow_path call.
50483 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50485         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50486         of math functions ceil, trunc, floor, round, and sqrt, when
50487         avaliable on the platform.
50488         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50489         name clash.
50490         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50491         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50492         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50494 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50496         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50497         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50499 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50501         * include/unistd.h: Fix __readlink return type.
50502         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50504 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50506         * stdlib/ucontext.h: Undo last change for makecontext.
50508 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50510         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50512         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50513         * setjmp/setjmp.h: Mark functions as non-leaf.
50514         * setjmp/bits/setjmp2.h: Likewise.
50515         * stdlib/ucontext.h: Likewise.
50517 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50519         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50520         (reused_arena): Don't check arena limit.
50521         (arena_get2): Atomically check arena limit.
50523 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50525         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50526         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50528         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50529         instructions.
50531 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50533         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50534         handler when locking.
50536         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50537         Fix size of allocated buffer.
50539 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50541         [BZ #10103]
50542         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50543         declarations for long double functions.
50544         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50546         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50548 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50550         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50551         installed.
50553         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50554         is disabled.
50556 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50558         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50560 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50562         * include/alloca.h (stackinfo_alloca_round): Define.
50563         (extend_alloca): Use it.
50564         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50565         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50566         here.
50568         * scripts/check-local-headers.sh: Ignore libaudit.h.
50570         * nscd/Makefile (extra-objs): Make recursively expanded.
50572 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50574         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50575         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50577         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50578         * posix/tst-rfc3484-2.c: Likewise.
50579         * posix/tst-rfc3484-3.c: Likewise.
50581         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50582         process_vm_writev.
50583         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50584         process_vm_writev.
50585         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50586         process_vm_writev from libc using GLIBC_2.15 version.
50588         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50590 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50592         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50593         stack usage.
50595 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50597         [BZ #13367]
50598         * nss/getent.c (initgroups_keys): Show error message in case no group
50599         names are given.
50601         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50602         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50603         __bump_nl_timestamp.
50604         * nscd/connections (nscd_init): When host database is served open
50605         netlink socket and request notification about configuration changes.
50606         (main_loop_poll): Track netlink file descriptor and bump timestamp
50607         in case data becomes available.
50608         (main_loop_epoll): Likewise.
50609         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50610         (database_pers_head): Add extra_data fileds.
50611         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50612         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50613         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50614         Adjust caller.
50615         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50616         in6ai data, call __free_in6ai.
50617         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50618         Add -DHAVE_NETLINK.
50619         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50620         interface information.  Reuse previous data if netlink timestamp
50621         is not changed.
50622         (__bump_nl_timestamp): New function.
50623         (__free_in6ai): New function.
50625 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50628         close_not_cancel_no_status here.
50629         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50631 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50633         [BZ #13276]
50634         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50635         return value.
50637         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50638         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50639         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50641 2011-07-03  Andreas Jaeger  <aj@suse.de>
50643         [BZ #10709]
50644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50645         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50646         * math/libm-test.inc (sin_test): Add test case.
50648 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50650         [BZ #13337]
50651         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50652         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50654         * elf/chroot_canon.c (chroot_canon): Cleanups.
50656         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50658         [BZ #13335]
50659         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50660         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50662         * string/test-strchr.c: Make usable for strchrnul testing.
50663         * string/test-strchrnul.c: New file.
50664         * string/Makefile (strop-tests): Add strchrnul.
50666         * po/it.po: Update from translation team.
50667         * po/es.po: Likewise.
50669 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50671         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50672         the three constants needed as parameters.  Drop the others.
50673         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50674         __m128i_strloadu_tolower.
50675         Create and initialize variable zero and use it in all the places
50676         where _mm_setzero_si128 was used.
50678         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50679         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50680         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50681         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50682         anymore.
50683         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50684         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50685         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50686         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50687         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50688         __mpranred, __mptan.
50689         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50690         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50691         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50692         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50693         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50694         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50695         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50696         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50697         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50699 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50701         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50702         redefine if SHARED.
50703         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50706         wide char related routines to wcsmbs subdir.
50708 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50710         [BZ #13344]
50711         * misc/sys/cdefs.h (__THROWNL): Define.
50712         * posix/unistd.h: Use __THREADNL instead of __THREAD
50713         for memory synchronization functions.
50715 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50717         [BZ #13349]
50718         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50719         doesn't exist.
50720         * manual/stdio.texi (Obstack Streams): Node removed.
50722 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50724         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50725         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50726         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50728         * math/math_private.h (math_force_eval): Allow non-addressable
50729         arguments.
50730         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50732 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50734         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50735         file is not needed.
50737         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50738         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50739         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50740         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50741         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50742         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50743         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50744         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50745         Add AVX variants.
50746         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50747         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50748         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50749         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50750         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50751         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50752         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50753         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50754         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50755         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50756         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50757         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50758         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50759         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50760         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50761         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50762         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50763         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50764         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50766         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50767         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50769         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50770         place.  Use VEX encoding when compiling for AVX.
50772 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50774         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50775         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50777         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50779 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50781         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50782         useless if() expression.
50783         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50784         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50785         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50786         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50787         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50788         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50789         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50790         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50791         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50792         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50793         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50794         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50795         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50796         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50797         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50798         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50799         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50800         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50801         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50803         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50805 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50807         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50808         condition.
50809         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50811 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50813         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50814         .text section.  Avoid duplicate constants.
50815         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50816         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50817         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50818         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50819         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50823         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50824         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50825         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50826         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50827         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50828         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50829         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50830         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50831         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50832         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50833         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50835         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50836         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50837         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50838         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50839         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50840         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50841         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50842         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50843         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50844         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50845         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50846         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50847         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50848         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50849         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50850         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50851         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50852         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50853         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50854         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50855         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50856         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50857         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50858         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50859         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50861 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50863         * sysdeps/x86_64/dla.h: Move to ...
50864         * sysdeps/x86_64/fpu/dla.h: ...here.
50865         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50866         situations.  Use __builtin_fma only for gcc 4.6 and up.
50868         * config.make.in: Add have-mfma4 entry.
50869         * configure.in: Substitute libc_cv_cc_fma4.
50870         * math/Makefile (dbl-only-routines): Add sincostab.
50871         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50872         Use __sincostab not sincos.
50873         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50874         name is a macro.
50875         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50876         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50877         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50878         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50879         using __copysign.
50880         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50881         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50882         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50883         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50884         and __inv.
50885         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50886         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50887         __copysign.
50888         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50889         define aliases when function name is a macro.
50890         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50891         sysdeps/ieee754/dbl-64/sincos.tbl.
50892         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50893         fma4-enabled routines.
50894         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50895         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50896         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50897         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50898         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50899         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50901         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50903         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50904         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50905         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50906         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50907         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50908         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50909         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50910         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50911         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50912         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50913         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50914         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50915         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50916         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50917         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50918         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50919         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50920         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50921         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50922         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50923         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50925         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50926         rename.
50927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50928         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50930         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50931         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50933         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50934         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50936 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50938         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50940 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50942         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50944         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50945         prediction.
50946         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50948         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50949         Remove unused variable magic_bits.
50950         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50952         * string/strnlen.c: Define and use STRNLEN macro.
50953         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50954         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50956         * wcsmbs/wcslen.c: Define and use WCSLEN.
50957         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50958         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50959         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50960         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50961         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50962         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50963         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50965 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50968         strnlen-sse2-no-bsf.
50969         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50970         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50971         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50972         Add strnlen support.
50973         (USE_AS_STRNLEN): New macro.
50974         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50975         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50976         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50977         * sysdeps/x86_64/wcslen.S: New file.
50979 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50981         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50982         XMM-moves are used for copying on small sizes.
50984 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50986         * wcsmbs/Makefile (strop-tests): Add wcschr.
50987         * wcsmbs/test-wcschr.c: New file.
50988         * string/test-strchr.c: Update.
50989         Add wcschr support.
50990         (WIDE): New macro.
50992 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50994         * wcsmbs/Makefile (strop-tests): Add wcslen.
50995         * wcsmbs/test-wcslen.c: New file.
50996         * string/test-strlen.c: Update.
50997         Add wcslen support.
50998         (WIDE): New macro.
51000 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51002         * po/it.po: Update from translation team.
51004 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51006         * sysdeps/x86_64/wcscmp.S: Update.
51007         Fix wrong comparison semantics.
51008         wcscmp shall use signed comparison not unsigned.
51009         Don't use substraction to avoid overflow bug.
51010         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51011         * wcsmbc/wcscmp.c: Likewise.
51012         * string/test-strcmp.c: Likewise.
51013         Add new tests to check cases with negative values.
51015 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51017         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51018         * sysdeps/x86_64/dla.h: ...here.  New file.
51019         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51020         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51021         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51022         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51023         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51024         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51026         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51029 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51032         __ynl_finite aliases.
51034 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51038         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51039         define DLA_FMA.
51040         [DLA_FMA] (EMULV): Use DLA_FMA.
51041         [DLA_FMA] (MUL12): Use EMULV.
51042         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51043         that are not needed.
51044         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51045         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51046         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51047         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51048         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51049         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51050         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51052 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51054         * math/s_nan.c: Undef __nan.
51055         * math/s_nanf.c: Undef __nanf.
51056         * math/s_nanl.c: Undef __nanl.
51057         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51058         "math_private.h".
51060 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51062         * math/s_catan.c: Add branch predictions.
51063         * math/s_catanf.c: Likewise.
51064         * math/s_catanh.c: Likewise.
51065         * math/s_catanhf.c: Likewise.
51066         * math/s_catanhl.c: Likewise.
51067         * math/s_catanl.c: Likewise.
51068         * math/s_cexp.c: Likewise.
51069         * math/s_cexpf.c: Likewise.
51070         * math/s_cexpl.c: Likewise.
51071         * math/s_clog.c: Likewise.
51072         * math/s_clog10.c: Likewise.
51073         * math/s_clog10f.c: Likewise.
51074         * math/s_clog10l.c: Likewise.
51075         * math/s_clogf.c: Likewise.
51076         * math/s_clogl.c: Likewise.
51077         * math/s_csqrt.c: Likewise.
51078         * math/s_csqrtf.c: Likewise.
51079         * math/s_csqrtl.c: Likewise.
51080         * math/s_ctanf.c: Likewise.
51081         * math/s_ctanh.c: Likewise.
51082         * math/s_ctanhf.c: Likewise.
51083         * math/s_ctanhl.c: Likewise.
51084         * math/s_ctanl.c: Likewise.
51086         * math/math_private.h: Define __nan, __nanf, __nanl.
51087         * math/s_cacosh.c: Include <math_private.h>.
51088         * math/s_cacoshl.c: Likewise.
51089         * math/s_casinh.c: Likewise.
51090         * math/s_casinhf.c: Likewise.
51091         * math/s_casinhl.c: Likewise.
51092         * math/s_ccos.c: Rely entire on ccosh.
51093         * math/s_ccosf.c: Rely entire on ccoshf.
51094         * math/s_ccosl.c: Rely entirely on ccoshl.
51095         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51096         Remove tests for FE_INVALID.
51097         * math/s_ccoshf.c: Likewise.
51098         * math/s_ccoshl.c: Likewise.
51099         * math/s_csin.c: Likewise.
51100         * math/s_csinf.c: Likewise.
51101         * math/s_csinh.c Likewise.
51102         * math/s_csinhf.c: Likewise.
51103         * math/s_csinhl.c: Likewise.
51104         * math/s_csinl.c: Likewise.
51105         * math/s_ctan.c: Likewise.
51106         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51107         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51108         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51110 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51113         compilation problems.
51115         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51116         __builtin_expect.
51118 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51120         * sysdeps/i386/configure.in: Test for -mfma4 option.
51121         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51122         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51123         COMMON_CPUID_INDEX_80000001.
51124         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51125         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51126         use it if FMA3 is not supported.
51127         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51129         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51130         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51132 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51134         [BZ #12892]
51135         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51136         it would create a cycle with a link time dependency.
51138 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51140         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51141         instruction.
51142         * string/Makefile (strop-tests): Add rawmemchr.
51143         * string/test-rawmemchr.c: New file.
51145         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51146         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51147         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51148         when compiling str{,n}casecmp and when AVX is available.  Hook up
51149         new optimized code in initializers.
51151 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51153         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51154         __feraiseexcept instead of feraiseexcept.
51156 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51158         * math/math_private.h: Define defaults for libc_fetestexcept and
51159         libc_feupdateenv.
51160         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51161         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51162         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51163         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51164         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51165         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51166         libc_fetestexcept and libc_feupdateenv.
51168         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51169         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51170         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51171         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51172         libc_feholdexcept_setround.
51174         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51175         Add s_nearbyint-c and s_nearbyintf-c.
51176         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51177         nearbyintf inlines.
51178         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51179         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51180         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51181         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51183         * math/math_private.h: Define defaults for libc_fegetround,
51184         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51185         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51186         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51187         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51188         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51189         standard functions.
51190         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51191         Remove comments and hacks for old compiler versions.
51192         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51193         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51194         libc_feholdexceptl.
51196 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51198         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51199         (__feraiseexcept_renamed): Add __NTH.
51200         (feraiseexcept): Add __NTH.  Rename local variables to fix
51201         namespace violations.
51203 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51205         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51207         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51209         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51210         recently added interfaces.
51211         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51213         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51214         about macro parameter expansion.
51216         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51217         __NO_MATH_INLINES is defined.  Cleanups.
51219         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51220         and __floorf is target has SSE4.1.
51221         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51222         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51223         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51224         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51226         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51227         name.
51228         (floorf): Likewise.
51230         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51232 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51234         * misc/sys/cdefs.h: Fix last change.
51236         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51237         database lookup.
51239 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51241         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51243         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51244         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51245         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51246         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51248         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51249         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51250         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51251         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51252         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51253         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51254         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51255         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51256         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51257         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51258         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51259         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51260         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51261         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51262         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51263         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51264         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51266         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51267         ceil, ceilf, floor, floorf.
51269         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51270         Perform IRELATIVE relocations last.
51272         * elf/do-rel.h: Add another parameter nrelative, replacing the
51273         local variable with the same name.  Change name of the function
51274         to end in Rel or Rela (uppercase).
51275         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51276         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51277         elf_dynamic_do_##reloc function.
51279 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51281         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51282         is sufficient, at least on modern CPUs.
51284         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51286         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51287         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51289         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51290         __expl_finite.
51291         * math/bits/math-finite.h: Add entries for exp.
51292         * math/e_expl.c: Add __*_finite alias.
51293         * sysdeps/i386/fpu/e_exp.S: Likewise.
51294         * sysdeps/i386/fpu/e_expf.S: Likewise.
51295         * sysdeps/i386/fpu/e_expl.c: Likewise.
51296         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51297         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51298         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51299         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51300         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51301         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51302         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51304         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51305         is sufficient, at least on modern CPUs.
51307         * ctype/ctype-info.c (__ctype_init): Define.
51308         * include/ctype.h (__ctype_init): Declare.
51309         (__ctype_b_loc): The variable is always initialized.
51310         (__ctype_toupper_loc): Likewise.
51311         (__ctype_tolower_loc): Likewise.
51312         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51313         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51315 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51317         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51319         * configure.in: Also look in $cxxmachine/include for C++ system
51320         headers.
51322 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51324         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51325         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51326         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51327         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51328         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51329         (USE_AS_WMEMCMP): New macro.
51330         Fixing indents.
51331         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51332         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51333         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51334         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51336         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51337         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51338         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51339         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51340         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51341         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51342         (USE_AS_WMEMCMP): New macro.
51343         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51344         * sysdeps/string/test-memcmp.c: Update.
51345         Fix simple_wmemcmp.
51346         Add new tests.
51347         * wcsmbs/wmemcmp.c: Update.
51348         (WMEMCMP): New macro.
51349         Fix overflow bug.
51351 2011-10-12  Andreas Jaeger  <aj@suse.de>
51353         [BZ #13268]
51354         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51356 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51358         * libio/iofwide.c (do_length): Avoid warning.
51360         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51362 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51364         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51366         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51367         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51368         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51369         * sysdeps/i386/i686/fpu/e_log.S: New file.
51370         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51371         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51373         * ctype/ctype.h: Add support for inlined isXXX functions when
51374         compiling C++ code.
51376 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51378         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51380         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51382 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51384         [BZ #13291]
51385         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51387 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51389         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51390         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51391         feraiseexcept.
51393         * sysdeps/x86_64/memrchr.S: Check for zero size.
51395         * string/stratcliff.c: Add memrchr tests.
51397 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51399         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51400         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51401         rawmemchr-sse2 rawmemchr-sse2-bsf.
51402         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51403         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51404         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51405         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51406         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51407         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51408         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51409         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51410         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51411         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51412         * string/memrchr.c (MEMRCHR): New macro.
51414 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51416         Add integration with gcc's -ffinite-math-only and optimize wrapper
51417         functions in libm.
51418         * Versions.def: Define GLIBC_2.15 version for libm.
51419         * math/Makefile (headers): Add bits/math-finite.h.
51420         * math/bits/math-finite.h: New file.
51421         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51422         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51423         * math/e_acoshl.c: Add __*_finite alias.
51424         * math/e_acosl.c: Likewise.
51425         * math/e_asinl.c: Likewise.
51426         * math/e_atan2l.c: Likewise.
51427         * math/e_atanhl.c: Likewise.
51428         * math/e_coshl.c: Likewise.
51429         * math/e_exp10.c: Likewise.
51430         * math/e_exp10f.c: Likewise.
51431         * math/e_exp10l.c: Likewise.
51432         * math/e_exp2l.c: Likewise.
51433         * math/e_fmodl.c: Likewise.
51434         * math/e_gammal_r.c: Likewise.
51435         * math/e_hypotl.c: Likewise.
51436         * math/e_j0l.c: Likewise.
51437         * math/e_j1l.c: Likewise.
51438         * math/e_jnl.c: Likewise.
51439         * math/e_lgammal_r.c: Likewise.
51440         * math/e_log10l.c: Likewise.
51441         * math/e_log2l.c: Likewise.
51442         * math/e_logl.c: Likewise.
51443         * math/e_powl.c: Likewise.
51444         * math/e_sinhl.c: Likewise.
51445         * math/e_sqrtl.c: Likewise.
51446         * math/e_scalb.c: Completely rewritten and optimized.
51447         * math/e_scalbf.c: Likewise.
51448         * math/e_scalbl.c: Likewise.
51449         * math/w_acos.c: Likewise.
51450         * math/w_acosf.c: Likewise.
51451         * math/w_acosl.c: Likewise.
51452         * math/w_acosh.c: Likewise.
51453         * math/w_acoshf.c: Likewise.
51454         * math/w_acoshl.c: Likewise.
51455         * math/w_asin.c: Likewise.
51456         * math/w_asinf.c: Likewise.
51457         * math/w_asinl.c: Likewise.
51458         * math/w_atan2.c: Likewise.
51459         * math/w_atan2f.c: Likewise.
51460         * math/w_atan2l.c: Likewise.
51461         * math/w_atanh.c: Likewise.
51462         * math/w_atanhf.c: Likewise.
51463         * math/w_atanhl.c: Likewise.
51464         * math/w_exp10.c: Likewise.
51465         * math/w_exp10f.c: Likewise.
51466         * math/w_exp10l.c: Likewise.
51467         * math/w_fmod.c: Likewise.
51468         * math/w_fmodf.c: Likewise.
51469         * math/w_fmodl.c: Likewise.
51470         * math/w_j0.c: Likewise.
51471         * math/w_j0f.c: Likewise.
51472         * math/w_j0l.c: Likewise.
51473         * math/w_j1.c: Likewise.
51474         * math/w_j1f.c: Likewise.
51475         * math/w_j1l.c: Likewise.
51476         * math/w_jn.c: Likewise.
51477         * math/w_jnf.c: Likewise.
51478         * math/w_log.c: Likewise.
51479         * math/w_logf.c: Likewise.
51480         * math/w_logl.c: Likewise.
51481         * math/w_log10.c: Likewise.
51482         * math/w_log10f.c: Likewise.
51483         * math/w_log10l.c: Likewise.
51484         * math/w_log2.c: Likewise.
51485         * math/w_log2f.c: Likewise.
51486         * math/w_log2l.c: Likewise.
51487         * math/w_pow.c: Likewise.
51488         * math/w_powf.c: Likewise.
51489         * math/w_powl.c: Likewise.
51490         * math/w_remainder.c: Likewise.
51491         * math/w_remainderf.c: Likewise.
51492         * math/w_remainderl.c: Likewise.
51493         * math/w_scalb.c: Likewise.
51494         * math/w_scalbf.c: Likewise.
51495         * math/w_scalbl.c: Likewise.
51496         * math/w_sqrt.c: Likewise.
51497         * math/w_sqrtf.c: Likewise.
51498         * math/w_sqrtl.c: Likewise.
51499         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51500         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51501         used.
51502         * math/math_private.h: Declare __kernel_standard_f.
51503         * math/w_cosh.c: Remove cruft and optimize a bit.
51504         * math/w_coshf.c: Likewise.
51505         * math/w_coshl.c: Likewise.
51506         * math/w_exp2.c: Likewise.
51507         * math/w_exp2f.c: Likewise.
51508         * math/w_exp2l.c: Likewise.
51509         * math/w_hypot.c: Likewise.
51510         * math/w_hypotf.c: Likewise.
51511         * math/w_hypotl.c: Likewise.
51512         * math/w_lgamma.c: Likewise.
51513         * math/w_lgamma_r.c: Likewise.
51514         * math/w_lgammaf.c: Likewise.
51515         * math/w_lgammaf_r.c: Likewise.
51516         * math/w_lgammal.c: Likewise.
51517         * math/w_lgammal_r.c: Likewise.
51518         * math/w_sinh.c: Likewise.
51519         * math/w_sinhf.c: Likewise.
51520         * math/w_sinhl.c: Likewise.
51521         * math/w_tgamma.c: Likewise.
51522         * math/w_tgammaf.c: Likewise.
51523         * math/w_tgammal.c: Likewise.
51524         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51525         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51526         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51527         Minor optimizations.  Pretty printing.  Remove cruft.
51528         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51529         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51530         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51531         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51532         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51533         * sysdeps/i386/fpu/e_asin.S: Likewise.
51534         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51535         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51536         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51537         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51538         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51539         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51540         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51541         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51542         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51543         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51544         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51545         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51546         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51547         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51548         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51549         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51550         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51551         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51552         * sysdeps/i386/fpu/e_log.S: Likewise.
51553         * sysdeps/i386/fpu/e_log10.S: Likewise.
51554         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51555         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51556         * sysdeps/i386/fpu/e_log2.S: Likewise.
51557         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51558         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51559         * sysdeps/i386/fpu/e_logf.S: Likewise.
51560         * sysdeps/i386/fpu/e_logl.S: Likewise.
51561         * sysdeps/i386/fpu/e_pow.S: Likewise.
51562         * sysdeps/i386/fpu/e_powf.S: Likewise.
51563         * sysdeps/i386/fpu/e_powl.S: Likewise.
51564         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51565         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51566         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51567         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51568         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51569         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51570         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51571         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51572         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51573         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51574         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51576         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51577         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51578         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51579         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51580         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51581         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51582         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51583         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51584         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51585         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51586         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51587         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51588         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51589         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51590         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51591         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51592         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51593         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51594         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51595         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51596         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51597         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51598         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51599         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51600         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51601         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51602         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51603         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51604         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51605         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51606         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51607         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51608         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51609         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51610         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51611         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51612         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51613         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51614         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51615         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51616         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51617         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51618         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51619         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51620         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51621         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51622         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51623         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51624         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51625         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51626         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51628         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51629         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51630         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51631         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51632         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51633         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51634         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51635         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51637         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51638         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51639         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51640         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51641         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51642         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51647         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51650         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51651         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51652         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51653         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51656         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51657         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51658         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51659         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51661         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51662         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51663         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51664         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51665         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51666         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51667         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51668         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51669         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51670         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51671         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51672         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51673         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51674         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51675         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51676         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51677         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51678         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51679         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51680         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51681         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51682         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51683         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51684         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51685         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51686         (__isnanf): Likewise.
51687         (__isinf_ns): Likewise.
51688         (__isinf_nsf): Likewise.
51689         (__finite): Likewise.
51690         (__finitef): Likewise.
51691         (__ieee754_sqrt): Define as macro.
51692         (__ieee754_sqrtf): Define as macro.
51693         (__ieee754_sqrtl): Define as macro.
51694         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51695         inlined copy.
51696         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51697         __FINITE_MATH_ONLY__ consistent.
51698         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51700 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51702         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51703         of rawmemchr.
51705         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51707 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51709         * po/ja.po: Update from translation team.
51711 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51713         * locale/programs/locarchive.c (prepare_address_space): New function.
51714         (create_archive, enlarge_archive, open_archive): Use it.
51716         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51717         inside [SHARED], where it is used.
51719         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51721         * nss/getent.c (netgroup_keys): Remove unused variable.
51722         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51724 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51726         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51727         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51728         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51729         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51730         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51731         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51732         * math/Makefile (libm-calls): Add s_isinf_ns.
51733         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51734         * math/multc3.c: Likewise.
51735         * math/s_casin.c: Likewise.
51736         * math/s_casinf.c: Likewise.
51737         * math/s_casinl.c: Likewise.
51738         * math/s_ccos.c: Likewise.
51739         * math/s_ccosf.c: Likewise.
51740         * math/s_ccosl.c: Likewise.
51741         * math/s_ctan.c: Likewise.
51742         * math/s_ctanf.c: Likewise.
51743         * math/s_ctanh.c: Likewise.
51744         * math/s_ctanhf.c: Likewise.
51745         * math/s_ctanhl.c: Likewise.
51746         * math/s_ctanl.c: Likewise.
51747         * math/w_fmod.c: Likewise.
51748         * math/w_fmodf.c: Likewise.
51749         * math/w_fmodl.c: Likewise.
51750         * math/w_remainder.c: Likewise.
51751         * math/w_remainderf.c: Likewise.
51752         * math/w_remainderl.c: Likewise.
51753         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51754         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51755         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51756         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51757         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51758         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51759         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51760         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51762         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51763         of the number.
51764         * stdio-common/printf_fphex.c: Likewise.
51765         * stdio-common/printf_size.c: Likewise.
51767         * math/e_exp10.c: Include math_private.h using <...> not "...".
51768         * math/e_exp10f.c: Likewise.
51769         * math/e_exp10l.c: Likewise.
51770         * math/e_exp2l.c: Likewise.
51771         * math/e_j0l.c: Likewise.
51772         * math/e_j1l.c: Likewise.
51773         * math/e_jnl.c: Likewise.
51774         * math/e_lgammal_r.c: Likewise.
51775         * math/e_rem_pio2l.c: Likewise.
51776         * math/e_scalb.c: Likewise.
51777         * math/e_scalbf.c: Likewise.
51778         * math/e_scalbl.c: Likewise.
51779         * math/k_cosl.c: Likewise.
51780         * math/k_sinl.c: Likewise.
51781         * math/k_tanl.c: Likewise.
51782         * math/s_cacoshf.c: Likewise.
51783         * math/s_catan.c: Likewise.
51784         * math/s_catanf.c: Likewise.
51785         * math/s_catanh.c: Likewise.
51786         * math/s_catanhf.c: Likewise.
51787         * math/s_catanhl.c: Likewise.
51788         * math/s_catanl.c: Likewise.
51789         * math/s_ccosh.c: Likewise.
51790         * math/s_ccoshf.c: Likewise.
51791         * math/s_ccoshl.c: Likewise.
51792         * math/s_cexp.c: Likewise.
51793         * math/s_cexpf.c: Likewise.
51794         * math/s_cexpl.c: Likewise.
51795         * math/s_clog.c: Likewise.
51796         * math/s_clog10.c: Likewise.
51797         * math/s_clog10f.c: Likewise.
51798         * math/s_clog10l.c: Likewise.
51799         * math/s_clogf.c: Likewise.
51800         * math/s_clogl.c: Likewise.
51801         * math/s_csin.c: Likewise.
51802         * math/s_csinf.c: Likewise.
51803         * math/s_csinh.c: Likewise.
51804         * math/s_csinhf.c: Likewise.
51805         * math/s_csinhl.c: Likewise.
51806         * math/s_csinl.c: Likewise.
51807         * math/s_csqrt.c: Likewise.
51808         * math/s_csqrtf.c: Likewise.
51809         * math/s_csqrtl.c: Likewise.
51810         * math/s_ctan.c: Likewise.
51811         * math/s_ctanf.c: Likewise.
51812         * math/s_ctanh.c: Likewise.
51813         * math/s_ctanhf.c: Likewise.
51814         * math/s_ctanhl.c: Likewise.
51815         * math/s_ctanl.c: Likewise.
51816         * math/s_ldexp.c: Likewise.
51817         * math/s_ldexpf.c: Likewise.
51818         * math/s_ldexpl.c: Likewise.
51819         * math/s_significand.c: Likewise.
51820         * math/s_significandf.c: Likewise.
51821         * math/s_significandl.c: Likewise.
51822         * math/w_acos.c: Likewise.
51823         * math/w_acosf.c: Likewise.
51824         * math/w_acosh.c: Likewise.
51825         * math/w_acoshf.c: Likewise.
51826         * math/w_acoshl.c: Likewise.
51827         * math/w_acosl.c: Likewise.
51828         * math/w_asin.c: Likewise.
51829         * math/w_asinf.c: Likewise.
51830         * math/w_asinl.c: Likewise.
51831         * math/w_atan2.c: Likewise.
51832         * math/w_atan2f.c: Likewise.
51833         * math/w_atan2l.c: Likewise.
51834         * math/w_atanh.c: Likewise.
51835         * math/w_atanhf.c: Likewise.
51836         * math/w_atanhl.c: Likewise.
51837         * math/w_cosh.c: Likewise.
51838         * math/w_coshf.c: Likewise.
51839         * math/w_coshl.c: Likewise.
51840         * math/w_dremf.c: Likewise.
51841         * math/w_exp10.c: Likewise.
51842         * math/w_exp10f.c: Likewise.
51843         * math/w_exp10l.c: Likewise.
51844         * math/w_exp2.c: Likewise.
51845         * math/w_exp2f.c: Likewise.
51846         * math/w_fmod.c: Likewise.
51847         * math/w_fmodf.c: Likewise.
51848         * math/w_fmodl.c: Likewise.
51849         * math/w_hypot.c: Likewise.
51850         * math/w_hypotf.c: Likewise.
51851         * math/w_hypotl.c: Likewise.
51852         * math/w_j0.c: Likewise.
51853         * math/w_j0f.c: Likewise.
51854         * math/w_j0l.c: Likewise.
51855         * math/w_j1.c: Likewise.
51856         * math/w_j1f.c: Likewise.
51857         * math/w_j1l.c: Likewise.
51858         * math/w_jn.c: Likewise.
51859         * math/w_jnf.c: Likewise.
51860         * math/w_jnl.c: Likewise.
51861         * math/w_lgamma.c: Likewise.
51862         * math/w_lgamma_r.c: Likewise.
51863         * math/w_lgammaf.c: Likewise.
51864         * math/w_lgammaf_r.c: Likewise.
51865         * math/w_lgammal.c: Likewise.
51866         * math/w_lgammal_r.c: Likewise.
51867         * math/w_log.c: Likewise.
51868         * math/w_log10.c: Likewise.
51869         * math/w_log10f.c: Likewise.
51870         * math/w_log10l.c: Likewise.
51871         * math/w_log2.c: Likewise.
51872         * math/w_log2f.c: Likewise.
51873         * math/w_log2l.c: Likewise.
51874         * math/w_logf.c: Likewise.
51875         * math/w_logl.c: Likewise.
51876         * math/w_pow.c: Likewise.
51877         * math/w_powf.c: Likewise.
51878         * math/w_powl.c: Likewise.
51879         * math/w_remainder.c: Likewise.
51880         * math/w_remainderf.c: Likewise.
51881         * math/w_remainderl.c: Likewise.
51882         * math/w_scalb.c: Likewise.
51883         * math/w_scalbf.c: Likewise.
51884         * math/w_scalbl.c: Likewise.
51885         * math/w_sinh.c: Likewise.
51886         * math/w_sinhf.c: Likewise.
51887         * math/w_sinhl.c: Likewise.
51888         * math/w_sqrt.c: Likewise.
51889         * math/w_sqrtf.c: Likewise.
51890         * math/w_sqrtl.c: Likewise.
51891         * math/w_tgamma.c: Likewise.
51892         * math/w_tgammaf.c: Likewise.
51893         * math/w_tgammal.c: Likewise.
51895         * po/ja.po: Update from translation team.
51897 2011-09-29  Andreas Jaeger  <aj@suse.de>
51899         [BZ #13179]
51900         * sunrpc/netname.c (netname2host): Fix logic.
51902         [BZ #6779]
51903         [BZ #6783]
51904         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51905         correctly.
51906         * math/w_remainder.c (__remainder): Likewise.
51907         * math/w_remainderf.c (__remainderf): Likewise.
51908         * math/libm-test.inc (remainder_test): Add test cases.
51910 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51912         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51913         sdiv_qrnnd.
51915 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51917         * string/test-memcmp.c: Avoid unncessary #defines.
51918         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51920 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51922         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51923         Use new sse2 version for core i3 - i7 as it's faster
51924         than sse42 version.
51925         (bit_Prefer_PMINUB_for_stringop): New.
51926         * sysdeps/x86_64/rawmemchr.S: Update.
51927         Replace with faster SSE2 version.
51928         * sysdeps/x86_64/memrchr.S: New file.
51929         * sysdeps/x86_64/memchr.S: Update.
51930         Replace with faster SSE2 version.
51932 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51934         * elf/dl-load.c (lose): Add cast to avoid warning.
51936 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51938         * po/ca.po: Update from translation team.
51940         * inet/getnetgrent_r.c: Hook up nscd.
51941         * nscd/Makefile (routines): Add nscd_netgroup.
51942         (nscd-modules): Add netgroupcache.
51943         (CFLAGS-netgroupcache.c): Define.
51944         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51945         (cache_search): Add const to second parameter.
51946         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51947         INNETGR.
51948         (dbs): Add netgrdb entry.
51949         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51950         (verify_persistent_db): Handle netgrdb.
51951         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51952         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51953         GETFDNETGR.
51954         (netgroup_response_header): Define.
51955         (innetgroup_response_header): Define.
51956         (datahead): Add netgroup_response_header and innetgroup_response_header
51957         elements.
51958         * nscd/nscd.conf: Add entries for netgroup cache.
51959         * nscd/nscd.h (dbtype): Add netgrdb.
51960         (_PATH_NSCD_NETGROUP_DB): Define.
51961         (netgroup_iov_disabled): Declare.
51962         (xmalloc, xcalloc, xrealloc): Move declarations here.
51963         (cache_search): Adjust prototype.
51964         Add netgroup-related prototypes.
51965         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51966         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51967         (__nscd_innetgr): Declare.
51968         * nscd/selinux.c (perms): Use access_vector_t as element type and
51969         add netgroup-related initializers.
51970         * nscd/netgroupcache.c: New file.
51971         * nscd/nscd_netgroup.c: New file.
51972         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51973         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51974         For four parameters use innetgr.
51975         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51976         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51977         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51978         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51980         * nscd/connections.c (register_traced_file): Don't register file
51981         for disabled databases.
51983 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51985         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51987         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51988         from tree and freeing node.
51990 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51992         * nss/nsswitch.c (__nss_database_lookup): Handle
51993         nss_parse_service_list out of memory case.
51995 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51997         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51998         out of memory case.
52000 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52002         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52003         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52004         pass it down.
52005         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52006         elf_machine_rela, elf_machine_lazy_rel.
52007         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52008         (ELF_DYNAMIC_DO_REL): Likewise.
52009         (ELF_DYNAMIC_DO_RELA): Likewise.
52010         (ELF_DYNAMIC_RELOCATE): Likewise.
52011         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52012         to ELF_DYNAMIC_DO_REL.
52013         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52014         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52015         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52016         elf_machine_rela.
52017         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52018         skip_ifunc, don't call ifunc function if non-zero.
52019         (elf_machine_rela): Likewise.
52020         (elf_machine_lazy_rel): Likewise.
52021         (elf_machine_lazy_rela): Likewise.
52022         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52023         (elf_machine_lazy_rel): Likewise.
52024         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52025         Likewise.
52026         (elf_machine_lazy_rel): Likewise.
52027         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52028         Likewise.
52029         (elf_machine_lazy_rel): Likewise.
52030         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52031         (elf_machine_lazy_rel): Likewise.
52032         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52033         (elf_machine_lazy_rel): Likewise.
52034         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52035         (elf_machine_lazy_rel): Likewise.
52036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52037         (elf_machine_lazy_rel): Likewise.
52038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52039         (elf_machine_lazy_rel): Likewise.
52040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52041         (elf_machine_lazy_rel): Likewise.
52043 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52045         * nss/nss_files/files-init.c (_nss_files_init): Use static
52046         initialization for all the *_traced_file variables.
52048 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52050         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52052 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52054         [BZ #13226]
52055         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52057 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52059         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52060         Reread the line before reparsing it.
52062 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52064         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52066 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52067             Maxim Kuvyrkov  <maxim@codesourcery.com>
52068             Joseph Myers  <joseph@codesourcery.com>
52070         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52071         if needed for __stack_chk_guard.
52073 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52075         * sysdeps/posix/spawni.c (script_execute): Always define it.
52076         It will be optimized away if unused.
52077         (maybe_script_execute): New function.
52078         (__spawni): Call it.
52080         * Makerules: Don't include tls.make.
52081         (config-tls): Always set to thread.
52082         * tls.make.c: File removed.
52084 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52086         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52087         * config.make.in (CPPFLAGS-config): New substituted variable.
52089 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52091         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52093         [BZ #13192]
52094         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52095         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52097 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52099         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52100         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52101         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52102         (CALL_FAIL): Likewise.
52103         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52104         (CALL_FAIL): Macro removed.
52105         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52107 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52109         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52110         for __FINITE_MATH_ONLY__ == 1.
52112 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52114         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52115         __ieee754_sqrt instead of sqrt.
52116         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52117         __ieee754_sqrtf instead of sqrtf.
52118         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52119         __floorf instead of floorf.
52120         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52121         __floorf, __truncf instead of floorf, truncf.
52123 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52125         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52127         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52128         __extern_always_inline.
52129         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52130         32-bit.
52132 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52134         * elf/rtld.c (dl_main): Also relocate in dependency order when
52135         doing symbol dependency testing.
52137 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52140         Always define `refsym'.
52142 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52144         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52145         (__FD_ELT): Renamed from __FDELT.
52146         * misc/bits/select2.h (__FD_ELT): Likewise.
52147         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52148         __FD_MASK instead of __FDELT, __FDMASK.
52149         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52150         Likewise.
52151         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52152         Likewise.
52154         * elf/Makefile (gen-ldd): Fix pattern.
52156         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52157         (init_tls): Likewise.
52159 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52161         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52163 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52165         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52166         `struct cmsghdr *' instead of `void *'.
52167         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52168         Likewise.
52170 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52172         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52173         if non-absolute.
52174         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52175         ldd_rewrite_script.
52177 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52179         * configure.in: Remove --with-tls option.
52180         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52181         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52182         out in case it is missing.
52183         * sysdeps/ia64/elf/configure.in: Likewise.
52184         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52185         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52186         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52187         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52188         * sysdeps/sh/elf/configure.in: Likewise.
52189         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52190         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52191         * sysdeps/x86_64/elf/configure.in: Likewise.
52192         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52193         * sysdeps/mach/hurd/tls.h: Likewise.
52195         [BZ #13067]
52196         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52198         [BZ #13090]
52199         * configure.in: Fix use of AC_INIT.
52201         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52203 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52205         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52206         __set_errno.
52207         * malloc/hooks.c: Likewise.
52209         [BZ #11929]
52210         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52211         variables statically.
52212         (narenas): Initialize.
52213         (list_lock): Initialize.
52214         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52215         initializtion of main_arena and list_lock.  Small cleanups.
52216         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52217         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52218         Add initializers to main_arena and mp_.
52219         (malloc_state): Remove pagesize member.  Change all users to use
52220         GLRO(dl_pagesize).
52222         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52223         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52224         is always initialized.
52226         * malloc/malloc.c: Removed unused configurations and dead code.
52227         * malloc/arena.c: Likewise.
52228         * malloc/hooks.c: Likewise.
52229         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52231         * include/tls.h: Removed.  USE___THREAD must always be defined.
52232         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52233         * elf/dl-libc.c: Likewise.
52234         * elf/dl-tsd.c: Likewise.
52235         * include/errno.h: Likewise.
52236         * include/netdb.h: Likewise.
52237         * include/resolv.h: Likewise.
52238         * inet/herrno-loc.c: Likewise.
52239         * inet/herrno.c: Likewise.
52240         * malloc/arena.c: Likewise.
52241         * malloc/hooks.c: Likewise.
52242         * malloc/malloc.c: Likewise.
52243         * resolv/res-state.c: Likewise.
52244         * resolv/res_libc.c: Likewise.
52245         * sysdeps/i386/dl-machine.h: Likewise.
52246         * sysdeps/ia64/dl-machine.h: Likewise.
52247         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52248         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52249         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52250         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52251         * sysdeps/sh/dl-machine.h: Likewise.
52252         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52253         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52254         * sysdeps/unix/i386/sysdep.S: Likewise.
52255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52256         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52261         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52264         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52265         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52266         * sysdeps/x86_64/dl-machine.h: Likewise.
52267         * tls.make.c: Likewise.
52269         * configure.in: Remove --with-__thread option.  Make tests for
52270         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52271         tls_model attribute fail if no support is available.  Remove
52272         USE_IN_LIBIO.
52273         * Makeconfig: Adjust for dropped configure option.  All features are
52274         now mandatory.
52275         * Makerules: Likewise.
52276         * Versions.def: Likewise.
52277         * argp/argp-fmtstream.c: Likewise.
52278         * argp/argp-fmtstream.h: Likewise.
52279         * argp/argp-help.c: Likewise.
52280         * assert/assert.c: Likewise.
52281         * config.h.in: Likewise.
52282         * config.make.in: Likewise.
52283         * configure: Likewise.
52284         * configure.in: Likewise.
52285         * csu/Versions: Likewise.
52286         * csu/init.c: Likewise.
52287         * elf/tst-audit2.c: Likewise.
52288         * elf/tst-tls10.c: Likewise.
52289         * elf/tst-tls10.h: Likewise.
52290         * elf/tst-tls11.c: Likewise.
52291         * elf/tst-tls12.c: Likewise.
52292         * elf/tst-tls14.c: Likewise.
52293         * elf/tst-tlsmod11.c: Likewise.
52294         * elf/tst-tlsmod12.c: Likewise.
52295         * elf/tst-tlsmod13.c: Likewise.
52296         * elf/tst-tlsmod13a.c: Likewise.
52297         * elf/tst-tlsmod14a.c: Likewise.
52298         * elf/tst-tlsmod15b.c: Likewise.
52299         * elf/tst-tlsmod16a.c: Likewise.
52300         * elf/tst-tlsmod16b.c: Likewise.
52301         * elf/tst-tlsmod7.c: Likewise.
52302         * elf/tst-tlsmod8.c: Likewise.
52303         * elf/tst-tlsmod9.c: Likewise.
52304         * gmon/gmon.c: Likewise.
52305         * grp/fgetgrent_r.c: Likewise.
52306         * grp/putgrent.c: Likewise.
52307         * hurd/fopenport.c: Likewise.
52308         * include/libc-symbols.h: Likewise.
52309         * include/tls.h: Likewise.
52310         * intl/gettextP.h: Likewise.
52311         * intl/loadinfo.h: Likewise.
52312         * locale/global-locale.c: Likewise.
52313         * locale/localeinfo.h: Likewise.
52314         * mach/devstream.c: Likewise.
52315         * malloc/arena.c: Likewise.
52316         * malloc/set-freeres.c: Likewise.
52317         * misc/err.c: Likewise.
52318         * misc/getttyent.c: Likewise.
52319         * misc/mntent_r.c: Likewise.
52320         * posix/getopt.c: Likewise.
52321         * posix/wordexp.c: Likewise.
52322         * pwd/fgetpwent_r.c: Likewise.
52323         * resolv/Versions: Likewise.
52324         * resolv/res_hconf.c: Likewise.
52325         * shadow/fgetspent_r.c: Likewise.
52326         * shadow/putspent.c: Likewise.
52327         * stdio-common/printf_fphex.c: Likewise.
52328         * stdio-common/tmpfile.c: Likewise.
52329         * stdlib/abort.c: Likewise.
52330         * stdlib/fmtmsg.c: Likewise.
52331         * sunrpc/auth_unix.c: Likewise.
52332         * sunrpc/clnt_perr.c: Likewise.
52333         * sunrpc/clnt_tcp.c: Likewise.
52334         * sunrpc/clnt_udp.c: Likewise.
52335         * sunrpc/clnt_unix.c: Likewise.
52336         * sunrpc/openchild.c: Likewise.
52337         * sunrpc/svc_simple.c: Likewise.
52338         * sunrpc/svc_tcp.c: Likewise.
52339         * sunrpc/svc_udp.c: Likewise.
52340         * sunrpc/svc_unix.c: Likewise.
52341         * sunrpc/xdr.c: Likewise.
52342         * sunrpc/xdr_array.c: Likewise.
52343         * sunrpc/xdr_rec.c: Likewise.
52344         * sunrpc/xdr_ref.c: Likewise.
52345         * sunrpc/xdr_stdio.c: Likewise.
52347 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52349         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52351 2011-07-03  Andreas Jaeger  <aj@suse.de>
52353         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52354         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52355         regenerate with gen-libm-tests.pl.
52357 2010-05-12  Petr Baudis  <pasky@suse.cz>
52359         [BZ #11589]
52360         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52361         around j0() zero points by switching to j1().
52362         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52363         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52365         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52367 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52369         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52370         instead of 0.
52371         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52372         instead of 0.
52373         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52374         Patch in part by Pavel Roskin <proski@gnu.org>.
52376         [BZ #13138]
52377         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52378         realloc.
52379         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52380         Free memory block if necessary.
52382         [BZ #12847]
52383         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52384         be NULL.  Don't lock in this case.
52386 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52388         * elf/elf.h (ELFOSABI_GNU): New macro.
52389         (ELFOSABI_LINUX): Define to that.
52391 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52393         * string/strncat.c (strncat): Undef the symbol in case it has been
52394         defined in bits/string.h.
52396 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52398         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52400         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52401         link map.
52403 2011-08-17  Andreas Jaeger  <aj@suse.de>
52405         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52407 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52408             Ian Lance Taylor  <iant@google.com>
52410         * math/libm-test.inc (lround_test): New testcase.
52411         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52413 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52415         * Makefile: Remove support for automatic cvs check-ins.
52416         * Makerules: Likewise.
52417         * config.make.in: Likewise.
52418         * configure.in: Likewise.
52419         * intl/Makefile: Likewise.
52420         * locale/Makefile: Likewise.
52421         * po/Makefile: Likewise.
52422         * posix/Makefile: Likewise.
52423         * sysdeps/gnu/Makefile: Likewise.
52424         * sysdeps/mach/hurd/Makefile: Likewise.
52425         * sysdeps/sparc/sparc32/Makefile: Likewise.
52427         [BZ #13118]
52428         * posix/Makefile (bug-regex32-ENV): Define.
52429         Patch by John Stanley <jpsinthemix@verizon.net>.
52431         * misc/Makefile (headers): Add bits/select2.h.
52432         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52433         * misc/bits/select2.h: New file.
52434         * include/bits/select2.h: New file.
52435         * debug/Makefile (routines): Add fdelt_chk.
52436         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52437         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52438         FD_ISSET.
52439         * debug/fdelt_chk.c: New file.
52441         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52442         * wcsmbs/test-wmemcmp.c: Likewise.
52443         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52444         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52446 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52448         * string/Makefile (strop-tests): Add memcmp.
52449         * string/test-wmemcmp.c: New file.
52450         * string/test-memcmp.c: Add wmemcmp support.
52452 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52454         [BZ #13153]
52455         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52456         2011-07-19 change.
52458         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52459         garbage value in a __mach_port_mod_refs call in the cases of the
52460         task-self and thread-self ports.
52462 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52464         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52466 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52468         * elf/dl-load.c (lose): Check for non-null L.
52470 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52472         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52474         * elf/dl-libc.c (dlerror_run): Pass back error code from
52475         dl_catch_error.
52477         [BZ #13123]
52478         * elf/dl-load.c (lose): Free l_origin if it is valid.
52480         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52481         names.
52482         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52483         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52485         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52486         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52487         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52489 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52491         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52492         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52493         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52494         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52495         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52496         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52497         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52498         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52499         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52500         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52502 2011-08-15  Alan Modra  <amodra@gmail.com>
52504         [BZ #13092]
52505         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52506         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52507         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52508         ppc_mcount to static-only-routines.
52509         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52510         __mcount_internal.
52511         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52512         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52514 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52516         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52517         for finite and infinity parameters.
52519 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52522         and add nop instructions for throughput optimization.
52523         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52525 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52527         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52528         aligned copy for power7 with vector-scalar instructions.
52529         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52531 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52533         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52534         AVX check.
52536 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52538         [BZ #13144]
52539         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52540         last change.
52542 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52544         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52545         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52546         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52547         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52548         clock_gettime.
52550 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52552         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52553         Forgot to demangle the pointer.
52555         * sysdeps/i386/sysdep.h: Define atom_text_section.
52556         * sysdeps/x86_64/sysdep.h: Likewise.
52557         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52558         section with atom_text_section.
52559         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52560         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52561         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52562         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52563         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52565         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52566         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52567         already be defined.  Change to take two parameters and don't assign
52568         result to variable.  Adjust all users.
52569         Define INTERNAL_GETTIME if not already defined.
52570         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52571         call.
52572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52573         HAVE_CLOCK_GETTIME_VSYSCALL.
52574         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52576         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52577         gettimeofday vsyscall, just use time.
52579 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52581         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52582         <errno.h>.
52584 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52586         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52587         syscall on x86-64.
52588         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52589         syscall.
52590         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52591         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52592         syscall if possible.
52594 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52596         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52597         e_ident.  Don't pass to find_mapsXX.
52598         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52600 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52603         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52604         * sysdeps/x86_64/multiarch/strchr.S: Update.
52605         Check bit_slow_BSF bit.
52606         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52607         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52608         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52610 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52612         [BZ #13134]
52613         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52614         before glibc 2.15.
52615         (tryshell): Define.
52616         (__spawni): Change last parameter to be flag.  Test
52617         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52618         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52619         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52620         * posix/spawni.c: Likewise.
52621         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52622         * posix/spawnp.c: Likewise.  Change normal version to use
52623         SPAWN_XFLAGS_USE_PATH.
52624         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52625         SPAWN_XFLAGS_TRY_SHELL.
52627         [BZ #13150]
52628         * posix/glob.h: Remove gcc 1.x support.
52630         [BZ #13068]
52631         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52633 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52635         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52636         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52637         strrchr-sse2-bsf
52638         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52639         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52640         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52641         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52642         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52643         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52645 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52647         * sysdeps/x86_64/wcscmp.S: New file.
52649         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52650         wcscmp-c wcscmp-sse2
52651         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52652         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52653         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52654         * wcsmbs/wcscmp.c: Allow renaming.
52656 2011-09-05  David S. Miller  <davem@davemloft.net>
52658         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52659         stack slot, rather than the struct return pointer slot.
52660         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52661         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52662         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52663         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52665 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52667         * po/ja.po: Update from translation team.
52669         [BZ #13144]
52670         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52671         kernel in 64-bit binaries.
52673 2011-09-01  David S. Miller  <davem@davemloft.net>
52675         * elf/elf.h (HWCAP_SPARC_*): Move to..
52676         * sysdeps/sparc/sysdep.h: this new file and add new values.
52677         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52678         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52679         _DL_HWCAP_COUNT to 24.
52680         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52681         entries.
52682         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52683         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52684         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52685         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52686         instead of magic constants.
52687         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52689 2011-08-31  David S. Miller  <davem@davemloft.net>
52691         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52693         Reimplement to do errno handling inline.
52694         (SYSCALL_ERROR_HANDLER): New macro.
52695         (__SYSCALL_STRING): Do not do errno handling in asm.
52696         (__CLONE_SYSCALL_STRING): Delete.
52697         (__INTERNAL_SYSCALL_STRING): Delete.
52698         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52699         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52700         (PSEUDO): Reimplement to do errno handling inline.
52701         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52702         (SYSCALL_ERROR_HANDLER): New macro.
52703         (__SYSCALL_STRING): Do not do errno handling in asm.
52704         (__CLONE_SYSCALL_STRING): Delete.
52705         (__INTERNAL_SYSCALL_STRING): Delete.
52706         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52707         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52708         i386.
52709         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52710         (inline_syscall*): Add 'err' argument.
52711         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52712         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52713         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52714         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52716         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52717         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52719 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52721         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52723 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52725         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52726         directive.
52728 2011-08-24  David S. Miller  <davem@davemloft.net>
52730         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52732 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52734         * elf/Makefile: Add rules to build and run unload8 test.
52735         * elf/unload8.c: New file.
52736         * elf/unload8mod1.c: New file.
52737         * elf/unload8mod1x.c: New file.
52738         * elf/unload8mod2.c: New file.
52739         * elf/unload8mod3.c: New file.
52741         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52742         it wasn't used.
52744 2011-08-23  David S. Miller  <davem@davemloft.net>
52746         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52747         subtract stack bias.
52748         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52749         %sp not %fp in calculations.
52750         (_JMPBUF_UNWINDS_ADJ): Likewise.
52752         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52753         (aio_suspend): Call it to force an exception region around the
52754         AIO_MISC_WAIT() invocation.
52756 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52758         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52759         backslash.
52761 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52763         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52764         protection macro.
52765         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52766         and <dl-machine.h>.
52767         (Elf64_FuncDesc): Remove.
52769 2011-08-22  David S. Miller  <davem@davemloft.net>
52771         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52772         sigaltstack check, add missing cfi directives.
52773         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52774         missing cfi directives, and sigaltstack handling.
52776 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52778         [BZ #11724]
52779         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52780         object is seen twice.
52781         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52783         * elf/Makefile (distribute): Add tst-initorder2.c.
52784         (tests): Add tst-initorder2.
52785         (modules-names): Add tst-initorder2a tst-initorder2b
52786         tst-initorder2c tst-initorder2d.  Add rules to build them.
52787         ($(objpfx)tst-initorder2.out): New rule.
52788         * elf/tst-initorder2.c: New file.
52789         * elf/tst-initorder2.exp: New file.
52791 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52793         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52795         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52796         dependencies back to end of function.
52798         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52799         $(elfobjdir)/ld.so.
52801 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52803         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52804         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52805         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52806         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52807         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52808         of __vdso_gettimeofday.
52809         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52810         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52811         attribute_hidden.
52812         (_libc_vdso_platform_setup): Remove initialization of
52813         __vdso_gettimeofday and __vdso_time.
52815 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52817         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52818         and fgetc_unlocked.
52819         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52820         getc_unlocked.
52822         * elf/dl-open.c (add_to_global): Report additions to the global scope
52823         for LD_DEBUG=scopes.
52824         (dl_open_worker): Also print scope of newly loaded dependencies.
52825         (_dl_show_scope): Indicate if there is no scope.
52827         [BZ #13114]
52828         * stdio-common/Makefile (tests): Add bug24.
52829         * stdio-common/bug24.c: New file.
52831 2011-08-19  Andreas Jaeger  <aj@suse.de>
52833         [BZ #13114]
52834         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52835         non-existant file when using close-on-exec mode.
52837 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52840         the very first instruction.
52842         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52843         the CFI state in the end.
52844         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52845         inclusion of dl-trampoline.h.
52846         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52848 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52850         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52851         expectations for long double.
52853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52854         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52856 2011-08-14  David S. Miller  <davem@davemloft.net>
52858         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52859         artificual limit depends upon the system page size.
52861 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52863         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52864         * resolv/Makefile: Define CFLAGS-libresolv.
52866 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52868         * nss/makedb.c (compute_tables): Make variables used in nested
52869         function static.
52871 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52873         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52874         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52875         if buffer was too small.
52877         * elf/pldd.c (main): Attach to all threads in the process.
52878         Rewrite /proc handling to use *at functions.
52880 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52882         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52883         specifies first scope to show.
52884         (dl_open_worker): Update callers.  Move printing scope of new
52885         object to before the relocation.
52886         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52887         * sysdeps/generic/ldsodefs.h: Update declaration.
52889         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52890         string for the scope number.
52892 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52894         * nscd/servicescache.c (cache_addserv): Make sure written is always
52895         initialized.
52897 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52899         * sysdeps/i386/i486/bits/atomic.h
52900         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52901         statement expression, so as to suppress "set but not used" warning.
52902         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52904         * string/strncat.c (STRNCAT): Use prototype definition.
52906         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52907         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52908         -Iprograms here.
52909         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52910         (localedef-modules): Add localedef.
52911         (locale-modules): Add locale.
52913         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52914         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52915         to avoid a warning.
52917 2011-08-14  David S. Miller  <davem@davemloft.net>
52919         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52920         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52922 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52924         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52925         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52926         * elf/rtld.c (dl_main): Set l_name of vDSO.
52927         Call _dl_show_scope when DL_DEBUG_SCOPES.
52928         (process_dl_debug): Recognize scopes flag and also set it for all.
52929         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52930         Declare _dl_show_scope.
52932         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52933         (do_dlopen): Pass caller_dlopen to dl_open.
52934         (__libc_dlopen_mode): Initialize caller_dlopen.
52936         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52937         of libc.  Make tolower call locale-independent.  Optimize a bit by
52938         using isdigit instead of isalnum.
52939         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52941 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52943         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52944         was a dependency or dynamically loaded.
52946 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52948         * intl/l10nflist.c: Allow architecture-specific pop function.
52949         * sysdeps/x86_64/l10nflist.c: New file.
52951         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52952         classification.
52954 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52956         * include/dirent.h: Add libc_hidden_proto for scandirat and
52957         scandirat64.  Don't declare __scandirat64.
52958         * dirent/scandirat.c: Add libc_hidden_def.
52959         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52960         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52962 2011-08-10  David S. Miller  <davem@davemloft.net>
52964         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52965         enum.
52966         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52967         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52968         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52970 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52972         * Versions.def [libc]: Add GLIBC_2.15.
52973         * dirent/Makefile (routines): Add scandirat and scandirat64.
52974         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52975         GLIBC_2.15.
52976         * dirent/dirent.h: Declare scandirat and scandirat64.
52977         * dirent/scandirat.c: New file.
52978         * dirent/scandirat64.c: New file.
52979         * sysdeps/wordsize-64/scandirat.c: New file.
52980         * sysdeps/wordsize-64/scandirat64.c: New file.
52981         * dirent/opendir.c: Define opendirat.
52982         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52983         using scandirat.
52984         * dirent/scandir64.c: Adjust for scandir.c change.
52985         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52986         __scandirat64, and __scandir_cancel_handler.
52987         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52988         additional parameter and use openat instead of open (outside of ld.so).
52989         Add new __opendir as wrapper around __opendirat.
52990         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52991         here without requiring old scandirat implementation.
52993 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52995         * dirent/scandir.c (cancel_handler): Renamed to
52996         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52997         defined.  Adjust users.
52998         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52999         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53001 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53003         * string/test-string.h (IMPL): Use __STRING to expand name and then
53004         stringify it.
53006         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53007         of cleanups.
53009 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53011         * string/Makefile: Update.
53012         (strop-tests): Append strncat.
53013         * string/test-wcscmp.c: New file.
53014         New comprehensive test for wcscmp.
53015         * string/test-strcmp.c: Update.
53016         (WIDE): New define.
53018 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53020         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53021         line.
53023 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53026         encoding to ACE if AI_IDN.
53028 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53030         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53031         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53033 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53035         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53036         Fix overflow bug in strncat.
53037         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53039         * string/test-strncat.c: Update.
53040         Add new tests for checking overflow bugs.
53042 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53045         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53046         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53047         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53048         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53049         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53050         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53051         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53052         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53054         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53055         (USE_AS_STRCAT): Define.
53056         Add strcat and strncat support.
53057         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53059 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53061         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53062         __n bigger than INT_MAX+1.
53063         (__strncmp_g): Likewise.
53065 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53067         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53068         * libio/stido.h: Likewise.
53070         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53071         (AF_NFC): Define.
53072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53073         (AF_NFC): Define.
53075         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53076         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53077         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53078         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53079         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53081         [BZ #13021]
53082         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53083         installed.
53085         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53086         typo.
53087         (_dl_x86_64_save_sse): Likewise.
53089 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53091         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53092         OSXSAVE.
53093         (_dl_x86_64_save_sse): Likewise.
53095         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53097         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53099 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53102         change.
53103         (_dl_x86_64_save_sse): Use correct AVX check.
53105 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53107         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53108         bug in strncpy/strncat.
53109         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53111 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53113         * string/tester.c (test_strcat): Add tests for different alignments
53114         of source and destination.
53115         (test_strncat): Likewise.
53117 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53119         [BZ #12852]
53120         * posix/glob.c (glob): Check passed in values before using them in
53121         expressions to avoid some overflows.
53122         (glob_in_dir): Likewise.
53124         [BZ #13007]
53125         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53126         check for AVX enablement so that we don't crash with old kernels and
53127         new hardware.
53128         * elf/tst-audit4.c: Add same checks here.
53129         * elf/tst-audit6.c: Likewise.
53131         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53133 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53135         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53137 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53139         * po/cs.po: Update from translation team.
53140         * po/bg.po: Likewise.
53142 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53144         * misc/sys/cdefs.h: Add support for const attribute.
53145         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53146         to gnu_dev_{major,minor,makedev} functions.
53148 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53150         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53152 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53154         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53155         strlen results.
53157 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53159         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53160         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53161         register in order to avoid conflicts with the soft frame pointer
53162         being held in r11 when necessary.
53163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53164         (INTERNAL_VSYSCALL_NCS): Likewise.
53166 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53168         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53169         * elf/dl-fini.c (_dl_fini): Adjust caller.
53170         * elf/dl-close.c (_dl_close_worker): Likewise.
53171         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53173 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53175         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53176         "aux_cache->nlibs < 0".
53178         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53179         in the reload-count case.
53181 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53184         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53185         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53186         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53187         * sysdeps/x86_64/multiarch/strcat.S: New file.
53188         * sysdeps/x86_64/multiarch/strncat.S: New file.
53189         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53190         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53191         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53192         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53193         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53194         (USE_AS_STRCAT): Define.
53195         Add strcat and strncat support.
53196         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53198         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53199         * string/strncat.c: Update.
53200         (USE_AS_STRNCAT): Define.
53201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53202         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53203         and i7.
53204         * sysdeps/x86_64/multiarch/init-arch.h
53205         (bit_Prefer_PMINUB_for_stringop): New.
53206         (index_Prefer_PMINUB_for_stringop): Likewise.
53207         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53208         bit_Prefer_PMINUB_for_stringop.
53210 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53212         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53213         buffer64.
53214         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53215         of casting of buffer.
53216         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53217         buffer32 and buffer64.
53218         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53219         writes instead of casting of buffer.
53220         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53221         buffer32.
53222         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53223         casting of buffer.
53225 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53227         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53229 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53231         * nscd/nscd.c (termination_handler): Don't do anything for a database
53232         if it has not yet been initialized.
53234 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53236         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53238 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53240         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53242 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53244         * po/nl.po: Update from translation team.
53245         * po/sv.po: Likewise.
53247 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53249         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53250         now disallowed by GCC.
53252         * configure.in (use-default-link): Default to yes if a test -shared
53253         link meets our qualifications.
53254         * configure: Regenerated.
53256         * config.make.in (output-format): New variable.
53257         * configure.in: Check for ld --print-output-format support.
53258         * configure: Regenerated.
53259         * Makerules ($(common-objpfx)format.lds)
53260         [$(output-format) != unknown]: Just use $(output-format),
53261         instead of the linker-script munging.
53263 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53265         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53266         of $(common-objpfx)shlib.lds.
53267         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53269         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53270         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53272         * configure.in (-z relro check): Adjust test code to add a large
53273         writable data section after it.
53274         * configure: Regenerated.
53276 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53278         * configure.in (-z relro check): Fix test code to make the variable
53279         truly const.
53280         * configure: Regenerated.
53282 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53284         * nscd/nscd.h (struct traced_file): Define.
53285         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53286         elements.  Add traced_files.
53287         (inotify_fd): Declare.
53288         (register_traced_file): Declare.
53289         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53290         (inotify_fd): Export.
53291         (resolv_conf_descr): Remove.
53292         (nscd_init): Move inotify descriptor creation to main.
53293         Don't register files for notification here.
53294         (register_traced_file): New function.
53295         (invalidate_cache): Don't use reset_res to determine whether to call
53296         res_init, go through the list of registered files.
53297         (main_loop_poll): The inotify descriptors are now stored in the
53298         structures for the traced files.
53299         (main_loop_epoll): Likewise
53300         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53301         to __nss_disable_nscd.
53302         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53303         for a database anymore.  Check the records for all the registered
53304         files instead.
53305         * nss/Makefile (libnss_files-routines): Add files-init.
53306         (libnss_db-routines): Add db-init.
53307         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53308         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53309         * nss/nss_db/db-init.c: New file.
53310         * nss/nss_files/files-init.c: New file.
53311         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53312         __nss_lookup_function.
53313         (__nss_lookup_function): Call nss_load_library.
53314         (nss_load_all_libraries): New function.
53315         (__nss_disable_nscd): Take parameter with callback function for files
53316         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53317         used for the cached services.
53318         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53319         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53320         options for features to all the files in nscd.
53322         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53324 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53326         * csu/elf-init.c (__libc_csu_init): Comment typo.
53328 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53330         * po/pl.po: Update from translation team.
53331         * po/ja.po: Likewise.
53332         * po/ru.po: Likewise.
53333         * po/ko.po: Likewise.
53334         * po/fr.po: Likewise.
53336 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53338         * configure.in (.ctors/.dtors header and trailer check):
53339         Use an empirical test on a built program.
53340         * configure: Regenerated.
53342         * configure.in (-z relro check): Use an empirical test on a built DSO.
53343         Detect, but do not require, on ia64.
53344         * configure: Regenerated.
53346         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53347         Update tests that use readelf to use $READELF instead.
53348         * configure: Regenerated.
53350 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53352         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53353         if the result is not used.
53355 2011-07-05  Andreas Jaeger  <aj@suse.de>
53357         [BZ#9696]
53358         * stdlib/tst-strtod.c: Add testcase.
53360 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53362         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53363         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53364         The latter has a higher limit.  Take additional parameter to pass to
53365         the new function.
53366         (__pathconf): Pass file to __statfs_link_max.
53367         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53368         __statfs_link_max.
53369         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53370         __statfs_link_max.
53372         [BZ #12868]
53373         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53374         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53375         Handle Lustre.
53376         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53377         (__statfs_filesize_max): Likewise.
53378         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53380 2011-07-05  Andreas Jaeger  <aj@suse.de>
53382         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53384 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53386         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53387         `status' variable.
53388         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53389         Likewise.
53391 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53393         * Makefile (strop-tests): Add strncat.
53394         * string/test-strncat.c: New file.
53396 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53398         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53400 2011-06-21  Andreas Jaeger  <aj@suse.de>
53402         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53403         Copy rule from iconvdata/Makefile.
53405 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53407         [BZ #12922]
53408         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53409         but no long options are defined, just return 'W'.
53411 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53413         [BZ #9696]
53414         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53416 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53418         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53419         netgroups to read.
53420         (innetgr): Likewise.
53422 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53424         * config.make.in (install_root): Default to $(DESTDIR).
53426 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53428         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53430 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53432         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53434         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53435         containing directory rather than embedding absolute directory names.
53437         * scripts/check-local-headers.sh: Rewritten using awk.
53438         Match by word, not by line.  Print error messages for matches.
53439         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53441         * Makerules [shlib-lds-flags empty]:
53442         ($(common-objpfx)libc_pic.opts): New target.
53443         ($(common-objpfx)libc_pic.os.clean): New target.
53444         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53446         * config.make.in (OBJCOPY): New variable.
53447         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53448         * configure: Regenerated.
53450         * config.make.in (use-default-link): New variable.
53451         * configure.in (use_default_link): Grok --with-default-link to set it.
53452         * configure: Regenerated.
53453         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53454         (shlib-lds, shlib-lds-flags): Define to empty.
53456         * Makerules (shlib-lds): New variable.
53457         (shlib-lds-flags): New variable.
53458         (build-shlib, build-moduile, build-module-asneeded): Use it.
53459         ($(common-objpfx)libc.so): Use $(shlib-lds).
53460         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53461         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53463         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53464         DT_FLAGS/DT_FLAGS_1 with zero flags.
53466         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53467         linker script munging.
53469 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53471         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53472         as 128-bit value.
53473         * crypt/sha512.c (sha512_process_block): Perform total addition using
53474         128-bit if possible.
53475         (__sha512_finish_ctx): Likewise.
53476         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53477         as 64-bit value.
53478         * crypt/sha256.c (SWAP64): Define.
53479         (sha256_process_block): Perform total addition using 64-bit if
53480         possible.
53481         (__sha256_finish_ctx): Likewise.
53483 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53485         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53486         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53487         * nscd/hstcache.c (cache_addhst): Likewise.
53488         * nscd/grpcache.c (cache_addgr): Likewise.
53489         * nscd/aicache.c (addhstaiX): Likewise
53490         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53492 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53494         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53495         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53496         * nscd/hstcache.c (cache_addhst): Likewise.
53497         * nscd/grpcache.c (cache_addgr): Likewise.
53498         * nscd/aicache.c (addhstaiX): Likewise
53500 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53502         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53503         domain only when needed.
53505 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53508         is always restored.
53510 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53512         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53513         are re-adding the entry.
53514         * nscd/servicescache.c (cache_addserv): Likewise.
53516 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53518         * sysdeps/generic/dl-irel.h: fix protection against multiple
53519         inclusions.
53520         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53522 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53524         [BZ #12935]
53525         * malloc/memusage.sh: Fix quoting in message.
53526         * debug/xtrace.sh: Likewise.
53528         * configure.in: Remove support for --experimental-malloc option, make
53529         it the default.
53530         * config.make.in: Likewise.
53531         * malloc/Makefile: Likewise.
53533 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53535         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53536         two-byte characters.
53538 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53540         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53541         AC_CACHE_CHECK invocation.
53542         * configure: Regenerated.
53544         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53546 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53548         [BZ #12350]
53549         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53550         bit from old_res_options.
53552         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53554         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53555         value type for setfct.
53557 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53559         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53560         __gettimeofday instead of gettimeofday.
53562 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53564         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53566 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53568         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53570         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53571         info.
53573 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53576         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53577         strcpy-sse2-unaligned strncpy-sse2-unaligned
53578         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53579         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53580         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53581         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53582         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53583         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53584         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53585         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53586         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53587         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53588         (STRCPY): Support SSE2 and SSSE3 versions.
53590 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53592         [BZ #12874]
53593         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53594         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53595         kernels which artificially limit size of requests.
53597 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53600         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53601         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53602         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53603         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53604         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53605         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53606         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53607         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53609         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53610         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53611         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53612         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53613         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53614         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53615         Enable unaligned load optimization for Intel Core i3, i5 and i7
53616         processors.
53617         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53618         Define.
53619         (index_Fast_Unaligned_Load): Define.
53620         (HAS_FAST_UNALIGNED_LOAD): Define.
53622 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53624         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53626 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53628         [BZ #12907]
53629         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53630         until it is clear that the information is realy needed.
53631         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53633 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53637 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53640         /sys/devices/system/cpu/online if it is usable.
53642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53643         reading the information from the /proc filesystem to once a second.
53645 2011-06-21  Andreas Jaeger  <aj@suse.de>
53647         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53648         NULL after inclusion of kernel headers.
53650 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53652         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53653         calls to internal_setent.
53655         [BZ #12885]
53656         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53657         addresses using gethostbyname4_r ignore IPv4 addresses.
53659         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53660         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53662         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53664 2011-06-20  David S. Miller  <davem@davemloft.net>
53666         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53667         inclusions.
53668         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53670         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53671         (elf_irel): Use it.
53672         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53673         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53674         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53675         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53676         * sysdeps/x86_64/dl-irel.h: Likewise.
53678         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53679         * elf/dl-sym.c: Likewise.
53681 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53683         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53684         need to dereference resplen2.
53686 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53688         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53690 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53692         * Makeconfig: Define vardbdir and inst_vardbdir.
53693         * nss/Makefile: Add rules to install db-Makefile.
53695         * nss/nss_db/db-XXX.c: Cleanup.
53697         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53698         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53699         GLIBC_PRIVATE.
53700         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53701         * nss/makedb.c: Implement -g option to specify that value strings
53702         are generated and should not be added to table iterated over for
53703         get*ent calls.
53704         * nss/nss_db/db-initgroups.c: New file.
53706         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53707         interface.
53709         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53710         (internal_getgrouplist): Adjust to name change.
53711         Update use_initgroups_entry if this is not the first call.
53712         * nss/databases.def: Add initgroups entry.
53714         * nss/makedb.c (compute_tables): Check result of multiple hash table
53715         sizes to minimize maximum chain length.
53717 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53719         * Versions.def: Add entry for libnss_db.
53720         * shlib-versions: Likewise.
53721         * nss/Makefile: Add rules to build libnss_db.
53722         * nss/Versions: Add libnss_db information.  Organize libnss_files
53723         entries better.
53724         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53725         makedb progra.  Some minor improvements to generate smaller files.
53726         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53727         here from...
53728         * nss/makedb.c: ...here.
53729         Improve database format to be smaller and require less memory at
53730         runtime.
53731         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53732         db anymore.
53733         * nss/nss_db/db-netgrp.c: Likewise.
53734         * nss/nss_db/db-open.c: Likewise.
53735         * nss/nss_files/flies-XXX.x: Adjust comments.
53736         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53737         * nss/nss_files/files-grp.c: Likewise.
53738         * nss/nss_files/files-hosts.c: Likewise.
53739         * nss/nss_files/files-network.c: Likewise.
53740         * nss/nss_files/files-proto.c: Likewise.
53741         * nss/nss_files/files-pwd.c: Likewise.
53742         * nss/nss_files/files-rpc.c: Likewise.
53743         * nss/nss_files/files-service.c: Likewise.
53744         * nss/nss_files/files-sgrp.c: Likewise.
53745         * nss/nss_files/files-spwd.c: Likewise.
53746         * nss/nss_db/db-alias.c: Removed.
53747         * nss/nss_db/dummy-db.h: Removed.
53749 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53751         * nss/makedb.c: Rewritten to not use database library.
53752         * nss/Makefile: Update to build new makedb program.
53754 2011-06-14  Andreas Jaeger  <aj@suse.de>
53756         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53757         memset declaration.
53759 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53762         tmpbuf.
53764 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53766         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53767         * elf/Makefile ($(objpfx)ld.so): Likewise.
53769         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53770         Don't list ld.so twice in dependencies.
53772         * posix/bug-regex31.c: Include <stdlib.h>.
53774         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53776         * nis/nss_compat/compat-spwd.c
53777         (getspent_next_nss_netgr): Remove unused variable.
53778         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53780         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53781         nonmembers" output to use the right array.
53783         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53785         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53787         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53788         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53789         * catgets/gencat.c (read_input_file): Likewise.
53790         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53792         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53793         variable definition inside #if's controlling its use.
53795         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53797         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53799         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53801         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53802         unreachable code.
53804         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53806         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53807         * configure: Regenerated.
53809         * Makerules: Revert last change.
53810         * elf/Makefile: Likewise.
53812 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53814         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53815         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53816         (reloc-link): Likewise.
53818 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53820         * elf/Makefile: Add rules to build pldd.
53821         * elf/pldd.c: New file.
53822         * elf/pldd-xx.c: New file.
53824 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53826         * version.h: Update for 2.15 development version.
53828 2011-06-07  David S. Miller  <davem@davemloft.net>
53830         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53831         ifuncs.
53832         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53833         elf_machine_lazy_rel): Likewise.
53834         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53835         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53836         elf_machine_lazy_rel): Likewise.
53837         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53838         dl_hwcap via passed in argument.
53839         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53840         Likewise.
53842 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53844         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53846 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53848         [BZ #12849]
53849         * manual/fdl-1.1.texi: New file, verbatim from:
53850         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53851         * manual/lgpl-2.1.texi: New file, verbatim from:
53852         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53853         * manual/Makefile (licenses): New variable, list those new file names.
53854         (texis): Use it.
53855         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53857         * manual/fdl.texi: File removed.
53858         * manual/lesser.texi: File removed.
53859         * manual/libc.texinfo (Copying, Documentation License):
53860         Use new @include file names, put @appendix directive before @include.
53862 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53864         [BZ #12841]
53865         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53866         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53867         (mq_open): Add __NTH.
53869 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53872         Assume Intel Core i3/i5/i7 processor if AVX is available.
53874 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53876         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53877         typo.
53879 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53881         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53882         memory.  Use alloca_account.  Fix memory leak when retrying.
53884 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53886         * version.h (RELEASE): Bump for 2.14 release.
53887         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53889         * config.make.in (RANLIB): Remove entry.
53891 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53893         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53894         (libc.pot): Work around missing support for .ksh extension in xgettext.
53896         [BZ #12684]
53897         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53898         if both request failed.
53899         (send_dg): In case of server errors clear resplen or *resplen2.
53901         [BZ #12454]
53902         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53903         when there are multiple maps.
53904         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53905         (_dl_fini): Remove test here.
53907         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53909 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53911         [BZ #12350]
53912         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53913         bit from old_res_options.
53914         (gaih_inet): Likewise.
53916         [BZ #11099]
53917         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53918         as signed.
53920         * resolv/res_init.c (res_setoptions): Make the code more compact.
53922         [BZ #11558]
53923         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53924         set RES_USEVC.
53926         [BZ #11634]
53927         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53929         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53931         [BZ #11781]
53932         * malloc/malloc.h: Declare malloc hook variables as volatile.
53934         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53935         in last patch.
53937         [BZ #11799]
53938         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53939         raise in the comment.
53940         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53941         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53942         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53944 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53946         [BZ #12811]
53947         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53948         grow the buffers more if it already has to be sufficient.
53949         (build_wcs_upper_buffer): Likewise.
53950         * posix/regexec.c (check_matching): Likewise.
53951         (clean_state_log_if_needed): Likewise.
53952         (extend_buffers): Don't enlarge buffers beyond size of the input
53953         buffer.
53954         Patches mostly by Emil Wojak <emil@wojak.eu>.
53955         * posix/bug-regex32.c: New file.
53956         * posix/Makefile (tests): Add bug-regex32.
53958         * locale/findlocale.c (_nl_find_locale): Return right away if
53959         _nl_explode_name failed.
53960         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53962         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53964         * debug/xtrace.sh: Unify messages.
53965         * malloc/memusage.sh: Likewise.
53967         [BZ #12813]
53968         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53969         time symbol from vDSO.  Substitute with vsyscall if not available.
53970         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53971         __vdso_time.
53973         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53974         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53975         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53976         Add sendmmsg and internal_sendmmsg.
53977         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53978         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53979         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53981         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53982         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53983         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53985 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53987         [BZ #12813]
53988         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53989         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53990         available.
53991         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53992         __vdso_getcpu.
53994         [BZ #12814]
53995         * iconvdata/Makefile (tests): Add bug-iconv9.
53996         * iconvdata/bug-iconv9.c: New file.
53998 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54000         [BZ #12814]
54001         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54003 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54005         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54006         (struct user_regs_struct): Change intcs field back to cs.
54008 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54010         * po/ja.po: Update from translation team.
54012 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54014         [BZ #12795]
54015         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54016         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54018 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54020         * stdlib/longlong.h: Update from GCC.
54022 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54024         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54025         parameter name.
54026         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54027         Add parameter name.
54028         (__sysconf): Pass it down.
54030 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54032         [BZ #12671]
54033         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54034         some situations.
54035         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54036         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54037         add in in __libc_use_alloca calls.  Adjust callers.
54038         (glob): Use malloc in some situations.
54040         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54041         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54042         pltexit.
54044 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54046         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54047         and CLOCK_BOOTTIME_ALARM.
54049         [BZ #12782]
54050         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54051         is returned.
54053         * string/_strerror.c (__strerror_r): Print negative errors as signed
54054         numbers.
54056         [BZ #12777]
54057         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54058         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54059         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54061         * configure.in: Fix typo in redirection and correct removal of test
54062         files in two cases.
54064         [BZ #12788]
54065         * locale/setlocale.c (new_composite_name): Fix test to check for
54066         identical name of all categories.
54068         [BZ #12792]
54069         * libio/filedoalloc.c (local_isatty): New function.
54070         (_IO_file_doallocate): Use local_isatty.
54071         * stdio-common/perror.c (perror): In case a new stream is used
54072         forward the stream error.
54073         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54074         error flag.
54076 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54078         [BZ #11869]
54079         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54080         alloca.
54081         * include/alloca.h (extend_alloca_account): Define.
54083         [BZ #11857]
54084         * posix/regex.h: Fix comments with documentation of user-accessible
54085         fields after compilation and describe correct free'ing of pattern
54086         after re_compile_pattern.
54087         Patch by Reuben Thomas <rrt@sc3d.org>.
54089 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54091         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54092         and -mno-altivec to prevent the compiler from using Altivec and/or
54093         VSX instructions when the corresponding registers are not available.
54095 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54097         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54099 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54101         * libio/freopen.c (freopen): Use __dup2, not dup2.
54102         * libio/freopen64.c (freopen64): Likewise.
54104 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54106         [BZ #12775]
54107         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54108         * math/Makefile (tests): Add test-powl.
54109         (CFLAGS-test-powl.c): Define.
54110         * math/test-powl.c: New file.
54112 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54114         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54116 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54118         [BZ #11837]
54119         * iconvdata/gb18030.c: Update to GB18020-2005.
54121 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54123         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54124         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54125         Patch by Aharon Robbins <arnold@skeeve.com>.
54127         [BZ #11892]
54128         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54129         on the stack.
54131         [BZ #11895]
54132         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54133         through underflows.
54135         [BZ #12766]
54136         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54137         point to strings before performing equality test for error_one_per_line
54138         mode.
54140         [BZ #11697]
54141         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54143         [BZ #11820]
54144         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54145         (struct user_fpregs_struct): Avoid __uint*_t types.
54147         [BZ #6420]
54148         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54149         symbol info.  Use it instead of calling _dl_addr locally.
54150         (lock_and_info): New function.
54151         (tr_freehook): Call lock_and_info and pass symbol info as additional
54152         parameter to tr_where.
54153         (tr_mallochook): Likewise.
54154         (tr_reallochook): Likewise.
54155         (tr_memalignhook): Likewise.
54157         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54158         used and couldn't be at all thread-safe.
54160 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54162         * libio/freopen.c (freopen): Don't close old file descriptor
54163         before the new one is opened.  Instead dup the new file descriptor
54164         to the old one after the new stream is created.
54165         * libio/freopen64.c (freopen64): Likewise.
54166         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54167         * libio/fileops.c (_IO_new_file_close_it): Handle new
54168         _IO_FLAGS2_NOCLOSE flag.
54169         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54170         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54171         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54172         _IO_FLAGS2_NOCLOSE flag.
54173         * include/unistd.h: Add hidden_proto for dup3.
54174         Define __have_dup3.
54175         * io/dup3.c: Define hidden symbol.
54176         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54178         [BZ #7101]
54179         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54180         when an incomplete long option is used.
54181         * posix/tst-getopt_long1.c: New file.
54182         * posix/Makefile (tests): Add tst-getopt_long1.
54184         [BZ #10138]
54185         * scripts/config.guess: Update from autoconf-2.68.
54186         * scripts/config.sub: Likewise.
54188         [BZ #10157]
54189         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54190         tests into ...
54191         (has_cpuclock): ...this.  New function.
54192         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54193         macro here based on has_cpuclock code.
54195         [BZ #10149]
54196         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54197         First byte (not low byte) is now always NUL.
54198         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54200         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54201         Use non-cancelable interfaces.
54203         [BZ #9809]
54204         * locale/iso-639.def: Add entry for Sorani.
54206         [BZ #11901]
54207         * include/stdlib.h: Move include protection to the right place.
54208         Define abort_msg_s.  Declare __abort_msg with it.
54209         * stdlib/abort.c (__abort_msg): Adjust type.
54210         * assert/assert.c (__assert_fail_base): New function.  Majority
54211         of code from __assert_fail.  Allocate memory for __abort_msg with
54212         mmap.
54213         (__assert_fail): Now call __assert_fail_base.
54214         * assert/assert-perr.c: Remove bulk of implementation.  Use
54215         __assert_fail_base.
54216         * include/assert.hL Declare __assert_fail_base.
54217         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54218         mmap.
54219         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54221 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54223         [BZ #11952]
54224         [BZ #12453]
54225         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54226         until all modules are registered in the DTV.
54227         * elf/Makefile: Add rules to build and run tst-tls19.
54228         * elf/tst-tls19.c: New file.
54229         * elf/tst-tls19mod1.c: New file.
54230         * elf/tst-tls19mod2.c: New file.
54231         * elf/tst-tls19mod3.c: New file.
54232         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54234         [BZ #12083]
54235         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54236         correctly.
54238         [BZ #12601]
54239         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54240         two-byte sequence errors.
54241         * iconvdata/Makefile (tests): Add bug-iconv8.
54242         * iconvdata/bug-iconv8.c: New file.
54244         [BZ #12626]
54245         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54246         buf2 definition.
54248         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54250         [BZ #12432]
54251         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54252         (dummy_getcfa): New function.
54253         (init): Get _Unwind_GetCFA address, use dummy if not found.
54254         (backtrace_helper): In recursion check, also check whether CFA changes.
54255         (__backtrace): Completely initialize arg.
54257         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54258         storing incomplete byte sequence in state object.  Avoid testing for
54259         guaranteed too small input if we know there is enough data available.
54261 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54263         * Makeconfig (+link-pie): Indent.
54264         * Rules (binaries-pie): Define if $(have-fpie) and
54265         $(build-shared).
54266         (binaries-shared): Also filter out $(binaries-pie).
54267         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54268         * nscd/Makefile (others-pie): Add nscd.
54269         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54270         ($(objpfx)nscd): Remove command override.
54271         * login/Makefile (others-pie): Add pt_chown.
54272         ($(objpfx)pt_chown): Remove command override.
54273         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54274         remove command overrides.
54276 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54278         * libio/tst_putwc.c: Fix error messages.
54280         [BZ #12724]
54281         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54282         currently writing and seek to current position when not.
54283         * libio/Makefile (tests): Add bug-fclose1.
54284         * libio/bug-fclose1.c: New file.
54286 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54288         [BZ #12511]
54289         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54290         don't set DF_1_NODELETE here.
54291         (do_lookup_x): When entering new entry test for copy relocation
54292         and if necessary set DF_1_NODELETE flag.
54293         * elf/tst-unique4.cc: New file.
54294         * elf/tst-unique4.h: New file.
54295         * elf/tst-unique4lib.cc: New file.
54296         * elf/Makefile: Add rules to build and run tst-unique4.
54297         Patch by Piotr Bury <pbury@goahead.com>.
54299 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54301         [BZ #12052]
54302         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54304         [BZ #12625]
54305         * misc/mntent_r.c (addmntent): Flush the stream after the output
54307         [BZ #12393]
54308         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54309         (is_trusted_path_normalize): Skip initial colon.  Append slash
54310         to empty buffer.  Duplicate is_trusted_path code but allow
54311         constructed patch to be prefix.
54312         (is_dst): Allow $ORIGIN followed by /.
54313         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54314         Correct testing of result of is_trusted_path_normalize
54315         (decompose_rpath): Fix warning.
54317 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54319         [BZ #11257]
54320         * grp/initgroups.c (internal_getgrouplist): When we found the service
54321         list through the initgroups entry in nsswitch.conf do not always
54322         continue on a successful lookup.  Don't always use the
54323         __nss_group_database value if it is set.
54324         * nss/nsswitch.conf (initgroups): Change action for successful db
54325         lookup to continue for compatibility.
54327 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54329         [BZ #11532]
54330         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54331         and CP774 modules.
54332         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54333         and CP774 modules.
54334         * iconvdata/tst-tables.sh: Likewise.
54335         * iconvdata/cp770.c: New file.
54336         * iconvdata/cp771.c: New file.
54337         * iconvdata/cp772.c: New file.
54338         * iconvdata/cp773.c: New file.
54339         * iconvdata/cp774.c: New file.
54340         * iconvdata/testdata/CP770: New file.
54341         * iconvdata/testdata/CP770..UTF8: New file.
54342         * iconvdata/testdata/CP771: New file.
54343         * iconvdata/testdata/CP771..UTF8: New file.
54344         * iconvdata/testdata/CP772: New file.
54345         * iconvdata/testdata/CP772..UTF8: New file.
54346         * iconvdata/testdata/CP773: New file.
54347         * iconvdata/testdata/CP773..UTF8: New file.
54348         * iconvdata/testdata/CP774: New file.
54349         * iconvdata/testdata/CP774..UTF8: New file.
54351         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54352         END CHARMAP line.
54353         * iconvdata/gen-8bit-gap.sh: Likewise.
54354         * iconvdata/gen-8bit.sh: Likewise.
54356         * locale/iso-639.def: Add ary entry.
54358         [BZ #11258]
54359         * locale/C-translit.h.in: Add U20A1 transliteration.
54361         [BZ #12178]
54362         * locale/iso-639.def: Add wae entry.
54363         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54365         [BZ #12545]
54366         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54367         for n.
54369         [BZ #12711]
54370         * locale/C-translit.h.in: Add entry for U20B9.
54371         Patch by pravin.d.s@gmail.com.
54373 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54375         [BZ #12713]
54376         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54377         ENAMETOOLONG use generic getcwd.
54378         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54379         in rtld.  Use *stat64.
54380         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54381         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54382         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54383         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54384         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54385         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54386         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54387         __fstatat64 macros.
54388         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54389         * dirent/rewinddir.c: Add libc_hidden_def.
54390         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54391         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54393         * include/dirent.h (__alloc_dir): Add flags parameter.
54394         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54395         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54396         __alloc_dir.
54397         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54398         from fdopendir if O_CLOEXEC is already set.
54400 2011-03-15  Alan Modra  <amodra@gmail.com>
54402         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54403         l_tls_firstbyte_offset non-zero.  Save padding offset in
54404         l_tls_firstbyte_offset for later use.
54405         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54406         freeing static tls block.
54408 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54410         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54411         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54412         being defined by the kernel headers.
54414 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54416         [BZ #12734]
54417         * resolv/resolv.h: Define RES_NOTLDQUERY.
54418         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54419         no-tld-query and set RES_NOTLDQUERY.
54420         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54421         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54422         modern BIND to search name as TLD unless forbidden.
54424 2011-05-07  Petr Baudis  <pasky@suse.cz>
54425             Ulrich Drepper  <drepper@gmail.com>
54427         [BZ #12393]
54428         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54429         (is_trusted_path): ...to here.
54430         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54431         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54432         using is_trusted_path_normalize() in setuid scripts.
54434 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54436         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54437         __BEGIN/__END_DECLS.
54439 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54442         NSS_STATUS_NOTFOUND if no record was found.
54444 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54446         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54447         (headers-not-in-tirpc): Remove rpc/netdb.h
54448         * resolv/netdb.h: Revert last change.
54450 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54452         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54453         circular dependency between libgcc.a and libc.a.
54455 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54457         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54458         * nis/Makefile: Don't install rpcsvc/*.
54459         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54460         instead of <rpc/types.h>.
54461         (MAXHOSTNAMELEN): Define.
54463 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54465         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54467 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54469         [BZ #12714]
54470         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54471         gethostbyname4_r when IPv6 results are possible.
54473 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54475         [BZ #12723]
54476         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54477         _PC_PIPE_BUF handling.
54479 2011-04-30  Bruno Haible  <bruno@clisp.org>
54481         [BZ #12717]
54482         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54483         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54484         to 'int'.
54485         * inet/getnameinfo.c (getnameinfo): Likewise.
54487 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54489         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54490         to groups setting in database lookup.
54491         * nss/nsswitch.conf: Add initgroups entry.
54493 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54495         [BZ #12685]
54496         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54497         mode string.
54498         Patch by Eric Blake <eblake@redhat.com>.
54500 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54502         * sunrpc/Makefile (need-export-routines): Add svc_run.
54503         (routines): Remove svc_run.
54504         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54505         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54506         * sunrpc/svc_run.c (svc_run): Likewise.
54507         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54509 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54511         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54512         problem in reallocation in last patch.
54514 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54516         * sunrpc/Makefile: Move inclusion of Rules.
54518 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54520         * nss/nss_files/files-initgroups.c: New file.
54521         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54522         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54523         _nss_files_initgroups_dyn.
54525 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54527         * elf/elf.h (R_ARM_IRELATIVE): Define.
54529 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54531         * po/ru.po: Update from translation team.
54533 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54535         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54536         dependencies.
54538 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54540         [BZ #12653]
54541         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54542         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54543         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54545         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54547 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54549         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54550         differing bytes.
54551         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54552         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54553         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54555 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54557         [BZ #12420]
54558         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54559         storing it.
54560         * stdlib/bug-getcontext.c: New file.
54561         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54563 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54565         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54566         instructions into .machine "z9-109".
54567         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54568         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54570 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54572         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54573         between environment variables and auxiliary vector.
54575 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54577         * Makefile: Add rules to build linkobj/libc.so.
54578         * include/libc-symbols.h: Define libc_hidden_nolink.
54579         * include/rpc/auth.h: Mark functions which are to be hidden.
54580         * include/rpc/auth_des.h: Likewise.
54581         * include/rpc/auth_unix.h: Likewise.
54582         * include/rpc/clnt.h: Likewise.
54583         * include/rpc/des_crypt.h: Likewise.
54584         * include/rpc/key_prot.h: Likewise.
54585         * include/rpc/pmap_clnt.h: Likewise.
54586         * include/rpc/pmap_prot.h: Likewise.
54587         * include/rpc/pmap_rmt.h: Likewise.
54588         * include/rpc/rpc_msg.h: Likewise.
54589         * include/rpc/svc.h: Likewise.
54590         * include/rpc/svc_auth.h: Likewise.
54591         * include/rpc/xdr.h: Likewise.
54592         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54593         * nss/Makefile: Likewise.
54594         * sunrpc/Makefile: Don't install headers.  Build library with normal
54595         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54596         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54597         for the compat linking library.  Remove use of INTDEF/INTUSE.
54598         * sunrpc/auth_none.c: Likewise.
54599         * sunrpc/auth_unix.c: Likewise.
54600         * sunrpc/authdes_prot.c: Likewise.
54601         * sunrpc/authuxprot.c: Likewise.
54602         * sunrpc/clnt_gen.c: Likewise.
54603         * sunrpc/clnt_perr.c: Likewise.
54604         * sunrpc/clnt_raw.c: Likewise.
54605         * sunrpc/clnt_simp.c: Likewise.
54606         * sunrpc/clnt_tcp.c: Likewise.
54607         * sunrpc/clnt_udp.c: Likewise.
54608         * sunrpc/clnt_unix.c: Likewise.
54609         * sunrpc/des_crypt.c: Likewise.
54610         * sunrpc/des_soft.c: Likewise.
54611         * sunrpc/get_myaddr.c: Likewise.
54612         * sunrpc/key_call.c: Likewise.
54613         * sunrpc/key_prot.c: Likewise.
54614         * sunrpc/netname.c: Likewise.
54615         * sunrpc/pm_getmaps.c: Likewise.
54616         * sunrpc/pm_getport.c: Likewise.
54617         * sunrpc/pmap_clnt.c: Likewise.
54618         * sunrpc/pmap_prot.c: Likewise.
54619         * sunrpc/pmap_prot2.c: Likewise.
54620         * sunrpc/pmap_rmt.c: Likewise.
54621         * sunrpc/publickey.c: Likewise.
54622         * sunrpc/rpc_cmsg.c: Likewise.
54623         * sunrpc/rpc_common.c: Likewise.
54624         * sunrpc/rpc_dtable.c: Likewise.
54625         * sunrpc/rpc_prot.c: Likewise.
54626         * sunrpc/rpc_thread.c: Likewise.
54627         * sunrpc/rtime.c: Likewise.
54628         * sunrpc/svc.c: Likewise.
54629         * sunrpc/svc_auth.c: Likewise.
54630         * sunrpc/svc_authux.c: Likewise.
54631         * sunrpc/svc_raw.c: Likewise.
54632         * sunrpc/svc_run.c: Likewise.
54633         * sunrpc/svc_simple.c: Likewise.
54634         * sunrpc/svc_tcp.c: Likewise.
54635         * sunrpc/svc_udp.c: Likewise.
54636         * sunrpc/svc_unix.c: Likewise.
54637         * sunrpc/svcauth_des.c: Likewise.
54638         * sunrpc/xcrypt.c: Likewise.
54639         * sunrpc/xdr.c: Likewise.
54640         * sunrpc/xdr_array.c: Likewise.
54641         * sunrpc/xdr_float.c: Likewise.
54642         * sunrpc/xdr_intXX_t.c: Likewise.
54643         * sunrpc/xdr_mem.c: Likewise.
54644         * sunrpc/xdr_rec.c: Likewise.
54645         * sunrpc/xdr_ref.c: Likewise.
54646         * sunrpc/xdr_sizeof.c: Likewise.
54647         * sunrpc/xdr_stdio.c: Likewise.
54649 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54651         [BZ #12650]
54652         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54653         * sysdeps/ia64/dl-tls.h: Likewise.
54654         * sysdeps/powerpc/dl-tls.h: Likewise.
54655         * sysdeps/s390/dl-tls.h: Likewise.
54656         * sysdeps/sh/dl-tls.h: Likewise.
54657         * sysdeps/sparc/dl-tls.h: Likewise.
54658         * sysdeps/x86_64/dl-tls.h: Likewise.
54659         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54661 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54663         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54664         rpath element also skip the following colon.
54665         (expand_dynamic_string_token): Add is_path parameter and pass
54666         down to DL_DST_REQUIRED and _dl_dst_substitute.
54667         (decompose_rpath): Call expand_dynamic_string_token with
54668         non-zero is_path.  Ignore empty rpaths.
54669         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54670         with zero is_path.
54672 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54675         Make cancelable.
54677 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54679         [BZ #12655]
54680         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54681         Patch by Filipe David Manana <fdmanana@apache.org>.
54683 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54685         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54686         Maintain aligned stack.
54687         (CHECK_RSP): Remove unused macro.
54689 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54691         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54692         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54694 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54696         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54698         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54700 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54702         [BZ #12518]
54703         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54704         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54705         * sysdeps/x86_64/memmove.c: New file.
54706         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54707         (memcpy): Renamed to ...
54708         (__new_memcpy): This.
54709         (memcpy): Provide GLIBC_2_14 memcpy.
54710         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54711         (memcpy): Provide GLIBC_2_2_5 memcpy.
54713 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54715         [BZ #12631]
54716         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54718 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54720         * misc/syncfs.c: New file.
54721         * misc/Makefile (routines): Add syncfs.
54722         * posix/unistd.h: Declare syncfs.
54723         * sysdeps/unix/syscalls.list: Add syncfs.
54725 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54727         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54728         open_by_handle_at.
54729         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54730         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54731         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54732         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54733         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54734         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54735         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54737 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54740         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54741         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54742         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54743         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54747         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54748         sync_file_range.c with -fexceptions.
54749         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54750         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54751         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54752         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54753         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54754         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54755         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54756         sync_file_range as cancellation point
54757         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54758         now a wrapper around __call_sync_file_range with cancellation handling.
54759         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54760         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54761         function name to __call_sync_file_range.
54762         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54763         Add call_sync_file_range.
54765 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54767         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54768         bits/timex.h.
54770 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54772         * iconv/iconv.h: Fix typo in comment.
54773         * io/fcntl.h: Likewise.
54774         * libio/stdio.h: Likewise.
54775         * posix/spawn.h: Likewise.
54776         * posix/unistd.h: Likewise.
54777         * stdlib/stdlib.h: Likewise.
54778         * time/time.h: Likewise.
54779         * wcsmbs/wchar.h: Likewise.
54781         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54782         open_by_handle): Add.
54783         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54784         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54785         Augment a few comments.
54786         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54787         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54788         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54789         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54790         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54791         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54792         open_by_handle.
54794         * io/fcntl.h (AT_EMPTY_PATH): Define.
54796 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54798         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54799         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54800         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54801         to...
54802         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54803         * Versions.def: Add GLIBC_2.14.
54804         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54805         Export.
54807 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54809         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54810         round counter.
54811         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54813 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54815         [BZ #12597]
54816         * string/test-strncmp.c (do_page_test): New function.
54817         (check2): Likewise.
54818         (test_main): Call check2.
54819         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54821 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54823         [BZ #12587]
54824         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54825         Handle cache information in CPU leaf 4.
54826         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54828 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54830         [BZ #12583]
54831         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54832         character representation.
54833         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54835 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54837         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54838         END(__isnan) to END(__isnanf) to match function entry point/label
54839         EALIGN(__isnanf,...).
54841 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54843         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54845 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54847         [BZ #12510]
54848         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54849         copy from the symbol referenced in the relocation to initialize the
54850         used variable.
54851         Patch by Piotr Bury <pbury@goahead.com>.
54852         * elf/Makefile: Add rules to build and tst-unique3.
54853         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54854         * elf/tst-unique3.cc: New file.
54855         * elf/tst-unique3.h: New file.
54856         * elf/tst-unique3lib.cc: New file.
54857         * elf/tst-unique3lib2.cc: New file.
54859         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54861 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54863         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54864         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54865         to _start.
54867 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54869         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54870         to-be-loaded object along a path to loader is ld.so.
54872 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54873             Ulrich Drepper  <drepper@gmail.com>
54875         * sysdeps/x86_64/memset.S: After aligning destination, code
54876         branches to different locations depending on the value of
54877         misalignment, when multiarch is enabled. Fix this.
54879 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54881         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54882         Set _x86_64_preferred_memory_instruction for AMD processsors.
54883         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54884         Set bit_Prefer_SSE_for_memop for AMD processors.
54886 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54888         * libio/fmemopen.c (fmemopen): Optimize a bit.
54890 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54892         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54894 2011-03-03  Roland McGrath  <roland@redhat.com>
54896         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54898 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54900         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54901         __bzero_ultra1 instead of __memset_ultra1.
54903 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54904             Ulrich Drepper  <drepper@gmail.com>
54906         [BZ #12509]
54907         * include/link.h (struct link_map): Add l_orig_initfini.
54908         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54909         returning unsuccessfully.
54910         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54911         close of a file loaded at startup, restore the original l_initfini
54912         list.
54913         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54914         list, store the pointer.
54915         * elf/Makefile ($(objpfx)noload-mem): New rule.
54916         (noload-ENV): Define.
54917         (tests): Add $(objpfx)noload-mem.
54918         * elf/noload.c: Include <memcheck.h>.
54919         (main): Call mtrace.  Close all opened handles.
54921 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54923         [BZ #12454]
54924         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54925         dependencies are missing.
54927 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54929         Fix __if_freereq crash: Unlike the generic version which uses free,
54930         Hurd needs munmap.
54931         * sysdeps/mach/hurd/ifreq.h: New file.
54933 2011-01-27  Petr Baudis  <pasky@suse.cz>
54934             Ulrich Drepper  <drepper@gmail.com>
54936         [BZ 12445]#
54937         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54938         to extend_alloca().
54939         * stdio-common/bug23.c: New file.
54940         * stdio-common/Makefile (tests): Add bug23.
54942 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54943             Ulrich Drepper  <drepper@gmail.com>
54945         [BZ #12489]
54946         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54947         before performing relro protection.  At old place add assertion
54948         to make sure nothing changed.
54950 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54951             Glauber de Oliveira Costa  <glommer@gmail.com>
54953         * elf/elf.h: Add new ARM TLS relocs.
54955 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54958         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54959         cast from r3.
54960         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54961         'tests' variable.
54962         * sysdeps/wordsize-64/tst-writev.c: New file.
54964 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54966         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54967         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54968         insns in _dl_start to prevent a TOC reference before relocs are
54969         resolved.
54971 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54973         [BZ #12469]
54974         * Makeconfig: Remove RANLIB definition.
54975         * Makerules: Don't use RANLIB.
54976         * aclocal.m4: Remove ranlib test.
54977         * configure.in: No need to check for ranlib.
54978         * elf/rtld-Rules: Don't use RANLIB.
54980 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54982         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54983         protection macro.
54984         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54985         inclusion protection macro.
54987         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54988         SIGRTMIN and SIGRTMAX and print information in that case only when
54989         SIGRTMIN is defined.
54991 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54993         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54994         arginfo fn returning -1.
54996         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54997         and thousands string is zero terminated.
54999 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55001         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55002         sysdeps/unix/sysv/linux/bits/socket.h.
55004 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55006         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55007         (__CPU_COUNT): Remove old macros.
55008         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55009         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55010         (__CPU_ALLOC, __CPU_FREE): Add macros.
55011         (__sched_cpualloc, __sched_cpufree): Add declarations.
55013 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55015         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55016         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55017         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55018         (readdhstai): Return value of addhstaiX call.
55019         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55020         (addgrbyX): Return value returned by cache_addgr.
55021         (readdgrbyname): Return value returned by addgrbyX.
55022         (readdgrbygid): Likewise.
55023         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55024         (addpwbyX): Return value returned by cache_addpw.
55025         (readdpwbyname): Return value returned by addhstbyX.
55026         (readdpwbyuid): Likewise.
55027         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55028         (addservbyX): Return value returned by cache_addserv.
55029         (readdservbyname): Return value returned by addservbyX:
55030         (readdservbyport): Likewise.
55031         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55032         (addhstbyX): Return value returned by cache_addhst.
55033         (readdhstbyname): Return value returned by addhstbyX.
55034         (readdhstbyaddr): Likewise.
55035         (readdhstbynamev6): Likewise.
55036         (readdhstbyaddrv6): Likewise.
55037         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55038         (readdinitgroups): Return value returned by addinitgroupsX.
55039         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55040         (prune_cache): Keep track of timeout value of re-added entries.
55041         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55042         * nscd/nscd.h: Adjust prototypes of readd* functions.
55044 2011-02-04  Roland McGrath  <roland@redhat.com>
55046         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55047         (nis_stats): Likewise.
55048         * nis/nis_modify.c (nis_modify): Likewise.
55049         * nis/nis_remove.c (nis_remove): Likewise.
55050         * nis/nis_add.c (nis_add): Likewise.
55052         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55054         * posix/fnmatch_loop.c: Add some consts.
55056         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55058 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55060         [BZ #12460]
55061         * config.make.in (config-cflags-novzeroupper): Define.
55062         * configure.in: Substitute libc_cv_cc_novzeroupper.
55063         * elf/Makefile (AVX-CFLAGS): Define.
55064         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55065         (CFLAGS-tst-auditmod4a.c): Likewise.
55066         (CFLAGS-tst-auditmod4b.c): Likewise.
55067         (CFLAGS-tst-auditmod6b.c): Likewise.
55068         (CFLAGS-tst-auditmod6c.c): Likewise.
55069         (CFLAGS-tst-auditmod7b.c): Likewise.
55070         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55072 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55074         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55075         function to the callback.
55076         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55078 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55080         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55081         of errno.
55083 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55085         [BZ #11724]
55086         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55087         of constructors.
55088         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55089         of destructors.
55090         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55092         [BZ #11724]
55093         * elf/Makefile: Add rules to build and run new test.
55094         * elf/tst-initorder.c: New file.
55095         * elf/tst-initorder.exp: New file.
55096         * elf/tst-initordera1.c: New file.
55097         * elf/tst-initordera2.c: New file.
55098         * elf/tst-initordera3.c: New file.
55099         * elf/tst-initordera4.c: New file.
55100         * elf/tst-initorderb1.c: New file.
55101         * elf/tst-initorderb2.c: New file.
55102         * elf/tst-order-a1.c: New file.
55103         * elf/tst-order-a2.c: New file.
55104         * elf/tst-order-a3.c: New file.
55105         * elf/tst-order-a4.c: New file.
55106         * elf/tst-order-b1.c: New file.
55107         * elf/tst-order-b2.c: New file.
55108         * elf/tst-order-main.c: New file.
55109         New test case by George Gensure <werkt0@gmail.com>.
55111 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55114         decoding ACE if AI_CANONIDN.
55116 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55118         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55120 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55122         * version.h (RELEASE): Bump for 2.13 release.
55123         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55125         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55127         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55128         MADV_NOHUGEPAGE.
55129         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55130         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55131         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55132         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55133         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55134         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55136         * posix/getconf.c: Update copyright year.
55137         * catgets/gencat.c: Likewise.
55138         * csu/version.c: Likewise.
55139         * debug/catchsegv.sh: Likewise.
55140         * debug/xtrace.sh: Likewise.
55141         * elf/ldconfig.c: Likewise.
55142         * elf/ldd.bash.in: Likewise.
55143         * elf/sprof.c (print_version): Likewise.
55144         * iconv/iconv_prog.c: Likewise.
55145         * iconv/iconvconfig.c: Likewise.
55146         * locale/programs/locale.c: Likewise.
55147         * locale/programs/localedef.c: Likewise.
55148         * malloc/memusage.sh: Likewise.
55149         * malloc/mtrace.pl: Likewise.
55150         * nscd/nscd.c (print_version): Likewise.
55151         * nss/getent.c: Likewise.
55153         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55154         PF_CAIF, and PF_ALG.
55155         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55157 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55159         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55160         (modules-names): Use them.
55161         (ifunc-test-modules, ifunc-pie-tests): Define.
55162         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55163         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55164         (test-extras): Likewise.
55165         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55166         $(compile-command.c).
55167         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55168         (all-built-dso): Define.
55169         (check-textrel.out, check-execstack.out): Depend on it.
55171         * configure.in: Don't override --enable-multi-arch.
55173 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55175         [BZ #6812]
55176         * nscd/hstcache.c (tryagain): Define.
55177         (cache_addhst): Return tryagain not notfound for temporary errors.
55178         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55179         failed.
55181 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55183         [BZ #10563]
55184         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55185         to make the syscall.
55186         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55188         [BZ #12378]
55189         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55190         and fall back to matching as normal character if the string ends before
55191         the matching ']' is found.  This is what POSIX requires.
55192         * posix/testfnm.c: Adjust test result.
55193         * posix/globtest.sh: Adjust test result.  Add new test.
55194         * posix/tst-fnmatch.input: Likewise.
55195         * posix/tst-fnmatch2.c: Add new test.
55197 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55199         * elf/Makefile (check-execstack): Revert last change.  Depend on
55200         check-execstack.h.
55201         (check-execstack.h): New target.
55202         (generated): Add check-execstack.h.
55203         * elf/check-execstack.c: Include "check-execstack.h".
55204         (main): Revert last change.
55205         (handle_file): Return zero if GNU_STACK is absent and
55206         DEFAULT_STACK_PERMS doesn't include PF_X.
55208 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55210         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55211         in child fails because the descriptor is already closed.
55212         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55213         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55214         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55216         [BZ #12397]
55217         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55218         syscall.
55220         [BZ #10484]
55221         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55222         temporary buffer used to handle multi lookups locally.
55223         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55225 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55227         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55228         loader is ld.so.
55230 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55232         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55233         alignment for SSE2.
55235 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55237         [BZ #12394]
55238         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55239         characters.  When rounding increased number of integer digits recompute
55240         number of groups.
55241         * stdio-common/tst-grouping.c: New file.
55242         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55244 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55246         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55247         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55249         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55250         void.
55251         * bits/select.h: Likewise.
55253 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55255         * po/ja.po: Update from translation team.
55257 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55259         [BZ #11155]
55260         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55261         implementation just like for lxstat, fxstatat, et al.
55263 2010-12-27  Jim Meyering  <meyering@redhat.com>
55265         [BZ #12348]
55266         * posix/regexec.c (build_trtable): Return failure indication upon
55267         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55269 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55271         [BZ #12201]
55272         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55273         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55274         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55275         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55277         [BZ #12207]
55278         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55280         [BZ #12204]
55281         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55282         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55284 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55286         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55287         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55288         script has SORT_BY_INIT_PRIORITY.
55289         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55290         NO_CTORS_DTORS_SECTIONS is defined.
55291         * elf/soinit.c: Likewise.
55292         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55293         NO_CTORS_DTORS_SECTIONS is defined.
55294         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55295         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55296         * sysdeps/sh/init-first.c: Likewise.
55297         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55299 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55301         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55302         always use the slow path.
55304 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55306         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55307         similar rule which adds the sysdep directories to the header search in
55308         order to pick up the correct platform stackinfo.h.
55309         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55310         perform test if it is, otherwise return successfully without testing.
55311         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55312         DEFAULT_STACK_PERMS define in stackinfo.h.
55313         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55314         defined in stackinfo.h.
55315         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55316         DEFAULT_STACK_PERMS defined in stackinfo.h.
55317         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55318         * sysdeps/ia64/stackinfo.h: Likewise.
55319         * sysdeps/s390/stackinfo.h: Likewise.
55320         * sysdeps/sh/stackinfo.h: Likewise.
55321         * sysdeps/sparc/stackinfo.h: Likewise.
55322         * sysdeps/x86_64/stackinfo.h: Likewise.
55323         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55324         PF_X for powerpc64.  Retain PF_X for powerpc32.
55326 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55328         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55329         accurately.
55330         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55331         GETDENTS_64BIT_ALIGNED.
55333 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55335         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55337 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55339         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55340         _GNU_SOURCE.
55342         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55343         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55344         Remove __restrict.
55345         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55346         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55348 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55350         [BZ #11655]
55351         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55352         are initialized.
55354 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55356         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55358 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55360         * po/it.po: Update from translation team.
55362 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55364         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55365         unused codes.
55367 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55369         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55371 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55373         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55374         specially.
55375         (gaih_getanswer_slice): Likewise.
55377 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55381 2010-05-31  Petr Baudis  <pasky@suse.cz>
55383         [BZ #11149]
55384         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55385         silently even in the chroot mode.
55387 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55389         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55390         last patch a bit.  Pretty printing
55392 2010-05-31  Petr Baudis <pasky@suse.cz>
55394         [BZ #10085]
55395         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55396         initialization of skip_initgroups_dyn.
55398 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55400         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55401         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55403 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55405         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55407 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55409         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55410         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55411         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55412         ($(objpfx)tst-fnmatch-mem): New rule.
55413         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55414         * posix/tst-fnmatch.c (main): Call mtrace.
55416 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55419         Support Intel processor model 6 and model 0x2c.
55421 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55423         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55424           signed comparison.
55426 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55428         [BZ #12205]
55429         * string/test-strncasecmp.c (check_result): New function.
55430         (do_one_test): Use it.
55431         (check1): New function.
55432         (test_main): Use it.
55433         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55434         Support strcasecmp and strncasecmp.
55436 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55438         [BZ #12194]
55439         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55440         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55442 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55444         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55445         IFUNC support.
55446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55447         memset-x86-64.
55448         * sysdeps/x86_64/multiarch/bzero.S: New file.
55449         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55450         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55451         * sysdeps/x86_64/multiarch/memset.S: New file.
55452         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55454         Set bit_Prefer_SSE_for_memop for Intel processors.
55455         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55456         Define.
55457         (index_Prefer_SSE_for_memop): Define.
55458         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55460 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55462         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55463         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55465 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55467         [BZ #12191]
55468         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55469         (__x86_64_raw_data_cache_size_half): Likewise.
55470         (__x86_64_raw_shared_cache_size): Likewise.
55471         (__x86_64_raw_shared_cache_size_half): Likewise.
55473         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55474         (__x86_64_raw_data_cache_size_half): Likewise.
55475         (__x86_64_raw_shared_cache_size): Likewise.
55476         (__x86_64_raw_shared_cache_size_half): Likewise.
55477         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55478         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55479         and __x86_64_raw_shared_cache_size_half.  Round
55480         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55481         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55482         to multiple of 256 bytes.
55484 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55486         [BZ #12167]
55487         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55488         of inacessible symlinks.  Verify result of symlink before returning it.
55489         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55490         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55492 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55494         * math/math.h (isinf): Fix typo in comment.
55496 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55498         * po/da.po: Update from translation team.
55500 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55502         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55503         is added to the list.
55505 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55506             Ulrich Drepper  <drepper@gmail.com>
55508         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55509         the global list here.  Move code to...
55510         (_dl_add_to_namespace_list): ...here.  New function.
55511         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55512         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55513         * elf/dl-load.c (lose): Don't remove the element from the list.
55514         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55515         (_dl_map_object): Likewise.
55517 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55519         [BZ #12159]
55520         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55521         into all bytes of SSE register.
55522         Patch by Richard Li <richardpku@gmail.com>.
55524 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55526         [BZ #12140]
55527         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55528         perturbing.
55530 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55532         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55533         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55534         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55535         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55537         submachine.
55538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55540 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55542         * include/dlfcn.h (__RTLD_SECURE): Define.
55543         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55544         mode & __RTLD_SECURE instead.
55545         (open_path): Rename preloaded parameter to secure.
55546         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55547         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55548         * elf/dl-deps.c (openaux): Likewise.
55549         * elf/rtld.c (struct map_args): Remove is_preloaded.
55550         (map_doit): Don't use it.
55551         (dl_main): Likewise.
55552         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55553         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55555 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55557         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55558         (sysd-rules-targets): Remove duplicates.
55559         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55560         rtld-%.$o dependency.
55562 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55564         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55565         _dl_map_object do it.
55567 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55569         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55570         fast fma builtins, define the macros in the C99 standard.
55571         (FP_FAST_FMAF): Likewise.
55572         (FP_FAST_FMAL): Likewise.
55573         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55575         * bits/mathdef.h: Update copyright year.
55576         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55578 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55580         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55581         builtins, define the macros in the C99 standard.
55582         (FP_FAST_FMAF): Likewise.
55583         (FP_FAST_FMAL): Likewise.
55584         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55585         multiply/add.
55586         (FP_FAST_FMAF): Likewise.
55588 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55590         [BZ #3268]
55591         * math/libm-test.inc (fma_test): Some new testcases.
55592         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55593         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55594         y and infinite z.  Do multiplication by C already in long double.
55595         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55596         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55597         y and infinite z.  Do bitwise or of inexact bit into u.d.
55598         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55599         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55600         * sysdeps/i386/fpu/s_fma.S: Removed.
55601         * sysdeps/i386/fpu/s_fmal.S: Removed.
55603 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55605         [BZ #3268]
55606         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55608         computation is not scheduled after fetestexcept.  Fix value
55609         of minimum denormal long double.
55611 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55613         [BZ #3268]
55614         * math/libm-test.inc (fma_test): Add some more tests.
55615         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55616         correctly.
55618 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55620         * scripts/data/localplt-s390-linux-gnu.data: New file.
55621         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55623 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55625         [BZ #3268]
55626         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55627         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55628         instead of dbl-64.
55629         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55630         inlines.
55631         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55632         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55633         if one of x and y is very large and the other is subnormal.
55634         * sysdeps/s390/fpu/s_fmaf.c: New file.
55635         * sysdeps/s390/fpu/s_fma.c: New file.
55636         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55637         * sysdeps/powerpc/fpu/s_fma.S: New file.
55638         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55639         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55640         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55642 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55644         [BZ #3268]
55645         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55646         fma tests.
55647         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55648         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55649         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55650         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55651         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55652         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55653         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55655 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55657         [BZ #12078]
55658         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55659         * posix/bug-regex31.input: Add test case.
55661 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55663         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55664         * posix/bug-regex31.input: New file.
55666         [BZ #12078]
55667         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55668         (parse_sub_exp): Fix last change, use postorder.
55670         * posix/bug-regex31.c: New file.
55671         * posix/Makefile: Add rules to build and run bug-regex31.
55673         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55675         [BZ #12078]
55676         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55678         [BZ #12108]
55679         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55680         to have entries in sys_siglist.
55682         [BZ #12093]
55683         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55684         be NULL.
55686 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55688         [BZ #3268]
55689         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55690         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55691         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55692         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55693         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55694         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55695         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55696         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55697         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55698         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55699         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55700         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55701         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55702         * math/ftestexcept.c (fetestexcept): Likewise.
55703         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55704         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55705         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55706         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55707         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55708         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55709         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55711 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55713         [BZ #12107]
55714         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55715         newline.
55717 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55719         * string/bug-strstr1.c: New file.
55720         * string/Makefile: Add rules to build and run bug-strstr1.
55722 2010-10-05  Eric Blake  <eblake@redhat.com>
55724         [BZ #12092]
55725         * string/str-two-way.h (two_way_long_needle): Always clear memory
55726         when skipping input due to the shift table.
55728 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55730         [BZ #12005]
55731         * malloc/mcheck.c: Handle large requests.
55733         [BZ #12077]
55734         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55735         for strncmp and strncasecmp.
55736         * string/stratcliff.c: Add tests for strcmp and strncmp.
55737         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55739 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55741         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55742         __set_fpscr.
55744 2010-09-30  Andreas Jaeger  <aj@suse.de>
55746         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55747         (CGROUP_SUPER_MAGIC): Define.
55748         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55749         Handle btrfs and cgroup file systems.
55750         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55751         Likewise.
55753 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55755         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55756         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55758 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55760         [BZ #12067]
55761         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55762         trying to locate the ELF header.
55764 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55766         [BZ #11611]
55767         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55768         Mask out sign-bit copies when constructing f_fsid.
55770 2010-09-24  Petr Baudis <pasky@suse.cz>
55772         * debug/stack_chk_fail_local.c: Add missing licence exception.
55773         * debug/warning-nop.c: Likewise.
55775 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55777         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55778         implementing getdents64 using getdents syscall, set d_type if
55779         __ASSUME_GETDENTS32_D_TYPE.
55781 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55783         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55784         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55786 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55788         [BZ #12037]
55789         * posix/unistd.h: Undo change of feature selection for ftruncate from
55790         2010-01-11.
55792 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55794         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55795         detection.
55797 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55799         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55800         fanotify_mark.
55801         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55803 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55805         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55806         variables after CHECK_SP call.
55807         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55809 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55810             Ulrich Drepper  <drepper@redhat.com>
55812         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55813         re-relocationg ld.so.
55814         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55815         _dl_init_paths call.
55816         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55817         here anymore.
55819 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55821         * resolv/res_init.c (__res_vinit): Count the default server we added.
55823 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55824             Ulrich Drepper  <drepper@redhat.com>
55826         [BZ #11968]
55827         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55828         (____longjmp_chk): Use %ebx for saving value across system call.
55829         Add unwind info.
55831 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55833         * manual/Makefile: Don't mix pattern rules with normal rules.
55835 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55837         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55838         operation.
55839         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55840         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55841         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55842         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55843         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55844         Likewise.
55846 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55848         [BZ #11979]
55849         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55850         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55852 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55854         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55855         * sysdeps/x86_64/addmul_1.S: Likewise.
55856         * sysdeps/x86_64/lshift.S: Likewise.
55857         * sysdeps/x86_64/mul_1.S: Likewise.
55858         * sysdeps/x86_64/rshift.S: Likewise.
55859         * sysdeps/x86_64/sub_n.S: Likewise.
55860         * sysdeps/x86_64/submul_1.S: Likewise.
55862 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55864         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55865         Define __sched_param instead of SCHED_* and sched_param when
55866         <bits/sched.h> is included with __need_schedparam defined.
55867         * bits/sched.h [__need_schedparam]
55868         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55869         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55870         (__defined_schedparam): Define to 1.
55871         (__sched_param): New structure, identical to sched_param.
55872         (__need_schedparam): Undefine.
55874 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55876         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55877         (epoll_create1): Declare.
55879         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55881 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55883         [BZ #7066]
55884         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55885         shifting retval into place.
55887 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55889         * nis/rpcsvc/nis.h: Update copyright notice.
55890         * nis/rpcsvc/nis.x: Likewise.
55891         * nis/rpcsvc/nis_callback.h: Likewise.
55892         * nis/rpcsvc/nis_callback.x: Likewise.
55893         * nis/rpcsvc/nis_object.x: Likewise.
55894         * nis/rpcsvc/nis_tags.h: Likewise.
55895         * nis/rpcsvc/yp.h: Likewise.
55896         * nis/rpcsvc/yp.x: Likewise.
55897         * nis/rpcsvc/ypupd.h: Likewise.
55898         * nis/yp_xdr.c: Likewise.
55899         * nis/ypupdate_xdr.c: Likewise.
55901         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55902         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55903         (pmap_getport): Use __libc_rpc_getport.
55904         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55905         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55906         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55908 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55911         fanotify_mark.
55913 2010-08-27  Roland McGrath  <roland@redhat.com>
55915         * sysdeps/i386/i686/multiarch/Makefile
55916         (CFLAGS-varshift.c): New variable.
55918 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55920         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55921         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55923         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55925         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55927 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55929         * sysdeps/x86_64/strlen.S: Unroll the loop.
55930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55931         strlen-sse2 strlen-sse2-bsf.
55932         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55933         __strlen_no_bsf if bit_Slow_BSF is set.
55934         (__strlen_sse42): Removed.
55935         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55936         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55938 2010-08-25  Roland McGrath  <roland@redhat.com>
55940         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55941         * sysdeps/x86_64/multiarch/varshift.c: New file.
55942         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55943         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55944         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55945         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55947 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55950         strlen-sse2 strlen-sse2-bsf.
55951         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55952         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55953         (__strlen_sse2): Removed.
55954         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55955         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55956         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55957         bit_Slow_BSF for Atom.
55958         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55959         (index_Slow_BSF): Define.
55960         (HAS_SLOW_BSF): Define.
55962 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55964         [BZ #10851]
55965         * resolv/res_init.c (__res_vinit): When no server address at all
55966         is given default to loopback.
55968 2010-08-24  Roland McGrath  <roland@redhat.com>
55970         * configure.in: Remove config-name.h generation.
55971         * configure: Regenerated.
55972         * config-name.in: File removed.
55973         * scripts/config-uname.sh: New file.
55974         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55975         ($(objdir)config-name.h): New target.
55977         * sunrpc/rpc_parse.h: Avoid nested comment.
55979 2010-08-24  Richard Henderson  <rth@redhat.com>
55980             Ulrich Drepper  <drepper@redhat.com>
55981             H.J. Lu  <hongjiu.lu@intel.com>
55983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55984         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55985         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55986         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55987         _mm_alignr_epi8 with _mm_loadu_si128.
55988         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55989         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55990         (__m128i_shift_right): Removed.
55991         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55992         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55993         * sysdeps/x86_64/multiarch/varshift.h: New file.
55994         * sysdeps/x86_64/multiarch/varshift.S: New file.
55996 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55998         * configure.in: Move assembler checks to before sysdep dir checking.
56000 2010-08-20  Petr Baudis  <pasky@suse.cz>
56002         * LICENSES: Sync the sunrpc license.
56004 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56006         * sunrpc/auth_des.c: Update copyright notice once again.
56007         * sunrpc/auth_none.c: Likewise.
56008         * sunrpc/auth_unix.c: Likewise.
56009         * sunrpc/authdes_prot.c: Likewise.
56010         * sunrpc/authuxprot.c: Likewise.
56011         * sunrpc/bindrsvprt.c: Likewise.
56012         * sunrpc/clnt_gen.c: Likewise.
56013         * sunrpc/clnt_perr.c: Likewise.
56014         * sunrpc/clnt_raw.c: Likewise.
56015         * sunrpc/clnt_simp.c: Likewise.
56016         * sunrpc/clnt_tcp.c: Likewise.
56017         * sunrpc/clnt_udp.c: Likewise.
56018         * sunrpc/clnt_unix.c: Likewise.
56019         * sunrpc/des_crypt.c: Likewise.
56020         * sunrpc/des_soft.c: Likewise.
56021         * sunrpc/get_myaddr.c: Likewise.
56022         * sunrpc/getrpcport.c: Likewise.
56023         * sunrpc/key_call.c: Likewise.
56024         * sunrpc/key_prot.c: Likewise.
56025         * sunrpc/openchild.c: Likewise.
56026         * sunrpc/pm_getmaps.c: Likewise.
56027         * sunrpc/pm_getport.c: Likewise.
56028         * sunrpc/pmap_clnt.c: Likewise.
56029         * sunrpc/pmap_prot.c: Likewise.
56030         * sunrpc/pmap_prot2.c: Likewise.
56031         * sunrpc/pmap_rmt.c: Likewise.
56032         * sunrpc/rpc/auth.h: Likewise.
56033         * sunrpc/rpc/auth_unix.h: Likewise.
56034         * sunrpc/rpc/clnt.h: Likewise.
56035         * sunrpc/rpc/des_crypt.h: Likewise.
56036         * sunrpc/rpc/key_prot.h: Likewise.
56037         * sunrpc/rpc/netdb.h: Likewise.
56038         * sunrpc/rpc/pmap_clnt.h: Likewise.
56039         * sunrpc/rpc/pmap_prot.h: Likewise.
56040         * sunrpc/rpc/pmap_rmt.h: Likewise.
56041         * sunrpc/rpc/rpc.h: Likewise.
56042         * sunrpc/rpc/rpc_des.h: Likewise.
56043         * sunrpc/rpc/rpc_msg.h: Likewise.
56044         * sunrpc/rpc/svc.h: Likewise.
56045         * sunrpc/rpc/svc_auth.h: Likewise.
56046         * sunrpc/rpc/types.h: Likewise.
56047         * sunrpc/rpc/xdr.h: Likewise.
56048         * sunrpc/rpc_clntout.c: Likewise.
56049         * sunrpc/rpc_cmsg.c: Likewise.
56050         * sunrpc/rpc_common.c: Likewise.
56051         * sunrpc/rpc_cout.c: Likewise.
56052         * sunrpc/rpc_dtable.c: Likewise.
56053         * sunrpc/rpc_hout.c: Likewise.
56054         * sunrpc/rpc_main.c: Likewise.
56055         * sunrpc/rpc_parse.c: Likewise.
56056         * sunrpc/rpc_parse.h: Likewise.
56057         * sunrpc/rpc_prot.c: Likewise.
56058         * sunrpc/rpc_sample.c: Likewise.
56059         * sunrpc/rpc_scan.c: Likewise.
56060         * sunrpc/rpc_scan.h: Likewise.
56061         * sunrpc/rpc_svcout.c: Likewise.
56062         * sunrpc/rpc_tblout.c: Likewise.
56063         * sunrpc/rpc_util.c: Likewise.
56064         * sunrpc/rpc_util.h: Likewise.
56065         * sunrpc/rpcinfo.c: Likewise.
56066         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56067         * sunrpc/rpcsvc/key_prot.x: Likewise.
56068         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56069         * sunrpc/rpcsvc/mount.x: Likewise.
56070         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56071         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56072         * sunrpc/rpcsvc/rex.x: Likewise.
56073         * sunrpc/rpcsvc/rstat.x: Likewise.
56074         * sunrpc/rpcsvc/rusers.x: Likewise.
56075         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56076         * sunrpc/rpcsvc/spray.x: Likewise.
56077         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56078         * sunrpc/rtime.c: Likewise.
56079         * sunrpc/svc.c: Likewise.
56080         * sunrpc/svc_auth.c: Likewise.
56081         * sunrpc/svc_authux.c: Likewise.
56082         * sunrpc/svc_raw.c: Likewise.
56083         * sunrpc/svc_run.c: Likewise.
56084         * sunrpc/svc_simple.c: Likewise.
56085         * sunrpc/svc_tcp.c: Likewise.
56086         * sunrpc/svc_udp.c: Likewise.
56087         * sunrpc/svc_unix.c: Likewise.
56088         * sunrpc/svcauth_des.c: Likewise.
56089         * sunrpc/xcrypt.c: Likewise.
56090         * sunrpc/xdr.c: Likewise.
56091         * sunrpc/xdr_array.c: Likewise.
56092         * sunrpc/xdr_float.c: Likewise.
56093         * sunrpc/xdr_mem.c: Likewise.
56094         * sunrpc/xdr_rec.c: Likewise.
56095         * sunrpc/xdr_ref.c: Likewise.
56096         * sunrpc/xdr_sizeof.c: Likewise.
56097         * sunrpc/xdr_stdio.c: Likewise.
56099         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56100         handling.
56102 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56104         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56106 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56108         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56109         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56110         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56111         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56112         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56113         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56114         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56115         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56116         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56117         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56118         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56119         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56120         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56121         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56123 2010-07-26  Anton Blanchard  <anton@samba.org>
56125         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56126         * malloc/arena.c (heap_trim): Likewise.
56128 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56130         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56131         here.  Not...
56132         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56133         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56135 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56137         * sysdeps/i386/elf/Makefile: New file.
56139 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56141         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56142         from fanotify_init.
56143         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56144         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56146 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56148         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56149         of strncasecmp_l.
56150         * sysdeps/multiarch/strcmp.S: Likewise.
56152 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56154         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56155         strncase_l-nonascii.
56156         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56157         Add strncase_l-ssse3.
56158         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56159         * sysdeps/x86_64/strcmp.S: Likewise.
56160         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56161         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56162         * sysdeps/x86_64/strncase.S: New file.
56163         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56164         * sysdeps/x86_64/strncase_l.S: New file.
56165         * string/Makefile (strop-tests): Add strncasecmp.
56166         * string/test-strncasecmp.c: New file.
56168         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56169         warning.
56171         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56172         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56174 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56176         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56178 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56180         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56181         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56182         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56184 2010-05-01  Alan Modra  <amodra@gmail.com>
56186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56187         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56188         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56189         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56190         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56191         tidying.  Don't tail-call __sigjmp_save for static lib.
56192         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56193         save location.
56194         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56195         (CALL_MCOUNT): Add eh info, and nop after bl.
56196         (TAIL_CALL_SYSCALL_ERROR): New macro.
56197         (PSEUDO_RET): Use it.
56198         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56199         Correct save location of integer regs and cr.
56200         (_dl_profile_resolve): Correct cr save location.  Delete nops
56201         after bl when SHARED.  Reduce cfi size a little by better
56202         placement of cfi directives.
56203         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56204         make a stack frame.  Instead use parm save area as a temp.
56205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56206         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56208         Don't make a stack frame for parent, use parm save area.
56209         Increase child stack frame to 112 bytes.  Don't save unused reg,
56210         and adjust reg usage.  Set up cfi on error recovery and
56211         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56213         (__makecontext): Add dummy nop after jump to exit.
56214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56215         Use correct parm save area and cr save, reduce stack frame.
56216         Correct cfi for possible PSEUDO_RET frame setup.
56217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56218         Branch to local label emitted by PSEUDO_RET rather than
56219         __syscall_error.
56221 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56223         [BZ #11904]
56224         * locale/programs/locale.c (print_assignment): New function.
56225         (show_locale_vars): Use it.
56227 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56229         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56230         field.
56231         (struct statfs64): Likewise.
56232         (_STATFS_F_FLAGS): Define.
56233         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56234         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56235         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56236         (ST_VALID): Define locally.
56237         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56238         __statvfs_getflags, use the provided value.
56239         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56240         __ASSUME_STATFS_F_FLAGS.
56242         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56244         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56245         Add sys/fanotify.h.
56246         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56247         fanotify_mask for GLIBC_2.13.
56248         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56249         fanotify_init and fanotify_mark.
56250         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56251         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56253         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56254         Add prlimit.
56255         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56256         prlimit64 for GLIBC_2.13.
56257         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56258         prlimit64.
56259         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56260         syscall.
56261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56262         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56263         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56264         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56265         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56266         add prlimit alias.
56267         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56269         [BZ #11903]
56270         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56271         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56273         * nss/Makefile: Add rules to build and run tst-nss-test1.
56274         * shlib-versions: Add entry for libnss_test1.
56275         * nss/nss_test1.c: New file.
56276         * nss/tst-nss-test1.c: New file.
56278         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56279         (__nss_configure_lookup): Set appropriate entry in
56280         __nss_configure_lookup to true.
56281         * nss/nsswitch.h: Define enum with indeces of databases in
56282         databases and __nss_database_custom arrays.  Declare
56283         __nss_database_custom.
56284         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56285         to avoid using nscd when custom rules are installed.
56286         * nss/getXXbyYY_r.c: Likewise.
56287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56289         * nss/nss_files/files-parse.c: Whitespace fixes.
56291 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56293         [BZ #11883]
56294         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56295         * posix/fnmatch_loop.c: Likewise.
56297 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56299         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56300         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56301         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56302         * Versions.def [GLIBC_2.13]: Add.
56304 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56306         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56307         Also fail if tpwd after pwuid call is NULL.
56309 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56311         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56312         when converting to ms.
56314 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56316         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56317         EOPNOTSUPP errors with ENOTTY.
56318         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56319         EOPNOTSUPP errors with ENOTTY.
56321 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56323         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56324         Add strcasecmp_l-ssse3.
56325         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56326         strcasecmp.
56327         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56328         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56329         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56331 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56333         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56335         * string/Makefile (strop-tests): Add strcasecmp.
56336         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56337         strcasecmp_l-nonascii.
56338         (gen-as-const-headers): Add locale-defines.sym.
56339         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56340         * sysdeps/x86_64/strcasecmp.S: New file.
56341         * sysdeps/x86_64/strcasecmp_l.S: New file.
56342         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56343         * sysdeps/x86_64/locale-defines.sym: New file.
56344         * string/test-strcasecmp.c: New file.
56346         * string/test-strcasestr.c: Test both ends of the range of characters.
56347         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56349 2010-07-29  Roland McGrath  <roland@redhat.com>
56351         [BZ #11856]
56352         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56354 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56356         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56357         for ld.so.
56359 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56361         * manual/memory.texi (Malloc Tunable Parameters): Document
56362         M_PERTURB.
56364 2010-07-26  Roland McGrath  <roland@redhat.com>
56366         [BZ #11840]
56367         * configure.in (-fgnu89-inline check): Set and substitute
56368         gnu89_inline, not libc_cv_gnu89_inline.
56369         * configure: Regenerated.
56370         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56372 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56374         * string/test-strnlen.c: New file.
56375         * string/Makefile (strop-tests): Add strnlen.
56376         * string/tester.c (test_strnlen): Add a few more test cases.
56377         * string/tst-strlen.c: Better error reporting.
56379         * sysdeps/x86_64/strnlen.S: New file.
56381 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56383         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56384         lower-latency instructions.
56386 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56388         * string/test-strcasestr.c: New file.
56389         * string/test-strstr.c: New file.
56390         * string/Makefile (strop-tests): Add strstr and strcasestr.
56391         * string/str-two-way.h: Don't undefine MAX.
56392         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56394 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56396         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56397         strcasestr-nonascii.
56398         (CFLAGS-strcasestr-nonascii.c): Define.
56399         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56401         Remove unused attribute.
56403 2010-07-20  Roland McGrath  <roland@redhat.com>
56405         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56406         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56407         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56408         like LD_HWCAP_MASK can disable hwcaps.
56410 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56412         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56414 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56416         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56417         call in strcasestr.
56418         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56419         __strcasestr_sse42_nonascii.
56420         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56421         strcasestr-nonascii.c.
56422         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56424 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56426         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56427         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56429         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56431 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56433         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56434         fcntl.
56436 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56438         [BZ #11577]
56439         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56440         dl_signal_cerror.
56442 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56444         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56445         _PC_PIPE_BUF using F_GETPIPE_SZ.
56447 2010-07-05  Roland McGrath  <roland@redhat.com>
56449         * manual/arith.texi (Rounding Functions): Fix rint description
56450         implicit in round description.
56452 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56454         * elf/Makefile: Fix linking for a few tests to make recent linker
56455         happy.
56457 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56459         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56460         $(common-objpfx)libc_nonshared.a.
56462 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56464         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56465         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56466         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56467         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56468         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56469         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56470         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56471         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56486         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56487         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56488         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56489         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56490         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56491         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56492         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56493         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56494         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56495         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56496         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56497         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56513 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56515         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56516         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56517         * string/memmove.c (memmove): Renamed to ...
56518         (MEMMOVE): ...this.  Default to memmove.
56519         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56520         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56521         (END_CHK): Define.
56522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56523         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56524         mempcpy-ssse3-back memmove-ssse3-back.
56525         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56526         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56528         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56529         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56530         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56531         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56532         * sysdeps/x86_64/multiarch/memmove.c: New file.
56533         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56534         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56535         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56536         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56537         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56538         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56539         Define.
56540         (index_Fast_Copy_Backward): Define.
56541         (HAS_ARCH_FEATURE): Define.
56542         (HAS_FAST_REP_STRING): Define.
56543         (HAS_FAST_COPY_BACKWARD): Define.
56545 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56547         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56548         Restore proper fallback handling.
56550 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56552         [BZ #11701]
56553         * posix/group_member.c (__group_member): Correct checking loop.
56555         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56556         OOM in getpwuid_r correctly.  Return error number when the caller
56557         should return, otherwise -1.
56558         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56559         call returning > 0 value.
56560         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56562 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56564         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56565         libc_nonshared.a from targets in modules-names.
56567 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56569         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56570         requires it.
56572 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56574         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56575         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56576         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56577         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56579 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56581         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56583 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56585         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56586         and F_GETPIPE_SZ.
56587         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56591         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56592         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56594 2010-06-14  Roland McGrath  <roland@redhat.com>
56596         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56598 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56600         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56601         __REDIRECT followed by __THROW.
56602         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56603         * posix/getopt.h (getopt): Likewise.
56605 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56607         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56608         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56609         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56610         in AT_FLAGS.
56611         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56612         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56614 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56616         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56618 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56620         [BZ #11640]
56621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56622         Properly check family and model.
56624 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56626         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56628 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56630         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56632 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56634         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56635         symbol reference.
56637 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56639         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56640         symbol reference.
56642 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56644         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56645         and internal_recvmmsg.
56646         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56647         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56648         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56649         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56651         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56652         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56653         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56655 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56657         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56659 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56661         POWER7 optimizations.
56662         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56663         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56665 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56667         * version.h: Update for 2.13 development version.
56669 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56671         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56672         exceptions.  Return 0.
56674 2010-05-07  Roland McGrath  <roland@redhat.com>
56676         * elf/ldconfig.c (main): Add a const.
56678 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56680         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56681         (args_options): Add no-idn option.
56682         (ahosts_keys_int): Add idn_flags to ai_flags.
56683         (parse_option): Handle 'i' option to clear idn_flags.
56685         * malloc/malloc.c (_int_free): Possible race in the most recently
56686         added check.  Only act on the data if no current modification
56687         happened.
56689 See ChangeLog.17 for earlier changes.