Fix powerpc software sqrt (bug 17964).
[glibc.git] / ChangeLog
blob87a9f58b8600970cbb067fb0f84e77255ec3e10e
1 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17964]
4         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5         __builtin_fma instead of relying on contraction of a * b + c.
7 2015-02-12  Roland McGrath  <roland@hack.frob.com>
9         * Makeconfig (ASFLAGS): Add -Werror=undef.
10         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
11         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
12         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
14         * Makeconfig (after-link): New variable.
15         (+link-pie, +link-pie-tests): Use it.
16         (+link-static, +link-static-tests): Likewise.
17         (+link, +link-tests): Likewise.
18         * Makerules (build-module, build-module-asneeded): Likewise.
19         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
20         Likewise.
21         * elf/Makefile ($(objpfx)ld.so): Likewise.
23 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25         [BZ #17965]
26         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
27         both struct timeval and struct timespec.
29 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
31         [BZ #16560]
32         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33         and redefine.
34         (__ieee754_exp2l): Do not multiply small fractional parts by
35         M_LN2l.
36         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
37         small argument.
38         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
40         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
41         * math/auto-libm-test-in: Add more tests of exp2.
42         * math/auto-libm-test-out: Regenerated.
44 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
47         unaligned path.
49 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
52         little endian.
54 2015-02-12  Andreas Schwab  <schwab@suse.de>
56         [BZ #15790]
57         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
58         Filter out elision flags from value returned in kind.
59         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
60         * nptl/tst-pthread-mutexattr.c: New file.
62 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
65         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
66         into gnu-gnu, and update comment to refer to abi-tags.
68 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
70         [BZ #15467]
71         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
72         (__sincos): Set errno to EDOM for infinite argument.
73         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
74         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
75         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
76         (__sincosl): Set errno to EDOM for infinite argument.
77         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
78         (__sincosl): Set errno to EDOM for infinite argument.
79         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
80         (__sincosl): Set errno to EDOM for infinite argument.
81         * math/libm-test.inc (sincos_test_data): Test errno setting.
83 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
85         * string/strxfrm_l.c: Remove #define STRCMP.
86         * string/strcoll_l.c: Remove #define STRLEN.
87         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
88         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
90 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
92         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
93         * sysdeps/mips/mips32/sfp-machine.h: ... here.
94         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
95         * sysdeps/mips/mips64/Makefile: ... here.
96         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
97         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
98         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
99         * sysdeps/mips/mips64/sfp-machine.h: ... here.
100         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
101         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
102         * sysdeps/mips/mips64/n64/Implies: Likewise.
104 2015-02-10  Roland McGrath  <roland@hack.frob.com>
106         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
107         <sys/time.h>, <string.h>, and <errno.h>.
108         (dest_offset, dest_address, value, zero): Remove unused variables.
109         (ldouble): Remove typedef.
110         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
111         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
112         1).  Fix code style.
113         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
114         (check): Function removed.
115         (CHECK): New macro.
116         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
117         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
118         Don't call set_sigaction_FP and remove_sigaction_FP here.
119         (ldouble_test): Just use 'long double' as macro argument, no need for
120         the 'ldouble' typedef.
121         (do_test): Set up SIGFPE handler at start, using plain signal rather
122         than sigaction.  Fix code style.
124 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
126         [BZ #17949]
127         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
128         jump label.
130 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
132         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
133         * sysdeps/powerpc/powerpc32/configure: Regenerated.
135         * sysdeps/powerpc/configure.ac: Remove file.
136         * sysdeps/powerpc/configure: Likewise.
138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
139         [sysdep_routines]: Remove wordcopy-power6 object.
140         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
141         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
142         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
143         (__memmove_ppc32): Likewise.
144         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
145         file.
146         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
147         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
148         Remove preprocessor.
150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
151         [sysdep_routines]: Remove wide chars objects.
152         [wcsmbs]: New rule for wide char objects.
154         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
155         Remove wordcopy-power6 obejct.
156         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
157         Use local call for wordcopy and memcpy symbols.
158         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
159         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
160         implementation for loader.
161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
163         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
164         Remove wordcopy-power7 object.
165         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
166         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
167         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
168         (_wordcopy_fwd_dest_aligned): Likewise.
169         (_wordcopy_bwd_aligned): Likewise.
170         (_wordcopy_bwd_dest_aligned): Likewise.
172         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
173         Rewrite to call __memmove_ppc instead of include default
174         implementation.
176         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
177         Remove wide chars objects.
178         [wcsmbs]: New rule for wide char objects.
180 2015-02-09  Andreas Schwab  <schwab@suse.de>
182         [BZ #17912]
183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
184         in terms of __O_DIRECTORY.
186 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
188         * time/getdate.c: Include <stdbool.h>.
189         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
190         call PTR_MANGLE.
191         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
192         PTR_DEMANGLE.
194 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
196         Add ersatz _Static_assert on older C hosts
197         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
198         pre-C11 C platform that is not known to support _Static_assert.
200 2015-02-07  Richard Braun  <rbraun@sceen.net>
202         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
203         sigstate.
204         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
206 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
208         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
209         priority against unexistent AIO_PRIO_DELTA_MAX.
210         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
211         instead of int.
212         * misc/fchflags.c (fchflags): Likewise.
213         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
214         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
215         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
216         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
217         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
218         Declare macros.
219         [__USE_MISC] (chflags, fchflags): Declare functions.
220         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
221         EINVAL when nfds is greater than FD_SETSIZE.
222         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
223         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
224         45.
225         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
226         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
227         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
228         MACH_RCV_TIMED_OUT.
229         * hurd/hurd/signal.h (_hurd_self_sigstate,
230         _hurd_critical_section_lock, _hurd_critical_section_unlock):
231         Explicit casts from void *.
232         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
233         * abi-tags: Rename gnu-gnu os into gnu.
235         [BZ #4719]
236         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
237         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
238         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
239         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
240         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
241         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
243         [BZ #17944]
244         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
245         duplicates ADDR->sun_path with sockaddr LEN limitation.
246         * sysdeps/mach/hurd/connect.c: Include <string.h>
247         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
248         * sysdeps/mach/hurd/sendmsg.c: Likewise.
249         * sysdeps/mach/hurd/sendto.c: Likewise.
250         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
251         implementing it by hand.
253 2015-02-06  Roland McGrath  <roland@hack.frob.com>
255         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
256         Use sfi_breg on ldr.
257         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
258         Likewise.
260         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
261         it's defined.
262         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
263         Test SIGSETXID only if it's defined.
265         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
267         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
268         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
270         * nptl/tst-align2.c: Moved ...
271         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
272         * nptl/Makefile (tests): Remove tst-align2.
273         * sysdeps/unix/sysv/linux/Makefile
274         [$(subdir) = nptl] (tests): Add tst-align-clone.
275         * nptl/tst-getpid1.c: Moved ...
276         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
277         * nptl/tst-getpid2.c: Moved ...
278         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
279         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
280         * sysdeps/unix/sysv/linux/Makefile
281         [$(subdir) = nptl] (tests): ... here.
282         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
283         * sysdeps/unix/sysv/linux/Makefile
284         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
286         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
287         Drop trailing \n from perror argument.  Use return rather than exit.
289         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
290         on [SA_SIGINFO].
291         * nptl/tst-cancel21.c (do_test): Likewise.
292         * debug/tst-backtrace6.c: Include <signal.h> first thing.
293         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
294         [!SA_SIGINFO]: Make it a stub test.
296         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
297         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
299         * posix/tst-getlogin.c: Move to ...
300         * login/tst-getlogin.c: ... here.
301         * posix/Makefile (tests): Move tst-getlogin to ...
302         * login/Makefile (tests): ... here.
304         * libio/tst-atime.c (do_test): Move local variables SV and E
305         inside [ST_NOATIME] conditional.
307         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
309         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
311         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
312         (wait_code): New function replaces macro.
313         Call nanosleep rather than syscall.
315         * nptl/pt-system.c: Rewritten.  Put everything under
316         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
317         Use IFUNC to redirect when possible.
319         * nptl/pt-longjmp.c: Rewritten.  Put everything under
320         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
321         Use IFUNC to redirect when possible.
323         * nptl/pt-fork.c: Rewritten.  Put everything under
324         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
325         Use IFUNC to redirect when possible.
326         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
328         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
329         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
330         unconditionally nowadays.  This included the only reference to
331         __vdso_clock_gettime that appears outside libc proper.
332         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
333         Remove version set (containing only __vdso_clock_gettime).
334         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
335         Add attribute_hidden.
336         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
337         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
338         libc_hidden_data_def.
339         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
340         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
342         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
343         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
344         setrpcent, and getrpcport to ...
345         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
346         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
347         getrpcbynumber_r, and getrpcent_r to ...
348         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
349         * inet/getrpcbyname.c: Moved ...
350         * sunrpc/getrpcbyname.c: ... here.
351         * inet/getrpcbyname_r.c: Moved ...
352         * sunrpc/getrpcbyname_r.c: ... here.
353         * inet/getrpcbynumber.c: Moved ...
354         * sunrpc/getrpcbynumber.c: ... here.
355         * inet/getrpcbynumber_r.c: Moved ...
356         * sunrpc/getrpcbynumber_r.c: ... here.
357         * inet/getrpcent.c: Moved ...
358         * sunrpc/getrpcent.c: ... here.
359         * inet/getrpcent_r.c: Moved ...
360         * sunrpc/getrpcent_r.c: ... here.
361         * inet/Makefile (routines): Move those to ...
362         * sunrpc/Makefile (routines): ... here.
363         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
364         the $(subdirs) list.
365         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
366         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
367         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
368         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
370         * elf/Makefile (routines): Include $(all-dl-routines), not just
371         $(dl-routines).
372         (rtld-routines): Likewise.  Use = rather than :=.
373         * sysdeps/aarch64/Makefile [$(subdir) = elf]
374         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
375         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
376         * sysdeps/arm/Makefile: Likewise.
377         * sysdeps/i386/Makefile: Likewise.
378         * sysdeps/x86_64/Makefile: Likewise.
379         * sysdeps/hppa/Makefile [$(subdir) = elf]
380         (sysdep_routines, sysdep-rtld-routines): Don't add
381         $(sysdep-dl-routines) to these.
382         * sysdeps/ia64/Makefile: Likewise.
383         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
384         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
385         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
386         Don't add dl-static to these; sysdep-dl-routines alone is enough.
387         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
388         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
390         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
391         * sysdeps/powerpc/Makefile [$(subdir) = elf]
392         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
393         these; sysdep-dl-routines alone is enough.
395 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
397         [BZ #17932]
398         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
399         where multiplication results in zero and third argument is finite
400         and nonzero.
401         * math/auto-libm-test-in: Add more tests of fma.
402         * math/auto-libm-test-out: Regenerated.
404         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
405         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
406         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
407         (_FP_CMP_EQ): Likewise.
408         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
410         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
411         extra argument CHECK_NAN.  Redefine as wrapper around
412         _FP_EXTEND_CNAN.
414 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
416         * version.h (RELEASE): Set to "stable".
417         (VERSION): Set to "2.21"
418         * include/features.h (__GLIBC_MINOR__): Set to 21.
420         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
422 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
423             Paul Eggert  <eggert@cs.ucla.edu>
425         [BZ #16618]
426         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
427         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
428         size in bytes. Store needed elements in wpmax. Use needed size
429         in bytes for extend_alloca.
431 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
433         * manual/install.texi: Latest tested versions are GCC 4.9.2,
434         binutls 2.25, and texinfo 5.2.
435         * INSTALL: Regenerate.
436         * sysdeps/nios2/configure: Regenerate.
437         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
438         * manual/contrib.texi: Update.
439         * po/be.po: Update.
440         * po/bg.po: Update.
441         * po/ca.po: Update.
442         * po/cs.po: Update.
443         * po/da.po: Update.
444         * po/de.po: Update.
445         * po/el.po: Update.
446         * po/eo.po: Update.
447         * po/es.po: Update.
448         * po/fi.po: Update.
449         * po/fr.po: Update.
450         * po/gl.po: Update.
451         * po/hr.po: Update.
452         * po/hu.po: Update.
453         * po/ia.po: Update.
454         * po/id.po: Update.
455         * po/it.po: Update.
456         * po/ja.po: Update.
457         * po/ko.po: Update.
458         * po/lt.po: Update.
459         * po/nb.po: Update.
460         * po/nl.po: Update.
461         * po/pl.po: Update.
462         * po/pt_BR.po: Update.
463         * po/ru.po: Update.
464         * po/rw.po: Update.
465         * po/sk.po: Update.
466         * po/sl.po: Update.
467         * po/sv.po: Update.
468         * po/tr.po: Update.
469         * po/uk.po: Update.
470         * po/vi.po: Update.
471         * po/zh_CN.po: Update.
472         * po/zh_TW.po: Update.
474         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
475         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
476         * sysdeps/hppa/dl-irel.h: Remove #warning.
477         * sysdeps/hppa/entry.h: Provide prototype for
478         __canonicalize_funcptr_for_compare and cast argument.
479         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
480         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
481         * sysdeps/hppa/sotruss-lib.c: New file.
482         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
483         (atomic_compare_and_exchange_val_acq): Use __typeof__.
484         (atomic_compare_and_exchange_bool_acq): Likewise.
485         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
486         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
488         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
489         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
490         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
492 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
494         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
495         called function in non-PIC case.
497 2015-01-31  David S. Miller  <davem@davemloft.net>
499         * sysdeps/sparc/sparc32/bits/atomic.h
500         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
501         unlock not after it.
502         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
503         volatile register usage warnings from the compiler.
505         * sysdeps/sparc/nptl/sem_init.c: Delete.
506         * sysdeps/sparc/nptl/sem_post.c: Delete.
507         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
508         * sysdeps/sparc/nptl/sem_wait.c: Delete.
509         * sysdeps/sparc/sparc32/sem_init.c: New file.
510         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
511         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
512         padding explicitly initialized.
513         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
514         padding for in-semaphore spinlock.
515         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
516         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
517         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
518         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
519         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
520         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
521         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
522         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
523         version.
524         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
525         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
527 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
529         [BZ #17801]
530         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
531         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
532         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
533         New.
534         (index_AVX_Fast_Unaligned_Load): Likewise.
535         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
536         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
537         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
538         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
539         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
540         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
541         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
542         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
543         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
545 2015-01-29  Andreas Schwab  <schwab@suse.de>
547         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
549 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
551         [BZ #17892]
552         * nscd/nscd_stat.c (send_stats): Initialize DATA.
554 2015-01-28  Martin Sebor  <msebor@redhat.com>
556         * math/README.libm-test: Clarify. Add "How to read the test output."
558 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
560         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
561         Define to 0.
563 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
565         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
566         (__HAVE_64B_ATOMICS): Define to 0.
568 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
570         [BZ #17885]
571         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
572         value to set as new flag.
574         [BZ #16576]
575         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
576         and use _ARCH_PPCSQ instead.
577         (__ieee754_sqrt): Likewise.
578         (__ieee754_sqrtf): Likewise.
579         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
580         _ARCH_PPCSQ is defined.
581         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
582         fsqrt instruction.
583         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
584         _ARCH_PPCSQ is defined.
585         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
586         fsqrts instruction.
587         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
589 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
591         * iconv/loop.c: Suppress array out of bound warning caused by GCC
592         bug (GCC BZ #64739).
594 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
596         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
597         Mark _retval as used.
598         (lll_futex_wake_unlock): Likewise.
599         (lll_futex_timed_wait_requeue_pi): Likewise.
601         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
602         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
603         register variables.
605         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
606         libm_hidden_def.
608         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
609         (__bswap_64): Mark as __always_inline.
611 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
613         [BZ #15378]
614         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
615         when none of the search directories exist.
617 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
619         [BZ #17869]
620         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
621         power8 in .machine directive.
623         [BZ #17868]
624         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
625         set dependency from opd value.
627 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
630         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
631         architecture.
633 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
635         [BZ #17870]
636         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
637         with uint64_t.
638         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
639         (uint64_t) 1.
640         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
641         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
642         Replace 1UL with (uint64_t) 1.
643         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
644         int with uint64_t.
646 2015-01-23  Roland McGrath  <roland@hack.frob.com>
648         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
649         (if_freenameindex): Likewise.
651         * resource/getrlimit64.c: Add missing libc_hidden_def.
653 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
655         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
656         __label__.
657         (_FP_FMA): Likewise.
658         (_FP_TO_INT_ROUND): Likewise.
659         (_FP_FROM_INT): Likewise.
661 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
663         [BZ #16418]
664         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
665         Make code racy and cancel safe.
667 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
669         * sysdeps/arm/unwind-resume.h: Fix copyright year.
670         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
671         attribution.
673         * pwd/tst-getpw.c: Rewrite.
675         [BZ #17702]
676         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
677         (modules-names): Add moddummy1 and moddummy2.
678         ($(objpfx)tst-rec-dlopen): Define.
679         * dlfcn/moddummy1.c: New file.
680         * dlfcn/moddummy2.c: New file.
681         * dlfcn/tst-rec-dlopen.c: New file.
682         * elf/dl-cache.c (_dl_load_cache_lookup):
683         Return char*. Copy result with alloca/strcpy/strdup.
684         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
685         returns char*. Free cached. If not saving realname
686         free cached.
687         * elf/dl-open.c (dl_open_worker): Do not assert that
688         _r_debug->r_state is RT_CONSISTENT.
689         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
690         returns char*.
692 2015-01-21  Torvald Riegel  <triegel@redhat.com>
693             Carlos O'Donell  <carlos@redhat.com>
695         [BZ #12674]
696         * nptl/sem_waitcommon.c: New file.
697         * nptl/sem_wait.c: Include sem_waitcommon.c.
698         (__sem_wait_cleanup, do_futex_wait): Remove.
699         (__new_sem_wait): Adapt.
700         (__new_sem_trywait): New function.
701         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
702         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
703         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
704         (sem_timedwait): Adapt.
705         * nptl/sem_post.c (__new_sem_post): Adapt.
706         (futex_wake): New function.
707         (__old_sem_post): Add release MO fence.
708         * nptl/sem_open.c (sem_open): Adapt.
709         * nptl/sem_init.c (__new_sem_init): Adapt.
710         (futex_private_if_supported): New function.
711         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
712         (__old_sem_getvalue): Add using previous code.
713         * sysdeps/nptl/internaltypes.h: Adapt.
714         * nptl/tst-sem13.c (do_test): Adapt.
715         * nptl/tst-sem11.c (main): Adapt.
716         * nptl/sem_trywait.c: Remove.
717         * nptl/DESIGN-sem.txt: Remove.
718         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
719         (gen-as-const-headers): Remove structsem.sym.
720         * nptl/structsem.sym: Remove.
721         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
722         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
723         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
724         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
725         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
726         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
727         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
728         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
729         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
730         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
731         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
732         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
733         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
734         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
735         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
736         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
737         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
738         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
739         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
740         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
741         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
742         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
744 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
746         * INSTALL: Regenerated.
748         * po/libc.pot: Regenerated.
750 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
751             Sandra Loosemore  <sandra@codesourcery.com>
752             Andrew Jenner  <andrew@codesourcery.com>
753             Joseph Myers  <joseph@codesourcery.com>
754             Nathan Sidwell  <nathan@codesourcery.com>
756         * NEWS: Mention new Nios II port.
757         * sysdeps/nios2/Implies: New file.
758         * sysdeps/nios2/Makefile: New file.
759         * sysdeps/nios2/Subdirs: New file.
760         * sysdeps/nios2/Versions: New file.
761         * sysdeps/nios2/__longjmp.S: New file.
762         * sysdeps/nios2/abort-instr.h: New file.
763         * sysdeps/nios2/backtrace.c: New file.
764         * sysdeps/nios2/bits/endian.h: New file.
765         * sysdeps/nios2/bits/fenv.h: New file.
766         * sysdeps/nios2/bits/link.h: New file.
767         * sysdeps/nios2/bits/setjmp.h: New file.
768         * sysdeps/nios2/bsd-_setjmp.S: New file.
769         * sysdeps/nios2/bsd-setjmp.S: New file.
770         * sysdeps/nios2/configure: New generated file.
771         * sysdeps/nios2/configure.ac: New file.
772         * sysdeps/nios2/crti.S: New file.
773         * sysdeps/nios2/crtn.S: New file.
774         * sysdeps/nios2/dl-init.c: New file.
775         * sysdeps/nios2/dl-machine.h: New file.
776         * sysdeps/nios2/dl-sysdep.h: New file.
777         * sysdeps/nios2/dl-tls.h: New file.
778         * sysdeps/nios2/dl-trampoline.S: New file.
779         * sysdeps/nios2/gccframe.h: New file.
780         * sysdeps/nios2/gmp-mparam.h: New file.
781         * sysdeps/nios2/jmpbuf-offsets.h: New file.
782         * sysdeps/nios2/jmpbuf-unwind.h: New file.
783         * sysdeps/nios2/ldsodefs.h: New file.
784         * sysdeps/nios2/libc-tls.c: New file.
785         * sysdeps/nios2/libm-test-ulps: New file.
786         * sysdeps/nios2/machine-gmon.h: New file.
787         * sysdeps/nios2/math-tests.h: New file.
788         * sysdeps/nios2/math_private.h: New file.
789         * sysdeps/nios2/memusage.h: New file.
790         * sysdeps/nios2/nptl/Makefile: New file.
791         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
792         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
793         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
794         * sysdeps/nios2/nptl/pthreaddef.h: New file.
795         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
796         * sysdeps/nios2/nptl/tls.h: New file.
797         * sysdeps/nios2/preconfigure: New file.
798         * sysdeps/nios2/s_fma.c: New file.
799         * sysdeps/nios2/s_fmaf.c: New file.
800         * sysdeps/nios2/setjmp.S: New file.
801         * sysdeps/nios2/sfp-machine.h: New file.
802         * sysdeps/nios2/sotruss-lib.c: New file.
803         * sysdeps/nios2/stackguard-macros.h: New file.
804         * sysdeps/nios2/stackinfo.h: New file.
805         * sysdeps/nios2/start.S: New file.
806         * sysdeps/nios2/sysdep.h: New file.
807         * sysdeps/nios2/tls-macros.h: New file.
808         * sysdeps/nios2/tst-audit.h: New file.
809         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
810         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
811         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
812         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
813         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
814         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
815         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
816         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
817         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
818         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
819         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
820         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
821         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
822         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
823         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
824         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
825         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
826         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
827         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
828         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
829         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
830         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
831         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
832         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
833         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
834         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
835         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
836         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
837         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
838         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
839         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
840         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
841         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
842         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
843         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
844         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
845         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
846         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
847         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
848         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
849         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
850         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
851         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
852         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
854 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
856         [BZ #17844]
857         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
858         (getutent): Use weak_alias in non SHARED case
859         and default_symbol_version in SHARED case.
860         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
861         (getutent_r, pututline): Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
863         (getutid): Likewise.
864         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
865         (getutid_r): Likewise.
866         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
867         (getutline): Likewise.
868         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
869         (getutline_r): Likewise.
870         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
871         (updwtmp): Likewise.
873 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
875         [BZ #17848]
876         * sysdeps/s390/s390-32/memcmp.S
877         (memcmp_g5): Rename to __memcmp_g5.
878         * sysdeps/s390/s390-32/memcpy.S
879         (memcpy_g5): Rename to __memcpy_g5.
880         Jump to __memcpy_mvcle instead of memcpy_mvcle.
881         (memcpy_mvcle) Rename to __memcpy_mvcle.
882         * sysdeps/s390/s390-32/memset.S
883         (memset_g5): Rename to __memset_g5.
884         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
885         (IFUNC_RESOLVE): Prefix ifunc-resolve function
886         and use prefixed functions.
887         * sysdeps/s390/s390-32/multiarch/memcmp.S
888         (memcmp_z196): Rename to __memcmp_z196.
889         (memcmp_z10): Rename to __memcmp_z10.
890         (memcmp): Set alias to __memcmp_g5.
891         (bcmp): Set alias to __memcmp_g5.
892         * sysdeps/s390/s390-32/multiarch/memcpy.S
893         (memcpy_z196): Rename to __memcpy_z196.
894         Jump to __memcpy_mvcle instead of memcpy_mvcle.
895         (memcpy_z10): Rename to __memcpy_z10.
896         Jump to __memcpy_mvcle instead of memcpy_mvcle.
897         (memcpy): Set alias to __memcpy_g5.
898         * sysdeps/s390/s390-32/multiarch/memset.S
899         (memset_z196): Rename to __memset_z196.
900         Jump to __memset_mvcle instead of memset_mvcle.
901         (memset_z10): Rename to __memset_z10.
902         Jump to __memset_mvcle instead of memset_mvcle.
903         (memset_mvcle) Rename to __memset_mvcle.
904         (memset): Set alias to __memset_g5.
905         * sysdeps/s390/s390-64/memcmp.S
906         (memcmp_z900): Rename to __memcmp_z900.
907         * sysdeps/s390/s390-64/memcpy.S
908         (memcpy_z900): Rename to __memcpy_z900.
909         Jump to __memcpy_mvcle instead of memcpy_mvcle.
910         (memcpy_mvcle) Rename to __memcpy_mvcle.
911         * sysdeps/s390/s390-64/memset.S
912         (memset_z900): Rename to __memset_z900.
913         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
914         (IFUNC_RESOLVE): Prefix ifunc-resolve function
915         and use prefixed functions.
916         * sysdeps/s390/s390-64/multiarch/memcmp.S
917         (memcmp_z196): Rename to __memcmp_z196.
918         (memcmp_z10): Rename to __memcmp_z10.
919         (memcmp): Set alias to __memcmp_z900.
920         (bcmp): Set alias to __memcmp_z900.
921         * sysdeps/s390/s390-64/multiarch/memcpy.S
922         (memcpy_z196): Rename to __memcpy_z196.
923         Jump to __memcpy_mvcle instead of memcpy_mvcle.
924         (memcpy_z10): Rename to __memcpy_z10.
925         Jump to __memcpy_mvcle instead of memcpy_mvcle.
926         (memcpy): Set alias to __memcpy_z900.
927         * sysdeps/s390/s390-64/multiarch/memset.S
928         (memset_z196): Rename to __memset_z196.
929         Jump to __memset_mvcle instead of memset_mvcle.
930         (memset_z10): Rename to __memset_z10.
931         Jump to __memset_mvcle instead of memset_mvcle.
932         (memset_mvcle) Rename to __memset_mvcle.
933         (memset): Set alias to __memset_z900.
935 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
937         [BZ #17748]
938         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
939         __fesetenv instead of fesetenv.
941 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
943         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
944         macro.
946 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
948         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
949         regression on LE.
951         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
952         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
953         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
954         strncmp-power8 object.
955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
956         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
957         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
958         * NEWS: Update.
960 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
961             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
963         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
964         trailing byte check.
966 2015-01-13  David S. Miller  <davem@davemloft.net>
968         * include/signal.h (__sigreturn): Guard with __USE_MISC.
970 2015-01-13  Roland McGrath  <roland@hack.frob.com>
972         * login/logout.c (logout): Use memset rather than bzero.
973         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
974         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
975         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
976         (_gethtbyaddr): Likewise.
977         * locale/programs/simple-hash.c (bcopy): Macro removed.
979 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
981         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
982         Add strcmp-power8 object.
983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
984         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
985         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
986         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
987         __strcmp_power8 implementation.
988         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
989         * NEWS: Update.
991         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
992         Add strncpy-power8 and stpncpy-power8 objects.
993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
994         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
995         implementations.
996         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
997         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
998         __stpncpy_power8 implementation.
999         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1000         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1001         __strncpy_power8 implementation.
1002         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1003         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1004         * NEWS: Update.
1006         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1007         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1008         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1010         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1011         strncat-power8 object.
1012         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1013         __strcat_power8 implementation.
1014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1015         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1016         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1017         optimized strcat for power8.
1019         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1020         strcpy-power8 and stpcpy-power8 objects.
1021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1022         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1023         implementations.
1024         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1025         multiarch stpcpy implementation for POWER8.
1026         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1027         multiarch strcpy implementation for POWER8.
1028         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1029         __strcpy_power8 function.
1030         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1031         stpcpy for POWER8.
1032         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1033         strcpy for POWER8.
1034         * NEWS: Update.
1036 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1038         [BZ #16009]
1039         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1040         weights and rules. Use do_xfrm_cached if data fits in cache,
1041         do_xfrm otherwise.  Moved former main loop to...
1042         * (do_xfrm_cached): New function.
1043         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1044         find_idx, find_position and stack_push.
1045         * (find_idx): New function.
1046         * (find_position): Likewise.
1047         * localedata/sort-test.sh: Added test run for do_xfrm.
1048         * localedata/xfrm-test.c (main): Added command line option
1049         -nocache to run the test with strings that are too large for
1050         the STRXFRM cache.
1052 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1054         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1055         variable to lll_futex_wake call, not the value itself.
1057 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1059         [BZ #17803]
1060         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1061         twom64.  Adjust value to 0x1p-64L.
1062         (__scalblnl): Only return standard underflowing result for K <=
1063         -64 not K <= -63; adjust exponent for underflowing result by 64
1064         not 63.
1065         * math/libm-test.inc (scalbn_test_data): Add more tests.
1066         (scalbln_test_data): Likewise.
1068         [BZ #17834]
1069         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1070         0x1p63L.
1071         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1072         not HX.
1073         * math/libm-test.inc (scalbn_test_data): Add more tests.
1074         (scalbln_test_data): Likewise.
1076 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1077             Stefani Seibold  <stefani@seibold.net>
1079         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1080         (sysdep_routines): Add dl-vdso here, ...
1081         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1082         (sysdep_routines): ... not here.
1083         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1084         fallback when vDSO is not presented.
1085         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1086         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1087         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1088         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1089         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1090         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1091         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1092         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1093         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1094         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1095         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1096         fallback configurable symbol when vDSO is not available.
1097         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1098         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1099         be able to redefine fallback symbol when vDSO is not available.
1100         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1101         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1103 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1105         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1106         (TLS_INIT_TP): Add tm_capable initialization.
1107         (TLS_DEFINE_INIT_TP): Likewise.
1108         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1109         TCB.
1110         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1111         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1112         calculation.
1113         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1114         transactoion is lock elision is built and TCB tm_capable is set.
1115         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1117         (INTERNAL_SYSCALL_NCS): Likewise.
1118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1119         (INTERNAL_SYSCALL_NCS): Likewise.
1120         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1122         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1123         for powerpc.
1124         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1125         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1126         and remove it for 32 bits case.
1127         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1128         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1129         initialization.
1130         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1131         Disable lock elision with rdlocks if elision is not available.
1133         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1134         (sysdep_routines): Add lock elision objects.
1135         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1136         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1137         [pthread_mutex_t] (__elision): Add field.
1138         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1139         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1140         elision definitions for powerpc.
1141         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1142         implementation of lock elision for powerpc.
1143         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1144         implementation of timed lock elision for powerpc.
1145         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1146         implementation of trylock with lock elision for powerpc.
1147         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1148         implementaion of unlock for lock elision for powerpc.
1149         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1150         automatic enable lock elision for mutexes.
1151         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1152         transaction execution definitions for powerpc.
1153         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1154         definitions.
1155         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1156         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1157         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1158         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1159         * NEWS: Update.
1161 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1163         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1164         for #include of <shm-directory.h>.
1166 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1168         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1169         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1171 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1173         [BZ #17791]
1174         * NEWS: Mention bug fix.
1175         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1176         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1177         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1179 2015-01-09  Torvald Riegel <triegel@redhat.com>
1181         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1183 2015-01-09  Torvald Riegel <triegel@redhat.com>
1185         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1187 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1189         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1190         pointer and cast to uintptr_t.
1192 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1194         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1195         removed.
1196         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1198 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1200         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1201         of 0.
1203 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1205         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1206         <nptl/pthreadP.h> instead.
1207         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1209         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1210         already defined.
1211         [__SIGRTMIN] (init): Function removed.
1212         [__SIGRTMIN] (initialized): Variable removed.
1213         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1214         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1215         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1216         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1217         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1218         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1219         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1220         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1221         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1222         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1223         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1224         * sysdeps/nptl/allocrtsig.c: New file.
1225         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1226         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1227         * sysdeps/generic/testrtsig.h: File removed.
1229         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1230         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1232         * nptl/nptl-init.c (pthread_functions): Conditionalize
1233         .ptr__nptl_setxid initialization on [SIGSETXID].
1235         * sysdeps/nptl/sys/procfs.h: New file.
1236         * nptl_db/Makefile (headers): Add it.
1237         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1239         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1240         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1241         * nptl/pthread_attr_setaffinity.c: Include it.
1242         * nptl/pthread_setattr_default_np.c: Likewise.
1243         * nptl/check-cpuset.h: New file.
1245 2015-01-08  Richard Henderson  <rth@redhat.com>
1247         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1248         (CFLAGS-tst-execstack-prog.c): Likewise.
1249         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1251 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1252             Sandra Loosemore  <sandra@codesourcery.com>
1253             Andrew Jenner  <andrew@codesourcery.com>
1254             Joseph Myers  <joseph@codesourcery.com>
1255             Nathan Sidwell  <nathan@codesourcery.com>
1257         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1258         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1259         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1260         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1261         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1262         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1263         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1264         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1265         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1266         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1267         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1268         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1269         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1270         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1271         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1272         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1273         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1275 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1277         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1278         timespec struct member in syscall macro.
1279         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1280         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1281         first timeval struct member in syscall macro.
1282         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1284 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1286         [BZ #17748]
1287         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1288         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1289         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1290         __feupdateenv and define as weak alias of __feupdateenv.  Use
1291         libm_hidden_weak.
1292         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1293         libm_hidden_def.
1294         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1295         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1296         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1297         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1298         libm_hidden_def.
1299         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1300         __feupdateenv and define as weak alias of __feupdateenv.  Use
1301         libm_hidden_weak.
1302         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1303         libm_hidden_def.
1304         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1305         __feupdateenv and define as weak alias of __feupdateenv.  Use
1306         libm_hidden_weak.
1307         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1308         libm_hidden_def.
1309         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1310         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1311         (__feupdateenv): Likewise.
1312         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1313         __feupdateenv and define as weak alias of __feupdateenv.  Use
1314         libm_hidden_weak.
1315         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1316         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1317         libm_hidden_def.
1318         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1319         function.
1320         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1321         libm_hidden_def.
1322         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1323         __feupdateenv instead of feupdateenv.
1324         (default_libc_feupdateenv_test): Likewise.
1325         (libc_feresetround_ctx): Likewise.
1327 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1329         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1330         prototype.
1332 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1334         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1335         COLL_SYM in a couple of places to avoid uninitialized variable
1336         wanings on tilegx gcc 4.8.2.
1338 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1340         * sysdeps/aarch64/strcpy.S: New file.
1341         * sysdeps/aarch64/stpcpy.S: New file.
1342         * NEWS: Updated.
1344 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1346         * sysdeps/aarch64/strrchr.S: New file.
1347         * NEWS: Updated.
1349 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1351         [BZ #17658]
1352         * stdlib/setenv.c: Fix memory leak when setting large,
1353         duplicate string.
1355 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1357         [BZ #17273]
1358         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1359         and tabs from buffer before parsing fstab entry.
1360         * misc/tst-mntent.c (main): Add test for mount entry with
1361         trailing spaces and tabs.
1363 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1365         [BZ #17748]
1366         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1367         * math/fesetround.c (fesetround): Rename to __fesetround and
1368         define as weak alias of __fesetround.  Use libm_hidden_weak.
1369         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1370         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1371         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1372         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1373         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1374         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1375         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1376         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1377         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1378         __fesetround_inline.
1379         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1380         __fesetround_inline instead of __fesetround.
1381         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1382         __fesetround and define as weak alias of __fesetround.  Use
1383         libm_hidden_weak.  Call __fesetround_inline instead of
1384         __fesetround.
1385         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1386         __fesetround and define as weak alias of __fesetround.  Use
1387         libm_hidden_weak.
1388         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1389         Likewise.
1390         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1391         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1392         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1393         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1394         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1395         __fesetround and define as weak alias of __fesetround.  Use
1396         libm_hidden_weak.
1397         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1398         __fesetround instead of fesetround.
1399         (default_libc_feholdexcept_setround): Likewise.
1400         (libc_feholdsetround_ctx): Likewise.
1401         (libc_feholdsetround_noex_ctx): Likewise.
1403         [BZ #17748]
1404         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1405         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1406         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1407         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1408         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1409         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1410         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1411         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1412         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1413         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1414         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1415         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1416         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1417         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1418         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1419         libm_hidden_def.
1420         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1421         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1422         Likewise.
1423         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1424         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1425         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1426         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1427         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1428         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1429         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1430         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1431         __fesetenv instead of fesetenv.
1432         (libc_feresetround_noex_ctx): Likewise.
1433         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1434         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1435         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1436         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1437         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1438         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1439         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1440         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1441         (__feupdateenv): Likewise.
1442         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1443         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1444         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1445         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1447 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1449         [BZ #17806]
1450         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1451         addresses have been freed.
1453 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1455         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1456         and nservall.
1458 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1460         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1461         Clean up check_pf allocation pattern. addresses
1463 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1465         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1466         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1467         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1468         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1469         * nptl/pthread_join.c (pthread_join): Likewise.
1470         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1471         * sysdeps/posix/waitid.c (__waitid): Likewise.
1472         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1473         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1474         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1475         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1476         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1477         Likewise.
1478         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1479         (__libc_pread64): Likewise.
1480         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1481         (__libc_pwrite): Likewise.
1482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1483         (__libc_pwrite64): Likewsie.
1484         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1485         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1486         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1487         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1488         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1489         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1490         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1492         Likewise.
1493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1494         (__libc_pread64): Likewise.
1495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1496         Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1498         (__libc_pwrite64): Likewise.
1499         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1500         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1501         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1502         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1503         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1504         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1505         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1506         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1507         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1508         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1509         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1510         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1511         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1512         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1513         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1514         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1515         Likewise.
1517 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1519         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1520         (CFLAGS-test-double.c): Likewise.
1521         (CFLAGS-test-ldouble.c): Likewise.
1522         (CPPFLAGS-test-ifloat.c): Likewise.
1523         (CPPFLAGS-test-idouble.c): Likewise.
1524         (CPPFLAGS-test-ildoubl.c): Likewise.
1525         (CFLAGS-test-test-fenv.c): Remove variable.
1526         (CFLAGS-test-misc.c): Likewise.
1528 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1530         [BZ #17797]
1531         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1532         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1533         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1534         CLOCKS_PER_SEC == 1000000.
1535         * time/clocktest.c (main): Replace %ld with %jd and cast to
1536         intmax_t.
1538 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1540         * sysdeps/generic/unwind-resume.h: New file.
1541         * sysdeps/gnu/unwind-resume.c: Include it.
1542         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1543         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1544         argument list.
1545         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1546         global rather than static.
1547         (_Unwind_Resume): Update user.
1548         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1549         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1550         rather than static.  Add __attribute__ ((cold)).
1551         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1552         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1553         * sysdeps/arm/arm-unwind-resume.S: New file.
1554         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1555         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1556         * sysdeps/arm/Makefile [$(subdir) = csu]
1557         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1558         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1559         Add rt-arm-unwind-resume.
1560         [$(subdir) = nptl]
1561         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1562         Add pt-arm-unwind-resume.
1563         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1564         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1566 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1568         [BZ #17748]
1569         * include/fenv.h (__feholdexcept): Declare.  Use
1570         libm_hidden_proto.
1571         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1572         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1573         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1574         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1575         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1576         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1577         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1578         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1579         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1580         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1581         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1582         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1583         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1584         (feholdexcept): Likewise.
1585         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1586         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1587         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1588         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1589         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1590         __feholdexcept instead of feholdexcept.
1591         (default_libc_feholdexcept_setround): Likewise.
1593 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1595         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1596         to avoid using stl/str to align destination.
1598 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1600         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1602 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1604         [BZ #17796]
1605         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1606         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1607         Define as weak alias not strong alias.
1609 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1611         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1612         bltzal with addiupc.
1613         (RTLD_START): Ditto.
1615 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1617         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1618         for __vdso_* functions in declarations.
1619         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1620         definitions.
1621         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1622         INTERNAL_VSYSCALL): Use struct return types to check for error.
1624         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1625         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1626         function with cast from llround().
1627         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1628         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1629         Define.
1631 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1633         [BZ #17793]
1634         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1635         Define as weak alias not strong alias.
1637         [BZ #17635]
1638         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1639         ...
1640         * ctype/ctype-extn.c: ... here.
1641         (__isblank_l): Move to ...
1642         * ctype/ctype-c99_l.c: ... here.  New file.
1643         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1644         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1645         Remove variable.
1646         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1647         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1648         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1649         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1650         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1652         [BZ #17777]
1653         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1654         (posix_fadvise64): Define as weak alias not strong alias.
1655         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1656         (posix_fallocate64): Likewise.
1657         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1658         Remove variable.
1659         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1660         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1661         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1662         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1663         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1665 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1667         [BZ #16191]
1668         * NEWS: Mention bug fix.
1669         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1670         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1671         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1672         (HOST_STACK_END_ADDR): Likewise.
1674 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1676         [BZ #17748]
1677         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1678         * math/fegetround.c (fegetround): Rename to __fegetround and
1679         define as weak alias of __fegetround.  Use libm_hidden_weak.
1680         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1681         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1682         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1683         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1684         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1685         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1686         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1687         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1688         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1689         Undefine after rather than before function definition; use
1690         parentheses around function name in definition.
1691         (__fegetround): Also undefine macro after function definition.
1692         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1693         __fegetround and define as weak alias of __fegetround.  Use
1694         libm_hidden_weak.  Do not undefine as macro.
1695         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1696         Likewise.
1697         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1698         __fegetround and define as weak alias of __fegetround.  Use
1699         libm_hidden_weak.
1700         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1701         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1702         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1703         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1704         __fegetround and define as weak alias of __fegetround.  Use
1705         libm_hidden_weak.
1706         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1707         __fegetround instead of fegetround.
1709         [BZ #17782]
1710         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1711         Condition macro definition on [__USE_MISC].
1713         [BZ #17781]
1714         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1715         (struct sigaction): Change type of sa_flags field to int.
1717         [BZ #17780]
1718         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1719         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1720         __glibc_reserved0.
1722         * nptl/version.c (banner): Use single year in copyright notice.
1724         * NEWS: Update copyright dates.
1725         * catgets/gencat.c (print_version): Likewise.
1726         * csu/version.c (banner): Likewise.
1727         * debug/catchsegv.sh: Likewise.
1728         * debug/pcprofiledump.c (print_version): Likewise.
1729         * debug/xtrace.sh (do_version): Likewise.
1730         * elf/ldconfig.c (print_version): Likewise.
1731         * elf/ldd.bash.in: Likewise.
1732         * elf/pldd.c (print_version): Likewise.
1733         * elf/sotruss.sh: Likewise.
1734         * elf/sprof.c (print_version): Likewise.
1735         * iconv/iconv_prog.c (print_version): Likewise.
1736         * iconv/iconvconfig.c (print_version): Likewise.
1737         * locale/programs/locale.c (print_version): Likewise.
1738         * locale/programs/localedef.c (print_version): Likewise.
1739         * login/programs/pt_chown.c (print_version): Likewise.
1740         * malloc/memusage.sh (do_version): Likewise.
1741         * malloc/memusagestat.c (print_version): Likewise.
1742         * malloc/mtrace.pl: Likewise.
1743         * manual/libc.texinfo: Likewise.
1744         * nptl/version.c (banner): Likewise.
1745         * nscd/nscd.c (print_version): Likewise.
1746         * nss/getent.c (print_version): Likewise.
1747         * nss/makedb.c (print_version): Likewise.
1748         * posix/getconf.c (main): Likewise.
1749         * scripts/test-installation.pl: Likewise.
1750         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1752 2015-01-02  Will Newton  <will.newton@linaro.org>
1754         * sysdeps/arm/armv7/configure: Removed.
1755         * sysdeps/arm/armv7/configure.ac: Likewise.
1757 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1759         * All files with FSF copyright notices: Update copyright dates
1760         using scripts/update-copyrights.
1761         * intl/plural.c: Regenerated.
1762         * locale/programs/charmap-kw.h: Likewise.
1763         * locale/programs/locfile-kw.h: Likewise.
1765 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1767         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1769 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1771         [BZ #17748]
1772         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1773         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1774         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1775         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1776         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1777         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1778         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1779         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1780         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1781         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1782         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1783         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1784         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1785         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1786         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1787         libm_hidden_def.
1788         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1789         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1790         Likewise.
1791         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1792         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1793         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1794         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1795         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1796         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1797         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1798         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1799         __fegetenv instead of fegetenv.
1800         (libc_feholdsetround_noex_ctx): Likewise.
1802 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1804         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1805         (Elf_MIPS_ABIFlags_v0): New structure.
1806         (EF_MIPS_FP64): Define.
1807         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1808         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1809         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1810         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1811         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1812         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1813         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1814         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1815         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1816         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1817         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1818         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1819         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1820         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1821         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1822         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1823         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1824         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1825         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1826         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1827         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1828         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1829         field.
1830         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1831         EF_MIPS_FP64.
1832         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1833         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1834         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1835         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1836         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1837         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1838         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1839         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1840         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1841         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1842         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1843         record the current FP ABI extension.
1844         (mips-mode-switch): Define to show if kernel headers support mode
1845         switching.
1846         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1847         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1848         supported SYSV ABI version to 3.
1849         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1850         feature.
1852 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1853             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1855         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1856         path.
1857         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1859 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1861         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1862         __fegetround and redefine to call __fegetround.  Remove condition
1863         on [!__NO_MATH_INLINES].
1864         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1865         function.
1866         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1867         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1868         Remove macro.
1869         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1870         instead of <fenv_libc.h>.
1871         (__llrintl): Call fegetround instead of __fegetround.
1872         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1873         instead of <fenv_libc.h>.
1874         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1875         (__lrintl): Call fegetround instead of __fegetround.
1876         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1877         instead of <fenv_libc.h>.
1878         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1879         (__rintl): Call fegetround instead of __fegetround.
1881 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1883         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1884         arrays.
1886 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1888         [BZ #17775]
1889         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1890         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1891         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1893 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1895         * sysdeps/i386/tls-macros.h: Include <features.h>.
1896         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1897         (TLS_IE): Likewise.
1898         (TLS_LD): Likewise.
1899         (TLS_GD): Likewise.
1900         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1901         define for GCC >= 5.0.
1903 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1905         * math/test-fenv.c (test_single_exception, set_single_exc,
1906         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1907         feexcp_mask_test, feenable_test, fe_single_test): Add
1908         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1909         case where they are not used.
1910         * math/libm-test.inc: Likewise.
1911         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1912         unused in the absence of FP rounding/exception support.
1913         * stdio-common/tst-printf-round.c: Likewise.
1914         * stdlib/tst-strtod-round.c: Likewise.
1915         * stdlib/tst-strtod-underflow.c: Likewise.
1917 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1919         [BZ #17723]
1920         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1921         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1922         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1923         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1924         libm_hidden_weak.
1925         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1926         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1927         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1928         libm_hidden_def.
1929         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1930         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1931         libm_hidden_weak.
1932         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1933         Likewise.
1934         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1935         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1936         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1937         libm_hidden_weak.
1938         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1939         libm_hidden_def.
1940         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1941         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1942         (__feraiseexcept): Likewise.
1943         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1944         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1945         libm_hidden_weak.
1946         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1947         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1948         libm_hidden_def.
1949         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1950         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1951         Use libm_hidden_def.
1952         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1953         libm_hidden_def.
1954         (feraiseexcept): Define as weak not strong alias.  Use
1955         libm_hidden_weak.
1956         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1957         New inline function.  Factored out of ...
1958         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1959         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1960         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1961         feraiseexcept.
1962         * math/w_acos.c (__acos): Likewise.
1963         * math/w_asin.c (__asin): Likewise.
1964         * math/w_ilogb.c (__ilogb): Likewise.
1965         * math/w_j0.c (y0): Likewise.
1966         * math/w_j1.c (y1): Likewise.
1967         * math/w_jn.c (yn): Likewise.
1968         * math/w_log.c (__log): Likewise.
1969         * math/w_log10.c (__log10): Likewise.
1970         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1971         * sysdeps/aarch64/fpu/math_private.h
1972         (libc_feupdateenv_test_aarch64): Likewise.
1973         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1974         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1975         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1976         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1977         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1978         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1979         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1980         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1981         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1982         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1984 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1986         [BZ #17732]
1987         * io/test-utime.c (main): Replace %ld with %jd and cast to
1988         intmax_t.
1989         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1990         * nptl/tst-mutex5.c: Include <stdint.h>.
1991         (do_test): Replace %ld with %jd and cast to intmax_t.
1992         * posix/tst-regex.c (run_test): Likewise.
1993         (run_test_backwards): Likewise.
1994         * rt/tst-clock.c: Include <stdint.h>.
1995         (clock_test): Replace %ld with %jd and cast to intmax_t.
1996         * rt/tst-cpuclock1.c: Include <stdint.h>.
1997         (do_test): Replace %lu with %ju and cast to uintmax_t.
1998         * rt/tst-cpuclock2.c: Include <stdint.h>.
1999         (do_test): Replace %lu with %ju and cast to uintmax_t.
2000         * rt/tst-mqueue1.c: Include <stdint.h>.
2001         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2002         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2003         intmax_t.
2004         * rt/tst-mqueue4.c (do_test): Likewise.
2005         * rt/tst-timer4.c: Include <stdint.h>.
2006         (check_ts): Replace %ld with %jd and cast to intmax_t.
2007         (do_test): Likewise.
2008         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2009         and cast to intmax_t.
2010         * sysdeps/pthread/tst-timer.c (main): Likewise.
2011         * time/clocktest.c (main): Likewise.
2012         * time/tst-posixtz.c (do_test): Likewise.
2013         * timezone/tst-timezone.c (main): Likewise.
2015 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2016             H.J. Lu  <hongjiu.lu@intel.com>
2018         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2019         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2020         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2021         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2022         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2023         version if bit_Fast_Unaligned_Load is set.
2024         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2025         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2026         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2027         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2028         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2029         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2030         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2031         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2032         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2033         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2034         to 4.
2035         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2036         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2037         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2038         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2040 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2042         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2043         instead of #if to avoid a Wundef warning.
2044         * stdlib/tst-limits.c (do_test): Likewise.
2046         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2047         parallel other exception macros.
2048         (fegetenv): Convert from macro to extern inline so that it applies
2049         retroactively to inline functions already seen by the compiler.
2050         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2052         * posix/Makefile (before-compile): Use $(objpfx) for
2053         posix-conf-vars-def.h.
2055 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2057         * posix/getconf.c (main): Use size_t for type of I.
2058         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2059         NSPEC.
2061         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2062         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2063         * posix/posix-envs.def: Likewise.
2064         * sysdeps/posix/sysconf.c: Likewise.
2065         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2066         (specs): Remove array.
2067         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2068         array.
2070         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2071         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2072         (__sysconf): Use CONF_IS_* macros.
2074         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2075         ($(objpfx)posix-conf-vars-def.h): New target.
2076         * posix/posix-conf-vars.list: New file.
2077         * posix/posix-conf-vars.h: New file.
2078         * posix/confstr.c: Include posix-conf-vars.h.
2079         (confstr): Use CONF_IS_* macros.
2080         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2081         CONF_IS_* macros.
2082         * scripts/gen-posix-conf-vars.awk: New file.
2084 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2086         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2087         fegetround): Add no-op macros to avoid linknamespace issues.
2089         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2090         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2092         * sysdeps/unix/sysv/linux/tile/sysdep.h
2093         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2094         assembly-specific section to avoid a redefinition warning.
2096         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2097         long before casting to pointer to avoid a cast warning.
2099 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2101         * sysdeps/tile/tilegx/Implies: New file.
2103 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2105         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2107 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2109         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2111 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2114         not define.
2115         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2116         <kernel-features.h>.
2117         (__utimes) [__NR_utimes]: Make code unconditional.
2118         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2119         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2120         (__ASSUME_UTIMES): Do not undefine.
2121         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2122         (__ASSUME_UTIMES): Likewise.
2123         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2124         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2125         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2126         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2128 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2130         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2132 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2134         [BZ #17747]
2135         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2136         alias to weak alias for j0l, y0l.
2137         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2138         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2140         [BZ #17746]
2141         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2142         conversion.
2144 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2146         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2147         to zero if not already defined.
2149 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2151         [BZ #17724]
2152         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2153         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2154         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2155         (char *) casts added.
2156         * sysdeps/ieee754/k_standardf.c: New file.
2157         * sysdeps/ieee754/k_standardl.c: Likewise.
2158         * math/Makefile (libm-support): Remove k_standard.
2159         (libm-calls): Add k_standard.
2161 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2163         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2164         Optimize to avoid an unnecessary FPCR read.
2166 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2168         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2169         Optimize to reduce FPCR/FPSR accesses.
2171 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2173         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2174         Call libc_fetestexcept_aarch64.
2176 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2178         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2179         Call libc_fesetround_aarch64.
2181 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2183         [BZ #17733]
2184         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2185         (__bind): Do not define as weak alias.
2186         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2187         define.
2188         (__getsockname): Do not define as weak alias.
2190 2014-12-22  Will Newton  <will.newton@linaro.org>
2192         * manual/install.texi: Document that we require bison 2.7
2193         or above.
2194         * INSTALL: Regenerate.
2195         * configure.ac: Use AC_CHECK_PROG_VER instead of
2196         AC_PATH_PROG when checking for bison and check for
2197         version 2.7 or above.
2198         * configure: Regenerate.
2200 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2202         [BZ #17745]
2203         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2204         * sysdeps/tile/ffsll.c (ffsll): To here.
2206         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2208 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2210         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2211         if not defined.
2212         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2213         definition.
2214         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2215         hidden ___tls_get_addr.
2216         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2217         hidden __tls_get_addr.
2218         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2219         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2220         Likewise.
2222 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2224         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2225         _dl_init call.
2227 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2229         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2230         from "call _dl_init@PLT".
2231         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2233 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2235         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2236         guarantees.
2238 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2240         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2242 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2244         [BZ #17744]
2245         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2246         strnlen.
2248 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2250         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2251         of multu on MIPSr6.
2252         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2253         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2254         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2255         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2256         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2258 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2260         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2261         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2262         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2263         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2264         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2265         mips32r6/mips64r6.
2266         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2268 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2270         * string/strncat.c (STRNCAT): Simplify implementation.
2272 2014-12-19  David S. Miller  <davem@davemloft.net>
2274         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2275         access the quad as both a long double and as a series of 4 words.
2277         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2278         link_map->l_info array access.
2280 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2282         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2284         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2285         * math/atest-exp2.c (TIMEOUT): Likewise.
2286         * math/atest-sincos.c (TIMEOUT): Likewise.
2288 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2290         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2291         -Wno-error with -fno-builtin-lround.
2293 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2295         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2296         Contains futex constants and functions moved over from ...
2297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2298         <lowlevellock-futex.h>.
2299         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2300         (lll_timedwait_tid): Add comments and parentheses around macro
2301         arguments.
2303 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2305         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2306         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2307         (__lll_private_flag): Remove.
2308         (lll_futex_wait): Likewise.
2309         (lll_futex_timed_wait): Likewise.
2310         (lll_futex_wake): Likewise.
2311         (lll_futex_requeue): Likewise.
2312         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2313         (__lll_timedwait_tid): Spell out argument names.
2314         (lll_timedwait_tid): Add comments and parentheses around macro
2315         arguments.
2316         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2317         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2319 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2321         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2322         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2323         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2324         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2325         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2326         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2327         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2328         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2329         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2330         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2331         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2332         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2333         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2335         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2336         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2337         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2338         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2339         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2341 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2343         * sysdeps/x86_64/x32/Makefile: New file.
2345 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2347         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2348         1L with (mp_limb_t) 1.
2350 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2352         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2353         * nptl/libc_pthread_init.c: ... here.
2354         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2355         * nptl/register-atfork.c: ... here.
2357         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2358         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2359         Use assert_perror to check its return value.
2360         (__gai_create_helper_thread): Likewise.
2362         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2364         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2366 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2368         [BZ #17725]
2369         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2370         __profil_counter.
2371         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2372         Likewise.
2373         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2374         Likewise.
2375         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2376         Likewise.
2377         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2378         (profil_counter): Likewise.
2379         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2380         (profil_counter): Likewise.
2381         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2382         Likewise.
2383         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2384         Likewise.
2385         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2386         (profil_counter): Likewise.
2387         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2388         Likewise.
2389         [!__profil_counter] (profil_counter): Define as weak alias of
2390         __profil_counter.
2391         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2392         (profil_counter): Rename to __profil_counter.
2393         [!__profil_counter] (profil_counter): Define as weak alias of
2394         __profil_counter.
2395         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2396         (profil_counter): Rename to __profil_counter.
2397         [!__profil_counter] (profil_counter): Define as weak alias of
2398         __profil_counter.
2399         * sysdeps/posix/profil.c: Update comment referring to
2400         profil_counter.
2401         (__profil): Use __profil_counter instead of profil_counter.
2402         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2403         __profil_counter.  Use __profil_counter_ushort and
2404         __profil_counter_uint in definitions.
2405         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2406         instead of profil_counter_uint and profil_counter_ushort.
2408         [BZ #17722]
2409         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2410         define as weak alias of __inet_makeaddr.
2411         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2412         as weak alias of __inet_addr.
2413         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2414         as weak alias of __inet_pton.  Use libc_hidden_weak.
2415         * include/arpa/inet.h (__inet_pton): Declare.  Use
2416         libc_hidden_proto.
2417         (inet_makeaddr): Don't use libc_hidden_proto.
2418         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2419         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2420         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2421         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2422         Remove variable.
2423         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2424         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2426 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2428         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2430 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2432         * stdio-common/bug-vfprintf-nargs.c (do_test):
2433         Cast value to intptr_t to avoid format warning
2434         for usage with PRIdPTR printing macro.
2436 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2438         * libio/tst-widetext.c (do_test):
2439         Use format type %td instead of %Zd for ptrdiff_t
2440         in order to avoid format warning.
2442 2014-12-17  Andreas Schwab  <schwab@suse.de>
2444         * nscd/mem.c (gc): Add size_t cast to match printf format.
2446 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2448         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2449         (init): Apply PTR_MANGLE to pointers before storing them.
2450         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2451         before using them.
2453 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2455         [BZ #17719]
2456         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2457         define as weak alias of __memrchr.
2458         (__memrchr): Do not define as strong alias of memrchr.
2459         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2460         Remove variable.
2461         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2462         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2463         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2465         [BZ #17717]
2466         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2467         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2468         (if_indextoname): Rename to __if_indextoname and define as weak
2469         alias of __if_indextoname.  Use libc_hidden_weak.
2470         (if_freenameindex): Rename to __if_freenameindex and define as
2471         weak alias of __if_freenameindex.
2472         (if_nameindex): Rename to __if_nameindex and define as weak alias
2473         of __if_nameindex.
2474         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2475         __if_nametoindex and define as weak alias of __if_nametoindex.
2476         Use libc_hidden_weak.
2477         (if_freenameindex): Rename to __if_freenameindex and define as
2478         weak alias of __if_freenameindex.
2479         (if_nameindex): Rename to __if_nameindex and define as weak alias
2480         of __if_nameindex.
2481         (if_indextoname): Rename to __if_indextoname and define as weak
2482         alias of __if_indextoname.  Use libc_hidden_weak.
2483         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2484         __if_nametoindex and define as weak alias of __if_nametoindex.
2485         Use libc_hidden_weak.
2486         (if_freenameindex): Rename to __if_freenameindex and define as
2487         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2488         (if_nameindex_netlink): Use __if_freenameindex instead of
2489         if_freenameindex.
2490         (if_nameindex): Rename to __if_nameindex and define as weak alias
2491         of __if_nameindex.  Use libc_hidden_weak.
2492         (if_indextoname): Rename to __if_indextoname and define as weak
2493         alias of __if_indextoname.  Use libc_hidden_weak.
2494         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2495         libc_hidden_proto.
2496         [!_ISOMAC] (__if_freenameindex): Likewise.
2497         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2498         if_nametoindex.
2499         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2500         variable.
2501         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2502         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2503         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2504         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2505         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2506         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2507         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2509         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2510         Remove variable.
2511         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2512         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2514 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2516         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2517         subscript above bounds'
2519         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2520         bounds.
2522 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2524         * libio/tst-fopenloc.c: Use test-skeleton.c.
2526         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2527         (entry): Rename to ITEM.
2528         (do_test, comp): Adjust.
2530         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2532 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2534         * string/tester.c: Include <libc-internal.h>.
2535         (test_memset): Ignore -Wmemset-transposed-args.
2537 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2539         * misc/tst-mntent2.c (do_test): Fix warning.
2541 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2543         * elf/tst-unique4lib.cc(a): Mark as used.
2545 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2547         [BZ #17630]
2548         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2549         names.
2551 2014-12-16  Allan McRae  <allan@archlinux.org>
2553         * stdio-common/Makefile (tests): Re-add bug26.
2555 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2557         [BZ #17657]
2558         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2559         static array.
2561 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2563         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2564         (__lll_lock_wait): Likewise.
2565         (__lll_timedlock_wait): Likewise.
2566         (__lll_timedwait_tid): Likewise.
2567         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2568         (__lll_robust_timedlock_wait): Likewise.
2569         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2570         (lll_cond_trylock): Likewise.
2571         (__lll_lock): Likewise.
2572         (__lll_robust_lock): Likewise.
2573         (__lll_cond_lock): Likewise.
2574         (lll_robust_cond_lock): Likewise.
2575         (__lll_timedlock): Likewise.
2576         (__lll_robust_timedlock): Likewise.
2577         (__lll_unlock): Likewise.
2578         (__lll_robust_unlock): Likewise.
2579         (lll_wait_tid): Likewise.
2580         (lll_timedwait_tid): Likewise.
2582 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2584         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2586 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2588         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2590 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2592         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2593         * stdio-common/tst-sprintf.c: Likewise.
2595 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2597         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2599 2014-12-15  Jeff Law  <law@redhat.com>
2601         [BZ #16617]
2602         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2603         on the heap.  (CVE-2012-3406)
2604         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2605         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2606         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2608 2014-12-15  Will Newton  <will.newton@linaro.org>
2610         * manual/install.texi: Bump required version of texinfo
2611         to 4.7 from 4.5.
2612         * INSTALL: Regenerated.
2613         * configure.ac: Check for makeinfo version 4.7 and above.
2614         * configure: Regenerated.
2616 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2618         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2619         PREFIX, string constant to insert between directory and name.
2620         * sysdeps/posix/shm_open.c: Update caller.
2621         * sysdeps/posix/shm_unlink.c: Likewise.
2622         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2623         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2624         (SEM_SHM_PREFIX): New macro.
2625         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2626         [$(have-thread-library) = no].
2627         * nptl/Makefile (libpthread-routines): Add shm-directory.
2628         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2629         * sysdeps/nptl/shm-directory.h: New file.
2630         * sysdeps/posix/shm-directory.c
2631         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2632         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2633         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2634         INTERNAL_SYSCALL.
2635         (__where_is_shmfs): Function removed.
2636         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2637         Variables removed.
2638         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2639         Use SHM_GET_NAME.
2640         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2642         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2643         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2644         unconditional for use inside libpthread.
2645         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2647 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2649         * nptl/pthread_getaffinity.c: New file.
2650         * nptl/pthread_setaffinity.c: New file.
2651         * nptl/pthread_getname.c: New file.
2652         * nptl/pthread_setname.c: New file.
2654         * nptl/pthread_create.c (START_THREAD_DEFN)
2655         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2657 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2658             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2660         * resolv/res_send.c (send_vc): Disable warning resplen may
2661         be used uninitialized.
2663 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2665         * nptl/tst-mutex6.c
2666         (ATTR_NULL): New define checks ATTR against NULL.
2667         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2668         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2670 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2672         [BZ #17581]
2673         * malloc/hooks.c
2674         (mem2mem_check): Revert my previous change.
2675         (malloc_check_get_size): Revert my previous change.
2676         (mem2chunk_check): Revert my previous change.
2678 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2680         * sysdeps/posix/shm-directory.c: New file.
2681         * sysdeps/posix/shm-directory.h: New file.
2682         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2683         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2684         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2685         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2686         Transmute EPERM to EACCES.
2687         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2688         from ...
2689         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2690         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2692 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2694         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2695         pointer and cast to uintptr_t.
2696         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2697         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2698         Add cast to avoid warning.
2699         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2701 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2703         * nptl/semaphore.h: Move to ...
2704         * sysdeps/pthread/semaphore.h: ... here.
2705         * Makefile (installed-headers): Change nptl/semaphore.h to
2706         sysdeps/pthread/semaphore.h.
2708 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2710         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2711         generated error format strings.
2713         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2714         -Wformat-extra-args warnings for scanf formats.
2715         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2716         test of zero-length format (duh).
2717         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2718         corner-case scanf format test.
2719         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2720         generated fprintf format string.
2721         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2722         corner-case sprintf format tests.
2723         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2724         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2725         -Wformat-extra-args warnings throughout.
2726         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2727         (CFLAGS-scanf4.c): Likewise.
2728         (CFLAGS-scanf7.c): Likewise.
2729         (CFLAGS-tst-sprintf.c): Likewise.
2730         (CFLAGS-tst-printf.c): Likewise.
2731         (CFLAGS-tst-printfsz.c): Likewise.
2733 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2735         * include/cpio.h: New file.
2736         * include/fmtmsg.h: Likewise.
2738         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2739         corresponding format argument to size_t.
2740         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2741         arguments.
2742         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2743         corresponding format argument to size_t.
2744         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2745         arguments.
2746         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2747         corresponding format argument to size_t.
2748         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2749         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2750         (CFLAGS-tst-mbswcs2.c): Likewise.
2751         (CFLAGS-tst-mbswcs3.c): Likewise.
2752         (CFLAGS-tst-mbswcs4.c): Likewise.
2753         (CFLAGS-tst-mbswcs5.c): Likewise.
2754         (CFLAGS-tst-trans.c): Likewise
2756 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2758         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2759         rather than assuming they won't contain any '%'s.
2761 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2763         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2764         inhibit_loop_to_libcall to avoid recursive calls.
2765         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2766         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2768 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2770         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2771         prototype.
2773 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2775         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2776         integer value instead of boolean.
2778 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2780         * malloc/malloc.c: Fix powerof2 check.
2782 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2784         * locale/programs/locfile.h (maybe_swap_uint32):
2785         Remove inline and add unused attribute.
2787 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2790         Truncating assembler expression to a .long expression.
2792 2014-12-11  Andreas Schwab  <schwab@suse.de>
2794         * elf/rtld.c (struct map_args): Constify str member.
2795         (do_preload): Constify fname argument.
2797 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2799         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2800         constants definition.
2802 2014-12-11  Andreas Schwab  <schwab@suse.de>
2804         [BZ #16657]
2805         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2806         FORCE_ELISION instead of DO_ELISION.
2807         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2808         Remove.
2809         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2810         Likewise.
2812         * iconvdata/gconv-modules: Remove duplicate entry.
2814 2014-12-11  Will Newton  <will.newton@linaro.org>
2816         Merge gettext 0.19.3 into intl/.
2818         This involves a number of cosmetic changes to comments
2819         and ANSI function definitions and prototypes throughout
2820         all the files. The gettext copyright header is used but
2821         with the date ranges taken from the glibc copy.
2823         * NEWS: Add gettext merge to 2.21.
2824         * intl/bindtextdom.c: Switch to gettext copyright.
2825         Use ANSI definitions and prototypes.
2826         Use gl_* locking primitives rather than __libc_* ones.
2827         Use __builtin_expect rather than __glibc_likely/unlikely.
2828         * intl/dcgettext.c: Switch to gettext copyright.
2829         Use ANSI definitions and prototypes.
2830         * intl/dcigettext.c: Switch to gettext copyright.
2831         Use ANSI definitions and prototypes.
2832         (INTDIV0_RAISES_SIGFPE): New define.
2833         Use gl_* locking primitives rather than __libc_* ones.
2834         Include eval-plural.h instead of plural-eval.c.
2835         Use __builtin_expect rather than __glibc_likely/unlikely.
2836         * intl/dcngettext.c: Switch to gettext copyright.
2837         Use ANSI definitions and prototypes.
2838         * intl/dgettext.c: Likewise.
2839         * intl/dngettext.c: Likewise.
2840         * intl/plural-eval.c: Renamed to...
2841         * intl/eval-plural.h: ...this.
2842         * intl/explodename.c: Switch to gettext copyright.
2843         Use ANSI definitions and prototypes.
2844         (_nl_explode_name): Use strchr instead of __rawmemchr.
2845         * intl/finddomain.c: Switch to gettext copyright.
2846         Use ANSI definitions and prototypes.
2847         Use gl_* locking primitives rather than __libc_* ones.
2848         (_nl_find_domain): Use malloc rather than alloca for
2849         allocation of temporary locale name.
2850         * intl/gettext.c: Switch to gettext copyright.
2851         Use ANSI definitions and prototypes.
2852         * intl/gettextP.h: Switch to gettext copyright.
2853         Use ANSI definitions and prototypes.
2854         Use gl_* locking primitives rather than __libc_* ones.
2855         * intl/gmo.h: Switch to gettext copyright.
2856         (struct sysdep_string): Move struct segment_pair outside of
2857         struct definition.
2858         * intl/hash-string.c: Use ANSI definitions and prototypes.
2859         * intl/hash-string.h: Switch to gettext copyright.
2860         Use ANSI definitions and prototypes.
2861         * intl/l10nflist.c: Switch to gettext copyright.
2862         Use ANSI definitions and prototypes.
2863         (_nl_normalize_codeset): Avoid integer overflow.
2864         * intl/loadinfo.h: Switch to gettext copyright.
2865         Use ANSI definitions and prototypes.
2866         (LIBINTL_DLL_EXPORTED): New define.
2867         (PATH_SEPARATOR): New define.
2868         * intl/loadmsgcat.c: Switch to gettext copyright.
2869         * intl/localealias.c: Switch to gettext copyright.
2870         Use ANSI definitions and prototypes.
2871         (_nl_expand_alias): Use PATH_SEPARATOR.
2872         * intl/ngettext.c: Switch to gettext copyright.
2873         Use ANSI definitions and prototypes.
2874         * intl/plural-exp.c: Likewise.
2875         * intl/plural-exp.h: Switch to gettext copyright.
2876         Use ANSI definitions and prototypes.
2877         (struct expression): Move definition of enum operator outside
2878         of struct definition.
2879         * intl/plural.c: Regenerate.
2880         * intl/plural.y: Switch to gettext copyright.
2881         Use ANSI definitions and prototypes.
2882         Port to bison 3.0.
2883         * intl/textdomain.c: Switch to gettext copyright.
2884         Use ANSI definitions and prototypes.
2885         Use gl_* locking primitives rather than __libc_* ones.
2887 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2889         * debug/warning-nop.c: Add used atrribute.
2891 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2893         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2895         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2896         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2897         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2899 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2900             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2902         [BZ #17634]
2903         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2904         Undefine after defining function.  Define as weak alias of
2905         __wcschr.  Use libc_hidden_weak.
2906         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2907         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2908         (libc_hidden_def): Also define __GI___wcschr alias.
2909         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2910         __wcschr and define as weak alias of __wcschr.
2911         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2912         __wcschr.
2913         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2914         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2915         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2916         libc_hidden_weak.  Do not use libc_hidden_def.
2917         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2918         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2919         __GI___wcschr alias.
2920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2921         [IS_IN (libc)] (wcschr): Define as macro expanding to
2922         __redirect_wcschr.
2923         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2924         [IS_IN (libc)] (__wcschr_power6): Likewise.
2925         [IS_IN (libc)] (__wcschr_power7): Likewise.
2926         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2927         instead of wcschr.
2928         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2929         __libc_wcschr.
2930         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2931         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2932         __wcschr and define as weak alias of __wcschr.  Use
2933         libc_hidden_builtin_def.
2934         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2935         as weak alias of __wcschr.  Use libc_hidden_weak.
2936         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2937         wcschr.
2938         * time/era.c (_nl_init_era_entries): Likewise.
2939         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2940         variable.
2941         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2942         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2944 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2946         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2947         format for long int variable.
2949 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2951         [BZ #10672]
2952         * manual/search.texi: (Array Sort Function): Remove claim how to make
2953         qsort stable.
2955 2014-12-10  Andreas Schwab  <schwab@suse.de>
2957         [BZ #12847]
2958         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2959         user-controlled locks.
2961 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2963         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2964         register.
2966 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2968         * configure.ac (--disable-werror): New configure option.
2969         (enable_werror): New AC_SUBST.
2970         * configure: Regenerated.
2971         * config.make.in (enable-werror): New variable.
2972         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2973         -Wno-error=undef.
2974         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2975         * manual/install.texi (Configuring and compiling): Document
2976         --disable-werror.
2977         * INSTALL: Regenerated.
2978         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2979         (CFLAGS-tst-chk2.c): Likewise.
2980         (CFLAGS-tst-chk3.c): Likewise.
2981         (CFLAGS-tst-chk4.cc): Likewise.
2982         (CFLAGS-tst-chk5.cc): Likewise.
2983         (CFLAGS-tst-chk6.cc): Likewise.
2984         (CFLAGS-tst-lfschk1.c): Likewise.
2985         (CFLAGS-tst-lfschk2.c): Likewise.
2986         (CFLAGS-tst-lfschk3.c): Likewise.
2987         (CFLAGS-tst-lfschk4.cc): Likewise.
2988         (CFLAGS-tst-lfschk5.cc): Likewise.
2989         (CFLAGS-tst-lfschk6.cc): Likewise.
2991         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2992         (main): Disable -Wdeprecated-declarations around calls to
2993         register_printf_function.
2995         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2996         (do_test): Disable -Wdiv-by-zero around some calls to
2997         fwrite_unlocked and fread_unlocked.
2999         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3000         (DIAG_POP_NEEDS_COMMENT): Likewise.
3001         (_DIAG_STR1): Likewise.
3002         (_DIAG_STR): Likewise.
3003         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3004         * stdio-common/bug21.c: Include <libc-internal.h>.
3005         (do_test): Disable -Wformat around call to sscanf.
3006         * stdio-common/scanf14.c: Include <libc-internal.h>.
3007         (main): Disable -Wformat around some calls to scanf functions.
3009 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3011         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3013 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3015         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3016         stack variable alignment.
3018 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3020         [BZ #17682]
3021         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3022         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3023         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3024         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3025         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3026         __getrlimit instead of getrlimit.
3027         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3028         __gettimeofday instead of gettimeofday.
3029         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3030         Likewise.
3031         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3032         Likewise.
3033         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3034         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3035         Remove variable.
3036         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3037         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3039 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3041         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3042         for wide-character tests.
3044 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3046         * io/openat64.c: #include <libc-internal.h>
3047         (__openat64): Prototypify.  Use ignore_value on MODE.
3048         * io/openat.c: Likewise.
3049         * misc/reboot.c: #include <libc-internal.h>
3050         (reboot): Prototypify.  Use ignore_value on HOWTO.
3051         * misc/ptrace.c: #include <libc-internal.h>
3052         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3054 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3056         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3057         XPG4, UNIX98 and XOPEN2K.
3058         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3059         Remove variable.
3060         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3062 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3064         * libio/fileops.c: Use ISO C style for function definitions.
3065         * libio/iofopen.c: Likewise.
3066         * libio/wfileops.c: Likewise.
3068         [BZ #17653]
3069         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3070         offset on EOF.
3071         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3072         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3073         (fgets_func): Function pointer to fgets and fgetws.
3074         (do_ftell_test): Add test to verify ftell value after read
3075         EOF.
3076         (do_test): Set fgets_func.
3078         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3079         O_TRUNC flag for w and w+ modes.
3080         (do_rewind_test): Likewise.
3081         (do_ftell_test): Likewise.
3082         (do_write_test): Likewise.
3084         [BZ #17647]
3085         * libio/fileops.c (do_ftell): Seek only when there are
3086         unflushed writes.
3087         * libio/wfileops.c (do_ftell_wide): Likewise.
3088         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3089         test case.
3090         (do_one_test): Call it.
3092 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3094         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3095         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3096         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3097         Remove variable.
3098         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3099         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3100         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3102 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3104         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3105         Remove variable.
3106         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3108         [BZ #17668]
3109         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3110         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3111         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3112         __freeifaddrs.  Use libc_hidden_weak.
3113         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3114         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3115         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3116         __freeifaddrs.  Use libc_hidden_weak.
3117         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3118         __getifaddrs and define as weak alias of __getifaddrs.  Use
3119         libc_hidden_weak.
3120         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3121         __freeifaddrs.  Use libc_hidden_weak.
3122         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3123         Remove variable.
3124         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3125         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3127 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3129         [BZ #17601]
3130         * sysdeps/mips/start.S (__start): Use indirect jump to call
3131         __libc_start_main.
3133 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3135         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3137         * nptl/tst-mutex1.c: Include <stdbool.h>.
3138         [!ATTR] (ATTR_NULL): New macro.
3139         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3140         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3141         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3143         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3144         to char *.
3146         [BZ #17665]
3147         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3148         Change conditional to [__USE_MISC].
3150         [BZ #17664]
3151         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3152         fgets_unlocked.
3153         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3154         __fgets_unlocked.
3155         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3156         fgets_unlocked.
3157         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3158         Remove variable.
3159         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3160         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3161         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3162         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3163         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3164         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3165         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3166         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3167         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3169         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3171 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3173         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3174         Remove strpbrk objects.
3175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3176         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3177         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3178         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3179         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3180         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3182         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3183         Remove strcspn objects.
3184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3185         (__libc_ifunc_impl_list): Remove strcspn implementation.
3186         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3187         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3188         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3189         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3191         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3192         Remove strspn objetcs.
3193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3194         (__libc_ifunc_impl_list): Remove strspn implementation.
3195         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3196         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3197         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3198         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3200 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3202         [BZ #17581]
3203         * malloc/hooks.c
3204         (mem2mem_check): Add a terminator to the chain of checking blocks.
3205         (malloc_check_get_size): Use it here.
3206         (mem2chunk_check): Ditto.
3208 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3210         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3211         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3213 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3215         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3217         * nptl/nptl-init.c: Include libc-internal.h.
3218         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3220         * elf/ldconfig.c (search_dir): Expand comment.
3222 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3224         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3225         variable.
3226         (linknamespace-symlist-stdlibs-tests): Likewise.
3227         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3228         instead of $(objpfx)symlist-stdlibs.
3229         (linknamespace-libs-isoc): New variable.
3230         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3231         (linknamespace-libs-ISO): New variable.
3232         (linknamespace-libs-ISO99): Likewise.
3233         (linknamespace-libs-ISO11): Likewise.
3234         (linknamespace-libs-XPG3): Likewise.
3235         (linknamespace-libs-XPG4): Likewise.
3236         (linknamespace-libs-POSIX): Likewise.
3237         (linknamespace-libs-UNIX98): Likewise.
3238         (linknamespace-libs-XOPEN2K): Likewise.
3239         (linknamespace-libs-POSIX2008): Likewise.
3240         (linknamespace-libs-XOPEN2K8): Likewise.
3241         ($(objpfx)symlist-stdlibs): Replace by
3242         $(linknamespace-symlist-stdlibs-tests).  Use
3243         $(linknamespace-libs-$*) as set of libraries.
3244         ($(linknamespace-header-tests)): Update dependencies.  Use
3245         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3246         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3247         * conform/linknamespace.pl: Remove comment about considering
3248         definitions of symbols from irrelevant libraries.
3250 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3252         [BZ #13862]
3253         * elf/dl-tls.c: Include <atomic.h>.
3254         (oom): Remove #ifdef SHARED/#endif.
3255         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3256         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3257         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3258         big enough.
3259         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3260         * nptl/Makefile (tests): Add tst-stack4.
3261         (modules-names): Add tst-stack4mod.
3262         ($(objpfx)tst-stack4): New.
3263         (tst-stack4mod.sos): Likewise.
3264         ($(objpfx)tst-stack4.out): Likewise.
3265         ($(tst-stack4mod.sos)): Likewise.
3266         (clean): Likewise.
3267         * nptl/tst-stack4.c: New file.
3268         * nptl/tst-stack4mod.c: Likewise.
3270 2014-11-27  J. Brown  <jb999@gmx.de>
3272         * sysdeps/x86/bits/string.h: Add recent CPUs.
3274 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3276         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3277         sigblock.
3279         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3280         feof.
3282         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3283         variable.
3285 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3287         * nscd/connections.c: Include libc-internal.h because of macro
3288         usage ignore_value.
3290 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3292         * string/bits/string3.h (__warn_memset_zero_len): Don't
3293         declare for gcc newer than 5.0.
3294         (memset): Don't test for zero-length __LEN for gcc newer than
3295         5.0.
3297 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3299         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3300         size_t for %zu format.
3302         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3303         difference, not %ju.
3305 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3307         * include/libc-internal.h (ignore_value): New macro.
3308         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3309         with ignore_value.
3311         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3312         definition.
3314         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3315         pthread_cleanup_push to void *.
3317         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3318         Undefine.
3320         [BZ #16619]
3321         [BZ #16740]
3322         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3323         instead of 1L << 52.
3325         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3326         * libio/bug-rewind2.c (do_test): Likewise.
3328         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3329         * debug/test-strcpy_chk-ifunc.c: Likewise.
3330         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3331         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3332         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3333         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3334         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3335         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3336         * Rules [$(multi-arch) = no] (tests): Do not filter out
3337         $(tests-ifunc).
3338         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3339         * debug/Makefile (tests-ifunc): Remove variable.
3340         (tests): Do not add $(tests-ifunc).
3341         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3342         (tests): Do not add $(tests-ifunc).
3343         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3344         [TEST_IFUNC]: Remove conditionals.
3345         * string/test-string.h (TEST_IFUNC): Remove macro.
3346         [TEST_IFUNC]: Remove conditionals.
3348         * string/test-strchr.c [!WIDE] (L): New macro.
3349         [WIDE] (L): Likewise.
3350         (check1): Use CHAR instead of char.  Use L on string and character
3351         constants.
3353 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3355         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3356         tests.
3357         * sysdeps/powerpc/bits/atomic.h
3358         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3359         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3360         (atomic_exchange_and_add_acq): Likewise.
3361         (atomic_exchange_and_add_rel): Likewise.
3362         * sysdeps/powerpc/powerpc32/bits/atomic.h
3363         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3364         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3365         * sysdeps/powerpc/powerpc64/bits/atomic.h
3366         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3367         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3369 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3371         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3372         Change synchronization of __sched_fifo_min_prio and
3373         __sched_fifo_max_prio.
3374         * nptl/pthread_mutexattr_getprioceiling.c
3375         (pthread_mutexattr_getprioceiling): Likewise.
3376         * nptl/pthread_mutexattr_setprioceiling.c
3377         (pthread_mutexattr_setprioceiling): Likewise.
3378         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3379         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3380         Likewise.
3382 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3384         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3385         void.
3387 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3389         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3390         third argument const.
3392 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3394         fnmatch: work around GCC compiler warning bug with uninit var
3395         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3396         This works around a bug with x86-64 GCC 4.9.2 and earlier
3397         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3398         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3399         used uninitialized in this function [-Wmaybe-uninitialized]".
3401 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3403         * posix/bug-regex31.c (main): Return RES not 0.
3405 2014-11-25  Anton Blanchard <anton@samba.org>
3407         * sysdeps/powerpc/bits/atomic.h
3408         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3410 2014-11-24  Sterling Augustine  <saugustine@google.com>
3412         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3414 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3416         [BZ #17608]
3417         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3419 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3421         [BZ #17633]
3422         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3423         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3424         variable.
3425         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3426         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3428 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3430         * string/strncpy.c (strncpy): Improve performance by using memset.
3432 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3434         * string/strcpy.c (strcpy):
3435         Improve performance by using strlen and memcpy.
3437 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3439         * string/strcoll_l.c (get_next_seq): __always_inline.
3440         * string/strcoll_l.c (do_compare): __always_inline.
3442 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3444         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3445         defined.
3446         * include/mqueue.h: Likewise.
3447         * include/stdlib.h: Likewise.
3449         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3450         (get_null_defines): Adjust.
3451         * sunrpc/Makefile: Adjust comment.
3452         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3453         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3454         (CFLAGS-interp.c): Likewise.
3455         (CFLAGS-ldconfig.c): Likewise.
3456         (CPPFLAGS-.os): Likewise.
3457         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3458         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3459         * extra-modules.mk (extra-modules.mk): Likewise.
3460         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3461         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3462         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3463         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3464         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3465         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3466         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3467         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3468         * iconvdata/Makefile (CPPFLAGS): Likewise.
3469         (cpp-srcs-left): Add libof for all iconvdata routines.
3470         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3471         * include/assert.h: Likewise.
3472         * include/ctype.h: Likewise.
3473         * include/errno.h: Likewise.
3474         * include/libc-symbols.h: Likewise.
3475         * include/math.h: Likewise.
3476         * include/netdb.h: Likewise.
3477         * include/resolv.h: Likewise.
3478         * include/stdio.h: Likewise.
3479         * include/stdlib.h: Likewise.
3480         * include/string.h: Likewise.
3481         * include/sys/stat.h: Likewise.
3482         * include/wctype.h: Likewise.
3483         * intl/l10nflist.c: Likewise.
3484         * libidn/idn-stub.c: Likewise.
3485         * libio/libioP.h: Likewise.
3486         * nptl/libc_multiple_threads.c: Likewise.
3487         * nptl/pthreadP.h: Likewise.
3488         * posix/regex_internal.h: Likewise.
3489         * resolv/res_hconf.c: Likewise.
3490         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3491         * sysdeps/arm/memmove.S: Likewise.
3492         * sysdeps/arm/sysdep.h: Likewise.
3493         * sysdeps/generic/_itoa.h: Likewise.
3494         * sysdeps/generic/symbol-hacks.h: Likewise.
3495         * sysdeps/gnu/errlist.awk: Likewise.
3496         * sysdeps/gnu/errlist.c: Likewise.
3497         * sysdeps/i386/i586/memcpy.S: Likewise.
3498         * sysdeps/i386/i586/memset.S: Likewise.
3499         * sysdeps/i386/i686/memcpy.S: Likewise.
3500         * sysdeps/i386/i686/memmove.S: Likewise.
3501         * sysdeps/i386/i686/mempcpy.S: Likewise.
3502         * sysdeps/i386/i686/memset.S: Likewise.
3503         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3504         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3505         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3506         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3507         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3508         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3509         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3510         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3511         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3512         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3519         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3520         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3521         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3522         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3523         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3524         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3525         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3526         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3527         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3528         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3529         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3530         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3531         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3532         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3533         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3534         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3535         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3536         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3537         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3538         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3539         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3540         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3541         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3542         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3543         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3544         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3545         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3546         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3547         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3548         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3549         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3550         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3551         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3552         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3553         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3554         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3555         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3556         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3557         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3558         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3559         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3560         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3561         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3562         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3563         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3564         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3565         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3566         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3567         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3568         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3569         * sysdeps/posix/closedir.c: Likewise.
3570         * sysdeps/posix/opendir.c: Likewise.
3571         * sysdeps/posix/readdir.c: Likewise.
3572         * sysdeps/posix/rewinddir.c: Likewise.
3573         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3574         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3575         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3576         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3577         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3578         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3579         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3580         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3581         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3582         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3584         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3585         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3586         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3587         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3588         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3589         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3590         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3592         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3593         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3594         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3595         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3596         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3597         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3598         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3599         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3600         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3601         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3608         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3609         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3610         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3611         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3612         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3613         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3614         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3615         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3616         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3617         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3618         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3619         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3620         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3621         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3622         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3623         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3624         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3625         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3626         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3627         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3628         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3629         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3630         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3631         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3632         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3633         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3634         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3635         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3636         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3637         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3638         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3639         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3640         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3641         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3642         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3643         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3644         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3645         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3646         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3647         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3648         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3649         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3650         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3651         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3652         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3653         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3654         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3655         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3656         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3657         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3658         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3659         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3660         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3661         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3662         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3663         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3664         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3665         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3666         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3667         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3668         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3669         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3670         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3671         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3672         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3673         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3674         * sysdeps/unix/alpha/sysdep.S: Likewise.
3675         * sysdeps/unix/alpha/sysdep.h: Likewise.
3676         * sysdeps/unix/make-syscalls.sh: Likewise.
3677         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3678         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3679         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3680         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3681         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3682         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3683         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3684         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3685         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3686         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3687         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3688         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3689         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3690         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3691         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3692         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3693         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3694         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3695         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3696         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3697         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3698         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3699         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3700         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3701         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3702         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3703         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3706         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3707         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3710         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3711         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3714         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3715         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3716         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3717         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3718         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3719         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3720         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3721         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3723         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3724         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3726         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3727         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3728         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3729         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3730         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3731         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3732         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3733         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3735         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3736         * sysdeps/x86_64/memcpy.S: Likewise.
3737         * sysdeps/x86_64/memmove.c: Likewise.
3738         * sysdeps/x86_64/memset.S: Likewise.
3739         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3740         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3741         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3742         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3743         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3744         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3745         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3746         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3747         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3748         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3749         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3750         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3751         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3752         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3753         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3754         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3755         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3756         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3757         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3758         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3759         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3760         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3761         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3762         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3763         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3764         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3765         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3766         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3767         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3768         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3769         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3770         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3771         * sysdeps/x86_64/strcmp.S: Likewise.
3773         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3775         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3776         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3777         * elf/rtld-Rules: Likewise.
3778         * elf/setup-vdso.h: Likewise.
3779         * include/assert.h: Likewise.
3780         * include/bits/stdlib-float.h: Likewise.
3781         * include/errno.h: Likewise.
3782         * include/sys/stat.h: Likewise.
3783         * include/unistd.h: Likewise.
3784         * sysdeps/aarch64/setjmp.S: Likewise.
3785         * sysdeps/alpha/setjmp.S: Likewise.
3786         * sysdeps/arm/__longjmp.S: Likewise.
3787         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3788         * sysdeps/arm/setjmp.S: Likewise.
3789         * sysdeps/arm/sysdep.h: Likewise.
3790         * sysdeps/generic/_itoa.h: Likewise.
3791         * sysdeps/generic/dl-sysdep.h: Likewise.
3792         * sysdeps/generic/ldsodefs.h: Likewise.
3793         * sysdeps/i386/dl-tls.h: Likewise.
3794         * sysdeps/i386/setjmp.S: Likewise.
3795         * sysdeps/m68k/setjmp.c: Likewise.
3796         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3797         * sysdeps/mach/hurd/opendir.c: Likewise.
3798         * sysdeps/posix/getcwd.c: Likewise.
3799         * sysdeps/posix/opendir.c: Likewise.
3800         * sysdeps/posix/profil.c: Likewise.
3801         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3802         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3803         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3804         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3805         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3806         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3807         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3808         * sysdeps/s390/dl-tls.h: Likewise.
3809         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3810         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3811         * sysdeps/sh/sh3/setjmp.S: Likewise.
3812         * sysdeps/sh/sh4/setjmp.S: Likewise.
3813         * sysdeps/unix/alpha/sysdep.h: Likewise.
3814         * sysdeps/unix/arm/sysdep.S: Likewise.
3815         * sysdeps/unix/i386/sysdep.S: Likewise.
3816         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3817         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3818         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3819         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3820         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3821         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3822         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3823         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3824         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3825         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3826         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3827         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3828         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3831         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3833         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3834         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3835         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3836         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3837         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3838         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3839         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3840         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3841         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3842         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3843         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3844         * sysdeps/x86_64/setjmp.S: Likewise.
3846         * include/math.h: Use IS_IN instead of IS_IN_libm.
3847         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3848         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3849         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3850         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3851         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3852         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3853         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3854         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3855         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3856         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3857         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3858         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3859         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3860         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3861         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3862         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3863         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3864         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3865         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3866         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3867         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3868         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3869         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3870         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3871         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3872         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3873         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3874         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3875         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3876         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3877         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3878         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3879         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3881         Likewise.
3882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3883         Likewise.
3884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3885         Likewise.
3886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3887         Likewise.
3888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3889         Likewise.
3890         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3891         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3892         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3893         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3894         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3895         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3901         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3902         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3903         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3904         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3905         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3906         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3907         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3908         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3909         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3910         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3911         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3912         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3913         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3914         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3916         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3918         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3919         * nptl/pthreadP.h: Likewise.
3920         * nptl_db/structs.def: Likewise.
3921         * sysdeps/arm/sysdep.h: Likewise.
3922         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3923         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3924         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3925         * sysdeps/unix/alpha/sysdep.h: Likewise.
3926         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3927         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3928         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3929         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3930         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3931         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3932         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3933         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3934         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3935         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3936         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3937         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3938         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3939         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3942         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3943         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3944         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3947         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3948         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3949         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3950         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3951         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3953         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3954         * nptl/pthreadP.h: Likewise.
3955         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3956         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3957         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3958         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3959         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3960         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3961         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3962         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3963         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3964         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3965         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3966         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3968         Likewise.
3969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3970         Likewise.
3971         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3972         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3973         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3974         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3975         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3976         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3977         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3978         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3980         * dlfcn/dladdr.c: Use IS_IN.
3981         * dlfcn/dladdr1.c: Likewise.
3982         * dlfcn/dlclose.c: Likewise.
3983         * dlfcn/dlerror.c: Likewise.
3984         * dlfcn/dlinfo.c: Likewise.
3985         * dlfcn/dlmopen.c: Likewise.
3986         * dlfcn/dlopen.c: Likewise.
3987         * dlfcn/dlsym.c: Likewise.
3988         * dlfcn/dlvsym.c: Likewise.
3990         * include/ifaddrs.h: Use IS_IN.
3991         * inet/check_pf.c: Likewise.
3992         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3993         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3995         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3996         IS_IN_ldconfig.
3997         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3998         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4000         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4001         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4002         IS_IN (libc).
4004         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4006         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4007         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4008         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4009         * include/libc-symbols.h (IS_IN_LIB): New macro.
4010         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4011         * include/netdb.h: Likewise.
4012         * include/stap-probe.h: Remove all uses of IN_LIB.
4014         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4015         instead of IN_MODULE.
4016         * include/libc-symbols.h (IN_MODULE): Define using
4017         MODULE_NAME.
4018         (PASTE_NAME, PASTE_NAME1): New macros.
4019         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4020         of IN_LIB.
4021         (STAP_PROBE_ASM): Likewise.
4023 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4025         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4026         __mach_init in dlopened libc.
4028 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4030         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4031         * sysdeps/arm/preconfigure: Regenerate.
4033 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4035         * nptl/pthread_create.c (__pthread_create_2_1): Set
4036         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4037         when copying values from IATTR into PD.
4039 2014-11-21  Will Newton  <will.newton@linaro.org>
4040             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4042         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4043         Refactor inline-asm.  Also add comment.
4045         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4046         ElfW macro instead of hardcoded Elf64 types.
4047         (la_aarch64_gnu_pltenter): Likewise.
4048         * sysdeps/aarch64/dl-machine.h
4049         (elf_machine_runtime_setup): Use ElfW(Addr).
4051         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4052         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4053         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4054         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4055         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4056         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4057         (R_AARCH64_TLS_DTPMOD): This.
4058         (R_AARCH64_TLS_DTPREL64): Rename to ...
4059         (R_AARCH64_TLS_DTPREL): This.
4060         (R_AARCH64_TLS_TPREL64): Rename to ...
4061         (R_AARCH64_TLS_TPREL): This.
4062         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4063         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4064         R_AARCH64_TLS_TPREL64.
4065         (elf_machine_rela): Likewise.
4067 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4069         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4070         by setting it to 0.  64b atomics are not supported currently.
4072 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4074         [BZ #16469]
4075         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4076         search domain names.
4078 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4080         [BZ #16469]
4081         * NEWS: Update.
4082         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4083         trailing dot.
4084         * posix/tst-getaddrinfo5.c: New.
4085         * posix/Makefile (tests): Add it.
4087 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4089         [BZ #14498]
4090         * NEWS: Fixed.
4091         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4092         after parsing line but before break_if_match.
4093         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4094         if there is a protocol mismatch.
4096 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4098         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4099         because the potential race is on the user-supplied stream.
4101 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4103         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4104         string literal if not passed a buffer.
4105         * manual/job.texi (ctermid): Update reasoning, note deviation
4106         from posix, suggest mtasurace when not passed a buffer, for
4107         future non-preliminary safety notes.
4109 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4111         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4112         of not passing it a buffer.
4113         Reported by Peng Haitao.
4115 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4117         * manual/Makefile ($(objpfx)stamp-summary): Require
4118         check-safety.sh to pass.
4119         * manual/check-safety.sh: Wish for verification that every
4120         @deftypefn and @deftypefun is followed by a @safety remark.
4122 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4124         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4126         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4127         PTHREAD_CANCEL_ASYNCHRONOUS.
4128         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4129         send SIGCANCEL.
4131         * nptl/default-sched.h: New file.
4132         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4133         * nptl/pthread_create.c: Include it.
4134         (__pthread_create_2_1): Use collect_default_sched instead of making
4135         Linux syscalls here directly.
4137 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4139         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4140         __pthread_once): Use C11 atomics.
4142 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4144         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4146 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4148         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4149         atomic_thread_fence_acquire, atomic_thread_fence_release,
4150         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4151         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4152         atomic_compare_exchange_weak_relaxed,
4153         atomic_compare_exchange_weak_acquire,
4154         atomic_compare_exchange_weak_release,
4155         atomic_exchange_acquire, atomic_exchange_release,
4156         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4157         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4158         atomic_fetch_and_acquire,
4159         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4161 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4163         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4164         USE_ATOMIC_COMPILER_BUILTINS): Define.
4165         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4166         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4167         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4168         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4169         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4170         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4171         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4173         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4175         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4177         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4179         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4181         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4183         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4185         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4187         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4189         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4191         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4193         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4194         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4195         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4197         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4199         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4200         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4201         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4203         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4206 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4208         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4209         the sched_priority value here.  It was already checked when the user
4210         called pthread_attr_setschedparam.
4212         * nptl/tst-bad-schedattr.c: New file.
4213         * nptl/Makefile (tests): Add it.
4215 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4216             Florian Weimer  <fweimer@redhat.com>
4217             Joseph Myers  <joseph@codesourcery.com>
4218             Adam Conrad  <adconrad@0c3.net>
4219             Andreas Schwab  <schwab@suse.de>
4220             Brooks  <bmoses@google.com>
4222         [BZ #17625]
4223         * wordexp-test.c (__dso_handle): Add prototype.
4224         (__register_atfork): Likewise.
4225         (__app_register_atfork): New function.
4226         (registered_forks): New global.
4227         (register_fork): New function.
4228         (test_case): Add 3 new tests for WRDE_CMDSUB.
4229         (main): Call __app_register_atfork.
4230         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4231         fork count is non-zero fail the test.
4232         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4233         is set.
4234         (parse_dollars): Remove check for WRDE_NOCMD.
4235         (parse_dquote): Likewise.
4237 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4239         * Makeconfig (built-modules): List non-library modules to be
4240         built.
4241         (module-cppflags): Include libc-modules.h for
4242         everything except shlib-versions.v.i.
4243         (CPPFLAGS): Use it.
4244         (before-compile): Add libc-modules.h.
4245         ($(common-objpfx)libc-modules.h,
4246         $(common-objpfx)libc-modules.stmp): New targets.
4247         (common-generated): Add libc-modules.h and libc-modules.stmp.
4248         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4249         * include/libc-symbols.h: Don't include libc-modules.h.
4250         * include/libc-modules.h: Remove file.
4251         * scripts/gen-libc-modules.awk: New script to generate
4252         libc-modules.h.
4253         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4254         Depend on libc-modules.stmp.
4256         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4258         * Makeconfig (in-module): Get value of libof set for the
4259         translation unit.
4260         (CPPFLAGS): Use $(in-module).
4261         * Makerules: Don't suffix routine names for nonlib.
4262         * include/libc-modules.h: New file.
4263         * include/libc-symbols.h: Include libc-modules.h
4264         (IS_IN): New macro to replace IS_IN_* macros.
4265         * elf/Makefile: Set libof-* for each routine.
4266         * elf/rtld-Rules: Likewise.
4267         * extra-modules.mk: Likewise.
4268         * iconv/Makefile: Likewise.
4269         * iconvdata/Makefile: Likewise.
4270         * locale/Makefile: Likewise.
4271         * malloc/Makefile: Likewise.
4272         * nss/Makefile: Likewise.
4273         * sysdeps/gnu/Makefile: Likewise.
4274         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4275         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4276         * sysdeps/s390/s390-64/Makefile: Likewise.
4277         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4278         CPPFLAGS for nscd instead of nonlib.
4280 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4282         * nptl/createthread.c: New file.
4284         * nptl/createthread.c: Moved ...
4285         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4287         * nptl/createthread.c: Add proper top-line comment.
4288         (do_clone): Folded into ...
4289         (create_thread): ... here.  Take new arguments STOPPED_START and
4290         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4291         increment __nptl_threads, do event-reporting logic, do
4292         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4293         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4294         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4295         just send SIGCANCEL.
4296         * nptl/pthread_create.c: Forward-declare create_thread before
4297         including createthread.c.
4298         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4299         declaration, and new macro START_THREAD_SELF to replace argument.
4300         Remove return statement.
4301         (report_thread_creation): New function.
4302         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4303         synchronization logic, and __nptl_nthreads increment here, around
4304         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4305         PD->parent_cancelhandling here, before create_thread.  When
4306         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4307         __deallocate_stack, and ENOMEM translation here.
4309 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4311         [BZ #17616]
4312         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4313         (mptwo): Rename to __mptwo.
4314         (__inv): Use __mptwo instead of mptwo.
4315         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4316         (mptwo): Rename to __mptwo.
4317         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4318         of mpone and __mptwo instead of mptwo.
4319         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4320         instead of mpone.
4321         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4322         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4323         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4324         of mpone and __mptwo instead of mptwo.
4325         (__mpranred): Use __mpone instead of mpone.
4326         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4327         variable.
4328         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4329         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4330         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4331         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4332         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4333         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4334         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4335         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4336         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4337         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4338         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4339         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4340         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4341         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4342         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4343         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4344         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4345         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4346         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4348 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4350         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4351         replace BSD Handler xref with BSD Signal Handling.
4353 2014-11-17  Richard Henderson  <rth@redhat.com>
4355         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4356         (_FP_PACK_RAW_2): Remove.
4357         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4358         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4359         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4360         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4361         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4362         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4363         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4364         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4365         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4366         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4367         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4368         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4369         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4370         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4371         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4372         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4374 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4376         * signal/signal.h [__USE_MISC]
4377         (struct sigvec): Remove type.
4378         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4379         (sigvec): Remove declaration.
4380         * sysdeps/posix/sigvec.c: Moved ...
4381         * signal/sigvec.c: ... here, replacing old file.
4382         (struct sigvec): New type, copied from old signal.h definition.
4383         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4384         (__sigvec): Convert definition to prototype.
4385         (sigvec): Replace weak_alias with compat_symbol.
4386         * signal/Versions (libc: GLIBC_2.21): New version set.
4387         * include/signal.h: Remove __sigvec declaration.
4388         * sysdeps/unix/bsd/sigvec.c: Remove file.
4389         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4390         * manual/signal.texi (BSD Handler): Remove subsection.
4391         Move siginterrupt up to ...
4392         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4393         (Blocking in BSD): Fold subsection into its parent.
4394         * NEWS: Mention sigvec removal.
4396 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4398         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4399         (DLA_FMS): Make definition conditional only on [__FMA4__].
4400         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4401         definition.
4403         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4404         Make definition conditional only on [PROF].
4405         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4406         definition.
4407         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4408         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4410         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4411         !__GNUC__].
4412         * include/signal.h (__sigpause): Move declaration above call to
4413         libc_hidden_proto.
4414         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4415         variable.
4416         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4417         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4419 2014-11-14  David S. Miller  <davem@davemloft.net>
4421         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4422         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4424 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4426         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4427         * configure: Regenerated.
4428         * manual/install.texi (Tools for Compilation): Document a
4429         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4430         compiler verified to work.
4431         * INSTALL: Regenerated.
4433         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4434         redeclare with asm name.
4435         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4436         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4437         including <string.h>.
4438         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4439         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4440         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4441         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4442         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4443         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4444         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4446 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4448         * stdlib/strtol.c (__strtol): Use prototype definition.
4450         [BZ #17594]
4451         * stdlib/strtol.c (SYM__): New macro.
4452         (SYM__1): Likewise.
4453         (__strtol): Likewise.
4454         (strtol): Rename to __strtol and define as weak alias of
4455         __strtol.  Use libc_hidden_weak.
4457 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4459         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4460         Use numbered labels in inline assembly.
4462 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4464         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4465         Add setjmp LIBC_PROBE.
4466         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4467         Likewise.
4468         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4469         Add longjmp, longjmp_target LIBC_PROBE.
4470         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4471         Likewise.
4473 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4475         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4476         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4477         to get rid of unused variable warning.
4479 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4481         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4482         Check for unwind_backtrace ==  NULL only in SHARED case.
4483         (__backchain_backtrace): Compile only in SHARED case.
4484         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4485         Likewise.
4486         (__backchain_backtrace): Declare as static.
4488 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4490         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4491         (__libc_multiple_threads_ptr): Variable moved ...
4492         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4494 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4496         * conform/GlibcConform.pm: New file.
4497         * conform/conformtest.pl: Use GlibcConform module.
4498         * conform/linknamespace.pl: New file.
4499         * conform/list-header-symbols.pl: Likewise.
4500         * conform/Makefile (linknamespace-symlists-base): New variable.
4501         (linknamespace-symlists-tests): Likewise.
4502         (linknamespace-header-base): Likewise.
4503         (linknamespace-header-tests): Likewise.
4504         (tests-special): Add new tests.
4505         ($(linknamespace-symlists-tests)): New rule.
4506         (linknamespace-libs): New variable.
4507         ($(objpfx)symlist-stdlibs): New rule.
4508         ($(linknamespace-header-tests)): Likewise.
4509         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4510         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4511         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4512         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4513         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4514         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4515         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4516         (test-xfail-ISO/math.h/linknamespace): Likewise.
4517         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4518         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4519         (test-xfail-ISO/time.h/linknamespace): Likewise.
4520         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4521         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4522         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4523         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4524         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4525         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4526         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4527         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4528         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4529         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4530         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4531         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4532         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4533         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4534         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4535         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4536         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4537         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4538         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4539         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4540         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4541         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4542         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4543         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4544         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4545         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4546         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4547         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4548         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4549         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4550         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4551         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4552         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4553         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4554         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4555         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4556         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4557         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4558         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4559         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4560         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4561         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4562         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4563         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4564         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4565         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4566         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4567         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4568         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4569         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4570         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4571         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4572         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4573         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4574         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4575         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4576         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4577         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4578         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4579         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4580         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4581         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4582         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4583         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4584         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4585         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4586         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4587         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4588         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4589         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4590         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4591         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4592         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4593         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4594         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4595         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4596         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4597         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4598         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4599         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4600         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4601         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4602         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4603         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4604         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4605         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4606         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4607         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4608         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4609         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4610         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4611         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4612         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4613         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4614         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4615         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4616         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4617         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4618         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4619         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4620         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4621         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4622         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4623         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4624         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4625         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4626         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4627         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4628         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4629         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4630         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4631         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4632         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4633         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4634         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4635         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4636         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4637         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4638         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4639         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4640         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4641         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4642         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4643         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4644         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4645         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4646         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4647         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4648         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4649         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4650         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4651         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4652         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4653         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4654         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4655         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4656         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4657         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4658         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4659         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4660         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4661         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4662         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4663         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4664         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4665         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4666         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4667         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4668         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4669         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4671         [BZ #17589]
4672         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4673         of fgets_unlocked.
4675         [BZ #17585]
4676         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4677         (memmem): Rename to __memmem and define as weak alias of
4678         __memmem.  Use libc_hidden_weak.
4679         (__memmem): Use libc_hidden_def.
4680         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4681         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4682         memmem.
4684         [BZ #17582]
4685         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4686         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4687         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4688         and define as weak alias of __fgets_unlocked.  Use
4689         libc_hidden_weak.
4690         (__fgets_unlocked): Use libc_hidden_def.
4691         * include/stdio.h (__fgets_unlocked): Declare.  Use
4692         libc_hidden_proto.
4693         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4694         __fgets_unlocked instead of fgets_unlocked.
4695         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4696         (GET_NPROCS_CONF_PARSER): Likewise.
4697         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4698         (GET_NPROCS_CONF_PARSER): Likewise.
4700         [BZ #17574]
4701         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4702         weak alias of __wmemset.  Use libc_hidden_weak.
4703         (__wmemset): Use libc_hidden_def.
4704         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4705         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4706         of wmemset.
4708         [BZ #17573]
4709         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4710         with asm name __mempcpy.
4711         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4713         [BZ #17572]
4714         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4715         and define as weak alias of __rawmemchr.
4716         (__rawmemchr): Do not define as strong alias of rawmemchr.
4718         [BZ #17571]
4719         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4720         alias of __qsort_r.
4721         (qsort): Call __qsort_r instead of qsort_r.
4722         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4723         (__qsort_r): Declare.  Call libc_hidden_proto.
4724         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4725         instead of qsort_r.
4726         * nscd/gai.c (__qsort_r): Define to qsort_r.
4727         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4728         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4729         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4731         [BZ #17570]
4732         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4733         define as weak alias of __malloc_info.
4735         [BZ #17584]
4736         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4737         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4738         (__rewinddir): Use libc_hidden_def.
4739         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4740         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4741         (__rewinddir): Use libc_hidden_def.
4742         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4743         weak alias of __rewinddir.  Don't use libc_hidden_def.
4744         (__rewinddir): Use libc_hidden_def.
4745         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4746         (__rewinddir): Use libc_hidden_proto.
4747         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4748         rewinddir.
4749         (__getcwd): Use __rewinddir instead of rewinddir.
4751         [BZ #17583]
4752         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4753         alias of __fileno.  Use libc_hidden_weak.
4754         (__fileno): Use libc_hidden_def.
4755         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4756         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4757         alias of __ftello.
4758         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4759         __ftello.
4760         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4761         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4762         libc_hidden_def.
4763         (fread_unlocked): Don't use libc_hidden_ver.
4764         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4765         and define as weak alias of __fread_unlocked.  Don't use
4766         libc_hidden_def.
4767         (__fread_unlocked): Use libc_hidden_def.
4768         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4769         (ftello): Don't use libc_hidden_proto.
4770         (__ftello): Declare.  Use libc_hidden_proto.
4771         (fread_unlocked): Don't use libc_hidden_proto.
4772         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4773         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4774         and __ftello instead of fileno, fread_unlocked and ftello.
4776 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4778         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4779         GOT12.
4780         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4781         Likewise.
4782         (_dl_start_user): Likewise.
4783         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4785 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4786             Siddhesh Poyarekar  <siddhesh@redhat.com>
4788         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4789         Move argv and envp down instead of moving argc up.
4790         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4792 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4794         [BZ #17506]
4795         * test-skeleton.c (main): Return successful if one of
4796         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4797         * string/tst-strcoll-overflow.c: Define expected status.
4799 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4801         [BZ #17475]
4802         * locale/iso-639.def: Define Bhili and Tulu language codes.
4804 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4806         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4808 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4810         [BZ #17555]
4811         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4813 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4815         * configure.ac: Updated check of minimal required version to
4816         2.22.
4817         * manual/install.texi (Tools for Compilation): Updated version
4818         number.
4819         * configure: Regenerated.
4820         * INSTALL: Likewise.
4822 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4824         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4825         __tls_get_addr.
4827 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4829         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4830         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4831         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4832         libc_hidden_weak.
4833         (waitpid): Define as alias of __waitpid.
4834         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4835         __waitpid.
4836         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4837         libc_hidden_weak.
4838         (waitpid): Define as alias of __waitpid.
4839         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4840         __libc_waitpid alias.
4841         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4842         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4843         Likewise.
4844         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4845         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4846         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4847         alias.
4848         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4849         __waitpid.
4850         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4851         libc_hidden_weak.
4852         (waitpid): Define as alias of __waitpid.
4854 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4856         * manual/llio.texi: Add comment that write safety has been
4857         fixed in Linux.
4859         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4860         (localplt-build-dso): Add elf/ld.so.
4861         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4862         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4863         and free for ld.so.
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4865         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4867         Likewise.
4868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4869         Likewise.
4870         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4871         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4872         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4873         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4874         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4875         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4876         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4877         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4878         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4879         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4880         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4882 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4884         [BZ #14132]
4885         * include/libc-symbols.h (INTUSE): Remove macro.
4886         (INTDEF): Likewise.
4887         (INTVARDEF): Likewise.
4888         (_INTVARDEF): Likewise.
4889         (INTDEF2): Likewise.
4890         (INTVARDEF2): Likewise.
4891         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4892         rtld_hidden_def instead of INTVARDEF.
4893         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4894         (_dl_starting_up_internal): Remove declaration.
4895         (_dl_starting_up): Use rtld_hidden_proto.
4896         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4897         declaration.
4898         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4899         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4900         _dl_starting_up.
4901         * elf/dl-writev.h (_dl_writev): Likewise.
4902         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4903         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4904         _dl_starting_up_internal.
4906 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4908         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4909         test-skeleton.c.
4911 2014-11-05  Will Newton  <will.newton@linaro.org>
4913         * benchtests/Makefile: (bench-malloc): Add malloc thread
4914         scalability benchmark.
4915         * benchtests/bench-malloc-threads.c: New file.
4917 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4919         * sysdeps/aarch64/strchrnul.S: New file.
4921 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4923         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4924         definition.
4925         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4926         Likwise.
4927         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4928         Likewise.
4929         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4930         Likewise.
4931         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4932         Likewise.
4933         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4934         Likewise.
4936 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4938         * catgets/test-gencat.c: Use test-skeleton.c.
4939         * catgets/tst-catgets.c: Likewise.
4940         * csu/tst-empty.c: Likewise.
4941         * elf/tst-audit2.c: Likewise.
4942         * elf/tst-global1.c: Likewise.
4943         * elf/tst-pathopt.c: Likewise.
4944         * elf/tst-piemod1.c: Likewise.
4945         * elf/tst-tls10.c: Likewise.
4946         * elf/tst-tls11.c: Likewise.
4947         * elf/tst-tls12.c: Likewise.
4948         * gnulib/tst-gcc.c: Likewise.
4949         * iconvdata/tst-e2big.c: Likewise.
4950         * iconvdata/tst-loading.c: Likewise.
4951         * iconv/tst-iconv1.c: Likewise.
4952         * iconv/tst-iconv2.c: Likewise.
4953         * inet/test-inet6_opt.c: Likewise.
4954         * inet/tst-gethnm.c: Likewise.
4955         * inet/tst-network.c: Likewise.
4956         * inet/tst-ntoa.c: Likewise.
4957         * intl/tst-codeset.c: Likewise.
4958         * intl/tst-gettext2.c: Likewise.
4959         * intl/tst-gettext3.c: Likewise.
4960         * intl/tst-ngettext.c: Likewise.
4961         * intl/tst-translit.c: Likewise.
4962         * io/test-stat.c: Likewise.
4963         * libio/test-fmemopen.c: Likewise.
4964         * libio/tst-freopen.c: Likewise.
4965         * libio/tst-sscanf.c: Likewise.
4966         * libio/tst-ungetwc1.c: Likewise.
4967         * libio/tst-ungetwc2.c: Likewise.
4968         * libio/tst-widetext.c: Likewise.
4969         * localedata/tst-ctype.c: Likewise.
4970         * localedata/tst-digits.c: Likewise.
4971         * localedata/tst-leaks.c: Likewise.
4972         * localedata/tst-mbswcs1.c: Likewise.
4973         * localedata/tst-mbswcs2.c: Likewise.
4974         * localedata/tst-mbswcs3.c: Likewise.
4975         * localedata/tst-mbswcs4.c: Likewise.
4976         * localedata/tst-mbswcs5.c: Likewise.
4977         * localedata/tst-setlocale.c: Likewise.
4978         * localedata/tst-trans.c: Likewise.
4979         * localedata/tst-wctype.c: Likewise.
4980         * localedata/tst-xlocale1.c: Likewise.
4981         * login/tst-grantpt.c: Likewise.
4982         * malloc/tst-calloc.c: Likewise.
4983         * malloc/tst-malloc.c: Likewise.
4984         * malloc/tst-mallocstate.c: Likewise.
4985         * malloc/tst-mcheck.c: Likewise.
4986         * malloc/tst-mtrace.c: Likewise.
4987         * malloc/tst-obstack.c: Likewise.
4988         * math/atest-exp2.c: Likewise.
4989         * math/atest-exp.c: Likewise.
4990         * math/atest-sincos.c: Likewise.
4991         * math/test-matherr.c: Likewise.
4992         * math/test-misc.c: Likewise.
4993         * math/test-powl.c: Likewise.
4994         * math/tst-definitions.c: Likewise.
4995         * misc/tst-dirname.c: Likewise.
4996         * misc/tst-efgcvt.c: Likewise.
4997         * misc/tst-fdset.c: Likewise.
4998         * misc/tst-hsearch.c: Likewise.
4999         * misc/tst-mntent2.c: Likewise.
5000         * nptl/tst-sem7.c: Likewise.
5001         * nptl/tst-sem8.c: Likewise.
5002         * nptl/tst-sem9.c: Likewise.
5003         * nss/test-netdb.c: Likewise.
5004         * posix/tst-fnmatch.c: Likewise.
5005         * posix/tst-getlogin.c: Likewise.
5006         * posix/tst-gnuglob.c: Likewise.
5007         * posix/tst-mmap.c: Likewise.
5008         * pwd/tst-getpw.c: Likewise.
5009         * resolv/tst-inet_ntop.c: Likewise.
5010         * rt/tst-timer.c: Likewise.
5011         * stdio-common/test-fseek.c: Likewise.
5012         * stdio-common/test-popen.c: Likewise.
5013         * stdio-common/test-vfprintf.c: Likewise.
5014         * stdio-common/tst-cookie.c: Likewise.
5015         * stdio-common/tst-fileno.c: Likewise.
5016         * stdio-common/tst-gets.c: Likewise.
5017         * stdio-common/tst-obprintf.c: Likewise.
5018         * stdio-common/tst-perror.c: Likewise.
5019         * stdio-common/tst-sprintf2.c: Likewise.
5020         * stdio-common/tst-sprintf3.c: Likewise.
5021         * stdio-common/tst-sprintf.c: Likewise.
5022         * stdio-common/tst-swprintf.c: Likewise.
5023         * stdio-common/tst-tmpnam.c: Likewise.
5024         * stdio-common/tst-unbputc.c: Likewise.
5025         * stdio-common/tst-wc-printf.c: Likewise.
5026         * stdlib/tst-environ.c: Likewise.
5027         * stdlib/tst-fmtmsg.c: Likewise.
5028         * stdlib/tst-limits.c: Likewise.
5029         * stdlib/tst-rand48-2.c: Likewise.
5030         * stdlib/tst-rand48.c: Likewise.
5031         * stdlib/tst-random2.c: Likewise.
5032         * stdlib/tst-random.c: Likewise.
5033         * stdlib/tst-strtol.c: Likewise.
5034         * stdlib/tst-strtoll.c: Likewise.
5035         * stdlib/tst-tls-atexit.c: Likewise.
5036         * stdlib/tst-xpg-basename.c: Likewise.
5037         * string/test-ffs.c: Likewise.
5038         * string/tst-bswap.c: Likewise.
5039         * string/tst-inlcall.c: Likewise.
5040         * string/tst-strtok.c: Likewise.
5041         * string/tst-strxfrm.c: Likewise.
5042         * sysdeps/x86_64/tst-audit10.c: Likewise.
5043         * sysdeps/x86_64/tst-audit3.c: Likewise.
5044         * sysdeps/x86_64/tst-audit4.c: Likewise.
5045         * sysdeps/x86_64/tst-audit5.c: Likewise.
5046         * time/tst-ftime_l.c: Likewise.
5047         * time/tst-getdate.c: Likewise.
5048         * time/tst-mktime3.c: Likewise.
5049         * time/tst-mktime.c: Likewise.
5050         * time/tst-posixtz.c: Likewise.
5051         * time/tst-strptime2.c: Likewise.
5052         * time/tst-strptime3.c: Likewise.
5053         * wcsmbs/tst-btowc.c: Likewise.
5054         * wcsmbs/tst-mbrtowc.c: Likewise.
5055         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5056         * wcsmbs/tst-wchar-h.c: Likewise.
5057         * wcsmbs/tst-wcpncpy.c: Likewise.
5058         * wcsmbs/tst-wcrtomb.c: Likewise.
5059         * wcsmbs/tst-wcsnlen.c: Likewise.
5060         * wcsmbs/tst-wcstof.c: Likewise.
5062 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5064         [BZ #14132]
5065         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5066         INTDEF.
5067         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5068         declaration.
5069         (_dl_mcount): Use rtld_hidden_proto.
5070         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5071         _dl_mcount.
5072         * elf/rtld.c (_rtld_global_ro): Likewise.
5074         [BZ #14132]
5075         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5076         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5077         of _dl_init_internal.
5078         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5079         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5080         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5081         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5082         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5083         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5084         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5085         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5086         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5087         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5088         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5089         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5090         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5091         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5092         * sysdeps/tile/dl-start.S (_start): Likewise.
5093         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5094         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5096         [BZ #14132]
5097         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5098         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5099         (rtld_progname): Make macro definition unconditional.
5100         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5101         INTDEF.
5102         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5103         (dl_main): Likewise.
5104         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5105         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5106         instead of _dl_argv_internal.
5107         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5108         __GI__dl_argv instead of INTUSE(_dl_argv).
5109         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5110         __GI__dl_argv instead of _dl_argv_internal.
5112         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5113         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5114         macro.
5115         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5116         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5117         New macro.
5118         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5119         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5120         macro.
5121         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5122         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5124 2014-11-04  Andreas Schwab  <schwab@suse.de>
5126         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5128 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5130         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5131         mtvsrd instruction in binary form.
5133 2014-11-03  Andreas Schwab  <schwab@suse.de>
5135         [BZ #17522]
5136         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5137         for less than MB_LEN_MAX use a local buffer of that size.
5138         * libio/tst-fputws.c: New file.
5139         * libio/Makefile (tests): Add tst-fputws.
5141 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5143         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5144         the size of the fpu_fr.fpu_dregs[] array.
5146 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5148         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5149         (__nanosleep): Do not define as alias.
5150         (nanosleep): Define as alias of __nanosleep.
5151         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5152         __libc_nanosleep name.
5154 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5156         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5157         install.texi in comment.
5159 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5161         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5162         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5163         ... add here and use lwsync or sync ...
5164         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5165         ... and add here using lwsync.
5167 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5169         * elf/dl-machine-reject-phdr.h: New file.
5170         * elf/dl-load.c: #include that.
5171         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5172         if that returned true.
5174 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5176         [BZ #17496]
5177         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5178         gen-as-const-headers chunk.  Add a big scare comment after the last
5179         safe place to touch before-compile.
5181 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5183         * manual/install.texi (Tools for Compilation): Update autoconf
5184         version requirements.
5185         * INSTALL: Regenerated.
5187         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5188         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5189         (__libc_pselect): Likewise.
5191         [BZ #14138]
5192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5197 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5199         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5200         correct barrier instruction.
5201         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5202         Likewise.
5203         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5204         Likewise.
5206 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5208         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5209         after defining inlines.  Instead, just use parens to defeat macro
5210         expansion of __isctype in its declaration.
5212 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5214         * include/sys/uio.h (__libc_readv): Remove declaration.
5215         (__libc_writev): Likewise.
5216         * misc/readv.c (__libc_readv): Rename to __readv.
5217         (__readv): Do not define as alias.
5218         (readv): Define as alias of __readv.
5219         * misc/writev.c (__libc_writev): Rename to __writev.
5220         (__writev): Do not define as alias.
5221         (writev): Define as alias of __writev.
5222         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5223         (__readv): Do not define as alias.
5224         (readv): Define unconditionally as alias of __readv.
5225         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5226         (__writev): Do not define as alias.
5227         (writev): Define unconditionally as alias of __writev.
5228         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5229         name.
5230         (writev): Do not define __libc_writev name.
5232 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5234         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5235         (convert_charseq): New function, broken out of ...
5236         (use_from_charmap): ... here.  Call it.
5237         (use_to_charmap): Use convert_charseq and free instead of duplicating
5238         its code with a variable-length stack struct.
5240 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5242         * include/fcntl.h (__libc_creat): Remove declaration.
5243         * io/creat.c (__libc_creat): Rename to creat.
5244         (creat): Do not define as alias.
5245         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5246         of creat instead of __libc_creat.
5247         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5248         to creat.
5249         (creat): Do not define as alias.
5250         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5251         __libc_creat.
5252         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5253         __libc_creat name.
5254         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5255         Likewise.
5257 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5259         * manual/llio.texi: Add comments discussing why write() may be
5260         considered MT-unsafe on Linux.
5262 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5264         * dl-load.c (local_strdup): Remove.
5265         (expand_dynamic_string_token): Use __strdup.
5266         (decompose_rpath): Likewise.
5267         (_dl_map_object): Likewise.
5269 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5271         [BZ #14132]
5272         * sysdeps/generic/unwind-dw2-fde.c
5273         (__register_frame_info_bases_internal): Do not declare.
5274         (__register_frame_info_table_bases_internal): Likewise.
5275         (__deregister_frame_info_bases_internal): Likewise.
5276         (__register_frame_info_bases): Declare and use hidden_proto before
5277         definition.  Use hidden_def instead of INTDEF.
5278         (__register_frame_info_table_bases): Likewise.
5279         (__deregister_frame_info_bases): Likewise.
5280         (__register_frame_info): Do not use INTUSE.
5281         (__register_frame): Likewise.
5282         (__register_frame_info_table): Likewise.
5283         (__register_frame_table): Likewise.
5284         (__deregister_frame_info): Likewise.
5285         (__deregister_frame): Likewise.
5287 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5289         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5290         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5291         not undefine.
5292         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5293         Likewise.
5294         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5295         Likewise.
5297 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5299         [BZ #14138]
5300         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5301         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5302         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5303         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5304         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5305         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5306         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5307         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5308         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5309         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5310         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5311         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5312         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5313         syscall.
5314         (setfsuid): Likewise.
5315         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5316         (setfsuid): Likewise.
5317         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5318         (setfsuid): Likewise.
5319         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5320         Likewise.
5321         (setfsuid): Likewise.
5322         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5323         (setfsuid): Likewise.
5324         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5325         Likewise.
5326         (setfsuid): Likewise.
5328 2014-10-27  Andreas Schwab  <schwab@suse.de>
5330         [BZ #17501]
5331         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5332         check for Slow_SSE4_2 feature bit.
5333         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5334         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5335         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5336         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5338 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5340         * configure.ac: Validate compiler version with a empirical test of
5341         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5342         $CC -v output.
5343         * configure: Regenerated.
5345         * inet/htons.c (htons): Prototypify.
5346         * inet/htonl.c (htonl): Likewise.
5348 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5350         * string/strncat.c (strncat): Improve performance by using strlen.
5352 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5354         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5356 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5358         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5359         Call libc_fetestexcept_aarch64.
5361 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5363         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5364         Call libc_feholdexcept_aarch64.
5366 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5368         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5369         Call get_rounding_mode.
5371 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5373         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5374         Simplify logic.
5376 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5378         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5379         Simplify logic.
5381 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5383         [BZ #14138]
5384         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5385         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5386         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5387         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5388         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5389         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5390         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5391         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5392         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5393         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5394         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5395         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5396         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5397         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5398         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5399         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5400         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5401         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5402         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5403         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5404         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5405         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5406         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5407         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5408         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5409         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5410         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5411         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5412         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5413         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5414         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5415         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5416         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5417         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5418         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5419         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5420         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5421         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5422         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5423         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5424         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5425         syscall.
5426         (geteuid): Likewise.
5427         (getgid): Likewise.
5428         (getuid): Likewise.
5429         (getresgid): Likewise.
5430         (getresuid): Likewise.
5431         (getgroups): Likewise.
5432         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5433         (geteuid): Likewise.
5434         (getgid): Likewise.
5435         (getuid): Likewise.
5436         (getresgid): Likewise.
5437         (getresuid): Likewise.
5438         (getgroups): Likewise.
5439         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5440         (geteuid): Likewise.
5441         (getgid): Likewise.
5442         (getuid): Likewise.
5443         (getresgid): Likewise.
5444         (getresuid): Likewise.
5445         (getgroups): Likewise.
5446         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5447         Likewise.
5448         (geteuid): Likewise.
5449         (getgid): Likewise.
5450         (getuid): Likewise.
5451         (getresgid): Likewise.
5452         (getresuid): Likewise.
5453         (getgroups): Likewise.
5454         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5455         (geteuid): Likewise.
5456         (getgid): Likewise.
5457         (getuid): Likewise.
5458         (getresgid): Likewise.
5459         (getresuid): Likewise.
5460         (getgroups): Likewise.
5461         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5462         Likewise.
5463         (geteuid): Likewise.
5464         (getgid): Likewise.
5465         (getuid): Likewise.
5466         (getgroups): Likewise.
5468         [BZ #14138]
5469         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5470         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5471         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5472         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5473         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5474         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5475         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5476         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5477         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5478         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5479         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5480         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5481         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5482         __chown.
5483         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5484         (lchown): Likewise.
5485         (fchown): Likewise.
5486         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5487         Likewise.
5488         (lchown): Likewise.
5489         (fchown): Likewise.
5490         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5491         (lchown): Likewise.
5492         (fchown): Likewise.
5493         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5494         Likewise.
5495         (lchown): Likewise.
5496         (fchown): Likewise.
5498 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5500         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5501         Simplify logic.
5503 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5505         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5506         Cleanup logic.
5508 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5510         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5511         Remove unused include.
5513 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5515         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5516         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5517         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5518         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5520 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5521             Helge Deller <deller@gmx.de>
5523         [BZ #17508]
5524         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5525         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5526         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5528 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5530         [BZ #14132]
5531         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5532         Remove macro definition.
5533         (__ashrdi3_v_glibc20): Likewise.
5534         (__lshrdi3_v_glibc20): Likewise.
5535         (__cmpdi2_v_glibc20): Likewise.
5536         (__ucmpdi2_v_glibc20): Likewise.
5537         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5538         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5539         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5540         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5541         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5542         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5544 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5546         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5547         old GNU extension [0] syntax.
5548         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5549         alloca rather than an array member with variable length.
5550         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5551         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5552         (parse_opt): ... here.  Likewise use alloca there.
5553         Validate the -i argument before checking for rootness.
5554         (send_shutdown): New function, broken out of ...
5555         (parse_opt): ... here.
5557 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5559         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5560         macro to get at the _rt_local_ro field.
5561         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5562         ([PIC] case) or _dl_hwcap ([!PIC] case).
5563         * sysdeps/arm/setjmp.S: Likewise.
5565         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5566         * sysdeps/arm/configure.ac: New check to define it.
5567         * sysdeps/arm/configure: Regenerated.
5568         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5569         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5570         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5571         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5572         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5573         Use move/movt pair instead of a load.
5574         (LDST_GLOBAL): Macro removed.
5575         (LDR_GLOBAL): New macro replaces it.
5576         (LDR_HIDDEN): New macro.
5577         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5578         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5580         * setjmp/tst-setjmp-static.c: New file.
5581         * setjmp/Makefile (tests): Add it.
5582         (tests-static): New variable.
5584 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5586         [BZ #17485]
5587         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5589 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #14132]
5592         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5594 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5596         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5598 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5600         * io/fts.c (dirent_not_directory): New function.
5601         (fts_build): Call it.
5603 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5605         * nptl/version.c (__nptl_main): Use normal __write rather than
5606         INTERNAL_SYSCALL.
5607         (banner): Update copyright years.
5609         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5610         gettimeofday.
5611         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5612         * nptl/pthread_cond_timedwait.c: Likewise.
5613         * nptl/pthread_mutex_timedlock.c: Likewise.
5614         * nptl/sem_timedwait.c: Likewise.
5616         * sysdeps/nptl/bits/libc-lock.h
5617         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5618         (__libc_lock_init_recursive): Return void, not 0.
5619         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5620         (__libc_rwlock_init): Likewise.
5621         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5623 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5625         [BZ #15215]
5626         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5627         (__pthread_once_slow): ... here.
5628         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5629         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5631 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5633         [BZ #15215]
5634         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5635         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5636         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5637         * nptl/pthread_once.c (__pthread_once): Likewise.
5638         Update comments.
5640 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5642         [BZ #14138]
5643         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5644         name.
5645         (writev): Use __libc_writev as strong name.
5646         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5647         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5649 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5651         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5653         * sysdeps/i386/nptl/tls.h
5654         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5655         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5656         New macros.
5657         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5658         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5659         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5660         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5661         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5662         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5664         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5665         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5666         on [__NR_futex].
5667         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5668         broken out of ...
5669         (__pthread_mutex_init): ... here.  Call it.
5670         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5671         Conditionalize PI cases on [__NR_futex].
5672         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5673         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5674         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5676         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5677         conditional on [SIGSETXID].
5678         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5679         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5680         is defined.  Likewise for SIGSETXID.
5681         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5682         Conditionalize definitions on [SIGSETXID].
5683         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5684         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5685         unblocking on [SIGCANCEL].
5687         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5688         [__NR_set_robust_list].
5690 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5692         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5693         (do_compare): Likewise.
5695 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5697         [BZ #15884]
5698         * string/strcoll_l.c: Don't include stdio.h.
5699         (coll_seq): Remove members idxarr and rulearr.
5700         (get_next_seq_cached): Remove function.
5701         (get_next_seq): Likewise.
5702         (get_next_seq_nocache): Rename to get_next_seq.
5703         (do_compare): Remove function.
5704         (do_compare_nocache): Rename to do_compare.
5705         (STRCOLL): Remove weight and rules cache.
5707 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5709         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5710         * sysdeps/arm/sfp-machine.h: ... to here.
5711         * sysdeps/arm/Implies: Remove arm/soft-fp.
5713 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5715         * conform/data/sys/utsname.h-data (*_t): Allow.
5716         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5717         [POSIX] (WEXITED): Do not expect constant.
5718         [POSIX] (WSTOPPED): Likewise.
5719         [POSIX] (WNOHANG): Likewise.
5720         [POSIX] (WNOWAIT): Likewise.
5721         [POSIX] (siginfo_t): Do not expect type or elements.
5722         [POSIX] (pid_t): Do not expect type.
5723         [POSIX] (signal.h): Do not allow header.
5724         [POSIX] (sys/resource.h): Likewise.
5725         [POSIX] (si_*): Do not allow pattern.
5726         [POSIX] (W*): Likewise.
5727         [POSIX] (P_*): Likewise.
5728         [POSIX] (BUS_*): Likewise.
5729         [POSIX] (CLD_*): Likewise.
5730         [POSIX] (FPE_*): Likewise.
5731         [POSIX] (ILL_*): Likewise.
5732         [POSIX] (POLL_*): Likewise.
5733         [POSIX] (SEGV_*): Likewise.
5734         [POSIX] (SI_*): Likewise.
5735         [POSIX] (TRAP_*): Likewise.
5736         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5737         variable.
5739 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5741         [BZ #12926]
5742         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5743         infinite loop when __recvmsg returns 0.
5745 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5747         * CANCEL-FCT-WAIVE: Remove file.
5748         * CANCEL-FILE-WAIVE: Likewise.
5750         [BZ #14132]
5751         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5752         instead of INTVARDEF.
5753         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5754         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5755         rtld_hidden_data_def instead of INTVARDEF.
5756         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5757         * elf/dl-deps.c (expand_dst): Likewise.
5758         * elf/dl-load.c (_dl_dst_count): Likewise.
5759         (_dl_dst_substitute): Likewise.
5760         (decompose_rpath): Likewise.
5761         (_dl_init_paths): Likewise.
5762         (open_path): Likewise.
5763         (_dl_map_object): Likewise.
5764         * elf/rtld.c (dl_main): Likewise.
5765         (process_dl_audit): Likewise.
5766         (process_envvars): Likewise.
5767         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5768         Remove declaration.
5769         (__libc_enable_secure): Use rtld_hidden_proto.
5771 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5773         * elf/dl-load.c
5774         (add_path): New function broken out of _dl_rtld_di_serinfo.
5775         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5777 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5779         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5780         parentheses around macro arguments.
5781         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5783         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5784         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5785         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5786         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5787         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5788         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5789         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5790         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5791         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5792         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5793         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5794         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5795         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5796         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5797         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5799         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5801         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5802         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5803         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5805         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5808         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5809         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5810         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5811         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5812         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5813         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5814         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5815         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5816         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5817         Likewise.
5818         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5819         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5820         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5825         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5826         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5827         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5828         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5829         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5830         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5832         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5834         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5835         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5838         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5839         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5840         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5841         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5842         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5843         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5844         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5845         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5846         (_FP_FRAC_SRS_1): Likewise.
5847         (_FP_FRAC_CLZ_1): Likewise.
5848         (_FP_MUL_MEAT_1_imm): Likewise.
5849         (_FP_MUL_MEAT_1_wide): Likewise.
5850         (_FP_MUL_MEAT_1_hard): Likewise.
5851         (_FP_SQRT_MEAT_1): Likewise.
5852         (_FP_FRAC_ASSEMBLE_1): Likewise.
5853         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5854         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5855         (__FP_CLZ_2): Likewise.
5856         (_FP_MUL_MEAT_2_wide): Likewise.
5857         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5858         (_FP_MUL_MEAT_2_gmp): Likewise.
5859         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5860         (_FP_SQRT_MEAT_2): Likewise.
5861         (_FP_FRAC_ASSEMBLE_2): Likewise.
5862         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5863         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5864         (_FP_FRAC_CLZ_4): Likewise.
5865         (_FP_MUL_MEAT_4_wide): Likewise.
5866         (_FP_MUL_MEAT_4_gmp): Likewise.
5867         (_FP_SQRT_MEAT_4): Likewise.
5868         (_FP_FRAC_ASSEMBLE_4): Likewise.
5869         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5870         * soft-fp/op-common.h (_FP_CMP): Likewise.
5871         (_FP_CMP_EQ): Likewise.
5872         (_FP_CMP_UNORD): Likewise.
5873         (_FP_TO_INT): Likewise.
5874         (_FP_FROM_INT): Likewise.
5875         [!__FP_CLZ] (__FP_CLZ): Likewise.
5876         (_FP_DIV_HELP_imm): Likewise.
5877         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5878         Likewise.
5879         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5881         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5882         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5883         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5884         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5885         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5886         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5887         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5888         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5889         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5890         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5891         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5892         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5893         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5894         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5895         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5897         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5899         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5900         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5901         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5903         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5904         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5905         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5906         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5907         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5908         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5909         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5910         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5911         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5912         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5913         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5914         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5915         (FP_UNPACK_RAW_SP): Likewise.
5916         (FP_PACK_RAW_S): Likewise.
5917         (FP_PACK_RAW_SP): Likewise.
5918         (FP_UNPACK_S): Likewise.
5919         (FP_UNPACK_SP): Likewise.
5920         (FP_UNPACK_SEMIRAW_S): Likewise.
5921         (FP_UNPACK_SEMIRAW_SP): Likewise.
5922         (FP_PACK_S): Likewise.
5923         (FP_PACK_SP): Likewise.
5924         (FP_PACK_SEMIRAW_S): Likewise.
5925         (FP_PACK_SEMIRAW_SP): Likewise.
5926         (_FP_SQRT_MEAT_S): Likewise.
5927         (FP_CMP_S): Likewise.
5928         (FP_CMP_EQ_S): Likewise.
5929         (FP_CMP_UNORD_S): Likewise.
5930         (FP_TO_INT_S): Likewise.
5931         (FP_FROM_INT_S): Likewise.
5933         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5935         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5936         (FP_EX_INVALID_IMZ): Likewise.
5937         (FP_EX_INVALID_IMZ_FMA): Likewise.
5938         (FP_EX_INVALID_ISI): Likewise.
5939         (FP_EX_INVALID_ZDZ): Likewise.
5940         (FP_EX_INVALID_IDI): Likewise.
5941         (FP_EX_INVALID_SQRT): Likewise.
5942         (FP_EX_INVALID_CVI): Likewise.
5943         (FP_EX_INVALID_VC): Likewise.
5944         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5945         "invalid" exceptions.
5946         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5947         (_FP_ADD_INTERNAL): Likewise.
5948         (_FP_MUL): Likewise.
5949         (_FP_FMA): Likewise.
5950         (_FP_DIV): Likewise.
5951         (_FP_CMP_CHECK_NAN): Likewise.
5952         (_FP_SQRT): Likewise.
5953         (_FP_TO_INT): Likewise.
5954         (FP_EXTEND): Likewise.
5956 2014-10-09  Allan McRae  <allan@archlinux.org>
5958         * po/fr.po: Update French translation from translation project.
5960 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5962         [BZ #14132]
5963         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5964         of INTDEF.
5965         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5966         (__cxa_atexit): Use libc_hidden_proto.
5967         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5969         [BZ #14132]
5970         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5971         declaration.
5972         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5973         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5974         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5975         [!_ISOMAC] (__iswctype_internal): Likewise.
5976         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5977         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5978         alias.
5979         (fcntl): Remove __fcntl_internal alias.
5980         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5981         __connect_internal alias.
5982         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5983         Likewise.
5985         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5986         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5987         FP_DENORM_ZERO.
5988         (_FP_CHECK_FLUSH_ZERO): New macro.
5989         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5990         (_FP_CMP): Likewise.
5991         (_FP_CMP_EQ): Likewise.
5992         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5993         FP_DENORM_ZERO.
5994         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5995         (FP_TRUNC): Likewise.
5997         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5998         treated as invalid conversion, not as normal exponent.
6000         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6001         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6002         (_FP_CMP_EQ): Likewise.
6003         (_FP_CMP_UNORD): Likewise.
6004         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6005         (FP_CMP_EQ_D): Likewise.
6006         (FP_CMP_UNORD_D): Likewise.
6007         * soft-fp/extended.h (FP_CMP_E): Likewise.
6008         (FP_CMP_EQ_E): Likewise.
6009         (FP_CMP_UNORD_E): Likewise.
6010         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6011         (FP_CMP_EQ_Q): Likewise.
6012         (FP_CMP_UNORD_Q): Likewise.
6013         * soft-fp/single.h (FP_CMP_S): Likewise.
6014         (FP_CMP_EQ_S): Likewise.
6015         (FP_CMP_UNORD_S): Likewise.
6016         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6017         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6018         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6019         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6020         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6021         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6022         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6023         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6024         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6025         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6026         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6027         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6028         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6029         to FP_CMP_Q.
6030         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6031         FP_CMP_Q.
6032         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6033         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6034         FP_CMP_EQ_Q.
6035         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6036         FP_CMP_Q.
6037         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6038         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6039         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6040         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6041         FP_CMP_EQ_Q.
6042         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6043         FP_CMP_Q.
6044         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6045         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6046         FP_CMP_EQ_Q.
6047         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6048         FP_CMP_Q.
6049         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6050         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6051         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6052         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6053         FP_CMP_EQ_Q.
6055         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6056         a subnormal result, set the underflow exception if trapping on
6057         underflow is enabled.
6058         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6059         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6060         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6061         redefine to 0.
6062         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6063         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6064         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6065         * soft-fp/extendxftf2.c (__extendxftf2): Use
6066         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6068         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6069         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6070         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6071         FP_HANDLE_EXCEPTIONS.
6072         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6073         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6074         FP_HANDLE_EXCEPTIONS.
6075         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6076         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6077         FP_HANDLE_EXCEPTIONS.
6078         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6079         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6080         FP_HANDLE_EXCEPTIONS.
6082 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6084         [BZ #14132]
6085         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6086         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6087         use INTUSE.
6088         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6089         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6090         Remove alias.
6091         (__adjtimex): Define using libc_hidden_ver.
6092         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6093         Remove declaration.
6094         (ntp_gettime): Call __adjtimex directly.
6095         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6096         Remove declaration.
6097         (ntp_gettimex): Call __adjtimex directly.
6098         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6099         __adjtimex_internal alias.
6101 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6103         [BZ #17460]
6104         * nscd/nscd.c (more_help): Rewrite list of tables collection
6105         using xstrdup and asprintf.
6107         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6109 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6110             Roland McGrath  <roland@hack.frob.com>
6112         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6113         (do_lookup_unique): ... local function 'enter' here; update callers.
6115 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6117         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6118         compat_symbol calls on [SHARED].
6119         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6120         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6121         Remove.
6122         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6123         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6124         (oldsetrlimit): Remove.
6125         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6127         (lchown): New syscall entry.
6128         (oldsetrlimit): Remove.
6129         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6130         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6131         (oldsetrlimit): Remove.
6132         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6134         [BZ #14138]
6135         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6136         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6137         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6138         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6139         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6140         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6141         (fchown): Likewise.
6142         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6143         (fchown): Likewise.
6144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6145         Likewise.
6147 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6149         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6150         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6151         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6152         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6153         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6154         Likewise.
6155         (__old_sem_post): Likewise.
6157 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6159         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6160         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6161         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6162         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6163         Use INLINE_VSYSCALL macro.
6164         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6165         __vdso_clock_gettime.
6166         * sysdeps/unix/sysv/linux/tile/init-first.c
6167         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6168         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6169         __vdso_clock_gettime.
6171         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6172         to set up frame more cleanly.
6174         * sysdeps/tile/memcmp.c: New file.
6176         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6178         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6179         * sysdeps/tile/tilegx/strcasestr.c: New file.
6180         * sysdeps/tile/tilegx/strnlen.c: New file.
6181         * sysdeps/tile/tilegx/strstr.c: New file.
6183         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6185 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6187         * nptl/tst-setuid3.c: Write errors to stdout.
6189 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6191         * elf/dl-deps.c
6192         (preload): New functions broken out of _dl_map_object_deps.
6193         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6195 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6197         [BZ #14138]
6198         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6199         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6201 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6203         * sysdeps/mips/strcmp.S: New.
6205 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6207         [BZ #14138]
6208         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6209         (linkat): Likewise.
6210         (mkdirat): Likewise.
6211         (readlinkat): Likewise.
6212         (renameat): Likewise.
6213         (symlinkat): Likewise.
6214         (unlinkat): Likewise.
6215         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6216         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6217         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6218         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6219         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6220         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6221         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6223 2014-09-30  Will Newton  <will.newton@linaro.org>
6225         * math/math.h: Define long double math functions if
6226         _LIBC_TEST is defined.
6227         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6229         * localedata/Makefile: Move assignment to tests-special
6230         into an ifdef testing run-built-tests.
6231         * timezone/Makefile: Likewise.
6233 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6235         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6236         with $(BASH) not $(SHELL).
6238 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6239             Matthew LeGendre  <legendre1@llnl.gov>
6241         [BZ #17411]
6242         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6243         l_reloc_result.
6245 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6247         * stdio-common/printf_fp.c
6248         (hack_digit): New function, broken out of ...
6249         (__printf_fp): ... local function here.  Update call sites.
6250         hack_digit now takes an additional parameter that is a pointer
6251         to a struct of the referenced locals.  Those locals moved inside
6252         the struct and references updated.
6254 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6256         * aclocal.m4: Require autoconf 2.69.
6257         * configure: Regenerated.
6258         * sysdeps/aarch64/configure: Likewise.
6259         * sysdeps/alpha/configure: Likewise.
6260         * sysdeps/arm/armv7/configure: Likewise.
6261         * sysdeps/arm/configure: Likewise.
6262         * sysdeps/ia64/configure: Likewise.
6263         * sysdeps/mach/configure: Likewise.
6264         * sysdeps/mips/configure: Likewise.
6265         * sysdeps/s390/configure: Likewise.
6266         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6269         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6270         file.
6271         * sysdeps/ia64/configure.ac: Likewise.
6273 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6276         specify symbol version for ld.so.  Do not include entry for
6277         libpthread.
6278         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6279         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6280         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6282         [BZ #14171]
6283         * Makeconfig [$(build-shared) = yes]
6284         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6285         makefiles.
6286         [$(build-shared) = yes && $(soversions.mk-done) = t]
6287         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6288         [$(build-shared) = yes && $(soversions.mk-done) = t]
6289         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6290         to Makerules.
6291         [$(build-shared) = yes && $(soversions.mk-done) = t]
6292         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6293         here.
6294         [$(build-shared) = yes && $(soversions.mk-done) = t]
6295         (common-generated): Don't append gnu/lib-names.h and
6296         gnu/lib-names.stmp here.
6297         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6298         (lib-names-h-abi): New variable.
6299         [$(build-shared) = yes && $(soversions.mk-done) = t]
6300         (lib-names-stmp-abi): Likewise.
6301         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6302         abi-variants] (before-compile): Append
6303         $(common-objpfx)$(lib-names-h-abi).
6304         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6305         abi-variants] (common-generated): Append gnu/lib-names.h.
6306         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6307         abi-variants] (install-others-nosubdir): Depend on
6308         $(inst_includedir)/$(lib-names-h-abi).
6309         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6310         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6311         [$(build-shared) = yes && $(soversions.mk-done) = t]
6312         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6313         [$(build-shared) = yes && $(soversions.mk-done) = t]
6314         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6315         [$(build-shared) = yes && $(soversions.mk-done) = t]
6316         (common-generated): Append $(lib-names-h-abi) and
6317         $(lib-names-stmp-abi).
6318         * scripts/lib-names.awk: Do not handle multi being set.
6319         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6320         Remove variable.
6321         (abi-lp64_be-ld-soname): Likewise.
6322         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6323         Likewise.
6324         (abi-hard-ld-soname): Likewise.
6325         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6326         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6327         Remove variable.
6328         (abi-o32_hard-ld-soname): Likewise.
6329         (abi-o32_soft_2008-ld-soname): Likewise.
6330         (abi-o32_hard_2008-ld-soname): Likewise.
6331         (abi-n32_soft-ld-soname): Likewise.
6332         (abi-n32_hard-ld-soname): Likewise.
6333         (abi-n32_soft_2008-ld-soname): Likewise.
6334         (abi-n32_hard_2008-ld-soname): Likewise.
6335         (abi-n64_soft-ld-soname): Likewise.
6336         (abi-n64_hard-ld-soname): Likewise.
6337         (abi-n64_soft_2008-ld-soname): Likewise.
6338         (abi-n64_hard_2008-ld-soname): Likewise.
6339         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6340         Likewise.
6341         (abi-64-v2-ld-soname): Likewise.
6342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6343         ld.so entries.
6344         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6345         variable.
6346         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6347         entry.
6348         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6349         variable.
6350         (abi-64-ld-soname): Likewise.
6351         (abi-x32-ld-soname): Likewise.
6352         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6353         entry.
6354         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6356 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6358         [BZ #14138]
6359         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6360         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6361         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6362         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6363         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6364         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6365         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6366         syscall entry for GLIBC_2.2 symbol version.
6367         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6368         Likewise.
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6370         (setrlimit): Likewise.
6371         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6372         Likewise.
6374 2014-09-23  Will Newton  <will.newton@linaro.org>
6376         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6377         _LINUX_ARM_SYSDEP_H include guard too.
6378         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6379         define.
6381 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6383         * sysdeps/unix/sysv/linux/eventfd.c:
6384         Make first argument unsigned.
6385         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6386         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6388 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6390         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6391         * socket/sys/socket.h: Likewise
6392         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6394 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6396         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6398 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6400         * time/tst-ftime.c: New test.
6401         * time/Makefile (tests): Add tst-ftime.
6403 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6405         * soft-fp/extended.h: Fix comment formatting.
6406         * soft-fp/op-1.h: Likewise.
6407         * soft-fp/op-2.h: Likewise.
6408         * soft-fp/op-4.h: Likewise.
6409         * soft-fp/op-8.h: Likewise.
6410         * soft-fp/op-common.h: Likewise.
6411         * soft-fp/soft-fp.h: Likewise.
6413         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6415 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6417         [BZ #6652]
6418         * Makeconfig (soversions-default-setname): Remove variable.
6419         ($(common-objpfx)soversions.i): Don't pass default_setname to
6420         soversions.awk.
6421         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6422         oldest_abi to abi-versions.awk.
6423         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6424         * config.make.in (oldest-abi): Remove variable.
6425         * configure.ac (--enable-oldest-abi): Remove configure option.
6426         * configure: Regenerated.
6427         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6428         text.
6429         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6430         * scripts/soversions.awk: Do not handle default_setname variable.
6431         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6432         variable.
6433         * sysdeps/mach/hurd/configure: Regenerated.
6434         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6435         variable.
6436         * sysdeps/unix/sysv/linux/configure: Regenerated.
6438 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6440         * elf/Makefile (CFLAGS-interp.c): Remove.
6441         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6442         path string.
6443         * elf/interp.c: Include generated runtime-linker.h
6445         * Makerules (lib%.so): Don't include $(+interp) in
6446         prerequisites.
6447         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6448         * dlfcn/eval.c: Remove file.
6450         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6451         macros.
6453         [BZ #17266]
6454         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6455         4.2 and newer.
6457         [BZ #17370]
6458         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6460 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6461             Jakub Jelinek  <jakub@redhat.com>
6463         [BZ #17266]
6464         * libio/stdio.h: Check definition of __fortify_function
6465         instead of __extern_always_inline to include bits/stdio2.h.
6466         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6467         check if __extern_always_inline is defined.
6468         [__USE_MISC || __USE_XOPEN]: Likewise.
6469         [__USE_ISOC99] Likewise.
6470         * misc/sys/cdefs.h (__fortify_function): Define only if
6471         __extern_always_inline is defined.
6472         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6473         __extern_always_inline and __extern_inline only for g++-4.3
6474         and newer or a compatible gcc.
6476 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6478         [BZ #17371]
6479         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6480         last change to handle zero prefix length.
6482 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6484         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6485         _SC_REGEX_VERSION.
6487         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6488         _POSIX_RAW_SOCKETS.
6490 2014-09-13  Allan McRae  <allan@archlinux.org>
6492         * po/ru.po: Update Russian translation from translation project.
6494 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6496         * locale/programs/locale.c (show_locale_vars): Inline local function
6497         into its sole call site.  Clean up some style nits.
6498         (print_item): New function, broken out of ...
6499         (show_info): ... local function here.  Clean up style nits.
6501         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6502         out of ...
6503         (set_class_defaults): ... local function set_default here.
6504         Define set_default as a macro locally to pass constant parameters.
6505         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6506         rather than a shared local.
6508         * stdlib/rpmatch.c (try): New function, broken out of ...
6509         (rpmatch): ... local function here.  Also, prototypify definition.
6511 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6513         * scripts/soversions.awk: Do not handle configuration names.
6514         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6515         vendor and os variables to soversions.awk.
6516         * configure.ac: Do not modify gnu-* host_os.
6517         * configure: Regenerated
6518         * shlib-versions: Remove first column with configuration names.
6519         * nptl/shlib-versions: Likewise.
6520         * nptl_db/shlib-versions: Likewise.
6521         * sysdeps/hppa/shlib-versions: Likewise.
6522         * sysdeps/m68k/shlib-versions: Likewise.
6523         * sysdeps/mach/hurd/shlib-versions: Likewise.
6524         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6525         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6526         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6527         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6528         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6529         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6530         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6531         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6533         Likewise.
6534         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6535         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6536         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6537         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6538         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6539         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6540         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6541         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6544         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6546         Regenerated.
6547         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6549         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6551         * shlib-versions: Remove OS-specific entries.  Moved to files in
6552         sysdeps.
6553         * sysdeps/mach/hurd/shlib-versions: New file.
6554         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6556         * nptl/shlib-versions: Remove architecture-specific entries.
6557         Moved to files in sysdeps.
6558         * shlib-versions: Likewise.
6559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6560         file.
6561         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6562         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6563         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6564         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6566         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6567         (UDP_NO_CHECK6_RX): Likewise.
6569 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6571         * sysdeps/posix/sysconf.c (__sysconf): Spell
6572         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6574 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6576         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6577         loading.
6578         * iconv/Versions (__gconv_transliterate): Export for use from
6579         gconv modules.
6580         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6581         (struct __gconv_trans_data, __gconv_trans_fct,
6582         __gconv_trans_context_fct, __gconv_trans_query_fct,
6583         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6584         definitions.
6585         (struct __gconv_step_data): Remove __trans member.
6586         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6587         longer hidden.  Remove unused trans_data argument.
6588         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6589         (__gconv_translit_find): Remove declaration.
6590         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6591         prototype.
6592         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6593         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6594         trans_data argument.  Add hidden definition.
6595         (__gconv_translit_find): Remove.
6596         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6597         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6598         * iconv/skeleton.c: Remove transliteration initialization.
6599         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6600         __gconv_step_data initialization.
6601         * libio/iofwide.c (__libio_translit_): Remove.
6602         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6603         * wcsmbs/btowc.c (__btowc): Likewise.
6604         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6605         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6606         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6607         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6608         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6609         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6610         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6611         * wcsmbs/wctob.c (wctob): Likewise.
6613 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6615         [BZ #16194]
6616         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6617         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6618         register usage.
6619         * sysdeps/x86/Makefile: Adjust.
6621 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6622             Roland McGrath  <roland@hack.frob.com>
6624         * locale/weight.h: Add include guard.
6625         (findidx): Make static rather than auto; take new parameters
6626         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6627         * locale/weightwc.h: Likewise.
6628         * posix/fnmatch_loop.c
6629         (FCT): Change type of EXTRA from int32_t to wint_t.
6630         Don't include either header inside the function.
6631         Call FINDIDX rather than findidx, and pass new arguments.
6632         #undef FINDIDX at the end of the file.
6633         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6634         FINDIDX before including fnmatch_loop.c for the non-wide version.
6635         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6636         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6637         for the wide version.
6638         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6639         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6640         Pass new arguments to findidx.
6641         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6642         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6643         Don't #include it inside the function.  Pass new arguments to findidx.
6644         * posix/regex_internal.h
6645         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6646         (re_string_elem_size_at): Don't #include it inside the function.
6647         Pass new arguments to findidx.
6648         * string/strcoll_l.c: #include WEIGHT_H at top level.
6649         (get_next_seq): Don't #include it inside the function.
6650         Pass new arguments to findidx.
6651         (get_next_seq_nocache): Likewise.
6652         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6653         (STRXFRM): Don't #include it inside the function.
6654         Pass new arguments to findidx.
6656 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6658         [BZ #17344]
6659         * malloc/malloc.c (unlink): Turn asserts into a call to
6660         malloc_printerr.
6662 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6664         [BZ #17370]
6665         * libio/wfileops (do_ftell_wide): Free OUT.
6667 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6669         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6671 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6673         [BZ #17363]
6674         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6675         group if the current group is empty.
6677 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6679         * benchtests/bench-memset.c (test_main): Add more test from size
6680         from 32 to 512 bytes.
6681         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6682         Add POWER8 memset object.
6683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6684         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6685         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6686         implementation.
6687         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6688         Likewise.
6689         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6690         multiarch POWER8 memset optimization.
6691         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6692         POWER8 memset optimization.
6694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6695         Remove bzero multiarch objects.
6696         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6697         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6698         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6699         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6700         Remove define.
6701         [__bzero]: Redefine to specific name.
6702         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6703         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6704         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6705         define.
6706         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6707         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6709 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6711         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6712         warnings into errors.
6714         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6715         __cxa_thread_atexit_impl prototype.
6717 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6719         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6720         Fix capitalization of error message.
6722 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6724         * sysdeps/mips/preconfigure: Modify ABI tests.
6726 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6728         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6730 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6731             Carlos O'Donell  <carlos@systemhalted.org>
6733         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6734         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6735         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6736         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6737         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6738         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6739         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6740         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6741         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6742         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6743         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6744         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6745         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6746         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6747         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6748         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6749         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6750         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6751         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6752         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6753         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6754         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6755         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6756         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6757         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6758         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6759         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6760         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6761         Deconditionalize the code that was previously under [RESET_PID].
6762         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6763         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6764         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6765         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6766         include sysdep.h.
6768 2014-09-08  Allan McRae  <allan@archlinux.org>
6770         * version.h (RELEASE): Set to "development".
6771         (VERSION): Set to "2.20.90"
6773 2014-09-07  Allan McRae  <allan@archlinux.org
6775         * version.h (RELEASE): Set to "stable".
6776         (VERSION): Set to "2.20"
6777         * include/features.h (__GLIBC_MINOR__): Set to 20.
6779         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6780         Liebler.
6782         * po/ko.po: Update Korean translation from translation project.
6784 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6786         [BZ #17354]
6787         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6788         macro for handling signed relocations.
6790 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6792         [BZ #17325]
6793         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6794         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6795         assert.
6796         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6797         * iconvdata/ibm935.c (BODY): Likewise.
6798         * iconvdata/ibm937.c (BODY): Likewise.
6799         * iconvdata/ibm939.c (BODY): Likewise.
6800         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6801         assert.
6802         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6803         script.
6804         * iconvdata/run-iconv-test.sh: New test loop for checking for
6805         decoder crashers.
6807 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6809         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6810         libm_hidden_ver.
6812 2014-09-01  Allan McRae  <allan@archlinux.org>
6814         * po/eo.po: Update Esperanto translation from translation project.
6816         * po/ca.po: Update Catalan translation from translation project.
6818 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6820         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6821         __proc_dostop call.
6823 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6825         [BZ #17319]
6826         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6827         to call set_thread_area instead of hand written asm.
6828         (__NR_set_thread_area): Removed define.
6829         (TLS_FLAG_WRITABLE): Likewise.
6830         (__ASSUME_SET_THREAD_AREA): Remove check.
6831         (TLS_EBX_ARG): Remove define.
6832         (TLS_LOAD_EBX): Likewise.
6834 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6836         Simplify atomicity of socket creation in bind.
6838         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6839         looking up the name after linking the file.
6841 2014-08-27  Allan McRae  <allan@archlinux.org>
6843         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6845 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6847         [BZ #17187]
6848         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6849         trans_compare, open_translit, __gconv_translit_find):
6850         Remove module loading code.
6852 2014-08-26  Allan McRae  <allan@archlinux.org>
6854         * po/vi.po: Update Vietnamese translation from translation project.
6856         * po/uk.po: Update Ukrainian translation from translation project.
6858         * po/fr.po: Update French translation from translation project.
6860         * po/ru.po: Update Russian translation from translation project.
6862         * po/pl.po: Update Polish translation from translation project.
6864         * po/cs.po: Update Czech translation from translation project.
6866         * po/de.po: Update German translation from translation project.
6868         * po/bg.po: Update Bulgarian translation from translation project.
6870         * po/sv.po: Update Sweedish translation from translation project.
6872         * po/nl.po: Update Dutch translation from translation project.
6874         * po/es.po: Update Spanish translation from translation project.
6876 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6878         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6880         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6881         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6882         (CPPFLAGS-iconvconfig): Likewise.
6883         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6885         * include/libc-symbols.h: Remove unnecessary check for
6886         NOT_IN_libc.
6887         * nptl/pthreadP.h: Likewise.
6888         * sysdeps/aarch64/setjmp.S: Likewise.
6889         * sysdeps/alpha/setjmp.S: Likewise.
6890         * sysdeps/arm/sysdep.h: Likewise.
6891         * sysdeps/i386/setjmp.S: Likewise.
6892         * sysdeps/m68k/setjmp.c: Likewise.
6893         * sysdeps/posix/getcwd.c: Likewise.
6894         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6895         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6896         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6897         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6898         * sysdeps/sh/sh3/setjmp.S: Likewise.
6899         * sysdeps/sh/sh4/setjmp.S: Likewise.
6900         * sysdeps/unix/alpha/sysdep.h: Likewise.
6901         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6902         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6903         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6904         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6907         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6909         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6912         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6914         * sysdeps/x86_64/setjmp.S: Likewise.
6916 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6918         [BZ #17263]
6919         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6920         <stdint.h>.
6921         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6922         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6924 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6926         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6928         [BZ #17262]
6929         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6930         and __x86_64__ when disabling x87 inline functions.
6932 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6934         [BZ #17259]
6935         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6936         asm statement with __cpuid_count.
6938 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6940         * configure.ac: Change __ehdr_start code to dereference the struct.
6941         Run readelf on the output to look for relocations.
6942         * configure: Regenerated.
6944 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6946         [BZ #17261]
6947         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6948         value to 0.
6949         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6951 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6953         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6955 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6957         [BZ #16892]
6958         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6959         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6961 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6963         * malloc/malloc.c: Fix typo in comment.
6965 2014-08-09  Allan McRae  <allan@archlinux.org>
6967         * Regenerate libc.po.
6969 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6971         * intl/tst-gettext2.sh: Check every lang file for creation.
6973 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6975         * sysdeps/aarch64/fpu/math_private.h
6976         (libc_feholdsetround_noex_aarch64_ctx): New function.
6978 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6980         * sysdeps/arm/armv6/strcpy.S (strcpy):
6981         Fix performance issue in misaligned cases.
6983 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6985         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6986         Move definition from termios.h.
6987         (struct termio): Likewise.
6988         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6989         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6990         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6991         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6992         Likewise.
6993         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6994         Move definition to ioctl-types.h
6995         (struct termio): Likewise.
6996         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6997         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6998         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6999         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7000         Likewise.
7002 2014-08-05  Richard Henderson  <rth@redhat.com>
7004         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7005         exceptions.
7006         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7007         Add fraiseexcpt.
7008         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7009         Use __feraiseexcept.
7010         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7011         Protect libm symbols with IS_IN_libm.
7013         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7015 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7017         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7019 2014-08-04  Will Newton  <will.newton@linaro.org>
7021         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7022         file.
7024 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7026         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7027         variants for each function.
7029 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7031         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7032         appended ...
7033         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7034         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7035         appended ...
7036         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7037         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7038         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7039         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7040         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7041         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7042         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7043         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7044         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7045         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7046         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7047         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7048         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7049         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7050         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7051         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7052         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7053         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7054         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7055         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7056         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7060         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7061         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7062         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7063         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7064         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7065         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7066         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7067         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7068         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7069         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7070         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7071         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7072         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7073         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7074         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7075         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7076         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7077         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7078         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7079         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7080         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7081         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7082         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7084         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7085         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7086         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7087         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7088         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7089         Update #include.
7090         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7091         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7093 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7095         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7096         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7097         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7098         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7099         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7100         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7102 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7104         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7105         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7106         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7107         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7109 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7111         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7112         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7113         (__libc_vfork): Define function under this name.
7114         (__vfork): Define as an alias.
7115         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7116         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7118 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7120         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7121         that was previously under [RESET_PID].
7122         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7124 2014-08-04  Andreas Schwab  <schwab@suse.de>
7126         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7128 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7130         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7131         (main): Likewise.
7133 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7135         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7137 2014-08-01  Richard Henderon  <rth@redhat.com>
7139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7140         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7141         typo in exact zero test.
7142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7143         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7146 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7148         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7149         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7150         * sysdeps/arm/sysdep.h: ... here.
7151         [!__ASSEMBLER__]: Include <stdint.h>.
7153 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7155         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7156         (HAVE_WCTYPE_H): Likewise.
7157         (HAVE_ISWCTYPE): Likewise.
7158         (ENABLE_NLS): Likewise.
7159         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7160         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7162         * posix/regex_internal.c: Check if DEBUG is defined and is
7163         set.
7165         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7166         (HAVE_MBSRTOWCS): Likewise.
7167         * posix/fnmatch.c: Include string.h unconditionally.
7169 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7171         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7172         reversal.
7174 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7176         * sysdeps/generic/safe-fatal.h: New file.
7177         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7178         * nptl/forward.c: Include it.
7179         (__pthread_unwind): Use __safe_fatal as default action, rather
7180         than a bogus use of INTERNAL_SYSCALL that could never work.
7182         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7183         * configure.ac (libc_cv_builtin_trap): New test.
7184         * configure: Regenerated.
7185         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7186         (ABORT_INSTRUCTION): Define using __builtin_trap.
7188         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7189         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7190         * sysdeps/nptl/nptl-signals.h: New file.
7191         * nptl/pthreadP.h: Include <nptl-signals.h>.
7193 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7195         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7196         (ONE_DIRECTION): Define.
7197         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7198         (ONE_DIRECTION): Define.
7199         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7200         (ONE_DIRECTION): Define.
7202 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7204         * sysdeps/s390/Makefile: Delete file.
7205         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7206         * sysdeps/s390/__longjmp.c: Delete file.
7207         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7208         Remove fields __flags and __reserved.
7209         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7210         and add versioning.
7211         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7212         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7213         * sysdeps/s390/rtld-setjmp.S: Likewise.
7214         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7215         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7216         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7217         * sysdeps/s390/s390-32/setjmp.S: ... here.
7218         Add versioning.
7219         (__sigsetjmp): Remove setting __flags field.
7220         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7221         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7222         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7223         * sysdeps/s390/s390-64/setjmp.S: ... here.
7224         Add versioning.
7225         (__sigsetjmp): Remove setting __flags field.
7226         * sysdeps/s390/setjmp.S: Delete file.
7227         * sysdeps/s390/sigjmp.c: Likewise.
7228         * sysdeps/s390/v1-longjmp.c: Likewise.
7229         * sysdeps/s390/v1-setjmp.h: Likewise.
7230         * sysdeps/s390/v1-sigjmp.c: Likewise.
7231         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7232         Remove v1-longjmp_chk.
7233         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7234         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7235         Include debug/longjmp_chk.c and add versioning.
7236         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7237         Include nptl/pt-longjmp.c and add versioning.
7238         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7239         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7240         Include __longjmp.c.
7241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7242         Move to ...
7243         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7244         (__getcontext): Remove setting __flags field.
7245         Add versioning.
7246         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7247         Don't restore upper high grps.
7248         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7249         Likewise.
7250         (__swapcontext): Remove setting uc_flags field.
7251         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7252         Delete file.
7253         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7254         Include __longjmp.c.
7255         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7256         Move to ...
7257         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7258         (__getcontext): Remove setting __flags field.
7259         Add versioning.
7260         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7261         (__swapcontext): Remove setting uc_flags field.
7262         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7263         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7264         Remove fields uc_high_gprs and __reserved.
7265         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7266         New file with reverted content.
7267         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7268         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7269         Regenerated.
7270         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7271         Regenerated.
7273 2014-07-31  Andreas Schwab  <schwab@suse.de>
7275         * config.h.in (HAVE_IFUNC): Define to 0.
7276         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7277         definedness.
7279 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7282         memmove-avx-unaligned, memcpy-avx-unaligned and
7283         mempcpy-avx-unaligned.
7284         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7285         Add tests for AVX memcpy functions.
7286         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7287         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7288         memcpy_chk.
7289         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7290         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7291         memmove_chk.
7292         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7293         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7294         mempcpy_chk.
7295         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7296         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7297         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7299 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7301         [BZ #17213]
7302         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7303         powerpc64le.
7305 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7307         [BZ #16839]
7308         * manual/llio.texi: Add section about open file description locks.
7309         * manual/examples/ofdlocks.c: Example of open file description
7310         lock usage.
7311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7312         F_OFD_SETLK, and F_OFD_SETLKW.
7314 2014-07-23  Allan McRae  <allan@archlinux.org>
7316         * po/es.po: Update Spanish translation from translation project.
7318 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7320         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7322 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7324         [BZ #17078]
7325         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7326         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7327         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7329 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7331         [BZ #17088]
7332         * math/fesetenv.c (__fesetenv)
7333         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7334         * math/feupdateenv.c (__feupdateenv)
7335         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7337         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7338         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7339         (__ASSUME_SOCKETCALL): Do not define.
7341         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7342         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7343         (__ASSUME_SOCKETCALL): Do not define.
7344         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7345         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7346         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7347         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7348         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7349         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7350         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7351         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7353         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7354         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7355         (__ASSUME_SOCKETCALL): Do not define.
7356         (__ASSUME_IPC64): Define unconditionally.
7357         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7358         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7359         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7360         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7361         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7362         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7363         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7364         Likewise.
7366         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7367         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7368         (__ASSUME_SOCKETCALL): Do not define.
7369         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7370         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7371         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7372         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7373         (__ASSUME_REQUEUE_PI): Define unconditionally.
7374         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7375         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7376         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7377         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7379         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7381         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7382         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7383         (__ASSUME_SOCKETCALL): Do not define.
7384         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7385         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7386         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7387         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7388         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7389         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7391         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7392         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7393         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7394         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7395         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7396         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7397         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7398         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7399         (__ASSUME_GETCPU_SYSCALL): Likewise.
7401         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7402         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7403         cases for individual architectures.
7404         * sysdeps/gnu/configure: Regenerated.
7405         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7406         LIBC_SLIBDIR_RTLDDIR.
7407         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7408         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7409         LIBC_SLIBDIR_RTLDDIR.
7410         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7412         LIBC_SLIBDIR_RTLDDIR.
7413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7414         Regenerated.
7415         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7416         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7417         file.
7418         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7419         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7420         file.
7421         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7422         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7423         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7424         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7426         * sysdeps/aarch64/shlib-versions: Move to ...
7427         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7428         * sysdeps/alpha/shlib-versions: Move to ...
7429         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7430         * sysdeps/arm/shlib-versions: Move to ...
7431         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7432         * sysdeps/hppa/shlib-versions: Move all contents except for
7433         libgcc_s entry to ...
7434         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7435         entry from ...
7436         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7437         * sysdeps/ia64/shlib-versions: Move to ...
7438         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7439         entry from ...
7440         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7441         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7442         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7443         * sysdeps/microblaze/shlib-versions: Move to ...
7444         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7445         * sysdeps/mips/shlib-versions: Move to ...
7446         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7447         entry from ...
7448         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7449         * sysdeps/tile/shlib-versions: Move to ...
7450         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7451         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7452         from ...
7453         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7454         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7455         entry from ...
7456         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7458 2014-07-17  Will Newton  <will.newton@linaro.org>
7460         * sysdeps/arm/bits/atomic.h
7461         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7462         (__arch_compare_and_exchange_bool_16_int): Likewise.
7463         (__arch_compare_and_exchange_bool_64_int): Likewise.
7465         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7466         into an #else block.
7468 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7470         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7471         just Linux configurations.  Test empirically that the compiler sets
7472         __ARM_EABI__, rather than using the tuple to decide.
7473         * sysdeps/arm/preconfigure: Regenerated.
7474         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7475         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7476         contents appended ...
7477         * sysdeps/arm/configure.ac: ... here.
7478         * sysdeps/arm/configure: Regenerated.
7480 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7482         * nptl/pthread_kill.c: New file.
7483         * nptl/pthread_sigmask.c: New file.
7484         * nptl/pthread_sigqueue.c: New file.
7486         * sysdeps/nptl/lowlevellock.h: New file.
7487         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7488         * sysdeps/nptl/lowlevellock-futex.h: New file.
7490         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7491         Remove dead declarations.
7493 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7495         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7496         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7497         config-cflags-avx2.
7498         * sysdeps/x86_64/configure.ac: Likewise.
7499         * sysdeps/i386/configure: Regenerated.
7500         * sysdeps/x86_64/configure: Likewise.
7501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7502         memset-avx2 only if config-cflags-avx2 is yes.
7503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7504         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7505         defined.
7506         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7507         only if HAVE_AVX2_SUPPORT is defined.
7508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7510 2014-07-14  Alan Modra  <amodra@gmail.com>
7512         [BZ #17153]
7513         * elf/elf.h (DT_PPC64_NUM): Correct value.
7514         * NEWS: Add to fixed bug list.
7516 2014-07-13  Jim Meyering  <meyering@fb.com>
7518         [BZ 17150]
7519         regex: don't deref NULL upon heap allocation failure
7520         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7521         failure in one more place.
7522         To trigger the segfault, configure grep -with-included-regex,
7523         build it, and run these commands:
7524         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7526 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7528         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7530 2014-07-11  Richard Henderson  <rth@redhat.com>
7532         * sysdeps/aarch64/libm-test-ulps: Update.
7534 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7536         [BZ #17135]
7537         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7538         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7539         (__nptl_setxid): Initialize error member.  Call
7540         __nptl_setxid_error.
7541         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7542         * nptl/descr.h (struct xid_command): Add error member.
7543         * nptl/tst-setuid3.c: New file.
7544         * nptl/Makefile (tests): Add it.
7546 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7548         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7549         New define.
7550         (__lll_trylock): Use __lll_base_trylock.
7551         (__lll_cond_trylock): Likewise.
7553 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7555         * nptl/pthread_create.c (start_thread): Use atomic_or and
7556         lll_futex_wake directly rather than lll_robust_dead.
7557         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7558         (lll_robust_dead): Macro removed.
7559         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7560         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7561         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7562         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7563         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7564         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7565         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7566         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7567         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7568         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7569         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7570         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7571         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7572         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7573         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7575         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7576         Use atomic_compare_and_exchange_val_acq directly rather than
7577         lll_robust_trylock.
7578         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7579         (__lll_robust_trylock, lll_robust_trylock): Removed.
7580         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7581         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7582         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7584         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7585         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7586         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7587         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7588         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7589         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7590         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7591         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7592         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7595 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7597         * manual/locale.texi (Locale Names): New section documenting
7598         locale name syntax.  Adjust menu and node chaining accordingly.
7599         (Choosing Locale): Reference Locale Names, Locale Categories.
7600         Mention setting LC_ALL=C.  Reflect that name syntax is now
7601         documented.
7602         (Locale Categories): New section title.  Reference Locale Names.
7603         LC_ALL is an environment variable, but not a category.
7604         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7605         description, now in Locale Name.  Reference that section.  Locale
7606         name syntax is now documented.
7608 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7610         [BZ #17137]
7611         * locale/findlocale.c (name_present, valid_locale_name): New
7612         functions.
7613         (_nl_find_locale): Use the loc_name variable to store name
7614         candidates.  Call name_present and valid_locale_name to check and
7615         validate locale names.  Return an error if the locale is invalid.
7617 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7619         * locale/setlocale.c (setlocale): Use strdup for allocating
7620         composite name copy.
7622 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7624         Sync up with gnulib.
7625         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7626         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7627         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7628         and _GL_ARG_NONNULL.
7629         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7630         [!_LIBC]: Include code for Windows and Cygwin.
7631         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7632         Include prototype for int strerror_r.
7633         [!_LIBC] (is_open): New function.
7634         (flush_stdout): New function.
7635         (print_errno_message): Use it.
7636         (error): Likewise.
7637         (error_at_line): Likewise.
7638         (error_tail) Add function attribute macros.  Use
7639         __builtin_expect.
7641         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7643         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7645         * io/ftw.c: Include sys/param.h unconditionally.
7647         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7649         [BZ #17125]
7650         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7651         libc_freeres_ptr.
7652         (freecache): New function to free CACHE on exit.
7654         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7655         initialization.
7657 2014-07-09  David S. Miller  <davem@davemloft.net>
7659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7661         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7662         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7663         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7664         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7665         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7666         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7667         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7668         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7669         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7670         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7671         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7672         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7673         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7675 2014-07-09  Andreas Schwab  <schwab@suse.de>
7677         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7678         output.
7679         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7680         (do_test): Likewise.
7682         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7684 2014-07-09  Will Newton  <will.newton@linaro.org>
7686         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7687         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7688         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7689         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7690         * sysdeps/hppa/start.S (_start): Likewise.
7692 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7694         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7696         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7697         defined.
7699 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7701         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7702         after checking that it is non-NULL.
7704         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7706 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7708         * sysdeps/powerpc/memmove.c: Remove file.
7709         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7710         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7711         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7712         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7713         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7714         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7715         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7716         string memmove instead of removed powerpc one.
7718         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7719         [weak_alias]: Fix compiler warning due trailing data.
7720         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7721         [weak_alias]: Likewise.
7722         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7723         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7726         (__libc_ifunc_impl_list): Add memmove functions.
7728 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7730         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7731         Remove code.
7732         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7733         Likewise
7734         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7735         Likewise
7736         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7737         Likewise
7738         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7739         Likewise
7740         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7741         Likewise
7742         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7743         Likewise
7744         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7745         Likewise
7746         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7747         Likewise
7748         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7749         Likewise
7750         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7751         Likewise
7752         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7753         Likewise
7754         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7755         Likewise
7756         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7757         Likewise
7758         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7759         Likewise
7760         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7761         Likewise
7762         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7763         Likewise
7765 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7767         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7768         to avoid alignment traps in non-cacheable memory.
7769         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7772         multiarch objects.
7773         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7774         file: multiarch power7 memmove.
7775         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7776         multiarch default memmove.
7777         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7778         multiarch memove for powerpc32/power4.
7780         * string/bcopy.c: Use full path to include memmove.c.
7781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7782         multiarch objects.
7783         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7784         bcopy for powerpc64.
7785         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7786         bcopy for powerpc64.
7787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7788         and memmove implementations.
7789         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7790         optimized multiarch memmove for POWER7/powerpc64.
7791         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7792         default multiarch memmove for powerpc64.
7793         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7794         multiarch for powerpc64.
7795         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7796         for POWER7/powerpc64.
7797         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7798         memmove for POWER7/powerpc64.
7800         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7801         glibc default one.
7803         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7804         __ELF_NATIVE_CLASS equal to 64.
7806 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7808         * sysdeps/nptl/lowlevellock.h: File removed.
7810         * NEWS: NPTL is no longer an add-on!
7811         * nptl/internaltypes.h: Moved ...
7812         * sysdeps/nptl/internaltypes.h: ... here.
7813         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7814         * sysdeps/nptl/fork.c: Likewise.
7815         * sysdeps/nptl/gai_misc.h: Likewise.
7816         * sysdeps/nptl/librt-cancellation.c: Likewise.
7817         * sysdeps/nptl/jmp-unwind.c: Likewise.
7818         * sysdeps/nptl/setxid.h: Likewise.
7819         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7820         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7821         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7822         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7823         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7824         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7825         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7826         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7827         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7828         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7829         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7830         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7831         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7832         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7833         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7834         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7835         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7836         * nptl/Makeconfig: Moved ...
7837         * sysdeps/nptl/Makeconfig: ... here.
7838         * nptl/configure: File removed.
7839         * nptl/ANNOUNCE: File removed.
7840         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7841         * sysdeps/unix/sysv/linux/configure: Regenerated.
7843         * nptl/Makefile (routines): Add libc_pthread_init,
7844         libc_multiple_threads, register-atfork and unregister-atfork.
7845         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7846         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7847         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7848         pthread-pi-defines.sym, structsem.sym.
7849         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7850         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7851         [$(subdir) = nptl] (tests): Add tst-setgetname.
7852         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7853         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7854         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7855         [!LIBC_SIGACTION]: Remove aliases.
7856         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7857         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7858         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7859         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7860         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7861         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7862         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7863         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7864         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7865         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7866         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7867         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7868         __libc_allocate_rtsig_private.
7869         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7870         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7871         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7872         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7873         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7874         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7875         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7876         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7877         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7878         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7879         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7880         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7881         * nptl/internaltypes.h: ... here.
7882         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7883         * sysdeps/nptl/jmp-unwind.c: ... here.
7884         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7885         * nptl/libc-lowlevellock.c: ... here.
7886         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7887         * nptl/libc_multiple_threads.c: ... here.
7888         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7889         * nptl/libc_pthread_init.c: ... here.
7890         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7891         * nptl/lowlevelbarrier.sym: ... here.
7892         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7893         * nptl/lowlevelcond.sym: ... here.
7894         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7895         * nptl/lowlevellock.c: ... here.
7896         * nptl/lowlevellock.h: Moved ...
7897         * sysdeps/nptl/lowlevellock.h: ... here.
7898         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7899         * nptl/lowlevelrobustlock.c: ... here.
7900         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7901         * nptl/lowlevelrobustlock.sym: ... here.
7902         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7903         * nptl/lowlevelrwlock.sym: ... here.
7904         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7905         * nptl/pt-fork.c: ... here.
7906         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7907         * nptl/pthread-pi-defines.sym: ... here.
7908         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7909         * nptl/pthread_attr_getaffinity.c: ... here.
7910         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7911         * nptl/pthread_attr_setaffinity.c: ... here.
7912         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7913         * nptl/pthread_mutex_cond_lock.c: ... here.
7914         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7915         Update #include.
7916         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7917         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7918         * nptl/pthread_once.c: ... here, replacing old file.
7919         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7920         * nptl/pthread_yield.c: ... here.
7921         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7922         * nptl/register-atfork.c: ... here.
7923         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7924         * nptl/sem_post.c: ... here.
7925         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7926         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7927         * nptl/sem_timedwait.c: ... here.
7928         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7929         * nptl/sem_trywait.c: ... here.
7930         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7931         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7932         * nptl/sem_wait.c: ... here.
7933         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7934         * nptl/structsem.sym: ... here.
7935         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7936         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7937         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7938         * nptl/unregister-atfork.c: ... here.
7939         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7940         * nptl/unwindbuf.sym: ... here.
7941         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7942         * sysdeps/nptl/fork.c: ... here.
7943         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7944         * sysdeps/nptl/fork.h: ... here.
7945         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7946         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7947         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7948         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7949         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7950         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7951         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7952         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7953         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7954         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7955         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7956         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7957         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7958         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7959         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7960         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7961         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7962         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7963         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7964         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7965         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7966         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7967         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7968         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7969         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7970         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7971         * sysdeps/unix/sysv/linux/raise.c: ... here.
7972         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7973         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7974         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7975         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7976         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7977         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7978         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7979         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7980         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7981         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7982         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7983         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7984         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7985         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7986         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7988 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7990         * sysdeps/generic/memcopy.h: Add comment for
7991         MEMCPY_OK_FOR_FWD_MEMMOVE.
7993 2014-07-04  Will Newton  <will.newton@linaro.org>
7995         * string/memchr.c: Merge from gnulib.
7996         [_LIBC]: Remove conditionals.
7997         (__ptr_t): Remove define.
7998         (LONG_MAX_32_BITS): Likewise.
7999         (LONG_MAX): Likewise.
8000         (MEMCHR): Use ANSI prototype and optimize algorithm.
8002         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8004 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8006         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8007         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8009         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8010         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8011         in a bare environment with no <stdlib.h> installed.
8012         * sysdeps/nptl/configure: Regenerated.
8014         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8016         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8017         AC_EGREP_CPP for kernel header checks, so they only succeed if
8018         including <linux/version.h> actually works right.
8019         * sysdeps/unix/sysv/linux/configure: Regenerated.
8021         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8022         value so it's not diagnosed as unused.
8024         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8025         thing) with "ifeq ($(subdir),rt)".
8027 2014-07-03  Richard Henderson  <rth@redhat.com>
8029         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8030         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8031         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8033         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8034         (math_force_eval): New.
8036         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8037         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8039         * sysdeps/alpha/fpu/s_round.c: Remove file.
8040         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8042         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8043         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8044         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8045         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8046         (_dl_start, print_statistics): Likewise.
8047         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8048         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8050         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8051         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8052         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8053         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8054         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8055         (HP_SMALL_TIMING_AVAIL): Define.
8056         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8057         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8058         (HP_SMALL_TIMING_AVAIL): Define.
8059         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8060         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8062         * sysdeps/aarch64/hp-timing.h: New file.
8064         * sysdeps/generic/hp-timing.h: Remove dead comment.
8065         * sysdeps/generic/hp-timing-common.h: New file.
8066         * sysdeps/alpha/hp-timing.h: Include it.
8067         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8068         * sysdeps/i386/i686/hp-timing.h: Likewise.
8069         * sysdeps/ia64/hp-timing.h: Likewise.
8070         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8071         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8073         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8074         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8075         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8076         (hp_timing_t): New.
8078         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8079         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8080         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8081         * elf/rtld.c (_dl_start_final): Likewise.
8082         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8083         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8084         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8085         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8086         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8088         (HP_TIMING_DIFF_INIT): Remove.
8089         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8090         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8091         (HP_TIMING_DIFF_INIT): Remove.
8092         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8093         * sysdeps/i386/i686/hp-timing.c: Remove file.
8094         * sysdeps/x86_64/hp-timing.c: Remove file.
8095         * sysdeps/ia64/hp-timing.c: Remove file.
8096         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8097         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8098         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8099         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8101         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8102         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8103         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8104         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8105         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8106         (HP_TIMING_ACCUM): Remove.
8107         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8108         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8109         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8111         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8112         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8113         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8114         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8115         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8116         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8117         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8118         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8120         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8122 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8124         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8126 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8128         Sync up with gettext.
8129         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8130         [_MSC_VER]: Include malloc.h
8131         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8132         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8133         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8134         TEMP_FAILURE_RETRY.  Cast return of alloca.
8135         [!_LIBC] Call gl_rwlock_init.
8136         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8138 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8140         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8141         before checking its value.
8143 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8145         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8147         * debug/memcpy_chk.c: Don't include pagecopy.h.
8148         * debug/mempcpy_chk.c: Likewise.
8149         * string/memcpy.c: Likewise.
8150         * string/memmove.c: Likewise.
8151         * sysdeps/powerpc/memmove.c: Likewise.
8152         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8153         definition of PAGE_COPY_FWD_MAYBE here...
8154         * sysdeps/generic/pagecopy.h: ... from here.
8155         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8157 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8158             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8160         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8162         optimizations.
8163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8164         (__libc_ifunc_impl_list): Likewise.
8165         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8166         multiarch strcat for PPC64.
8167         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8168         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8170 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8172         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8174 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8176         * intl/loadmsgcat.c: Remove declaration of
8177         get_sysdep_segment_value.
8178         (get_sysdep_segment_value): Use ISO C style.
8179         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8180         semicolon.  Fix typo and formatting in comment.
8181         (_nl_unload_domain): Use ISO C style.
8183         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8185 2014-07-02  Will Newton  <will.newton@linaro.org>
8187         * malloc/obstack.c: Merge from gnulib master.
8188         [HAVE_CONFIG_H]: Remove conditional code.
8189         [!_LIBC]: Include config.h.
8190         [!ELIDE_CODE]: Don't include inttypes.h, include
8191         stdint.h unconditionally.
8192         (print_and_abort): Mark as _Noreturn.
8193         (_obstack_allocated_p): Mark as __attribute_pure__.
8194         (obstack_free): Rename to __obstack_free.
8195         [!__attribute__]: Remove conditional code.
8196         * malloc/obstack.h: Merge from gnulib master.
8197         [__cplusplus]: Move conditional down.
8198         [!__attribute_pure__]: Define __attribute_pure__ here
8199         if it is not already defined.
8200         (_obstack_memory_used): Mark as __attribute_pure__.
8201         [!__obstack_free]: Define as obstack_free.
8202         [__GNUC__]: Remove check for ancient NeXT gcc.
8204 2014-07-02  Will Newton  <will.newton@linaro.org>
8205             Paul Eggert  <eggert@cs.ucla.edu>
8207         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8209 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8211         * resolv/gethnamaddr.c: Add comment warning that the file is
8212         not maintained.
8214 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8216         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8217         entries.
8219         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8220         entry for aio_cancel and aio_cancel64.
8221         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8222         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8223         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8224         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8225         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8226         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8227         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8228         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8229         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8230         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8231         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8232         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8233         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8235 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8237         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8238         * nptl/pthread_mutex_lock.c: Likewise.
8239         * nptl/pthread_mutex_timedlock.c: Likewise.
8240         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8242 2014-07-01  Richard henderson  <rth@redhat.com>
8244         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8245         (__isnan, __isnanl): Remove.
8246         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8248         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8250 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8252         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8254 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8256         * resolv/nss_dns/dns-host.c (getanswer_r)
8257         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8259 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8262         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8263         undefine.
8264         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8265         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8267 2014-07-01  Roland McGrath <roland@hack.frob.com>
8269         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8270         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8272         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8273         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8275         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8276         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8277         ... here.
8278         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8279         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8281         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8282         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8283         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8284         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8286         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8287         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8288         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8289         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8290         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8291         Moved ...
8292         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8293         ... here.
8294         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8295         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8296         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8297         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8298         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8299         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8300         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8301         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8302         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8303         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8304         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8305         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8307         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8308         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8309         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8310         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8311         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8312         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8313         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8314         ... here.
8315         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8316         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8317         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8318         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8319         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8320         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8321         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8322         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8324 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8326         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8327         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8328         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8329         Add sysdep.
8331 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8335 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8337         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8340         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8342         * sysdeps/arm/libm-test-ulps: Regenerated.
8344 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8345             Roland McGrath <roland@hack.frob.com>
8347         * test-skeleton.c (signal_handler): Kill the whole process group
8348         before killing the child individually.
8349         (main): Report any failure on `setpgid'.
8351 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8353         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8354         from _TLS_H to _ARM_NPTL_TLS_H.
8355         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8356         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8358 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8360         [BZ #16539]
8361         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8362         (__expm1l): Return argument unchanged when small but not
8363         subnormal.
8365         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8366         include macro name.
8367         (_FP_UNPACK_RAW_1_P): Likewise.
8368         (_FP_PACK_RAW_1): Likewise.
8369         (_FP_PACK_RAW_1_P): Likewise.
8370         (_FP_MUL_MEAT_1_wide): Likewise.
8371         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8372         (_FP_MUL_MEAT_1_hard): Likewise.
8373         (_FP_DIV_MEAT_1_imm): Likewise.
8374         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8375         (_FP_DIV_MEAT_1_udiv): Likewise.
8376         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8377         (_FP_UNPACK_RAW_2): Likewise.
8378         (_FP_UNPACK_RAW_2_P): Likewise.
8379         (_FP_PACK_RAW_2): Likewise.
8380         (_FP_PACK_RAW_2_P): Likewise.
8381         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8382         (_FP_MUL_MEAT_2_wide): Likewise.
8383         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8384         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8385         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8386         (_FP_MUL_MEAT_2_gmp): Likewise.
8387         (_FP_DIV_MEAT_2_udiv): Likewise.
8388         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8389         (_FP_FRAC_SRL_4): Likewise.
8390         (_FP_FRAC_SRST_4): Likewise.
8391         (_FP_FRAC_SRS_4): Likewise.
8392         (_FP_UNPACK_RAW_4): Likewise.
8393         (_FP_UNPACK_RAW_4_P): Likewise.
8394         (_FP_PACK_RAW_4): Likewise.
8395         (_FP_PACK_RAW_4_P): Likewise.
8396         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8397         (_FP_MUL_MEAT_4_wide): Likewise.
8398         (_FP_MUL_MEAT_4_gmp): Likewise.
8399         (umul_ppppmnnn): Likewise.
8400         (_FP_DIV_MEAT_4_udiv): Likewise.
8401         (__FP_FRAC_ADD_4): Likewise.
8402         (__FP_FRAC_SUB_3): Likewise.
8403         (__FP_FRAC_SUB_4): Likewise.
8404         (__FP_FRAC_DEC_3): Likewise.
8405         (__FP_FRAC_DEC_4): Likewise.
8406         (__FP_FRAC_ADDI_4): Likewise.
8407         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8408         (_FP_FRAC_SRL_8): Likewise.
8409         (_FP_FRAC_SRS_8): Likewise.
8411         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8412         include macro name.
8413         (FP_UNPACK_RAW_EP): Likewise.
8414         (FP_PACK_RAW_E): Likewise.
8415         (FP_PACK_RAW_EP): Likewise.
8416         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8417         (_FP_ISSIGNAN): Likewise.
8418         (_FP_ADD_INTERNAL): Likewise.
8419         (_FP_FMA): Likewise.
8420         (_FP_CMP): Likewise.
8421         (_FP_SQRT): Likewise.
8422         (_FP_TO_INT): Likewise.
8423         (_FP_FROM_INT): Likewise.
8424         (FP_EXTEND): Likewise.
8425         (_FP_DIV_MEAT_N_loop): Likewise.
8427 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8429         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8430         throughout.
8432 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8434         [BZ #17097]
8435         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8436         result with correct sign in case of exponents that produce
8437         overflow except for X very close to 1.
8439 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8441         mktime: merge #if/#ifdef usage from glibc
8442         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8443         as that works with both Glibc's and Gnulib's style.
8444         See thread starting at Siddhesh Poyarekar's bug report at:
8445         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8447 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8449         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8450         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8451         * sysdeps/tile/tilegx/memmove.c: Remove file.
8453 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8455         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8456         abi-name definition.
8457         * scripts/soversions.awk: Do not handle or generate ABI lines.
8458         * shlib-versions: Remove ABI entries.
8459         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8460         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8462 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8465         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8466         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8467         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8469         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8471         Moved ...
8472         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8473         ... here.
8474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8475         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8477         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8479         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8481         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8483         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8485         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8487         Moved ...
8488         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8490         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8492         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8494         Moved ...
8495         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8496         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8497         Moved ...
8498         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8500         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8502         Moved ...
8503         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8505         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8507         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8509         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8511         Moved ...
8512         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8514         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8515         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8516         Moved ...
8517         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8519         Moved ...
8520         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8522         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8524         Moved ...
8525         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8526         ... here.
8527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8528         Identical file removed.
8529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8530         Moved ...
8531         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8533         Identical file removed.
8534         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8535         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8536         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8537         Moved ...
8538         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8539         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8540         Identical file removed.
8541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8542         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8543         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8544         Identical file removed.
8545         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8546         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8548         Identical file removed.
8549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8550         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8552         Identical file removed.
8553         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8554         Moved ...
8555         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8557         Identical file removed.
8558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8559         Moved ...
8560         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8562         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8564         Identical file removed.
8565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8566         Moved ...
8567         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8568         ... here.
8569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8570         Identical file removed.
8571         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8572         Moved ...
8573         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8574         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8575         Identical file removed.
8576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8577         Moved ...
8578         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8579         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8580         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8581         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8582         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8584         Moved ...
8585         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8586         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8587         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8589         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8590         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8591         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8592         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8593         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8595 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8597         [BZ #17092]
8598         * nscd/nscd.c (monitor_child): Return exit status of child
8599         instead of return value from wait syscall.
8601 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8603         * configure.ac (libc_commonpagesize): Remove variable.
8604         (libc_relro_required): Likewise.
8605         (libc_cv_z_relro): Remove configure test.
8606         * configure: Regenerated.
8607         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8608         variable.
8609         (libc_relro_required): Likewise.
8610         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8611         (libc_relro_required): Likewise.
8612         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8613         (libc_relro_required): Likewise.
8614         * sysdeps/arm/preconfigure: Regenerated.
8615         * sysdeps/ia64/preconfigure: Remove file.
8616         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8617         variable.
8618         (libc_relro_required): Likewise.
8620         [BZ #16561]
8621         [BZ #16562]
8622         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8623         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8624         recompute overflowing results in original rounding mode.
8625         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8626         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8627         recompute overflowing results in original rounding mode.
8628         * sysdeps/ieee754/ldbl-128/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/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8632         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8633         recompute overflowing results in original rounding mode.
8634         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8635         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8636         recompute overflowing results in original rounding mode.
8637         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8638         (libc_feholdsetround_ctx): New macro.
8639         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8640         * sysdeps/i386/fpu/libm-test-ulps: Update.
8641         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8643 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8645         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8646         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8647         corresponding .cpsetup call.
8649 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8651         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8652         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8653         * sysdeps/arm/Makefile [$(subdir) = csu]
8654         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8655         (static-only-routines): Add aeabi_read_tp here.
8656         (shared-only-routines): Add libc-aeabi_read_tp here.
8657         (CFLAGS-libc-start.c): Add -fexceptions here.
8658         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8659         (sysdep_routines, static-only-routines, shared-only-routines):
8660         Don't add to these here.
8661         (CFLAGS-libc-start.c): Likewise.
8663         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8664         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8665         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8666         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8667         * sysdeps/arm/Makefile [$(subdir) = rt]
8668         (librt-sysdep_routines, librt-shared-only-routines):
8669         Append rt-aeabi_unwind_cpp_pr1 here.
8670         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8671         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8672         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8673         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8674         Append nptl-aeabi_unwind_cpp_pr1 here.
8675         (tests): Filter out tst-cleanupx4 here.
8676         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8677         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8678         Don't do those here.
8680 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8682         * scripts/list-sources.sh: Do not handle ports specially.
8684 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8686         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8687         * sysdeps/arm/feupdateenv.c: Likewise.
8689         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8691 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8693         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8694         trailing whitespace removed.
8695         * scripts/config.guess: Update to version 2014-03-23.
8696         * scripts/config.sub: Update to version 2014-05-01
8697         * scripts/install-sh: Update to version 2013-12-25.23.
8698         * scripts/move-if-change: Update from gnulib.
8700 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8702         * debug/memmove_chk.c: Remove pagecopy.h include.
8704 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8706         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8707         identical to gnulib mktime.
8709 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8711         * configure.ac: Do not test for machine being rs6000.  Do not test
8712         for powerpc*-*soft.
8713         * configure: Regenerated.
8715         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8716         test.
8717         * configure: Regenerated.
8718         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8719         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8720         Remove configure test.
8721         * sysdeps/arm/configure: Regenerated.
8722         * sysdeps/nptl/configure.ac: Do not check
8723         libc_cv_asm_cfi_directives.
8724         * sysdeps/nptl/configure: Regenerated.
8725         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8726         * sysdeps/x86_64/nptl/configure: Remove generated file.
8727         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8728         unconditional.
8729         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8731 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8733         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8734         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8735         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8736         it is defined.
8738         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8739         instead of whether it is defined.
8740         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8741         * sysdeps/hppa/dl-machine.h: Likewise.
8742         * sysdeps/ia64/dl-machine.h: Likewise.
8743         * sysdeps/m68k/dl-machine.h: Likewise.
8744         * sysdeps/microblaze/dl-machine.h: Likewise.
8745         * sysdeps/mips/dl-machine.: Likewise.
8746         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8747         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8748         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8749         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8750         * sysdeps/sh/dl-machine.h: Likewise.
8751         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8752         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8753         * sysdeps/tile/dl-machine.h: Likewise.
8754         * sysdeps/x86_64/dl-machine.h: Likewise.
8756         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8757         code.
8758         (verify_persistent_db): Likewise.
8760 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8763         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8765         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8767         Moved ...
8768         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8769         ... here.
8770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8771         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8772         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8773         Identical file removed.
8774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8775         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8777         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8779         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8781         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8783         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8785         Moved ...
8786         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8788         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8790         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8792         Moved ...
8793         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8795         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8796         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8797         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8798         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8799         Identical file removed.
8800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8801         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8803         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8805         Moved ...
8806         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8807         ... here.
8808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8809         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8811         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8813         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8815         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8817         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8819         Moved ...
8820         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8822         Moved ...
8823         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8825         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8827         Moved ...
8828         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8830         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8832         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8833         folded into ...
8834         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8835         * sysdeps/unix/sysv/linux/s390/Versions
8836         (libpthread: GLIBC_2.19): New version set.
8837         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8838         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8839         (librt: GLIBC_2.3.3): New version set.
8840         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8841         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8842         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8843         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8844         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8845         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8846         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8847         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8848         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8849         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8850         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8851         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8852         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8853         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8854         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8855         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8856         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8857         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8858         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8859         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8860         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8861         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8862         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8863         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8864         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8865         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8866         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8867         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8868         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8869         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8870         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8871         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8872         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8873         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8876         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8878         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8880         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8882         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8884         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8886         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8887         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8888         (__libc_vfork): Define the function under this name.
8889         [!NOT_IN_libc] (__vfork): Make this an alias.
8890         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8891         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8892         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8893         (__libc_vfork): Define the function under this name.
8894         [!NOT_IN_libc] (__vfork): Make this an alias.
8895         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8896         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8897         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8898         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8899         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8900         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8902         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8903         code that was previously under [RESET_PID].
8904         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8905         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8906         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8908         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8909         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8910         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8911         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8912         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8913         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8914         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8915         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8916         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8917         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8918         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8919         Moved ...
8920         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8921         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8922         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8923         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8924         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8925         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8926         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8931         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8932         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8934         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8935         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8936         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8937         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8938         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8939         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8940         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8941         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8942         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8943         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8944         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8945         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8946         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8947         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8948         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8950 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8952         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8953         that was previously under [RESET_PID].
8954         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8956 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8958         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8959         not undefine and redefine.
8960         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8961         [O_CLOEXEC]: Make code unconditional.
8962         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8963         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8964         <kernel-features.h>.
8965         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8966         conditional variable definition.
8967         (shm_open) [O_CLOEXEC]: Make code unconditional.
8968         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8969         code.
8971         * configure.ac (USE_REGPARMS): Don't define here.
8972         * configure: Regenerated.
8973         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8974         * sysdeps/i386/configure: Regenerated.
8976         * nptl/createthread.c: Don't include kernel-features.h.
8977         * nptl/pthread_cancel.c: Likewise.
8978         * nptl/pthread_condattr_setclock.c: Likewise.
8979         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8980         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8981         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8982         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8983         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8984         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8985         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8986         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8988         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8989         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8990         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8991         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8992         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8993         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8994         * nscd/gai.c: Likewise.
8995         * nss/nss_db/db-open.c: Likewise.
8996         * sysdeps/generic/ldsodefs.h: Likewise.
8997         * sysdeps/sh/nptl/tls.h: Likewise.
8998         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8999         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9000         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9001         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9002         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9003         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9004         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9005         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9006         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9007         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9008         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9009         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9010         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9011         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9012         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9013         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9014         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9015         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9016         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9017         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9018         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9020         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9021         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9022         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9026         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9027         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9028         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9029         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9030         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9031         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9032         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9033         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9034         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9035         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9036         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9037         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9038         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9039         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9040         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9041         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9042         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9043         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9044         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9045         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9046         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9047         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9048         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9049         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9050         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9051         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9052         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9053         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9054         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9055         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9078         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9079         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9080         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9081         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9082         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9083         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9084         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9085         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9086         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9087         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9088         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9089         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9090         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9091         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9092         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9093         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9094         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9095         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9096         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9097         * sysdeps/unix/sysv/linux/system.c: Likewise.
9098         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9099         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9100         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9101         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9102         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9103         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9104         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9106         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9107         * configure: Regenerated.
9108         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9110         * configure.ac (base_machine): Do not set specially for particular
9111         machines here.
9112         * configure: Regenerated.
9113         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9114         settings from configure.ac.
9115         * sysdeps/i386/preconfigure: New file.
9116         * sysdeps/s390/preconfigure: Likewise.
9117         * sysdeps/sh/preconfigure: Likewise.
9118         * sysdeps/sparc/preconfigure: Likewise.
9120 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9122         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9123         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9124         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9125         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9126         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9127         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9128         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9129         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9130         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9131         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9132         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9133         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9134         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9135         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9136         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9137         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9138         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9139         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9140         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9142         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9143         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9144         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9145         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9146         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9147         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9148         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9149         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9150         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9151         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9152         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9153         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9154         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9155         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9156         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9157         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9158         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9159         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9160         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9161         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9163         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9164         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9165         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9166         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9167         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9168         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9169         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9170         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9171         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9172         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9173         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9174         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9175         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9176         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9177         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9178         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9179         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9182         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9184         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9185         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9186         Moved ...
9187         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9188         ... here.
9189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9190         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9192         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9194         Moved ...
9195         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9197         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9199         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9201         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9203         Moved ...
9204         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9206         Moved ...
9207         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9209         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9211         Moved ...
9212         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9214         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9215         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9216         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9218         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9220         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9222         Moved ...
9223         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9224         ... here.
9225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9226         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9228         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9230         Moved ...
9231         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9233         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9235         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9237         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9238         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9239         Moved ...
9240         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9242         Moved ...
9243         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9245         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9247         Moved ...
9248         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9250         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9252         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9254 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9256         * timezone/checktab.awk: Update from tzcode 2014e.
9257         * timezone/private.h: Likewise.
9258         * timezone/tzfile.h: Likewise.
9259         * timezone/zdump.c: Likewise.
9260         * timezone/zic.c: Likewise.
9262         * sysdeps/unix/sysv/linux/kernel-features.h
9263         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9264         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9265         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9266         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9267         Remove conditional code.
9269 2014-06-25  Will Newton  <will.newton@linaro.org>
9271         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9272         (_dl_arm_cap_flags): Add HWCAP2 values.
9273         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9274         (_DL_HWCAP_COUNT): Increase to 37.
9275         (_DL_HWCAP_LAST): New define.
9276         (_DL_HWCAP2_LAST): New define.
9277         (_dl_procinfo): Add support for printing
9278         AT_HWCAP2 entries.
9279         (_dl_string_hwcap): Use _dl_hwcap_string.
9281 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9285 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9287         * README: Do not mention ports directory.
9289         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9290         Remove macro.
9291         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9292         <kernel-features.h>.
9293         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9294         conditional variable definition.
9295         (__futimes): Update comment.
9296         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9297         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9299         [BZ #16560]
9300         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9301         arguments close to 0.
9302         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9303         Likewise.
9304         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9305         Likewise.
9306         * math/auto-libm-test-in: Add more tests of exp10.
9307         * math/auto-libm-test-out: Regenerated.
9308         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9310         * sysdeps/unix/sysv/linux/kernel-features.h
9311         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9312         * sysdeps/unix/sysv/linux/readv.c: Do not include
9313         <kernel-features.h>.
9314         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9315         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9316         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9317         unconditional.
9318         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9319         conditional code.
9320         * sysdeps/unix/sysv/linux/writev.c: Do not include
9321         <kernel-features.h>.
9322         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9323         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9324         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9325         unconditional.
9326         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9327         conditional code.
9329 2014-06-25  Will Newton  <will.newton@linaro.org>
9331         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9332         comment changes throughout the file.  Remove checks
9333         for HAVE_*_H definitions that are not required.
9334         (__gen_tempname): Call abort if an unknown kind value is
9335         passed.
9337 2014-06-25  Andreas Schwab  <schwab@suse.de>
9339         [BZ #17086]
9340         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9341         scalbln, scalblnf, scalblnl in libc.
9343 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9345         [BZ #17086]
9346         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9347         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9348         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9350 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9352         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9353         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9354         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9355         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9356         Update #include.
9357         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9358         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9359         Update #include.
9360         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9361         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9362         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9363         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9364         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9365         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9366         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9367         * sysdeps/x86/bits/semaphore.h: ... here.
9368         * sysdeps/x86/nptl/elide.h: Moved ...
9369         * sysdeps/x86/elide.h: ... here.
9370         * sysdeps/x86_64/nptl/Implies: File removed.
9371         * sysdeps/i386/nptl/Implies: File removed.
9373 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9375         [BZ #16539]
9376         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9377         return the argument for normal arguments with exponent below -64.
9378         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9379         Likewise.
9380         * math/auto-libm-test-in: Add another test of expm1.
9381         * math/auto-libm-test-out: Regenerated.
9383         [BZ #16287]
9384         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9385         calling __erfcl for arguments at least 16.
9386         * math/auto-libm-test-in: Add more tests of erf.
9387         * math/auto-libm-test-out: Regenerated.
9389         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9390         individual architectures.
9391         * sysdeps/unix/sysv/linux/configure: Regenerated.
9392         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9393         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9394         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9395         (ldd_rewrite_script): Define variable.
9396         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9398         file.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9400         generated file.
9401         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9402         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9403         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9404         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9405         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9406         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9407         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9408         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9410 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9412         [BZ #17084]
9413         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9414         Rename member __data.d to __data.__elision_data.
9416 2014-06-24  Wilco  <wdijkstr@arm.com>
9418         * NEWS: Add 16918 to fixed bug list.
9420 2014-06-24  Wilco  <wdijkstr@arm.com>
9422         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9424 2014-06-24  Wilco  <wdijkstr@arm.com>
9426         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9427         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9428         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9429         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9430         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9431         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9432         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9433         Use _FPU_MASK_RM.
9435 2014-06-24  Wilco  <wdijkstr@arm.com>
9437         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9439 2014-06-24  Wilco  <wdijkstr@arm.com>
9441         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9442         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9443         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9444         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9446 2014-06-24  Wilco  <wdijkstr@arm.com>
9448         [BZ #16918]
9449         * sysdeps/arm/feupdateenv.c (feupdateenv):
9450         Rewrite to reduce FPSCR accesses and fix return value.
9452 2014-06-24  Wilco  <wdijkstr@arm.com>
9454         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9455         Optimize to avoid unnecessary FPSCR writes.
9456         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9457         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9458         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9459         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9461 2014-06-24  Wilco  <wdijkstr@arm.com>
9463         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9464         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9465         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9466         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9467         Call libc_fetestexcept_vfp.
9468         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9469         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9470         __SOFTFP__ ifdef so that they can be built for softfp.
9472 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9474         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9475         argument type signed char.
9477         * Makerules (check-abi): Dump diff of symlist if the test
9478         fails.
9480 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9482         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9483         using abort.
9485         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9486         Remove unused variable ST.
9488 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9490         [BZ #16354]
9491         [BZ #17061]
9492         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9493         small arguments before calling __expm1.
9494         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9495         small arguments before calling __expm1f.
9496         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9497         small arguments before calling __expm1l.
9498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9499         Likewise.
9500         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9501         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9502         spurious underflow for some cosh tests.
9503         * math/auto-libm-test-out: Regenerated.
9504         * sysdeps/i386/fpu/libm-test-ulps: Update.
9506         [BZ #17050]
9507         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9508         (__ieee754_y1): Set errno if return value overflows.
9509         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9510         (__ieee754_y1f): Set errno if return value overflows.
9511         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9512         (__ieee754_y1l): Set errno if return value overflows.
9513         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9514         (__ieee754_y1l): Set errno if return value overflows.
9515         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9516         * math/auto-libm-test-out: Regenerated.
9518         * math/gen-auto-libm-tests.c: Document use of
9519         ignore-zero-inf-sign.
9520         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9521         (input_flags): Add ignore-zero-inf-sign.
9522         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9523         * math/gen-libm-test.pl (generate_testfile): Handle
9524         ignore-zero-inf-sign.
9525         * math/auto-libm-test-in: Mark some cpow tests with
9526         ignore-zero-inf-sign and some with xfail-rounding.
9527         * math/auto-libm-test-out: Regenerated.
9528         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9529         * sysdeps/i386/fpu/libm-test-ulps: Update.
9530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9532         [BZ #16315]
9533         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9534         overflowing or underflowing operations take place with sign of
9535         result.
9536         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9537         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9538         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9539         (__ieee754_pow): Recompute overflowing and underflowing results in
9540         original rounding mode.
9541         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9542         (__powl_helper): Allow negative argument X and scale negated value
9543         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9544         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9545         overflowing or underflowing operations take place with sign of
9546         result.
9547         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9548         Include <math.h>.
9549         * math/auto-libm-test-in: Add more tests of pow.
9550         * math/auto-libm-test-out: Regenerated.
9551         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9552         (pow_tonearest_test_data): Remove.
9553         (pow_test_tonearest): Likewise.
9554         (pow_towardzero_test_data): Likewise.
9555         (pow_test_towardzero): Likewise.
9556         (pow_downward_test_data): Likewise.
9557         (pow_test_downward): Likewise.
9558         (pow_upward_test_data): Likewise.
9559         (pow_test_upward): Likewise.
9560         (main): Don't call removed functions.
9561         * sysdeps/i386/fpu/libm-test-ulps: Update.
9562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9564 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9567         Moved ...
9568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9570         Moved ...
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9573         Moved ...
9574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9576         Moved ...
9577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9579         File removed.
9580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9581         File removed.
9582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9583         File removed.
9584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9585         File removed.
9586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9587         File removed.
9588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9589         File removed.
9590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9591         File removed.
9592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9593         File removed.
9594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9595         File removed.
9596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9597         File removed.
9598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9599         File removed.
9600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9601         File removed.
9602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9603         Moved ...
9604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9606         Moved ...
9607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9608         ... here.
9609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9610         Moved ...
9611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9613         Moved ...
9614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9616         Moved ...
9617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9619         Moved ...
9620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9622         Moved ...
9623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9625         Moved ...
9626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9628         Moved ...
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9632         ... here.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9634         Moved ...
9635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9637         Moved ...
9638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9639         ... here.
9640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9641         Moved ...
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9643         ... here.
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9645         Moved ...
9646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9647         ... here.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9649         Moved ...
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9652         Moved ...
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9657         Moved ...
9658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9659         ... here.
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9661         Moved ...
9662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9663         ... here.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9665         Moved ...
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9668         Moved ...
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9671         Moved ...
9672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9674         Moved ...
9675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9677         Moved ...
9678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9679         ... here.
9680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9681         Moved ...
9682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9684         Moved ...
9685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9687         Moved ...
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9690         Moved ...
9691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9695         Moved ...
9696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9698         Moved ...
9699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9701         Moved ...
9702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9703         ... here.
9704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9705         Moved ...
9706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9707         ... here.
9708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9709         Moved ...
9710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9711         ... here.
9712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9713         Moved ...
9714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9716         Moved ...
9717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9719         Moved ...
9720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9722         Moved ...
9723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9724         ... here.
9725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9726         Moved ...
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9728         ... here.
9729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9730         Moved ...
9731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9732         ... here.
9733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9734         Moved ...
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9737         Moved ...
9738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9740 2014-06-23  Will Newton  <will.newton@linaro.org>
9741             Wilco  <wdijkstr@arm.com>
9743         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9744         implementation.  Include get-rounding-mode.h.
9745         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9746         [!libc_feholdsetround_noex_ctx]: Define
9747         libc_feholdsetround_noex_ctx.
9748         [!libc_feholdsetround_noexf_ctx]: Define
9749         libc_feholdsetround_noexf_ctx.
9750         [!libc_feholdsetround_noexl_ctx]: Define
9751         libc_feholdsetround_noexl_ctx.
9752         (libc_feholdsetround_ctx): New function.
9753         (libc_feresetround_ctx): New function.
9754         (libc_feholdsetround_noex_ctx): New function.
9755         (libc_feresetround_noex_ctx): New function.
9757 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9759         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9760         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9761         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9762         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9763         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9764         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9766         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9767         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9768         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9769         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9770         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9771         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9772         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9773         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9774         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9775         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9776         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9777         Moved ...
9778         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9779         ... here.
9780         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9781         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9782         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9783         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9784         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9785         Moved ...
9786         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9787         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9788         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9789         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9790         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9791         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9792         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9793         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9794         Moved ...
9795         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9796         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9797         Moved ...
9798         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9799         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9800         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9801         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9802         Moved ...
9803         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9804         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9805         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9806         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9807         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9808         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9809         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9810         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9813         Moved ...
9814         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9815         ... here.
9816         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9827         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9829         Moved ...
9830         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9831         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9832         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9833         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9834         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9835         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9836         Moved ...
9837         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9838         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9839         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9840         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9841         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9843         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9844         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9845         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9846         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9847         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9848         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9849         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9850         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9852         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9853         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9854         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9855         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9856         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9857         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9858         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9859         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9860         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9861         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9862         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9863         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9864         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9865         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9866         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9867         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9868         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9869         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9870         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9872 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9874         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9875         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9876         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9877         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9878         (IPV6_PMTUDISC_INTERFACE): Likewise.
9879         (IPV6_PMTUDISC_OMIT): Likewise.
9881 2014-06-23  Andreas Schwab  <schwab@suse.de>
9883         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9884         Remove unused errout label.
9886 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9888         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9889         macro: hardware supports Vector Crypto instructions.
9891 2014-06-23  Will Newton  <will.newton@linaro.org>
9893         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9894         rather than __builtin_expect.
9896         * elf/dl-lookup.c (undefined_msg): Remove variable.
9897         (_dl_lookup_symbol_x): Replace undefined_msg with string
9898         literal.
9900         * elf/dl-lookup.c (do_lookup_unique): New function.
9901         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9902         to a separate function.
9904 2014-06-23  Andreas Schwab  <schwab@suse.de>
9906         [BZ #17079]
9907         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9908         before reading the next line.
9910 2014-06-23  Will Newton  <will.newton@linaro.org>
9912         * test-skeleton.c (signal_handler): Use printf and %m
9913         rather than perror.  Use printf rather than fprintf to
9914         stderr.  Use puts rather than fputs to stderr.
9915         (main): Likewise.
9917 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9919         * nscd/nscd.c (thread_info_t): Remove typedef.
9920         (thread_info): Remove variable.
9922 2014-06-21  Allan McRae  <allan@archlinux.org>
9924         * NEWS: Mention CVE-2014-4043.
9926 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9928         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9929         * nptl/smp.h: ... here.
9931         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9933         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9934         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9935         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9936         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9938         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9939         * nptl/stack-aliasing.h: New file.
9940         * sysdeps/i386/i686/stack-aliasing.h: New file.
9941         * sysdeps/i386/i686/nptl/Makefile: File removed.
9942         * sysdeps/x86_64/stack-aliasing.h: New file.
9943         * sysdeps/x86_64/nptl/Makefile
9944         (CFLAGS-pthread_create.c): Variable removed.
9946         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9947         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9948         old file.
9949         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9950         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9951         old file.
9953 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9955         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9956         (__ASSUME_SIGFRAME_V2): Remove macro.
9957         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9958         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9959         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9960         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9961         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9962         Declare as function.  Remove conditional macro definitions.
9963         (__default_rt_sa_restorer): Likewise.
9964         (__default_sa_restorer_v1): Remove declaration.
9965         (__default_sa_restorer_v2): Likewise.
9966         (__default_rt_sa_restorer_v1): Likewise.
9967         (__default_rt_sa_restorer_v2): Likewise.
9968         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9969         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9970         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9972 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9974         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9975         (libpthread-routines): Add sysdep.
9976         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9977         * sysdeps/unix/sysv/linux/sparc/Versions
9978         (libpthread: GLIBC_2.3.3): New version set.
9979         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9980         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9981         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9982         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9983         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9984         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9985         Moved ...
9986         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9987         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9988         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9989         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9990         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9991         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9992         * sysdeps/sparc/nptl/sem_init.c: ... here.
9993         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9994         * sysdeps/sparc/nptl/sem_post.c: ... here.
9995         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9996         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9997         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9998         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9999         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10000         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10001         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10002         (libpthread-routines): Add cpu_relax.
10003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10004         File removed.
10005         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10006         (librt: GLIBC_2.3.3): New version set.
10007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10008         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10009         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10010         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10013         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10014         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10015         Moved ...
10016         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10018         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10020         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10022         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10024         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10026         Moved ...
10027         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10028         Update #include.
10029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10030         Moved ...
10031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10032         Update #include.
10033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10034         Moved ...
10035         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10036         Update #include.
10037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10038         Moved ...
10039         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10040         Update #include.
10041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10042         Moved ...
10043         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10044         Update #include.
10045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10046         Moved ...
10047         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10048         Update #include.
10049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10050         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10052         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10054         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10056         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10058         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10060         Moved ...
10061         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10063         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10065         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10067 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10069         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10070         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10071         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10072         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10073         * nscd/nscd.c: Likewise.
10074         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10075         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10076         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10077         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10079         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10080         <kernel-features.h>.
10081         (init_mq_netlink): Remove conditional have_sock_cloexec
10082         definitions.  Remove code conditional on have_sock_cloexec < 0.
10083         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10084         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10085         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10086         <kernel-features.h>.
10087         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10088         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10090 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10092         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10093         Add tests for memset_chk and memset.
10095         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10096         with AVX2_Usable.
10098 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10100         [BZ #16046]
10101         * elf/tst-dl-iter-static.c: New file.
10102         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10104         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10105         error.
10107 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10109         * sysdeps/unix/sysv/linux/kernel-features.h
10110         (__ASSUME_F_GETOWN_EX): Remove macro.
10111         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10112         <kernel-features.h>.
10113         (miss_F_GETOWN_EX): Remove variable or macro.
10114         (do_fcntl): Do not check miss_F_GETOWN_EX.
10115         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10117         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10118         Remove macro.
10119         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10120         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10121         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10123         * sysdeps/unix/sysv/linux/kernel-features.h
10124         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10125         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10126         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10127         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10129 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10131         [BZ #17075]
10132         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10133         Fix calculation of the symbol's value.
10134         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10135         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10136         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10137         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10138         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10139         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10140         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10141         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10142         (modules-names): Add `tst-armtlsdescmod',
10143         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10144         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10145         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10146         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10147         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10148         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10149         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10150         ($(objpfx)tst-armtlsdescloc): New dependency.
10151         ($(objpfx)tst-armtlsdescextnow): Likewise.
10152         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10153         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10154         TLS scheme support.
10155         * sysdeps/arm/configure: Regenerate.
10157 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10159         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10160         (__atfct_seterrno_2): Likewise.
10161         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10162         <kernel-features.h>.
10163         (__ASSUME_ATFCTS): Do not undefine and redefine.
10164         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10165         (__have_atfcts): Remove conditional definition.
10166         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10167         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10168         unreachable if [__ASSUME_ATFCTS].
10169         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10170         not undefine and redefine.
10171         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10172         <kernel-features.h>.
10173         (faccessat) [__NR_faccessat]: Make code unconditional.
10174         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10175         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10176         <kernel-features.h>.
10177         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10178         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10179         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10180         <kernel-features.h>.
10181         (fchownat) [__NR_fchownat]: Make code unconditional.
10182         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10183         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10184         <kernel-features.h>.
10185         (futimesat) [__NR_futimesat]: Make code unconditional.
10186         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10187         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10188         <kernel-features.h>.
10189         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10190         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10191         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10192         <kernel-features.h>.
10193         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10194         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10195         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10196         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10197         <kernel-features.h>.
10198         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10199         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10200         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10201         <kernel-features.h>.
10202         (linkat) [__NR_linkat]: Make code unconditional.
10203         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10204         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10205         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10206         <kernel-features.h>.
10207         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10208         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10209         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10210         <kernel-features.h>.
10211         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10212         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10213         * sysdeps/unix/sysv/linux/openat.c: Do not include
10214         <kernel-features.h>.
10215         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10216         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10217         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10218         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10219         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10220         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10221         <kernel-features.h>.
10222         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10223         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10224         result of INLINE_SYSCALL directly, not via int variable.
10225         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10226         <kernel-features.h>.
10227         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10228         (renameat) [__NR_renameat]: Make code unconditional.
10229         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10230         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10231         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10232         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10233         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10234         (__ASSUME_ATFCTS): Do not undefine and redefine.
10235         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10236         <kernel-features.h>.
10237         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10238         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10239         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10240         <kernel-features.h>.
10241         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10242         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10243         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10244         (__ASSUME_ATFCTS): Do not undefine and redefine.
10245         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10246         <kernel-features.h>.
10247         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10248         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10249         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10250         <kernel-features.h>.
10251         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10252         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10254 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10256         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10258 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10260         [BZ #17069]
10261         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10262         constructed tree before returning error.
10263         * posix/bug-regexp36.c: Expand test case.
10265 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10267         [BZ #6803]
10268         * math/libm-test.inc (scalbln_test_date):
10269         Add errno expectations.
10270         * math/w_scalblnf.c: New File.
10271         Add wrapper which checks for setting errno to ERANGE.
10272         Add weak_alias for corresponding scalbln function.
10273         * math/w_scalbln.c: Likewise.
10274         * math/w_scalblnl.c: Likewise.
10275         * math/Makefile (libm-calls): Add w_scalbln.
10276         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10277         Remove weak_alias for corresponding scalbln function.
10278         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10279         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10280         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10281         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10282         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10283         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10284         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10285         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10286         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10287         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10288         Remove long_double_symbol for scalblnl function in libm, libc.
10289         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10290         Add wrapper which checks for setting errno to ERANGE.
10291         Add long_double_symbol for scalblnl function in libm, libc.
10292         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10293         Remove long_double_symbol for scalblnl in libm.
10294         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10295         Add wrapper which checks for setting errno to ERANGE.
10296         Add long_double_symbol for scalblnl function in libm.
10297         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10298         Do not use wrapper because of own implementation.
10300 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10302         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10303         3 bytes for __pad1 for x32.
10304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10306 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10307             H.J. Lu  <hongjiu.lu@intel.com>
10309         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10310         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10311         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10312         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10313         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10315 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10317         [BZ #17069]
10318         * posix/regcomp.c (parse_expression): Deallocate partially
10319         constructed tree before returning error.
10320         * posix/Makefile.c (tests): Add bug-regex36.
10321         (generated): Add bug-regex36.mtrace.
10322         (tests-special): Add $(objpfx)bug-regex36-mem.out
10323         (bug-regex36-ENV): New variable.
10324         ($(objpfx)bug-regex36-mem.out): New rule.
10325         * posix/bug-regex36.c: New file.
10327 2014-06-19  Will Newton  <will.newton@linaro.org>
10329         * malloc/malloc.c (systrim): If extra is zero then return
10330         early.
10332 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10334         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10336 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10338         * sysdeps/aarch64/strchr.S: New file.
10340 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10342         [BZ #17022]
10343         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10344         from arguments -2 or below.
10345         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10346         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10348 2014-06-18  Andreas Schwab  <schwab@suse.de>
10350         [BZ #17062]
10351         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10352         of a bracket expr not to run off the end of the string.
10353         * posix/Makefile (tests): Add tst-fnmatch3.
10354         * posix/tst-fnmatch3.c: New file.
10356 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10358         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10359         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10360         [$(cross-compiling) = no]: Likewise.
10361         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10362         [$(cross-compiling) = no]: Likewise.
10364 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10366         [BZ #17031]
10367         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10368         double, adjusted for any remainder from the high double.
10369         * math/libm-test.inc (nearbyint): Add tests.
10370         (rint): Likewise.
10372 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10374         * nptl/sysdeps/powerpc/Makefile: Moved ...
10375         * sysdeps/powerpc/nptl/Makefile: ... here.
10376         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10377         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10378         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10379         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10380         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10381         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10382         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10383         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10384         * nptl/sysdeps/powerpc/tls.h: Moved ...
10385         * sysdeps/powerpc/nptl/tls.h: ... here.
10387 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10389         [BZ #16681]
10390         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10391         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10392         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10393         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10394         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10395         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10396         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10397         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10398         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10400 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10402         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10404 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10406         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10407         defined operator.
10409         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10410         $TIMEOUTFACTOR.
10412 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10414         [BZ #17058]
10415         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10416         non-executed part of the test.
10418 2014-06-16  Andreas Schwab  <schwab@suse.de>
10420         * string/bits/string2.h (strdup, strndup): Update feature guard.
10422 2014-06-14  David S. Miller  <davem@davemloft.net>
10424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10426 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10428         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10429         that was previously under [RESET_PID].
10430         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10432         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10433         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10434         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10435         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10436         (__libc_vfork): New strong alias.
10437         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10439 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10441         * sysdeps/generic/elide.h: New file.
10443 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10445         * Makefile (installed-headers): Adjust path of pthread.h header.
10447 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10449         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10450         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10451         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10452         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10454         * nptl/sysdeps/s390/Makefile: Moved ...
10455         * sysdeps/s390/nptl/Makefile: ... here.
10456         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10457         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10458         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10459         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10460         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10461         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10462         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10463         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10464         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10465         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10466         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10467         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10468         * nptl/sysdeps/s390/tls.h: Moved ...
10469         * sysdeps/s390/nptl/tls.h: ... here.
10471         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10472         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10474 2014-06-13  David S. Miller  <davem@davemloft.net>
10476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10479         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10483         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10484         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10485         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10486         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10487         Remove RESET_PID cpp guards.
10488         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10489         Remove RESET_PID cpp guards.
10490         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10492 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10494         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10495         __sp to uintptr_t.
10497 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10499         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10500         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10503         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10504         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10506         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10508         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10509         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10511         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10514         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10515         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10516         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10518         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10520         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10521         (pthread_rwlock_rdlock): Add elision.
10522         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10523         (pthread_rwlock_wrlock): Add elision.
10524         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10525         (pthread_rwlock_trywrlock): Add elision.
10526         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10527         (pthread_rwlock_tryrdlock): Add elision.
10528         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10529         (pthread_rwlock_tryrdlock): Add elision unlock.
10530         * nptl/sysdeps/pthread/pthread.h:
10531         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10532         (PTHREAD_RWLOCK_INITIALIZER,
10533         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10534         Handle new elision field.
10535         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10536         * sysdeps/arm/nptl/bits/pthreadtypes.h
10537         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10538         * sysdeps/sh/nptl/bits/pthreadtypes.h
10539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10540         * sysdeps/tile/nptl/bits/pthreadtypes.h
10541         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10542         * sysdeps/a/nptl/bits/pthreadtypes.h
10543         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10544         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10546         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10548         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10550         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10552         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10554         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10555         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10556         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10558         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10560         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10561         (elision_init): Set try_xbegin to zero when no RTM.
10562         * sysdeps/x86/nptl/bits/pthreadtypes.h
10563         (pthread_rwlock_t): Change __pad1 to __rwelision.
10564         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10566 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10568         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10569         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10570         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10571         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10573 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10575         [BZ #16996]
10576         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10577         that the cached result has been set before returning it.
10579 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10581         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10582         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10583         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10584         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10585         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10586         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10588         * nptl/sysdeps/sparc/Makefile: Moved ...
10589         * sysdeps/sparc/nptl/Makefile: ... here.
10590         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10591         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10592         * nptl/sysdeps/sparc/tls.h: Moved ...
10593         * sysdeps/sparc/nptl/tls.h: ... here.
10594         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10595         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10596         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10597         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10598         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10599         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10600         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10601         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10602         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10603         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10604         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10605         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10606         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10607         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10608         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10609         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10610         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10612         Update #include.
10613         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10614         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10615         Update #include.
10616         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10617         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10618         Update #include.
10619         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10620         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10621         Update #include.
10623         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10625         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10626         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10628         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10629         (struct list_links): Type removed.
10630         (struct thread_node, struct timer_node): Replace struct list_links
10631         with struct list_head.
10632         (list_unlink_ip): Likewise.
10633         * sysdeps/pthread/timer_routines.c
10634         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10635         (list_append, list_insbefore): Likewise.
10636         (list_init): Function removed.
10637         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10638         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10639         * sysdeps/pthread/Makefile: ... here, new file.
10641         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10642         * sysdeps/nptl/Implies: ... here.
10643         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10644         * nptl/sysdeps/pthread/list.h: Moved ...
10645         * include/list.h: ... here.
10646         * nptl/sysdeps/pthread/createthread.c: Moved ...
10647         * nptl/createthread.c: ... here.
10648         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10649         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10650         * nptl/pt-longjmp.c: ... here.
10651         * nptl/sysdeps/pthread/Makefile: Moved ...
10652         * sysdeps/nptl/Makefile: ... here.
10653         * nptl/sysdeps/pthread/Subdirs: Moved ...
10654         * sysdeps/nptl/Subdirs: ... here.
10655         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10656         * sysdeps/nptl/aio_misc.h: ... here.
10657         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10658         * sysdeps/nptl/bits/libc-lock.h: ... here.
10659         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10660         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10661         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10662         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10663         * nptl/sysdeps/pthread/configure: Moved ...
10664         * sysdeps/nptl/configure: ... here.
10665         * nptl/sysdeps/pthread/configure.ac: Moved ...
10666         * sysdeps/nptl/configure.ac: ... here.
10667         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10668         * sysdeps/nptl/gai_misc.h: ... here.
10669         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10670         * sysdeps/nptl/librt-cancellation.c: ... here.
10671         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10672         * sysdeps/nptl/malloc-machine.h: ... here.
10673         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10674         * sysdeps/nptl/pthread-functions.h: ... here.
10675         * nptl/sysdeps/pthread/pthread.h: Moved ...
10676         * sysdeps/nptl/pthread.h: ... here.
10677         * nptl/sysdeps/pthread/setxid.h: Moved ...
10678         * sysdeps/nptl/setxid.h: ... here.
10679         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10680         * sysdeps/nptl/sigfillset.c: ... here.
10681         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10682         * sysdeps/nptl/tcb-offsets.h: ... here.
10683         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10684         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10685         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10686         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10687         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10688         * sysdeps/pthread/allocalim.h: ... here.
10689         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10690         * sysdeps/pthread/bits/sigthread.h: ... here.
10691         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10692         * sysdeps/pthread/flockfile.c: ... here.
10693         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10694         * sysdeps/pthread/ftrylockfile.c: ... here.
10695         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10696         * sysdeps/pthread/funlockfile.c: ... here.
10697         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10698         * sysdeps/pthread/posix-timer.h: ... here.
10699         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10700         * sysdeps/pthread/timer_create.c: ... here.
10701         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10702         * sysdeps/pthread/timer_delete.c: ... here.
10703         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10704         * sysdeps/pthread/timer_getoverr.c: ... here.
10705         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10706         * sysdeps/pthread/timer_gettime.c: ... here.
10707         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10708         * sysdeps/pthread/timer_routines.c: ... here.
10709         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10710         * sysdeps/pthread/timer_settime.c: ... here.
10711         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10712         * sysdeps/pthread/tst-timer.c: ... here.
10713         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10714         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10716         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10717         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10719         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10720         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10721         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10722         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10723         Update #include target.
10724         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10725         * sysdeps/i386/i686/nptl/Makefile: ... here.
10726         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10727         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10728         Update #include target.
10729         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10730         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10731         * nptl/sysdeps/i386/Makefile: Moved ...
10732         * sysdeps/i386/nptl/Makefile: ... here.
10733         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10734         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10735         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10736         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10737         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10738         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10739         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10740         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10741         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10742         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10743         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10744         * nptl/sysdeps/i386/tls.h: Moved ...
10745         * sysdeps/i386/nptl/tls.h: ... here.
10747         * sysdeps/sh/Makefile [$(subdir) = csu]
10748         (gen-as-const-headers): Add tcb-offsets.sym.
10749         * nptl/sysdeps/sh/Makefile: File removed.
10750         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10751         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10752         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10753         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10754         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10755         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10756         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10757         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10758         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10759         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10760         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10761         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10762         * nptl/sysdeps/sh/tls.h: Moved ...
10763         * sysdeps/sh/nptl/tls.h: ... here.
10764         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10765         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10766         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10767         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10768         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10769         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10770         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10771         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10772         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10773         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10774         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10775         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10776         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10777         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10778         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10779         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10780         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10781         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10782         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10783         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10784         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10785         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10786         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10787         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10789         Moved ...
10790         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10791         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10792         Moved ...
10793         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10795         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10796         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10797         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10798         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10799         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10800         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10801         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10802         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10803         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10804         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10805         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10806         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10807         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10808         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10809         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10810         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10811         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10813 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10815         * posix/spawn_faction_addopen.c: Include string.h.
10817 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10819         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10820         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10821         * nptl/sysdeps/x86_64/Makefile: Moved ...
10822         * sysdeps/x86_64/nptl/Makefile: ... here.
10823         * nptl/sysdeps/x86_64/configure: Moved ...
10824         * sysdeps/x86_64/nptl/configure: ... here.
10825         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10826         * sysdeps/x86_64/nptl/configure.ac: ... here.
10827         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10828         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10829         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10830         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10831         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10832         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10833         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10834         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10835         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10836         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10837         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10838         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10839         * nptl/sysdeps/x86_64/tls.h: Moved ...
10840         * sysdeps/x86_64/nptl/tls.h: ... here.
10841         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10842         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10843         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10844         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10846         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10848 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10852 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10854         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10855         type.
10856         [POSIX] (off_t): Likewise.
10857         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10858         [POSIX] (S_ISBLK): Require macro.
10859         [POSIX] (S_ISCHR): Likewise.
10860         [POSIX] (S_ISDIR): Likewise.
10861         [POSIX] (S_ISFIFO): Likewise.
10862         [POSIX] (S_ISREG): Likewise.
10863         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10864         optional-macro.
10865         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10866         type.
10867         [POSIX] (time_t): Likewise.
10868         [POSIX] (timer_t): Likewise.
10870 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10872         [BZ #17048]
10873         * posix/spawn_int.h (struct __spawn_action): Make the path string
10874         non-const to support deallocation.
10875         * posix/spawn_faction_addopen.c
10876         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10877         * posix/spawn_faction_destroy.c
10878         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10879         path in all spawn_do_open actions.
10880         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10881         posix_spawn_file_actions_addopen.
10883 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10885         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10886         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10887         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10888         conditional code always true.
10889         (__libc_vfork): New alias.
10891 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10893         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10894         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10896         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10898         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10899         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10901         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10902         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10904         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10905         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10907 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10909         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10910         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10911         multiarch strcmp for PPC64.
10912         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10913         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10915         multiarch optimizations.
10916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10917         (__libc_ifunc_impl_list): Likewise.
10919 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10921         * benchtests/scripts/validate_benchout.py: New script.
10922         * benchtests/Makefile (bench-func): Call it.
10923         * benchtests/scripts/benchout.schema.json: New file.
10925 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10927         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10928         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10929         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10930         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10931         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10932         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10933         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10934         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10935         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10936         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10937         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10938         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10939         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10940         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10941         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10942         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10943         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10944         Moved ...
10945         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10946         ... here.
10947         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10948         Moved ...
10949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10951         Moved ...
10952         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10953         ... here.
10954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10955         Moved ...
10956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10957         ... here.
10958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10959         Moved ...
10960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10962         Moved ...
10963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10964         ... here.
10965         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10966         Moved ...
10967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10968         ... here.
10969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10970         Moved ...
10971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10973         Moved ...
10974         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10975         ... here.
10976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10977         Moved ...
10978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10979         ... here.
10980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10981         Moved ...
10982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10983         ... here.
10984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10985         Moved ...
10986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10988         Moved ...
10989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10990         ... here.
10991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10992         Moved ...
10993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10994         ... here.
10995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10996         Moved ...
10997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10998         ... here.
10999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11000         Moved ...
11001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11003         Moved ...
11004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11005         ... here.
11006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11007         Moved ...
11008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11009         ... here.
11010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11011         Moved ...
11012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11014         Moved ...
11015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11016         ... here.
11017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11018         Moved ...
11019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11021         Moved ...
11022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11024         Moved ...
11025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11026         ... here.
11027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11028         Moved ...
11029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11030         ... here.
11031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11032         Moved ...
11033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11034         ... here.
11035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11036         Moved ...
11037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11039         Moved ...
11040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11041         ... here.
11042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11043         Moved ...
11044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11045         ... here.
11046         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11047         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11048         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11049         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11050         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11051         Moved ...
11052         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11053         ... here.
11054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11055         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11057         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11058         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11059         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11060         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11061         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11062         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11065         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11067         Moved ...
11068         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11069         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11070         Moved ...
11071         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11073         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11074         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11075         Moved ...
11076         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11077         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11078         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11079         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11080         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11081         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11082         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11084 2014-06-10  Wilco  <wdijkstr@arm.com>
11086         * math/test-fenv-return.c: New file.
11087         * math/Makefile: Add new test test-fenv-return.
11089 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11091         [BZ #17042]
11092         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11093         when x - 1 is zero.
11094         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11095         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11096         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11097         0.0L for an argument of 1.0L.
11098         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11099         Likewise.
11100         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11101         value when x - 1 is zero.
11102         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11103         * sysdeps/i386/fpu/libm-test-ulps: Update.
11104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11106 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11108         [BZ #15119]
11109         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11111 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11113         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11114         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11116 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11118         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11119         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11121         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11122         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11124         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11125         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11127         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11128         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11130         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11131         if not already defined.
11132         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11133         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11134         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11135         (TLS_INIT_TP): Use it.
11136         (TLS_DEFINE_INIT_TP): New macro.
11137         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11139 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11141         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11142         constant.
11143         [POSIX] (IXANY): Likewise.
11144         [POSIX] (OLCUC): Likewise.
11145         [POSIX || POSIX2008] (CBAUD): Do not allow.
11146         [POSIX || POSIX2008] (DEFECHO): Likewise.
11147         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11148         [POSIX || POSIX2008] (ECHOKE): Likewise.
11149         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11150         [POSIX || POSIX2008] (EXTA): Likewise.
11151         [POSIX || POSIX2008] (EXTB): Likewise.
11152         [POSIX || POSIX2008] (FLUSHO): Likewise.
11153         [POSIX || POSIX2008] (LOBLK): Likewise.
11154         [POSIX || POSIX2008] (PENDIN): Likewise.
11155         [POSIX || POSIX2008] (SWTCH): Likewise.
11156         [POSIX || POSIX2008] (VDISCARD): Likewise.
11157         [POSIX || POSIX2008] (VDSUSP): Likewise.
11158         [POSIX || POSIX2008] (VLNEXT): Likewise.
11159         [POSIX || POSIX2008] (VREPRINT): Likewise.
11160         [POSIX || POSIX2008] (VSTATUS): Likewise.
11161         [POSIX || POSIX2008] (VWERASE): Likewise.
11162         (B*): Change to B[0123456789]*.
11163         * conform/data/time.h-data [POSIX || UNIX98]
11164         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11165         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11166         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11167         [POSIX] (tm_*): Do not allow.
11169 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11171         * Makefile (install): Don't set LANGUAGE.
11172         * Makefile.in (install): Likewise.
11173         * assert/Makefile (test-assert-ENV): Remove variable.
11174         (test-assert-perr-ENV): Likewise.
11175         * elf/Makefile (neededtest4-ENV): Likewise.
11176         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11177         [$(cross-compiling) = no]: Don't set LANGUAGE.
11178         * io/ftwtest-sh (LANG): Remove variable.
11179         * libio/Makefile (tst-widetext-ENV): Likewise.
11180         * manual/install.texi (Running make install): Don't refer to
11181         environment settings for make install.
11182         * INSTALL: Regenerated.
11183         * nptl/tst-tls6.sh: Don't set LANG.
11184         * posix/globtest.sh (LANG): Remove variable.
11185         * string/Makefile (tester-ENV): Likewise.
11186         (inl-tester-ENV): Likewise.
11187         (noinl-tester-ENV): Likewise.
11188         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11189         [$(cross-compiling) = no]: Don't set LANGUAGE.
11190         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11191         without explicit environment settings.
11193 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11195         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11196         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11197         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11198         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11200 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11202         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11203         other files in the crypt directory.
11204         * crypt/crypt.c: Remove duplicate includes.
11205         * crypt/crypt-entry.c: Likewise.
11206         * crypt/crypt_util.c: Likewise.
11208 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11210         * Makeconfig (run-program-env): New variable.
11211         (run-program-prefix-before-env): Likewise.
11212         (run-program-prefix-after-env): Likewise.
11213         (run-program-prefix): Define in terms of new variables.
11214         (built-program-cmd-before-env): New variable.
11215         (built-program-cmd-after-env): Likewise.
11216         (built-program-cmd): Define in terms of new variables.
11217         (test-program-prefix-before-env): New variable.
11218         (test-program-prefix-after-env): Likewise.
11219         (test-program-prefix): Define in terms of new variables.
11220         (test-program-cmd-before-env): New variable.
11221         (test-program-cmd-after-env): Likewise.
11222         (test-program-cmd): Define in terms of new variables.
11223         * Rules (make-test-out): Use $(run-program-env).
11224         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11225         (help): Do not mention environment variables.  Mention
11226         --timeoutfactor option.
11227         (timeoutfactor): New variable.
11228         (blacklist_exports): Remove function.
11229         (exports): Remove variable.
11230         (command): Do not include ${exports}.
11231         * manual/install.texi (Configuring and compiling): Do not mention
11232         test wrappers preserving environment variables.  Mention that last
11233         assignment to a variable must take precedence.
11234         * INSTALL: Regenerated.
11235         * benchtests/Makefile (run-bench): Use $(run-program-env).
11236         * catgets/Makefile ($(objpfx)test1.cat): Use
11237         $(built-program-cmd-before-env), $(run-program-env) and
11238         $(built-program-cmd-after-env).
11239         ($(objpfx)test2.cat): Do not specify environment variables
11240         explicitly.
11241         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11242         $(run-program-env) and $(built-program-cmd-after-env).
11243         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11244         $(run-program-env) and $(test-program-cmd-after-env).
11245         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11246         explicitly.
11247         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11248         run_program_env and test_program_cmd_after_env arguments.
11249         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11250         * elf/tst-pathopt.sh: Use run_program_env argument.
11251         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11252         $(test-wrapper-env) and $(run-program-env).
11253         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11254         run_program_env arguments.
11255         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11256         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11257         $(test-program-prefix-before-env), $(run-program-env) and
11258         $(test-program-prefix-after-env).
11259         ($(objpfx)tst-gettext2.out): Likewise.
11260         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11261         run_program_env and test_program_prefix_after_env arguments.
11262         * intl/tst-gettext2.sh: Likewise.
11263         * intl/tst-gettext4.sh: Do not set environment variables
11264         explicitly.
11265         * intl/tst-gettext6.sh: Likewise.
11266         * intl/tst-translit.sh: Likewise.
11267         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11268         $(test-program-prefix-before-env), $(run-program-env) and
11269         $(test-program-prefix-after-env).
11270         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11271         run_program_env and test_program_prefix_after_env arguments.
11272         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11273         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11274         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11275         explicitly with each use of ${test_wrapper_env}.
11276         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11277         $(test-program-prefix-before-env), $(run-program-env) and
11278         $(test-program-prefix-after-env).
11279         * posix/tst-getconf.sh: Do not set environment variables
11280         explicitly.
11281         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11282         run_program_env and test_program_prefix_after_env arguments.
11283         * stdio-common/tst-printf.sh: Do not set environment variables
11284         explicitly.
11285         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11286         $(test-program-prefix-before-env), $(run-program-env) and
11287         $(test-program-prefix-after-env).
11288         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11289         run_program_env and test_program_prefix_after_env arguments.
11290         Split $test calls into $test_pre and $test.
11291         * timezone/Makefile (build-testdata): Use
11292         $(built-program-cmd-before-env), $(run-program-env) and
11293         $(built-program-cmd-after-env).
11295 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11297         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11298         strlen for non SHARED builds.
11300 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11302         * nptl/allocatestack.c (check_list): Inlined function...
11303         (__reclaim_stacks): ... here.
11305 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11307         [BZ #15698]
11308         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11309         memory overrun.
11311 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11313         * Rules (make-test-out): Include
11314         LOCPATH=$(common-objpfx)localedata in default environment.
11315         * debug/Makefile (tst-chk1-ENV): Remove variable.
11316         (tst-chk2-ENV): Likewise.
11317         (tst-chk3-ENV): Likewise.
11318         (tst-chk4-ENV): Likewise.
11319         (tst-chk5-ENV): Likewise.
11320         (tst-chk6-ENV): Likewise.
11321         (tst-lfschk1-ENV): Likewise.
11322         (tst-lfschk2-ENV): Likewise.
11323         (tst-lfschk3-ENV): Likewise.
11324         (tst-lfschk4-ENV): Likewise.
11325         (tst-lfschk5-ENV): Likewise.
11326         (tst-lfschk6-ENV): Likewise.
11327         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11328         (tst-iconv7-ENV): Likewise.
11329         * intl/Makefile (LOCPATH-ENV): Likewise.
11330         (tst-codeset-ENV): Likewise.
11331         (tst-gettext3-ENV): Likewise.
11332         (tst-gettext5-ENV): Likewise.
11333         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11334         (tst-fopenloc-ENV): Likewise.
11335         (tst-fgetws-ENV): Remove variable.
11336         (tst-ungetwc1-ENV): Likewise.
11337         (tst-ungetwc2-ENV): Likewise.
11338         (bug-ungetwc2-ENV): Likewise.
11339         (tst-swscanf-ENV): Likewise.
11340         (bug-ftell-ENV): Likewise.
11341         (tst-fgetwc-ENV): Likewise.
11342         (tst-fseek-ENV): Likewise.
11343         (tst-ftell-partial-wide-ENV): Likewise.
11344         (tst-ftell-active-handler-ENV): Likewise.
11345         (tst-ftell-append-ENV): Likewise.
11346         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11347         (tst-regexloc-ENV): Likewise.
11348         (bug-regex1-ENV): Likewise.
11349         (tst-regex-ENV): Likewise.
11350         (tst-regex2-ENV): Likewise.
11351         (bug-regex5-ENV): Likewise.
11352         (bug-regex6-ENV): Likewise.
11353         (bug-regex17-ENV): Likewise.
11354         (bug-regex18-ENV): Likewise.
11355         (bug-regex19-ENV): Likewise.
11356         (bug-regex20-ENV): Likewise.
11357         (bug-regex22-ENV): Likewise.
11358         (bug-regex23-ENV): Likewise.
11359         (bug-regex25-ENV): Likewise.
11360         (bug-regex26-ENV): Likewise.
11361         (bug-regex30-ENV): Likewise.
11362         (bug-regex32-ENV): Likewise.
11363         (bug-regex33-ENV): Likewise.
11364         (bug-regex34-ENV): Likewise.
11365         (bug-regex35-ENV): Likewise.
11366         (tst-rxspencer-ENV): Likewise.
11367         (tst-rxspencer-no-utf8-ENV): Likewise.
11368         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11369         (tst-sscanf-ENV): Likewise.
11370         (tst-swprintf-ENV): Likewise.
11371         (tst-swscanf-ENV): Likewise.
11372         (test-vfprintf-ENV): Likewise.
11373         (scanf13-ENV): Likewise.
11374         (bug14-ENV): Likewise.
11375         (tst-grouping-ENV): Likewise.
11376         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11377         (tst-strtod3-ENV): Likewise.
11378         (tst-strtod4-ENV): Likewise.
11379         (tst-strtod5-ENV): Likewise.
11380         (testmb2-ENV): Likewise./
11381         * string/Makefile (tst-strxfrm-ENV): Likewise.
11382         (tst-strxfrm2-ENV): Likewise.
11383         (bug-strcoll1-ENV): Likewise.
11384         (test-strcasecmp-ENV): Likewise.
11385         (test-strncasecmp-ENV): Likewise.
11386         * time/Makefile (tst-strptime-ENV): Likewise.
11387         (tst-ftime_l-ENV): Likewise.
11388         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11389         (tst-mbrtowc-ENV): Likewise.
11390         (tst-wcrtomb-ENV): Likewise.
11391         (tst-mbrtowc2-ENV): Likewise.
11392         (tst-c16c32-1-ENV): Likewise.
11393         (tst-mbsnrtowcs-ENV): Likewise.
11395 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11397         * manual/resource.texi (How to get information about the memory
11398         subsystem?): Fix typo.
11399         Reported by Peon de la Parra Ivan <peon@keba.com>
11401 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11403         [BZ #16882]
11404         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11405         (pthread_spin_lock): Branch out of spin loop to proper location.
11406         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11407         (pthread_spin_lock): Likewise.
11409         * nptl/tst-spin4.c: New test.
11410         * nptl/Makefile (tests): Add tst-spin4.
11412 2014-06-03  Andreas Schwab  <schwab@suse.de>
11414         [BZ #15946]
11415         * resolv/res_send.c (send_dg): Reload file descriptor after
11416         calling reopen.
11418 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11420         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11422 2014-06-03  Richard Henderson  <rth@redhat.com>
11424         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11425         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11426         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11427         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11428         in the SAVE_PID block.
11429         (__libc_vfork): New alias.
11430         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11432         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11433         child in registers, not on the stack.  Remove RESET_PID conditionals.
11434         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11436 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11438         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11440 2014-06-03  Wilco  <wdijkstr@arm.com>
11442         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11443         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11444         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11445         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11446         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11447         Likewise.
11449 2014-06-03  Wilco  <wdijkstr@arm.com>
11451         * sysdeps/aarch64/fpu/math_private.h
11452         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11453         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11454         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11455         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11456         Fix declarations.
11458 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11460         * crypt/crypt-private.h: Include ufc-crypt.h.
11461         (__b64_from_24bit): Declare extern.
11462         * crypt/crypt_util.c(__b64_from_24bit): New function.
11463         (b64t): New static const variable.
11464         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11465         (b64t): Remove variable.
11466         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11467         * crypt/sha256-crypt.c: Include crypt-private.h.
11468         (b64t): Remove variable.
11469         (__sha256_crypt_r): Remove b64_from_24bit and replace
11470         with __b64_from_24bit.
11471         * crypt/sha512-crypt.c: Likewise.
11473 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11475         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11476         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11477         Label the code __libc_vfork rather than __vfork.
11478         [!NOT_IN_libc] (vfork): Define as weak alias.
11479         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11480         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11481         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11483 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11485         * malloc/malloc.c (malloc_info): Fix format specifier for
11486         n_mmaps.
11488 2014-06-02  Wilco  <wdijkstr@arm.com>
11490         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11491         FPCR write.
11493 2014-06-02  Wilco  <wdijkstr@arm.com>
11495         [BZ #17009]
11496         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11497         Rewrite to reduce FPCR/FPSR accesses.
11499 2014-06-01  David S. Miller  <davem@davemloft.net>
11501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11503 2014-05-31  David S. Miller  <davem@davemloft.net>
11505         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11506         to occur in round to nearest mode when |x| >= 2.0
11508 2014-05-30  Richard Henderson  <rth@twiddle.net>
11510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11511         (PSEUDO_RET_NOERRNO): Remove.
11512         (ret): Don't redefine.
11513         (ret_NOERRNO): Define in terms of ret.
11514         (ret_ERRVAL): Likewise.
11516         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11517         use of PSEUDO_RET; perform the error check directly.
11519 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11521         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11522         with __int128_t.
11524 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11526         * malloc/malloc (malloc_info): Fix formatting.
11528 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11529             Roland McGrath  <roland@hack.frob.com>
11531         * malloc/malloc (malloc_info): Also print mmapped statistics.
11533 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11535         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11536         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11538 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11540         * malloc/malloc.c (malloc_info): Inline mi_arena.
11542 2014-05-29  Richard Henderson  <rth@twiddle.net>
11544         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11545         Remove comma before expanding ASM_ARGS_##nr.
11546         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11547         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11548         of ASM_ARGS_##nr.
11549         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11550         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11551         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11552         (ASM_ARGS_1): Add leading comma.
11554         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11555         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11556         to __errno_location.
11557         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11558         Remove the expected plt for __errno_location.
11560         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11561         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11562         call to __read_tp.
11564         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11565         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11566         it and break it down.
11567         (DOCARGS_0, DOCARGS_1): Do nothing.
11568         (DOCARGS_2): Update to store into the new stack frame.
11569         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11570         (UNDOCARGS_1): Update to restore from the new stack frame.
11571         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11572         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11574         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11575         (SINGLE_THREAD_P): New parameter for result regno.
11576         (PSEUDO): Update to match; use cbz instead of beq.
11578         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11579         Use ENTRY to define the _nocancel entry point.  Share the syscall
11580         and syscall error check paths with the cancel path.
11581         (PSEUDO_END): New.
11583         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11584         whitespace; tabs before and after asm mnemonics.
11586 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11588         [BZ #15132]
11589         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11590         Call fstat64 or stat64 internally, depending on arguments passed.
11591         Replace stat buffer argument with file descriptor argument.
11592         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11593         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11594         Pass fd to __internal_statvfs instead of calling fstat64.
11595         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11596         Pass fd to __internal_statvfs64 instead of calling fstat64.
11597         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11598         Pass -1 to __internal_statvfs instead of calling stat64.
11599         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11600         Pass -1 to __internal_statvfs64 instead of calling stat64.
11602 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11604         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11605         that was previously under [RESET_PID].
11606         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11608         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11609         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11611 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11613         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11615         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11616         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11618 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11620         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11622 2014-05-27  Andreas Schwab  <schwab@suse.de>
11624         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11625         TLS_INIT_TP macro.
11626         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11627         * elf/rtld.c (init_tls, dl_main): Likewise.
11628         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11629         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11630         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11631         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11632         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11633         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11634         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11635         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11636         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11637         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11638         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11639         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11640         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11641         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11642         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11643         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11644         * sysdeps/generic/tls.h: Update description.
11646 2014-05-27  Will Newton  <will.newton@linaro.org>
11648         [BZ #16990]
11649         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11650         and restore r2 rather than just restoring.
11652 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11654         [BZ #16724]
11655         * libio/tst-ftell-append.c: New test case.
11656         * libio/Makefile (tests): Add test case.
11657         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11658         append mode.
11659         * libio/wfileops.c (do_ftell_wide): Likewise.
11661 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11665         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11666         ...
11667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11669         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11670         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11671         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11672         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11673         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11674         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11676         Moved ...
11677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11679         Moved ...
11680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11681         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11682         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11683         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11684         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11685         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11686         ...
11687         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11688         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11689         Moved ...
11690         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11691         here.
11692         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11693         ...
11694         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11695         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11696         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11698         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11699         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11700         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11701         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11703         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11704         merge into ...
11705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11706         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11707         ...
11708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11710         ...
11711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11712         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11713         Moved ...
11714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11715         here.
11716         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11717         Moved ...
11718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11720         Moved ...
11721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11724         conditional [RESET_PID].
11725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11726         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11727         removed.
11728         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11729         removed.
11731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11732         <tcb-offsets.h>.
11733         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11734         (__libc_vfork): New strong alias.
11735         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11736         removed.
11737         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11738         Removed.
11740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11741         <tcb-offsets.h>.
11742         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11743         (__libc_vfork): New strong alias.
11744         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11745         removed.
11746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11747         removed.
11749 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11751         * malloc/malloc.c (mi_arena): New function.
11752         (malloc_info): Remove nested function mi_arena. Call non-nosted
11753         function mi_arena.
11755 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11757         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11758         by insrwi.
11759         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11760         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11761         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11762         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11763         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11764         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11765         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11767 2014-05-26  Andreas Schwab  <schwab@suse.de>
11769         [BZ #16984]
11770         * locale/programs/repertoire.c (repertoire_read): Add slash
11771         between I18NPATH element and file name.
11772         * locale/programs/locfile.c (locfile_read): Likewise.
11774 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11776         * nptl/pthread_mutexattr_settype.c
11777         (__pthread_mutexattr_settype):
11778         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11780 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11782         * nptl/tst-mutex5 (do_test):
11783         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11785 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11787         * benchtests/README: Document 'init' directive.
11788         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11789         BENCH_INIT.
11790         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11791         (parse_file): Recognize 'init' directive.
11793 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11795         [BZ #16796]
11796         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11797         alignment of struct pthread.
11799 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11801         [BZ #16878]
11802         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11803         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11804         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11805         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11807 2014-05-25  Richard Henderson  <rth@twiddle.net>
11809         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11810         (SINGLE_THREAD_P_PIC): Remove.
11811         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11812         (SINGLE_THREAD_P_PIC): Remove.
11814         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11815         branch to syscall error ...
11816         (PSEUDO): ... here.
11817         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11818         from __local_syscall_error to .Lsyscall_error.
11819         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11820         (SYSCALL_ERROR): Update label name.
11822         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11823         Do not use DOARGS/UNDOARGS.
11824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11825         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11826         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11827         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11828         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11830         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11831         block comment.
11833         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11834         define if !NOT_IN_libc.
11835         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11836         define with non-default symbol versions.
11838 2014-05-23  Richard Henderson  <rth@twiddle.net>
11840         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11841         (vfork, __vfork): Define via compat_symbol.
11843         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11844         [!HAVE_IFUNC] (vfork_compat): Remove.
11845         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11847 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11849         [BZ #16978]
11850         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11851         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11852         variable.
11854 2014-05-23  Richard Henderson  <rth@twiddle.net>
11856         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11857         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11858         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11859         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11861         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11862         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11863         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11864         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11865         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11866         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11867         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11868         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11869         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11870         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11871         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11872         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11873         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11874         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11875         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11876         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11877         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11878         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11879         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11880         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11881         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11882         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11883         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11884         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11885         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11886         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11887         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11888         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11889         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11890         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11891         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11892         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11893         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11894         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11895         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11896         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11897         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11898         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11899         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11900         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11901         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11902         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11903         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11904         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11905         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11906         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11907         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11908         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11909         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11910         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11911         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11912         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11913         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11914         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11915         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11916         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11918         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11919         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11920         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11921         before exiting on error.
11922         (__libc_vfork): New strong alias.
11923         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11924         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11926         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11927         that was previously under [RESET_PID].
11928         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11930         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11932 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11934         [BZ #16977]
11935         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11936         value when x - 1 is zero.
11937         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11938         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11939         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11940         0.0L for an argument of 1.0L.
11941         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11942         Likewise.
11943         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11944         value when x - 1 is zero.
11945         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11946         * sysdeps/i386/fpu/libm-test-ulps: Update.
11947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11949 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11951         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11952         alphasort and versionsort.
11954 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11956         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11957         macro.
11958         [copysignf]: Likewise.
11960 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962         * crypt/md5-crypt.c: Fix formatting.
11964 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11966         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11967         (b64_from_24bit): New function.
11969 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11971         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11972         libc_hidden_builtin_def to ifunc.
11973         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11974         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11976 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11978         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11979         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11981 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11983         * nscd/Depend (linuxthreads): Remove.
11984         (nptl): Add.
11985         * resolv/Depend (linuxthreads): Remove.
11986         * rt/Depend (linuxthreads): Remove.
11988         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11989         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11990         $(common-objpfx)elf/.
11991         (link-libc-before-gnulib): Likewise.
11992         (elfobjdir): Remove variable.
11993         * Makefile (install): Use $(elf-objpfx) instead of
11994         $(common-objpfx)elf/.
11995         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11996         $(elfobjdir)/.
11997         (link-libc-deps): Likewise.
11998         ($(common-objpfx)libc.so): Likewise.
11999         ($(common-objpfx)linkobj/libc.so): Likewise.
12000         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12001         instead of $(common-objpfx)elf/.
12002         (symbolic-link-list): Likewise.
12003         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12004         [$(cross-compiling) = no]: Likewise.
12005         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12006         $(elfobjdir)/.
12007         (static-gnulib-arch): Likewise.
12008         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12009         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12010         $(common-objpfx)elf/.
12012 2014-05-21  Richard Henderson  <rth@redhat.com>
12014         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12015         (SINGLE_THREAD_P): Use the correct width load.  Fold
12016         into the ldr offset.
12018         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12019         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12021 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12023         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12024         (libgcc_s_resume): Use __attribute_used__.
12025         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12026         Likewise.
12028 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12030         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12031         optimization when used with float constants.
12033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12035 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12037         [BZ #16915]
12038         * locale/nl_langinfo_l.c: Make direct reference to every
12039         _nl_current_CATEGORY symbol.
12040         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12041         (tests-static): Add tst-langinfo-static.
12042         (tests-special): Add tst-langinfo-static.out.
12043         ($(objpfx)tst-langinfo.out): Redirect output.
12044         ($(objpfx)tst-langinfo-static.out): New.
12045         * localedata/tst-langinfo.sh: Send output to stdout.
12046         * localedata/tst-langinfo-static.c: New file.
12048         [BZ #16965]
12049         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12050         when the shift amount is modulo the limb size.
12052 2014-05-20  Richard Henderson  <rth@redhat.com>
12054         [BZ #16967]
12055         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12056         Change type of sa_flags from unsigned int to int.
12058         [BZ #16966]
12059         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12061         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12063 2014-05-20  Will Newton  <will.newton@linaro.org>
12065         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12066         Test the return value of the system call in the nocancel case.
12068 2014-05-20  Will Newton  <will.newton@linaro.org>
12069             Yvan Roux  <yvan.roux@linaro.org>
12071         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12072         #include of asm/ptrace.h.
12073         (PTRACE_GET_THREAD_AREA): Remove #undef.
12074         (PTRACE_GETHBPREGS): Likewise.
12075         (PTRACE_SETHBPREGS): Likewise.
12076         (struct user_regs_struct): New structure.
12077         (struct user_fpsimd_struct): New structure.
12078         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12079         #include of asm/ptrace.h and second #include of sys/user.h.
12080         (PTRACE_GET_THREAD_AREA): Remove #undef.
12081         (PTRACE_GETHBPREGS): Likewise.
12082         (PTRACE_SETHBPREGS): Likewise.
12083         (ELF_NGREG): Use new struct user_regs_struct.
12084         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12086 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12088         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12089         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12091 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12093         [BZ #16958]
12094         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12095         membar to avoid block loads/stores to overlap previous stores.
12097 2014-05-17  Richard Henderson  <rth@redhat.com>
12099         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12100         Create the __##syscall_name##_nocancel entry point.
12101         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12102         Remove; let the sysdep-cancel.h code create it.
12104 2014-05-17  David S. Miller  <davem@davemloft.net>
12106         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12107         Protect with __USE_GNU.
12108         (TIOCSET_TEMPT): Likewise.
12109         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12110         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12111         these are already provided in bits/ioctl-types.h
12113 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12115         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12116         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12118         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12119         Use wait4 regardless of [__NR_waitpid].
12121 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12123         PR libgcc/60166
12124         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12125         (_FP_NANSIGN_Q): Set the quiet bit.
12127 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12129         * benchtests/Makefile
12130         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12131         not $(common-objpfx)math/libm.so.
12132         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12133         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12134         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12135         $(common-objpfx)dlfcn/libdl.so.
12136         ($(objpfx)tst-audit8): Depend on $(libm), not
12137         $(common-objpfx)math/libm.so.
12138         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12139         not $(common-objpfx)dlfcn/libdl.so.
12140         * math/Makefile
12141         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12142         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12143         [$(build-shared) = yes].
12144         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12145         $(common-objpfx)nptl/libpthread.so.
12146         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12147         $(common-objpfx)math/libm.so$(libm.so-version) or
12148         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12149         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12150         $(common-objpfx)dlfcn/libdl.so.
12151         * setjmp/Makefile (link-libm): Remove variable.
12152         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12153         * stdio-common/Makefile (link-libm): Remove variable.
12154         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12155         * stdlib/Makefile (link-libm): Remove variable.
12156         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12157         ($(objpfx)tst-strtod-round): Likewise.
12158         ($(objpfx)tst-tininess): Likewise.
12159         ($(objpfx)tst-strtod-underflow): Likewise.
12160         ($(objpfx)tst-strtod6): Likewise.
12161         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12162         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12163         $(common-objpfx)dlfcn/libdl.so.
12165 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12167         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12168         BSD terminal modes definitions.
12170 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12172         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12173         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12175         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12176         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12177         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12178         Don't do #include_next.
12179         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12180         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12181         Don't do #include_next.
12182         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12183         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12184         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12185         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12187 2014-05-16  Allan McRae  <allan@archlinux.org>
12189         * po/sv.po: Update Swedish translation from translation project.
12191         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12192         in sed expression.
12194 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12196         [BZ #16917]
12197         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12198         errno if the TIOCGPTN ioctl fails with an error different than
12199         EINVAL.
12200         * login/tst-ptsname.c: New file.
12201         * login/Makefile (tests): Add tst-ptsname.
12203         [BZ #16943]
12204         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12205         and prlimit64.
12207 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12209         [BZ #16849]
12210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12211         herrno to return EAI_AGAIN.
12213 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12215         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12216         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12217         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12218         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12219         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12220         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12221         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12222         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12223         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12224         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12225         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12226         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12227         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12228         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12229         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12230         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12231         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12232         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12233         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12234         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12235         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12236         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12237         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12238         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12239         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12240         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12241         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12242         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12243         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12244         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12246         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12248         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12250         Moved ...
12251         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12253         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12255         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12257         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12259         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12261         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12263         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12265         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12267         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12269         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12271         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12273         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12274         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12275         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12277         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12279         Moved ...
12280         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12281         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12282         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12283         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12284         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12285         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12286         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12287         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12288         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12290         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12292         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12294         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12296         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12298         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12300         Moved ...
12301         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12303         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12305         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12306         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12307         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12308         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12309         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12310         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12311         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12312         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12313         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12314         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12315         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12316         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12317         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12318         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12319         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12320         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12321         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12322         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12323         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12324         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12325         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12326         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12327         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12328         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12329         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12330         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12331         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12332         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12333         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12334         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12335         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12337         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12338         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12340         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12341         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12342         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12343         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12344         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12345         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12346         Moved ...
12347         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12348         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12349         Moved ...
12350         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12351         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12352         Moved ...
12353         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12354         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12355         Moved ...
12356         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12357         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12358         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12359         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12360         Moved ...
12361         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12362         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12363         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12364         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12365         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12366         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12367         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12368         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12369         Moved ...
12370         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12371         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12372         Moved ...
12373         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12374         ... here.
12375         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12376         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12377         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12378         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12379         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12380         Moved ...
12381         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12382         ... here.
12383         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12384         Moved ...
12385         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12386         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12387         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12388         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12389         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12390         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12391         Moved ...
12392         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12393         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12394         Moved ...
12395         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12396         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12397         Moved ...
12398         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12399         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12400         Moved ...
12401         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12402         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12403         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12404         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12405         Moved ...
12406         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12407         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12408         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12409         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12410         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12411         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12412         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12413         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12414         Moved ...
12415         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12416         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12417         Moved ...
12418         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12419         ... here.
12420         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12421         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12422         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12423         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12424         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12425         Moved ...
12426         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12427         ... here.
12428         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12429         Moved ...
12430         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12431         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12432         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12433         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12434         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12435         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12436         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12437         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12438         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12439         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12440         Moved ...
12441         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12442         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12443         Moved ...
12444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12445         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12446         Moved ...
12447         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12448         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12449         Moved ...
12450         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12451         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12452         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12453         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12454         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12455         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12456         Moved ...
12457         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12458         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12459         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12460         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12461         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12462         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12463         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12464         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12465         Moved ...
12466         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12467         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12468         Moved ...
12469         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12470         ... here.
12471         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12472         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12473         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12474         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12475         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12476         Moved ...
12477         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12478         ... here.
12479         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12480         Moved ...
12481         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12482         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12483         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12484         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12485         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12486         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12487         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12488         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12489         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12490         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12491         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12493         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12494         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12496         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12497         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12499         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12500         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12501         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12502         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12503         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12504         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12505         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12506         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12507         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12508         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12509         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12510         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12511         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12512         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12513         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12514         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12515         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12517         Moved ...
12518         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12519         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12520         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12521         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12522         Moved ...
12523         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12525         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12526         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12527         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12528         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12529         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12530         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12531         Moved ...
12532         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12533         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12534         Moved ...
12535         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12536         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12537         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12538         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12539         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12540         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12541         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12542         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12543         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12544         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12545         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12546         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12547         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12548         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12549         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12550         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12551         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12553         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12554         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12555         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12556         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12557         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12559         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12560         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12561         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12562         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12563         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12564         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12565         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12566         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12567         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12568         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12573         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12574         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12575         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12576         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12577         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12578         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12579         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12580         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12581         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12582         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12583         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12584         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12585         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12586         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12588         Update #include.
12589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12590         Likewise.
12591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12592         Likewise.
12593         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12594         Likewise.
12595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12596         Likewise.
12597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12598         Likewise.
12599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12600         Likewise.
12601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12602         Likewise.
12603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12604         Likewise.
12605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12606         Likewise.
12607         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12612         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12613         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12614         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12615         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12618         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12620         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12623         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12624         that was previously under [RESET_PID].
12625         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12626         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12627         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12629         * sysdeps/i386/nptl/Implies: New file.
12630         * sysdeps/x86_64/nptl/Implies: New file.
12631         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12632         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12633         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12634         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12636         * sysdeps/unix/sysv/linux/i386/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/i386/vfork.S: File removed.
12640         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12642         * sysdeps/unix/sysv/linux/x86_64/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         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12646         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12648         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12649         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12650         (__libc_vfork): New strong alias.
12651         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12652         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12653         * nptl/pt-vfork.c: New file.
12654         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12655         (libpthread: GLIBC_2.20): New version set (empty).
12657 2014-05-14  Will Newton  <will.newton@linaro.org>
12659         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12660         rather than #if.
12662 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12664         [BZ #16564]
12665         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12666         arguments with exponent 65 or above.
12667         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12668         arguments 0x1p113L or above.
12669         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12670         to arguments 0x1p107L or above.
12671         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12672         positive arguments with exponent 65 or above.
12673         * math/auto-libm-test-in: Add more tests of log1p.
12674         * math/auto-libm-test-out: Regenerated.
12676         [BZ #16928]
12677         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12678         non-finite arguments is +0.
12679         * math/s_cacosf.c (__cacosf): Likewise.
12680         * math/s_cacosl.c (__cacosl): Likewise.
12681         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12682         * sysdeps/i386/fpu/libm-test-ulps: Update.
12683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12685         [BZ #16927]
12686         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12687         value.
12688         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12689         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12690         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12691         for explicit high bit of mantissa when testing for argument equal
12692         to 1.
12693         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12694         * sysdeps/i386/fpu/libm-test-ulps: Update.
12695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12697         [BZ #16516]
12698         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12699         (__erf): Scale by 16 instead of 8 in potentially underflowing
12700         case.  Ensure exception if result actually underflows.
12701         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12702         (__erff): Scale by 16 instead of 8 in potentially underflowing
12703         case.  Ensure exception if result actually underflows.
12704         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12705         (efx8): Remove variable.
12706         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12707         case.  Ensure exception if result actually underflows.
12708         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12709         (efx8): Remove variable.
12710         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12711         case.  Ensure exception if result actually underflows.
12712         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12713         (efx8): Remove variable.
12714         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12715         case.  Ensure exception if result actually underflows.
12716         * math/auto-libm-test-in: Add more tests of erf.
12717         * math/auto-libm-test-out: Regenerated.
12719 2014-05-14  Andreas Schwab  <schwab@suse.de>
12721         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12722         Remove code conditionalized on USE___THREAD.
12724         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12725         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12726         not definedness.
12728 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12730         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12731         Define unconditionally.
12732         (__ASSUME_O_CLOEXEC): Likewise.
12733         (__ASSUME_SOCK_CLOEXEC): Likewise.
12734         (__ASSUME_IN_NONBLOCK): Likewise.
12735         (__ASSUME_PIPE2): Likewise.
12736         (__ASSUME_EVENTFD2): Likewise.
12737         (__ASSUME_SIGNALFD4): Likewise.
12738         (__ASSUME_DUP3): Likewise.
12739         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12740         (__ASSUME_DUP3): Do not define.
12741         (__ASSUME_EVENTFD2): Likewise.
12742         (__ASSUME_IN_NONBLOCK): Likewise.
12743         (__ASSUME_O_CLOEXEC): Likewise.
12744         (__ASSUME_PIPE2): Likewise.
12745         (__ASSUME_SIGNALFD4): Likewise.
12746         (__ASSUME_SOCK_CLOEXEC): Likewise.
12747         (__ASSUME_UTIMES): Undefine.
12748         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12749         (__ASSUME_UTIMES): Do not define.
12750         (__ASSUME_O_CLOEXEC): Likewise.
12751         (__ASSUME_SOCK_CLOEXEC): Likewise.
12752         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12753         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12754         0x020621].
12755         (__ASSUME_PIPE2): Likewise.
12756         (__ASSUME_EVENTFD2): Likewise.
12757         (__ASSUME_SIGNALFD4): Likewise.
12758         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12759         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12760         Do not define.
12761         (__ASSUME_EVENTFD2): Likewise.
12762         (__ASSUME_SIGNALFD4): Likewise.
12763         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12764         (__ASSUME_32BITUIDS): Likewise.
12765         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12766         (__ASSUME_IPC64): Likewise.
12767         (__ASSUME_ST_INO_64_BIT): Likewise.
12768         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12769         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12770         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12771         (__ASSUME_UTIMES): Do not define.
12772         (__ASSUME_PSELECT): Likewise.
12773         (__ASSUME_PPOLL): Likewise.
12774         (__ASSUME_O_CLOEXEC): Likewise.
12775         (__ASSUME_SOCK_CLOEXEC): Likewise.
12776         (__ASSUME_IN_NONBLOCK): Likewise.
12777         (__ASSUME_PIPE2): Likewise.
12778         (__ASSUME_EVENTFD2): Likewise.
12779         (__ASSUME_SIGNALFD4): Likewise.
12780         (__ASSUME_DUP3): Likewise.
12781         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12782         (__ASSUME_UTIMES): Likewise.
12783         (__ASSUME_O_CLOEXEC): Likewise.
12784         (__ASSUME_SOCK_CLOEXEC): Likewise.
12785         (__ASSUME_IN_NONBLOCK): Likewise.
12786         (__ASSUME_PIPE2): Likewise.
12787         (__ASSUME_EVENTFD2): Likewise.
12788         (__ASSUME_SIGNALFD4): Likewise.
12789         (__ASSUME_DUP3): Likewise.
12790         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12791         (__ASSUME_UTIMES): Likewise.
12792         (__ASSUME_O_CLOEXEC): Likewise.
12793         (__ASSUME_SOCK_CLOEXEC): Likewise.
12794         (__ASSUME_IN_NONBLOCK): Likewise.
12795         (__ASSUME_PIPE2): Likewise.
12796         (__ASSUME_EVENTFD2): Likewise.
12797         (__ASSUME_SIGNALFD4): Likewise.
12798         (__ASSUME_DUP3): Likewise.
12799         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12800         Likewise.
12801         (__ASSUME_UTIMES): Likewise.
12802         (__ASSUME_EVENTFD2): Likewise.
12803         (__ASSUME_SIGNALFD4): Likewise.
12804         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12805         (__ASSUME_O_CLOEXEC): Likewise.
12806         (__ASSUME_SOCK_CLOEXEC): Likewise.
12807         (__ASSUME_IN_NONBLOCK): Likewise.
12808         (__ASSUME_PIPE2): Likewise.
12809         (__ASSUME_EVENTFD2): Likewise.
12810         (__ASSUME_SIGNALFD4): Likewise.
12811         (__ASSUME_DUP3): Likewise.
12812         (__ASSUME_UTIMES): Undefine.
12814         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12815         feclearexcept.  Remove symbol versioning code.
12816         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12817         symbol versioning code.
12818         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12819         symbol versioning code.
12820         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12821         feupdateenv.  Remove symbol versioning code.
12822         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12823         fegetexceptflag.  Remove symbol versioning code.
12824         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12825         fesetexceptflag.  Remove symbol versioning code.
12826         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12827         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12828         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12829         (__posix_fadvise64_l32): Remove prototype.
12830         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12831         code.
12833 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12835         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12836         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12837         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12838         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12840 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12842         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12843         current working directory
12845 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12847         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12848         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12849         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12850         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12851         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12852         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12853         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12854         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12855         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12856         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12857         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12858         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12859         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12860         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12861         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12862         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12863         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12864         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12865         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12866         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12867         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12868         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12869         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12870         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12871         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12872         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12873         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12874         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12875         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12876         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12877         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12878         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12879         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12880         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12881         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12882         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12883         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12884         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12885         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12886         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12887         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12888         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12890         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12891         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12893         * sysdeps/unix/sysv/linux/arm/Makefile
12894         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12895         Add rt-aeabi_unwind_cpp_pr1.
12896         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12897         Add nptl-aeabi_unwind_cpp_pr1.
12898         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12899         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12900         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12901         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12902         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12903         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12905         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12906         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12907         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12908         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12910         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12911         Deconditionalize the code that was previously under [RESET_PID].
12912         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12914         * sysdeps/generic/exit-thread.h: New file.
12915         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12916         * include/unistd.h (__exit_thread): Remove declaration.
12917         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12918         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12919         * csu/libc-start.c: Include <exit-thread.h>.
12920         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12921         * nptl/pthread_create.c: Include <exit-thread.h>.
12922         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12923         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12924         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12925         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12926         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12927         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12928         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12929         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12930         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12931         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12932         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12933         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12934         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12935         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12936         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12937         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12938         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12940 2014-05-13  Andreas Schwab  <schwab@suse.de>
12942         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12944 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12946         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12947         (__ASSUME_UTIMES): Do not condition on kernel version.
12948         (__ASSUME_PSELECT): Define unconditionally.
12949         (__ASSUME_PPOLL): Likewise.
12950         (__ASSUME_ATFCTS): Likewise.
12951         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12952         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12953         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12954         (__ASSUME_UTIMENSAT): Define unconditionally.
12955         (__ASSUME_PRIVATE_FUTEX): Likewise.
12956         (__ASSUME_FALLOCATE): Likewise.
12957         (__ASSUME_O_CLOEXEC): Likewise.
12958         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12959         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12960         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12961         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12962         (__ASSUME_IN_NONBLOCK): Likewise.
12963         (__ASSUME_PIPE2): Likewise.
12964         (__ASSUME_EVENTFD2): Likewise.
12965         (__ASSUME_SIGNALFD4): Likewise.
12966         (__ASSUME_DUP3): Likewise.
12967         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12968         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12969         (__ASSUME_AT_RANDOM): Likewise.
12970         (__ASSUME_PREADV): Likewise.
12971         (__ASSUME_PWRITEV): Likewise.
12972         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12973         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12974         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12975         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12976         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12977         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12978         (__ASSUME_O_CLOEXEC): Define unconditionally.
12979         (__ASSUME_PSELECT): Do not undefine conditionally.
12980         (__ASSUME_PPOLL): Likewise.
12981         (__ASSUME_ATFCTS): Likewise.
12982         (__ASSUME_SET_ROBUST_LIST): Likewise.
12983         (__ASSUME_UTIMENSAT): Likewise.
12984         (__ASSUME_FDATASYNC): Define unconditionally.
12985         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12986         (__ASSUME_SIGFRAME_V2): Likewise.
12987         )__ASSUME_EVENTFD2): Likewise.
12988         (__ASSUME_SIGNALFD4): Likewise.
12989         (__ASSUME_PSELECT): Do not undefine conditionally.
12990         (__ASSUME_PPOLL): Likewise.
12991         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12992         (__ASSUME_PSELECT): Define unconditionally.
12993         (__ASSUME_PPOLL): Likewise.
12994         (__ASSUME_O_CLOEXEC): Likewise.
12995         (__ASSUME_SOCK_CLOEXEC): Likewise.
12996         (__ASSUME_IN_NONBLOCK): Likewise.
12997         (__ASSUME_PIPE2): Likewise.
12998         (__ASSUME_EVENTFD2): Likewise.
12999         (__ASSUME_SIGNALFD4): Likewise.
13000         (__ASSUME_DUP3): Likewise.
13001         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13002         (__ASSUME_O_CLOEXEC): Likewise.
13003         (__ASSUME_SOCK_CLOEXEC): Likewise.
13004         (__ASSUME_IN_NONBLOCK): Likewise.
13005         (__ASSUME_PIPE2): Likewise.
13006         (__ASSUME_EVENTFD2): Likewise.
13007         (__ASSUME_SIGNALFD4): Likewise.
13008         (__ASSUME_DUP3): Likewise.
13009         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13010         (__ASSUME_EVENTFD2): Likewise.
13011         (__ASSUME_SIGNALFD4): Likewise.
13012         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13014 2014-05-12  Andreas Schwab  <schwab@suse.de>
13016         [BZ #16932]
13017         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13018         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13019         than maximum RPC packet size.
13020         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13021         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13022         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13023         (_nss_nis_getservbyport_r): Likewise.
13025 2014-05-12  Will Newton  <will.newton@linaro.org>
13027         * malloc/Makefile (tests): Add tst-mallopt.
13028         * malloc/tst-mallopt.c: New file.
13030 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13032         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13033         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13035 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13037         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13038         (tst-tlsmod6.so): Likewise.
13040 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13042         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13044 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13046         [BZ #16064]
13047         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13048         and <dl-procinfo.h>.
13049         (__fegetenv): Save SSE state in envp->__eip if supported.
13050         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13051         envp->__eip if supported.
13052         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13053         and <dl-procinfo.h>.
13054         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13055         __data_offset and __data_selector in environment to 0.  Set SSE
13056         state if supported.
13057         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13058         test-fenv-sse.
13059         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13060         -mfpmath=sse.
13061         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13063 2014-05-09  Will Newton  <will.newton@linaro.org>
13065         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13066         and libc_relro_required for ARM.
13067         * sysdeps/arm/preconfigure: Regenerate.
13069 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13070             Stefan Liebler  <stli@linux.vnet.ibm.com>
13072         * config.make.in (enable-lock-elision): New Makefile variable.
13073         * configure.ac: Likewise.
13074         * configure: Regenerate.
13075         * sysdeps/s390/configure.ac:
13076         Add check for gcc transactions support.
13077         * sysdeps/s390/configure: Regenerate.
13078         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13079         Build elision files if enabled.
13080         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13081         Add lock elision support for s390.
13082         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13083         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13084         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13085         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13086         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13087         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13088         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13089         Likewise.
13090         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13091         Likewise.
13092         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13093         Likewise.
13094         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13095         Likewise.
13096         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13097         (__lll_timedlock_elision, __lll_lock_elision)
13098         (__lll_unlock_elision, __lll_trylock_elision)
13099         (lll_timedlock_elision, lll_lock_elision)
13100         (lll_unlock_elision, lll_trylock_elision): Add.
13101         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13102         (pthread_mutex_t): Add lock elision support for s390.
13104 2014-05-14  Wilco  <wdijkstr@arm.com>
13106         * sysdeps/arm/fclrexcpt.c: Cleanup.
13107         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13108         * sysdeps/arm/feenablxcpt.c: Cleanup.
13109         * sysdeps/arm/fegetenv.c: Cleanup.
13110         * sysdeps/arm/fegetexcept.c: Cleanup.
13111         * sysdeps/arm/fegetround.c: Cleanup.
13112         * sysdeps/arm/feholdexcpt.c: Cleanup.
13113         * sysdeps/arm/fesetenv.c: Cleanup.
13114         * sysdeps/arm/fesetround.c: Cleanup.
13115         * sysdeps/arm/feupdateenv.c: Cleanup.
13116         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13117         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13118         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13119         * sysdeps/arm/ftestexcept.c: Cleanup.
13120         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13121         * sysdeps/arm/setfpucw.c: Cleanup.
13123 2014-05-09  Will Newton  <will.newton@linaro.org>
13125         * sysdeps/arm/armv7/strcmp.S: New file.
13126         * NEWS: Mention addition of ARMv7 optimized strcmp.
13128 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13130         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13131         look for %.ac rather than %.in.
13133         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13134         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13135         * sysdeps/mach/hurd/configure: Regenerated.
13136         * sysdeps/unix/sysv/linux/configure: Regenerated.
13138         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13140 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13142         [BZ# 16922]
13143         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13144         (LONG_SUB): Ditto.
13145         (PTR_SUB): Ditto.
13147 2014-05-07  Andreas Schwab  <schwab@suse.de>
13149         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13150         when skipping over non-matching result from nscd.
13152 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13154         [BZ #16876]
13155         * nptl/sockperf.c (client): Check socket return value.
13157         [BZ #16877]
13158         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13159         nscd security class.
13161 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13163         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13164         * sysdeps/arm/unwind.h: ... here.
13166 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13168         [BZ# 16916]
13169         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13170         Define.
13172 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13174         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13175         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13176         multiarch strncpy for PPC64.
13177         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13178         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13180         multiarch optimizations.
13181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13182         (__libc_ifunc_impl_list): Likewise.
13183         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13184         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13185         multiarch stpncpy for PPC64.
13186         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13187         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13189 2014-05-06  Andreas Schwab  <schwab@suse.de>
13191         [BZ #16912]
13192         * gmon/mcount.c (_MCOUNT_DECL): Use
13193         atomic_compare_and_exchange_bool_acq instead of
13194         catomic_compare_and_exchange_bool_acq.
13196 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13198         * elf/Makefile (others, install-bin): Remove pldd.
13199         (pldd-modules): Variable removed.
13200         ($(objpfx)pldd): Target removed.
13201         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13202         (others, install-bin): Append pldd here.
13203         ($(objpfx)pldd): New target.
13205         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13206         to 0, so the first #if test emitted later doesn't see it undefined.
13207         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13208         * sysdeps/gnu/errlist.c: Regenerated.
13210 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13212         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13213         [libc_hidden_builtin_def]: Define to empty value.
13214         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13215         [libc_hidden_builtin_def]: Likewise.
13216         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13217         [libc_hidden_builtin_def]: Likewise.
13218         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13219         [libc_hidden_builtin_def]: Likewise.
13220         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13221         __redirect_memcpy and define ifunc as default hidden symbol.
13222         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13223         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13225 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13227         * locale/iso-4217.def: Reintroduce XDR currency.
13229 2014-05-04  Allan McRae  <allan@archlinux.org>
13231         * po/eo.po: Update Esperanto translation from translation project.
13233 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13235         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13236         and FEATURE_INDEX_MAX to 1.
13237         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13239 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13241         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13242         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13243         * iconvdata/big5.c (ONE_DIRECTION): Define.
13244         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13245         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13246         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13247         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13248         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13249         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13250         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13251         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13252         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13253         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13254         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13255         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13256         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13257         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13258         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13259         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13260         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13261         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13262         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13263         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13264         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13265         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13266         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13267         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13268         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13269         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13270         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13271         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13272         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13273         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13274         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13275         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13276         * iconvdata/johab.c (ONE_DIRECTION): Define.
13277         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13278         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13279         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13280         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13281         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13282         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13283         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13284         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13285         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13286         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13288 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13290         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13291         (_IO_JUMPS_OFFSET): Define to 0.
13293         * nptl/sysdeps/pthread/bits/libc-lock.h
13294         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13295         (__libc_lock_define_initialized_recursive): Always define using
13296         initializer.  Modern compilers treat uninitialized (implicit zero) and
13297         explicit zero initializers the same (i.e. put the datum in bss).
13299 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13301         * nscd/nscd-client.h: Include <string.h>.
13303 2014-05-01  David S. Miller  <davem@davemloft.net>
13305         [BZ #16885]
13306         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13307         multiple zero bytes exist at the end of a string.
13308         Reported by Aurelien Jarno <aurelien@aurel32.net>
13310         * string/test-strcmp.c (check): Add explicit test for situations where
13311         there are multiple zero bytes after the first.
13313 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13315         [BZ #16890]
13316         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13317         when compiling wprintf.
13318         * stdio-common/tstdiomisc.c (t3): New function.
13319         (main): Call it.
13321 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13323         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13324         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13325         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13326         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13328 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13330         * stdlib/longlong.h: Updated from GCC.
13332 2014-05-01  Will Newton  <will.newton@linaro.org>
13333             Bernard Ogden  <bernie.ogden@linaro.org>
13335         * NEWS: Update fixed bug list.
13337         [BZ #15119]
13338         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13340 2014-04-30  David S. Miller  <davem@davemloft.net>
13342         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13343         (libc_feholdexcept_setround_sparc_ctx): New function.
13344         (libc_fesetenv_sparc_ctx): Likewise.
13345         (libc_feupdateenv_sparc_ctx): Likewise.
13346         (libc_feholdsetround_sparc_ctx): Likewise.
13347         (libc_feholdexcept_setround_ctx): Define.
13348         (libc_feholdexcept_setroundf_ctx): Likewise.
13349         (libc_feholdexcept_setroundl_ctx): Likewise.
13350         (libc_fesetenv_ctx): Likewise.
13351         (libc_fesetenvf_ctx): Likewise.
13352         (libc_fesetenvl_ctx): Likewise.
13353         (libc_feupdateenv_ctx): Likewise.
13354         (libc_feupdateenvf_ctx): Likewise.
13355         (libc_feupdateenvl_ctx): Likewise.
13356         (libc_feresetround_ctx): Likewise.
13357         (libc_feresetroundf_ctx): Likewise.
13358         (libc_feresetroundl_ctx): Likewise.
13359         (libc_feholdsetround_ctx): Likewise.
13360         (libc_feholdsetroundf_ctx): Likewise.
13361         (libc_feholdsetroundl_ctx): Likewise.
13363         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13364         with __USE_GNU instead of XOPEN cpp guards.
13366         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13367         0.
13369         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13370         with XOPEN cpp guards.
13372 2014-04-30  Julian Brown  <julian@codesourcery.com>
13374         [BZ #16888]
13375         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13376         handling.
13378 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13380         [BZ #9894]
13381         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13382         Change to 2.6.32.
13383         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13384         * sysdeps/unix/sysv/linux/configure: Regenerated.
13385         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13386         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13387         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13388         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13389         * README: Update reference to required Linux kernel version.
13390         * manual/install.texi (Linux): Update reference to required Linux
13391         kernel headers version.
13392         * INSTALL: Regenerated.
13394         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13395         header inclusion.
13396         [POSIX] (limits.h): Likewise.
13397         [POSIX] (math.h): Likewise.
13398         [POSIX] (sys/wait.h): Likewise.
13399         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13400         function.
13401         [POSIX] (stddef.h): Do not allow header inclusion.
13403 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13405         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13407 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13409         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13410         Return immediately after lll_futex_wake.
13412 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13414         [BZ #16791]
13415         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13416         structure.
13417         (datahead_init_pos): Call datahead_init_common early.
13418         (datahead_init_neg): Likewise.
13420         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13421         datahead_init_neg): New functions.
13422         * nscd/aicache.c (addhstaiX): Use them.
13423         * nscd/grpcache.c (cache_addgr): Likewise.
13424         * nscd/hstcache.c (cache_addhst): Likewise.
13425         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13426         * nscd/netgroupcache.c (do_notfound): Likewise.
13427         (addgetnetgrentX): Likewise.
13428         (addinnetgrX): Likewise.
13429         * nscd/pwdcache.c (cache_addpw): Likewise.
13430         * nscd/servicescache.c (cache_addserv): Likewise.
13432 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13433             Atsushi Onoe  <atsushi@onoe.org>
13435         [BZ #14308]
13436         [BZ #12994]
13437         [BZ #13651]
13438         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13439         one response is valid.
13440         * resolv/res_send.c (send_dg): Check for validity of other
13441         response if the current response is a referral.
13443 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13445         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13447 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13449         [BZ #16823]
13450         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13451         Always divide by positive zero when computing -Inf result.
13452         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13453         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13455 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13457         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13458         FPSCR if value do not change.
13459         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13460         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13461         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13462         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13463         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13464         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13465         function.
13467 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13469         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13470         * sysdeps/unix/sysv/linux/hppa: Move directory from
13471         ports/systeps/unix/sysv/linux/hppa.
13472         * README: Update listing for hppa-*-linux-gnu.
13474 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13476         [BZ #16754]
13477         * manual/stdio.texi (Hook functions): Fix types of stream hook
13478         functions.
13479         [BZ #16854]
13480         * socket/sys/socket.h: Fix typo in comment.
13482 2014-04-28  Wilco  <wdijkstr@arm.com>
13484         * sysdeps/arm/fenv_private.h: New file.
13485         * sysdeps/arm/math_private.h: New file.
13486         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13488 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13490         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13491         with __int128_t.
13492         (La_x86_64_retval): Likewise.
13494 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13496         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13497         fpsr if value didn't change.
13498         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13499         to fpcr if value didn't change.
13500         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13501         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13502         fpsr or fpcr if value didn't change.
13503         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13504         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13505         fpcr if value didn't change.
13506         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13507         to fpsr if value didn't change.
13509 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13511         * nptl/tst-sem3.c: Use test-skeleton.c
13512         (main): Rename to do_test.  Use return instead of
13513         exit.
13514         * nptl/tst-sem4.c: Use test-skeleton.c
13515         (main): Rename to do_test.
13517 2014-04-22  David S. Miller  <davem@davemloft.net>
13519         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13520         (struct sigaction): New struct member __glibc_reserved0, change
13521         type of sa_flags to int.
13523 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13525         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13526         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13528 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13530         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13531         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13533 2014-04-22  Will Newton  <will.newton@linaro.org>
13534             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13536         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13537         (__longjmp): Add longjmp and longjmp_target SystemTap
13538         probes.
13539         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13540         (__sigsetjmp): Add setjmp SystemTap probe.
13542 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13544         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13545         match manual order.
13547 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13549         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13551         * sysdeps/powerpc/fpu/fenv_private.h
13552         (libc_feholdexcept_setroundl_ctx): Define to
13553         libc_feholdexcept_setround_ppc_ctx.
13554         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13555         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13556         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13557         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13559 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13561         * sysdeps/aarch64/math-tests.h: New file.
13563 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13565         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13566         New.
13567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13568         Check and set bit_AVX2_Usable.
13569         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13570         macro.
13571         (bit_AVX2): Likewise.
13572         (index_AVX2_Usable): Likewise.
13573         (CPUID_AVX2): Likewise.
13574         (HAS_AVX2): Likewise.
13576 2014-04-17  Will Newton  <will.newton@linaro.org>
13578         * manual/setjmp.texi (System V contexts): Add note that
13579         calling setcontext on a context created by a call to a
13580         signal handler is undefined.  Update text to note that
13581         setcontext from a signal handler is possible but not
13582         recommended.
13584         [BZ #16629]
13585         * stdlib/tst-setcontext.c: Include signal.h.
13586         (main): Check that the signal stack before and
13587         after swapcontext is the same.
13589         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13590         Re-implement to restore registers in user code and avoid
13591         rt_sigreturn system call.
13593 2014-04-17  Wilco  <wdijkstr@arm.com>
13595         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13596         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13597         * math/test-fenv.c: Skip exception trap tests on targets which only
13598         support non-stop mode.
13600 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13601             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13603         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13604         (libc_feholdsetround_aarch64_ctx)
13605         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13606         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13607         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13608         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13609         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13610         (libc_feresetround_noexl_ctx): Define.
13612 2014-04-16  Richard Henderson  <rth@redhat.com>
13614         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13616         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13617         unwind tables.
13619         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13620         const from the non-libc, non-ldso copy.
13622         * sysdeps/alpha/libm-test-ulps: Regenerate.
13624 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13625             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13627         * sysdeps/aarch64/fpu/math_private.h: New file.
13629 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13631         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13633 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13635         [BZ #16275]
13636         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13637         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13639         Intel MPX bound registers before _dl_profile_fixup.
13640         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13641         registers after _dl_profile_fixup.  Save and restore bound
13642         registers bnd0/bnd1 when calling _dl_call_pltexit.
13643         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13644         (LR_BND_OFFSET): Likewise.
13645         (LRV_BND0_OFFSET): Likewise.
13646         (LRV_BND1_OFFSET): Likewise.
13648 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13650         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13651         to...
13652         * sysdeps/mach/hurd/i386/tls.h: ... here.
13653         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13654         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13655         fields.
13657 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13659         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13661 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13663         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13665 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13667         [BZ #14770]
13668         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13669         * sysdeps/s390/configure: Regenerate.
13671         [BZ #16824]
13672         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13673         Set round-to-nearest internally to reduce error accumulation.
13675 2014-04-16  Alan Modra  <amodra@gmail.com>
13677         [BZ #16740]
13678         [BZ #16619]
13679         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13680         * math/libm-test.inc (frexp_test_data): Add tests.
13681         * NEWS: Update fixed bug list.
13683 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13685         * benchtests/Makefile: Depend on libraries in build directory.
13686         (bench-math): Separate out math tests.
13687         (bench-pthread): Separate out pthread tests.
13688         (bench): Include math and pthread tests.
13690 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13692         [BZ #16831]
13693         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13694         _dl_debug_initialize.
13696         * configure.ac: Remove SELinux header check.
13697         * configure: Regenerate.
13698         * nscd/selinux.c (perms): Array of const char* to permission names.
13699         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13700         default policy. Call string_to_security_class and string_to_av_perm to
13701         translate strings. Enforce default policy and call avs_has_perm with
13702         results of translated strings.
13704 2014-04-13  David S. Miller  <davem@davemloft.net>
13706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13708 2014-04-12  Allan McRae  <allan@archlinux.org>
13710         [BZ #16838]
13711         * manual/string.texi (Collation Functions): Fix qsort argument
13712         order in example.
13713         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13715 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13717         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13718         Make the test a no-op if there are no exceptions defined.
13720 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13722         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13723         enable-hardcoded-path-in-tests
13725 2014-04-11  Will Newton  <will.newton@linaro.org>
13727         * benchtests/Makefile (extra-objs): Add json-lib.o.
13728         (bench-func): Tidy up JSON output.
13729         * benchtests/bench-skeleton.c: Include json-lib.h.
13730         (main): Use JSON library functions to do output of
13731         benchmark results.
13732         * benchtests/bench-timing-type.c (main): Output the
13733         timing type simply, leaving formatting to the user.
13734         * benchtests/json-lib.c: New file.
13735         * benchtests/json-lib.h: Likewise.
13737 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13739         [BZ #15215]
13740         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13741         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13742         memory barriers.  Add comments.
13743         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13744         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13745         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13746         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13747         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13748         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13750 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13752         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13753         * sysdeps/s390/s390-64/configure.ac: ... this ...
13754         * sysdeps/s390/configure.ac: ... to here.
13755         * sysdeps/s390/s390-32/configure: Delete file.
13756         * sysdeps/s390/s390-64/configure: Delete file.
13757         * sysdeps/s390/configure: Regenerate.
13759 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13761         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13763 2014-04-11  Will Newton  <will.newton@linaro.org>
13765         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13766         to zero if it is not defined elsewhere.  (mtrim): Test
13767         the value of MALLOC_DEBUG with #if rather than #ifdef.
13769 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13771         * benchtests/pthread_once-inputs: New file.
13772         * benchtests/pthread_once-source.c: New file.
13773         * benchtests/README: Update documentation.
13775 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13776             H.J. Lu  <hongjiu.lu@intel.com>
13778         [BZ #16275]
13779         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13780         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13781         * sysdeps/x86_64/configure: Regenerated.
13782         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13783         macro.
13784         (REGISTER_SAVE_RAX): Likewise.
13785         (REGISTER_SAVE_RCX): Likewise.
13786         (REGISTER_SAVE_RDX): Likewise.
13787         (REGISTER_SAVE_RSI): Likewise.
13788         (REGISTER_SAVE_RDI): Likewise.
13789         (REGISTER_SAVE_R8): Likewise.
13790         (REGISTER_SAVE_R9): Likewise.
13791         (REGISTER_SAVE_BND0): Likewise.
13792         (REGISTER_SAVE_BND1): Likewise.
13793         (REGISTER_SAVE_BND2): Likewise.
13794         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13795         bound registers when calling _dl_fixup.
13797 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13799         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13800         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13801         of its definition.
13802         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13803         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13804         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13805         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13806         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13807         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13808         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13810 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13812         [BZ #15514]
13813         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13814         pathconf(_PC_NAME_MAX).
13816 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13818         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13819         Remove macro usage.
13820         (__PTHREAD_SPINS): Move definition to ...
13821         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13822         (__PTHREAD_SPINS): ... here.
13823         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13824         (__PTHREAD_SPIN): Likewise.
13825         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13826         (__PTHREAD_SPIN): Likewise.
13827         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13828         (__PTHREAD_SPIN): Likewise.
13829         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13830         (__PTHREAD_SPIN): Likewise.
13831         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13832         (__PTHREAD_SPIN): Likewise.
13833         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13834         (__PTHREAD_SPIN): Likewise.
13835         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13836         (__PTHREAD_SPIN): Likewise.
13837         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13838         (__PTHREAD_SPIN): Likewise.
13839         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13840         (__PTHREAD_SPIN): Likewise.
13841         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13842         (__PTHREAD_SPIN): Likewise.
13843         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13844         (__PTHREAD_SPIN): Likewise.
13845         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13846         (__PTHREAD_SPIN): Likewise.
13848         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13849         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13850         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13851         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13852         imply folder.
13853         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13854         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13855         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13856         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13857         correct imply path.
13858         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13859         strlen symbol for non multi-arch builds.
13860         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13861         missing hidden_def and weak_alias.
13863 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13865         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13867 2014-04-07  Will Newton  <will.newton@linaro.org>
13869         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13870         and contents.  [!_LIBC] Remove #ifndef and contents.
13871         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13872         * string/memccpy.c (__memccpy): Use ANSI prototype.
13873         * string/memfrob.c (memfrob): Likewise.
13874         * string/strcoll.c (STRCOLL): Likewise.
13875         * string/strlen.c (strlen): Likewise.
13876         * string/strtok.c (STRTOK): Likewise.
13877         * string/strcat.c: Remove unused #include of memcopy.h.
13878         (strcat): Use ANSI prototype.
13879         * string/strchr.c: Remove unused #include of memcopy.h.
13880         (strchr): Use ANSI prototype.
13881         * string/strcmp.c: Remove unused #include of memcopy.h.
13882         (strcmp): Use ANSI prototype.
13883         * string/strcpy.c: Remove unused #include of memcopy.h.
13884         (strcpy): Use ANSI prototype.
13886 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13888         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13889         * config.make.in (config-extra-cppflags): Set it from
13890         libc_extra_cppflags.
13891         * configure.ac (libc_extra_cflags): Make it accumulate over
13892         configure fragments.
13893         (libc_extra_cppflags): New flag.
13894         * configure. Regenerate.
13895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13896         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13897         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13900         [BZ #16815]
13901         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13902         result for FE_DOWNWARD rounding mode.
13903         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13904         Likewise.
13905         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13907 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13909         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13910         in function argument name.
13912 2014-04-03  David Svoboda  <svoboda@cert.org>
13914         [BZ #5666]
13915         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13916         explicitly.
13918 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13920         * elf/dl-unmap-segments.h: New file.
13921         * sysdeps/generic/ldsodefs.h
13922         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13923         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13924         * elf/dl-fptr.c: Likewise.
13925         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13926         * sysdeps/aarch64/tlsdesc.c: Likewise.
13927         * sysdeps/arm/tlsdesc.c: Likewise.
13928         * sysdeps/i386/tlsdesc.c: Likewise.
13929         * sysdeps/tile/dl-runtime.c: Likewise.
13930         * sysdeps/x86_64/tlsdesc.c: Likewise.
13931         * elf/dl-load.h: New file.
13932         * elf/dl-load.c: Include it.
13933         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13934         Macros moved to dl-load.h.
13935         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13936         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13937         Use _dl_unmap_segments in place of __munmap.
13938         Break out segment-mapping loop into ...
13939         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13941 2014-04-03  Will Newton  <will.newton@linaro.org>
13943         * elf/dl-lookup.c (do_lookup_x): Remove comment
13944         referring to nested function and move variable
13945         declarations down to before first use.
13947 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13949         [BZ #16799]
13950         [BZ #16800]
13951         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13952         with 0 numerator.
13953         * math/s_catanf.c (__catanf): Likewise.
13954         * math/s_catanh.c (__catanh): Likewise.
13955         * math/s_catanhf.c (__catanhf): Likewise.
13956         * math/s_catanhl.c (__catanhl): Likewise.
13957         * math/s_catanl.c (__catanl): Likewise.
13958         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13959         by positive zero when computing -Inf result.
13960         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13961         (catanh_test): Likewise.
13962         * sysdeps/i386/fpu/libm-test-ulps: Update.
13963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13965         [BZ #16789]
13966         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13967         instead of using underflowing value in computing result.
13968         * math/s_clog10.c (__clog10): Likewise.
13969         * math/s_clog10f.c (__clog10f): Likewise.
13970         * math/s_clog10l.c (__clog10l): Likewise.
13971         * math/s_clogf.c (__clogf): Likewise.
13972         * math/s_clogl.c (__clogl): Likewise.
13973         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13974         (clog10_test): Likewise.
13975         * sysdeps/i386/fpu/libm-test-ulps: Update.
13976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13978 2014-04-02  Alan Modra  <amodra@gmail.com>
13980         [BZ #16739]
13981         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13982         output when value is near a power of two.  Use int64_t for lx and
13983         remove casts.  Use decimal rather than hex exponent constants.
13984         Don't use long double multiplication when double will suffice.
13985         * math/libm-test.inc (nextafter_test_data): Add tests.
13986         * NEWS: Add 16739 and 16786 to bug list.
13988         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13990         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13992 2014-04-01  Will Newton  <will.newton@linaro.org>
13994         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13995         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13997 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13999         [BZ #13347]
14000         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14001         * nptl/tst-setuid2.c: New file.
14002         * nptl/Makefile (xtests): Add tst-setuid2.
14004 2014-04-01  Alan Modra  <amodra@gmail.com>
14006         [BZ #16786]
14007         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14009 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14011         [BZ #6803]
14012         [BZ #6804]
14013         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14014         set errno as appropriate.
14015         * math/w_scalbf.c (__scalbf): Likewise.
14016         * math/w_scalbl.c (__scalbl): Likewise.
14017         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14018         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14019         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14020         Add more NaN tests.
14022         [BZ #16349]
14023         * math/w_atan2.c: Include <errno.h>.
14024         (__atan2): Set errno for result underflowing to zero.
14025         * math/w_atan2f.c: Include <errno.h>.
14026         (__atan2f): Set errno for result underflowing to zero.
14027         * math/w_atan2l.c: Include <errno.h>.
14028         (__atan2l): Set errno for result underflowing to zero.
14029         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14030         tests.
14031         * math/auto-libm-test-out: Regenerated.
14033 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14035         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14036         Encode instruction correctly in little endian.
14037         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14038         Likewise.
14039         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14040         Likewise.
14041         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14042         Likewise.
14043         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14044         Likewise.
14046 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14048         [BZ #9894]
14049         * sysdeps/unix/sysv/linux/kernel-features.h
14050         [__sparc__ && !__arch64__ && !__sparc_v9__]
14051         (__ASSUME_SET_ROBUST_LIST): Do not define.
14052         [__sparc__ && !__arch64__ && !__sparc_v9__]
14053         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14054         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14055         Likewise.
14056         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14057         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14058         (__ASSUME_REQUEUE_PI): Likewise.
14059         (__ASSUME_SET_ROBUST_LIST): Likewise.
14060         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14061         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14062         Undefine.
14063         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14064         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14065         Likewise.
14066         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14067         Likewise.
14068         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14069         Likewise.
14070         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14071         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14072         Undefine.
14073         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14074         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14075         Likewise.
14077         [BZ #16648]
14078         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14079         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14080         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14082 2014-03-31  Will Newton  <will.newton@linaro.org>
14084         * benchtests/Makefile (bench): Add ffs and ffsll to list
14085         of tests.
14086         * benchtests/ffs-inputs: New file.
14087         * benchtests/ffsll-inputs: Likewise.
14089 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14091         [BZ #16770]
14092         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14093         too large before casting to int.
14094         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14095         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14096         * math/libm-test.inc (scalb_test_data): Add more tests.
14098 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14100         * benchtests/Makefile (DETAILED_OPT): New make option.
14101         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14102         set.
14103         * benchtests/bench-skeleton.c: Include stdbool.h.
14104         (main): Store and print timings per input.
14105         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14106         member to each argument value.
14107         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14108         (_print_arg_data): Initialize per-input timing to 0.
14110         * benchtests/Makefile (timing-type): New binary.
14111         (bench-clean): Also remove bench-timing-type.
14112         (bench): New target for timing-type.
14113         (bench-func): Print output in JSON format.
14114         * benchtests/bench-skeleton.c (main): Print output in JSON
14115         format.
14116         * benchtests/bench-timing-type.c: New file.
14117         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14118         (TIMING_PRINT_STATS): Remove.
14119         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14120         name separately.
14122         * benchtests/bench-modf.c: Remove.
14123         * benchtests/modf-inputs: New inputs file.
14125 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14127         [BZ #16362]
14128         * math/s_clog10.c (M_PI_LOG10E): New macro.
14129         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14130         imaginary parts are 0.
14131         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14132         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14133         imaginary parts are 0.
14134         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14135         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14136         imaginary parts are 0.
14137         * math/libm-test.inc (clog10_test_data): Update expected results
14138         for when real and imaginary parts are 0.
14140 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14142         * elf/dl-load.c: Finish conversion of __builtin_expect into
14143         __glibc_{un}likely.
14145 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14147         [BZ #16348]
14148         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14149         1+x for argument with exponent below -67.
14150         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14151         Likewise.
14152         * math/auto-libm-test-in: Add more tests of exp.
14153         * math/auto-libm-test-out: Regenerated.
14155 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14157         [BZ #16759]
14158         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14159         (nscd_getnetgrent): Use it.
14161         [BZ #16760]
14162         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14163         of stpcpy.
14165 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14167         * nptl/sysdeps/unix/sysv/linux/x86_64/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.
14173         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14174         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14175         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14176         (lll_robust_unlock): Remove out of line section. Use cfi
14177         intrinsics.
14178         (LLL_STUB_UNWIND_INFO*): Remove.
14180 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14182         [BZ #16758]
14183         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14184         blank values.
14186 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14188         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14190 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14192         [BZ #16198]
14193         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14194         fnstenv.
14195         * math/test-fenv-preserve.c: New file.
14196         * math/Makefile (tests): Add test-fenv-preserve.
14198 2014-03-26  Will Newton <will.newton@linaro.org>
14200         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14202 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14204         * scripts/versionlist.awk: Partition the version sets and emit all
14205         GLIBC_* (sorted) before all others (sorted).
14207 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14209         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14210         GLIBC_2.2.5 version.
14212 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14214         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14215         calls.
14217         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14218         previous change.
14220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14222 2014-03-25  Andreas Schwab  <schwab@suse.de>
14224         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14225         label to be used after in6ailist is initialized.
14227 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14229         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14230         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14232 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14234         [BZ #16357]
14235         [BZ #16599]
14236         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14237         min_plus_half.
14238         (fp_formats): Update initializers.
14239         (init_fp_formats): Initialize new field.
14240         (output_for_one_input_case): Allow underflow for results up to
14241         min_plus_half.
14242         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14243         * math/auto-libm-test-in: Don't mark some underflows from asin and
14244         atanh as spurious.
14245         * math/auto-libm-test-out: Regenerated.
14246         * sysdeps/i386/fpu/libm-test-ulps: Update.
14247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14249 2014-03-25  Andreas Schwab  <schwab@suse.de>
14251         * libio/Makefile (tst-ftell-partial-wide-ENV)
14252         (tst-ftell-active-handler-ENV): Define.
14254 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14256         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14258 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14260         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14262 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14264         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14265         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14266         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14268 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14270         [BZ #16634]
14271         * elf/dl-load.c (open_verify): Add mode parameter.
14272         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14273         (open_path): Change from boolean 'secure' to complete flag 'mode'
14274         (_dl_map_object): Adjust.
14275         * elf/Makefile (tests): Add tst-dlopen-aout.
14276         * elf/tst-dlopen-aout.c: New test.
14278 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14280         [BZ #16714]
14281         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14282         (struct stat): Rename member pad0 to __glibc_reserved0.
14284         [BZ #16712]
14285         * sysdeps/s390/s390-32/bits/wordsize.h
14286         (__WORDSIZE32_SIZE_ULONG): New define.
14287         * sysdeps/s390/s390-64/bits/wordsize.h
14288         (__WORDSIZE32_SIZE_ULONG): Likewise.
14289         * sysdeps/generic/stdint.h (SIZE_MAX):
14290         Define as UL if __WORDSIZE32_SIZE_ULONG.
14292         [BZ #16713]
14293         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14294         (__glibc_reserved0): New variable.
14295         (sa_flags): Change type to int.
14297         * posix/Makefile (before-compile): Use += before-compile instead
14298         of a :=.
14300         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14301         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14303 2014-03-20  Andreas Schwab  <schwab@suse.de>
14305         [BZ #16743]
14306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14307         non-matching result from nscd.
14309 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14311         * scripts/bench.py: Moved to ...
14312         * benchtests/scripts/bench.py: ... here.
14313         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14315 2014-03-24  Andreas Schwab  <schwab@suse.de>
14317         [BZ #16002]
14318         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14319         alloca_account and account alloca use for struct in6ailist.
14321 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14323         [BZ #16284]
14324         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14325         rounding mode to recompute results that overflow to infinity or
14326         underflow to zero.
14327         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14328         bug 16284.
14329         * math/auto-libm-test-out: Regenerated.
14330         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14331         (ccosh_test): Likewise.
14332         (csin_test_data): Use plus_oflow.
14333         (csin_test): Use ALL_RM_TEST.
14334         (csinh_test_data): Use plus_oflow.
14335         (csinh_test): Use ALL_RM_TEST.
14336         * sysdeps/i386/fpu/libm-test-ulps: Update.
14337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14339 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14341         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14342         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14343         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14345         [BZ #16731]
14346         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14347         when x - 1 is zero.
14348         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14349         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14350         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14351         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14352         argument is 1.
14353         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14354         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14355         zero.
14356         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14357         * sysdeps/i386/fpu/libm-test-ulps: Update.
14358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14360 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14362         * scripts/bench.pl: Remove file.
14363         * scripts/bench.py: New benchmark script.
14364         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14365         * benchtests/README: Mention python dependency.
14366         * scripts/pylintrc: New file.
14367         * scripts/pylint: New file.
14369         * bits/mathdef.h: Use #ifdef instead of #if.
14370         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14371         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14372         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14373         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14374         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14375         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14377 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14378             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14380         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14382         and strpbrk-ppc64 objects.
14383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14384         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14385         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14386         multiarch strpbrk for POWER7.
14387         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14388         multiarch strpbrk for PPC64.
14389         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14390         ifunc selector.
14391         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14392         strpbrk for POWER7.
14394 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14396         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14397         (atan_test): Likewise.
14398         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14399         (atanh_test): Use ALL_RM_TEST.
14400         (atan2_test_data): Likewise.
14401         (cabs_test): Likewise.
14402         (cacosh_test): Likewise.
14403         (carg_test): Likewise.
14404         (casin_test): Likewise.
14405         (casinh_test): Likewise.
14406         (cbrt_test): Likewise.
14407         (csqrt_test): Likewise.
14408         (erf_test): Likewise.
14409         (erfc_test): Likewise.
14410         (pow10_test): Likewise.
14411         (exp2_test): Likewise.
14412         (hypot_test): Likewise.
14413         (j0_test): Likewise.
14414         (j1_test): Likewise.
14415         (lgamma_test): Likewise.
14416         (gamma_test): Likewise.
14417         (sincos_test): Likewise.
14418         (tanh_test): Likewise.
14419         (y0_test): Likewise.
14420         (y1_test): Likewise.
14421         * sysdeps/i386/fpu/libm-test-ulps: Update.
14422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14424 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14426         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14427         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14428         and strcspn-ppc64 objects.
14429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14430         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14431         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14432         multiarch strcspn for POWER7.
14433         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14434         multiarch strcspn for PPC64.
14435         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14436         ifunc selector.
14437         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14438         strcspn for POWER7.
14440 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14442         * math/gen-libm-test.pl (generate_testfile): Expect only function
14443         name as argument to AUTO_TESTS_* and pass results for all rounding
14444         modes to parse_args.
14445         (parse_auto_input): Separate inputs of automatic tests from
14446         outputs before storing in %auto_tests.
14447         * math/libm-test.inc (acos_test_data): Update call to
14448         AUTO_TESTS_f_f.
14449         (acos_test): Use ALL_RM_TEST.
14450         (acos_tonearest_test_data): Remove.
14451         (acos_test_tonearest): Likewise.
14452         (acos_towardzero_test_data): Likewise.
14453         (acos_test_towardzero): Likewise.
14454         (acos_downward_test_data): Likewise.
14455         (acos_test_downward): Likewise.
14456         (acos_upward_test_data): Likewise.
14457         (acos_test_upward): Likewise.
14458         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14459         (asin_test_data): Likewise.
14460         (asin_test): Use ALL_RM_TEST.
14461         (asin_tonearest_test_data): Remove.
14462         (asin_test_tonearest): Likewise.
14463         (asin_towardzero_test_data): Likewise.
14464         (asin_test_towardzero): Likewise.
14465         (asin_downward_test_data): Likewise.
14466         (asin_test_downward): Likewise.
14467         (asin_upward_test_data): Likewise.
14468         (asin_test_upward): Likewise.
14469         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14470         (atan_test_data): Likewise.
14471         (atanh_test_data): Likewise.
14472         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14473         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14474         (carg_test_data): Likewise.
14475         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14476         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14477         (ccosh_test_data): Likewise.
14478         (cexp_test_data): Likewise.
14479         (clog_test_data): Likewise.
14480         (clog10_test_data): Likewise.
14481         (cos_test_data): Update call to AUTO_TESTS_f_f.
14482         (cos_test): Use ALL_RM_TEST.
14483         (cos_tonearest_test_data): Remove.
14484         (cos_test_tonearest): Likewise.
14485         (cos_towardzero_test_data): Likewise.
14486         (cos_test_towardzero): Likewise.
14487         (cos_downward_test_data): Likewise.
14488         (cos_test_downward): Likewise.
14489         (cos_upward_test_data): Likewise.
14490         (cos_test_upward): Likewise.
14491         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14492         (cosh_test): Use ALL_RM_TEST.
14493         (cosh_tonearest_test_data): Remove.
14494         (cosh_test_tonearest): Likewise.
14495         (cosh_towardzero_test_data): Likewise.
14496         (cosh_test_towardzero): Likewise.
14497         (cosh_downward_test_data): Likewise.
14498         (cosh_test_downward): Likewise.
14499         (cosh_upward_test_data): Likewise.
14500         (cosh_test_upward): Likewise.
14501         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14502         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14503         (ctan_test_data): Likewise.
14504         (ctan_test): Use ALL_RM_TEST.
14505         (ctan_tonearest_test_data): Remove.
14506         (ctan_test_tonearest): Likewise.
14507         (ctan_towardzero_test_data): Likewise.
14508         (ctan_test_towardzero): Likewise.
14509         (ctan_downward_test_data): Likewise.
14510         (ctan_test_downward): Likewise.
14511         (ctan_upward_test_data): Likewise.
14512         (ctan_test_upward): Likewise.
14513         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14514         (ctanh_test): Use ALL_RM_TEST.
14515         (ctanh_tonearest_test_data): Remove.
14516         (ctanh_test_tonearest): Likewise.
14517         (ctanh_towardzero_test_data): Likewise.
14518         (ctanh_test_towardzero): Likewise.
14519         (ctanh_downward_test_data): Likewise.
14520         (ctanh_test_downward): Likewise.
14521         (ctanh_upward_test_data): Likewise.
14522         (ctanh_test_upward): Likewise.
14523         (erf_test_data): Update call to AUTO_TESTS_f_f.
14524         (erfc_test_data): Likewise.
14525         (exp_test_data): Likewise.
14526         (exp_test): Use ALL_RM_TEST.
14527         (exp_tonearest_test_data): Remove.
14528         (exp_test_tonearest): Likewise.
14529         (exp_towardzero_test_data): Likewise.
14530         (exp_test_towardzero): Likewise.
14531         (exp_downward_test_data): Likewise.
14532         (exp_test_downward): Likewise.
14533         (exp_upward_test_data): Likewise.
14534         (exp_test_upward): Likewise.
14535         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14536         (exp10_test): Use ALL_RM_TEST.
14537         (exp10_tonearest_test_data): Remove.
14538         (exp10_test_tonearest): Likewise.
14539         (exp10_towardzero_test_data): Likewise.
14540         (exp10_test_towardzero): Likewise.
14541         (exp10_downward_test_data): Likewise.
14542         (exp10_test_downward): Likewise.
14543         (exp10_upward_test_data): Likewise.
14544         (exp10_test_upward): Likewise.
14545         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14546         (expm1_test_data): Likewise.
14547         (expm1_test): Use ALL_RM_TEST.
14548         (expm1_tonearest_test_data): Remove.
14549         (expm1_test_tonearest): Likewise.
14550         (expm1_towardzero_test_data): Likewise.
14551         (expm1_test_towardzero): Likewise.
14552         (expm1_downward_test_data): Likewise.
14553         (expm1_test_downward): Likewise.
14554         (expm1_upward_test_data): Likewise.
14555         (expm1_test_upward): Likewise.
14556         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14557         (fma_test): Use ALL_RM_TEST.
14558         (fma_towardzero_test_data): Remove.
14559         (fma_test_towardzero): Likewise.
14560         (fma_downward_test_data): Likewise.
14561         (fma_test_downward): Likewise.
14562         (fma_upward_test_data): Likewise.
14563         (fma_test_upward): Likewise.
14564         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14565         (j0_test_data): Update call to AUTO_TESTS_f_f.
14566         (j1_test_data): Likewise.
14567         (jn_test_data): Update call to AUTO_TESTS_if_f.
14568         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14569         (log_test_data): Update call to AUTO_TESTS_f_f.
14570         (log10_test_data): Likewise.
14571         (log1p_test_data): Likewise.
14572         (log2_test_data): Likewise.
14573         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14574         (pow_tonearest_test_data): Likewise.
14575         (sin_test_data): Update call to AUTO_TESTS_f_f.
14576         (sin_test): Use ALL_RM_TEST.
14577         (sin_tonearest_test_data): Remove.
14578         (sin_test_tonearest): Likewise.
14579         (sin_towardzero_test_data): Likewise.
14580         (sin_test_towardzero): Likewise.
14581         (sin_downward_test_data): Likewise.
14582         (sin_test_downward): Likewise.
14583         (sin_upward_test_data): Likewise.
14584         (sin_test_upward): Likewise.
14585         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14586         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14587         (sinh_test): Use ALL_RM_TEST.
14588         (sinh_tonearest_test_data): Remove.
14589         (sinh_test_tonearest): Likewise.
14590         (sinh_towardzero_test_data): Likewise.
14591         (sinh_test_towardzero): Likewise.
14592         (sinh_downward_test_data): Likewise.
14593         (sinh_test_downward): Likewise.
14594         (sinh_upward_test_data): Likewise.
14595         (sinh_test_upward): Likewise.
14596         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14597         (sqrt_test): Use ALL_RM_TEST.
14598         (sqrt_tonearest_test_data): Remove.
14599         (sqrt_test_tonearest): Likewise.
14600         (sqrt_towardzero_test_data): Likewise.
14601         (sqrt_test_towardzero): Likewise.
14602         (sqrt_downward_test_data): Likewise.
14603         (sqrt_test_downward): Likewise.
14604         (sqrt_upward_test_data): Likewise.
14605         (sqrt_test_upward): Likewise.
14606         (tan_test_data): Update call to AUTO_TESTS_f_f.
14607         (tan_test): Use ALL_RM_TEST.
14608         (tan_tonearest_test_data): Remove.
14609         (tan_test_tonearest): Likewise.
14610         (tan_towardzero_test_data): Likewise.
14611         (tan_test_towardzero): Likewise.
14612         (tan_downward_test_data): Likewise.
14613         (tan_test_downward): Likewise.
14614         (tan_upward_test_data): Likewise.
14615         (tan_test_upward): Likewise.
14616         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14617         (tgamma_test_data): Likewise.
14618         (y0_test_data): Likewise.
14619         (y1_test_data): Likewise.
14620         (yn_test_data): Update call to AUTO_TESTS_if_f.
14621         (main): Do not call removed functions.
14623 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14625         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14626         (ldexp_test_data): Remove.
14627         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14628         scalbn_test_data.
14629         (scalb_test): Use ALL_RM_TEST.
14631 2014-03-19  Andreas Schwab  <schwab@suse.de>
14633         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14635 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14637         [BZ #16649]
14638         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14639         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14640         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14641         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14642         (__ASSUME_PREADV): Undefine.
14643         (__ASSUME_PWRITEV): Likewise.
14645 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14647         * bits/mman-linux.h: Add comment about non-Linux use.
14648         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14649         bits/mman-linux.h resting place.
14651         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14652         * bits/mman-linux.h: ... here.
14654 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14656         * conform/conformtest.pl: Add standard definition when calling C
14657         preprocessor on data files.
14658         (checknamespace): Remove unused variable.
14660 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14662         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14663         minus_oflow, plus_uflow and minus_uflow in expected results.
14664         * math/libm-test.inc (scalbn_test_data): Add more tests of
14665         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14666         minus_uflow.
14667         (scalbn_test): Use ALL_RM_TEST.
14668         (scalbln_test_data): Add more tests of negative arguments.  Use
14669         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14670         (scalbln_test): Use ALL_RM_TEST.
14672 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14674         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14676 2014-03-18  Will Newton  <will.newton@linaro.org>
14678         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14679         inaccurate comment.
14681 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14683         * Makerules [!subdir] (check-abi): Exit with error status if a
14684         test failed.
14686 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14688         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14689         for rint.  Include results for all rounding modes.
14690         (nearbyint_test): Use ALL_RM_TEST.
14691         (rint_test_data): Include all tests used for nearbyint.
14693 2014-03-17  Will Newton  <will.newton@linaro.org>
14695         * nptl/sysdeps/pthread/pthread.h: Revert previous
14696         change.
14698         * sysdeps/generic/ldsodefs.h: Revert previous
14699         change.
14701         * libio/genops.c: Revert previous change.
14702         * libio/libioP.h: Likewise.
14703         * stdio-common/vfprintf.c: Likewise.
14705         * sysdeps/generic/math_private.h: Revert previous
14706         change.
14708         * sysdeps/generic/math_private.h: Check whether
14709         HAVE_RM_CTX is defined with #ifdef rather
14710         than #if.
14712         * argp/argp-fmtstream.h: Check whether
14713         __STRICT_ANSI__ is defined with #ifdef rather
14714         than #if.
14715         * argp/argp.h: Likewise.
14717         * libio/genops.c: Check whether
14718         _IO_JUMPS_OFFSET is defined with #ifdef rather
14719         than #if.
14720         * libio/libioP.h: Likewise.
14721         * stdio-common/vfprintf.c: Likewise.
14723         * sysdeps/generic/ldsodefs.h: Check whether
14724         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14725         than #if.
14727         * nptl/sysdeps/pthread/pthread.h: Check
14728         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14729         its value.
14731 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14733         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14734         setting O_APPEND.
14735         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14736         test case.
14738         [BZ #16680]
14739         * libio/fileops.c (_IO_file_open): Seek to end of file but
14740         don't cache the offset.
14741         (get_file_offset): Remove function.
14742         (do_ftell): Use cached offset when available.
14743         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14744         don't cache the offset.
14745         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14746         case.
14747         (do_one_test): Call it.
14748         (do_ftell_test): Fix up expected old offset for a+ mode.
14749         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14750         available.
14752         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14753         up test status with function return status.
14754         (do_write_test): Likewise.
14755         (do_append_test): Likewise.
14757         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14758         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14759         Remove.
14761 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14763         * math/gen-libm-test.pl (parse_args): Handle results specified for
14764         each rounding mode separately.
14765         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14766         tests and results from lrint_tonearest_test_data,
14767         lrint_towardzero_test_data, lrint_downward_test_data and
14768         lrint_upward_test_data.
14769         (lrint_test): Use ALL_RM_TEST.
14770         (lrint_tonearest_test_data): Remove.
14771         (lrint_test_tonearest): Likewise.
14772         (lrint_towardzero_test_data): Likewise.
14773         (lrint_test_towardzero): Likewise.
14774         (lrint_downward_test_data): Likewise.
14775         (lrint_test_downward): Likewise.
14776         (lrint_upward_test_data): Likewise.
14777         (lrint_test_upward): Likewise.
14778         (llrint_test_data): Merge in per-rounding-mode tests and results
14779         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14780         llrint_downward_test_data and llrint_upward_test_data.
14781         (llrint_test): Use ALL_RM_TEST.
14782         (llrint_tonearest_test_data): Remove.
14783         (llrint_test_tonearest): Likewise.
14784         (llrint_towardzero_test_data): Likewise.
14785         (llrint_test_towardzero): Likewise.
14786         (llrint_downward_test_data): Likewise.
14787         (llrint_test_downward): Likewise.
14788         (llrint_upward_test_data): Likewise.
14789         (llrint_test_upward): Likewise.
14790         (rint_test_data): Merge in per-rounding-mode tests and results
14791         from rint_tonearest_test_data, rint_towardzero_test_data,
14792         rint_downward_test_data and rint_upward_test_data.  Add
14793         per-rounding-mode results for tests not in those arrays.
14794         (rint_test): Use ALL_RM_TEST.
14795         (rint_tonearest_test_data): Remove.
14796         (rint_test_tonearest): Likewise.
14797         (rint_towardzero_test_data): Likewise.
14798         (rint_test_towardzero): Likewise.
14799         (rint_downward_test_data): Likewise.
14800         (rint_test_downward): Likewise.
14801         (rint_upward_test_data): Likewise.
14802         (rint_test_upward): Likewise.
14803         (main): Don't call removed functions.
14805 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14807         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14808         "Compiled on ..." crapola.  It is anti-useful.
14810 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14812         * scripts/evaluate-test.sh: Handle fourth argument to determine
14813         whether test run should stop on failure.
14814         * Makeconfig (stop-on-test-failure): New variable.
14815         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14816         $(stop-on-test-failure).
14817         * Makefile (tests): Give a summary of results from testing and
14818         exit with failure status if they include an ERROR or FAIL.
14819         (xtests): Likewise.
14820         * manual/install.texi (Configuring and compiling): Mention
14821         stop-on-test-failure=y.
14822         * INSTALL: Regenerated.
14824 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14826         * scripts/versionlist.awk: New file.
14827         * Makerules [$(build-shared) = yes]
14828         (postclean-generated): Add Versions.def, not Versions.def.v and
14829         Versions.def.v.i.
14830         ($(common-objpfx)Versions.def.v.i): Target removed.
14831         ($(common-objpfx)Versions.def): New target.
14832         ($(common-objpfx)Versions.all): Depend on that rather that
14833         $(common-objpfx)Versions.def.v.
14834         * Versions.def: File removed.
14836         * Makeconfig (+gccwarn): Add -Wundef.
14837         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14838         a dl-sysdep.h breaking its contract.
14839         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14840         * include/stackinfo.h: New file.
14841         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14842         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14843         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14844         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14845         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14846         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14847         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14848         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14849         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14850         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14851         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14852         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14853         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14854         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14855         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14857 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14859         [BZ #16707]
14860         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14861         implementation.
14862         * math/libm-test.inc (round_test_data): Add more tests.
14864         [BZ #16706]
14865         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14866         implementation.
14867         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14869         [BZ #16701]
14870         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14871         implementation.
14872         * math/libm-test.inc (ceil_test_data): Add more tests.
14874         * math/libm-test.inc (trunc_test_data): Add more tests related to
14875         BZ#16414.
14877 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14879         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14880         with #if rather than #ifdef.
14881         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14883 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14885         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14886         first.  Disable AVX-512 GCC support if assembler doesn't support
14887         it.
14888         * sysdeps/x86_64/configure: Regenerated.
14890 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14892         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14893         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14894         (__old_pthread_attr_setstack): Likewise.
14895         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14896         [!_STACK_GROWS_DOWN]: Likewise.
14898 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14900         * config.make.in (have-bash2): Delete.
14901         * configure.ac (libc_cv_have_bash2): Delete.
14902         * configure: Regenerate.
14903         * elf/Makefile (common-ldd-rewrite): Rename to ...
14904         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14905         (sh-ldd-rewrite): Delete.
14906         (bash-ldd-rewrite): Delete.
14907         (have-bash2): Delete checks.
14908         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14909         ldd-rewrite.
14911         * config.make.in (have-ksh): Delete.
14912         (KSH): Delete.
14913         * configure.ac (libc_cv_have_ksh): Delete.
14914         * configure: Regenerate.
14916         * elf/Makefile: Delete $(have-ksh) check.
14917         ($(objpfx)sotruss): Change KSH to BASH.
14918         * elf/sotruss.ksh: Rename to ...
14919         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14920         function style to match POSIX.  Drop ksh vim mode setting.
14922         * manual/time.texi (Specifying the Time Zone with TZ): Change
14923         Tuesday to Thursday.
14925         * debug/tst-longjmp_chk2.c: Update header comment.
14926         (stackoverflow_handler): Add comment.  Call assert on pass value.
14928 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14930         [BZ #16194]
14931         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14932         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14933         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14934         (La_x86_64_vector): Add zmm.
14935         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14936         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14937         ($(objpfx)tst-audit10): New target.
14938         ($(objpfx)tst-audit10.out): Likewise.
14939         (tst-audit10-ENV): New.
14940         (AVX512-CFLAGS): Likewise.
14941         (CFLAGS-tst-audit10.c): Likewise.
14942         (CFLAGS-tst-auditmod10a.c): Likewise.
14943         (CFLAGS-tst-auditmod10b.c): Likewise.
14944         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14945         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14946         * sysdeps/x86_64/configure: Regenerated.
14947         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14948         AVX-512 zmm register support.
14949         (_dl_x86_64_save_sse): Likewise.
14950         (_dl_x86_64_restore_sse): Likewise.
14951         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14952         size vector registers.
14953         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14954         (ZMM_SIZE): Likewise.
14955         * sysdeps/x86_64/tst-audit10.c: New file.
14956         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14957         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14959 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14961         * configure.ac (HAVE_EHDR_START): New check.
14962         * configure: Regenerated.
14963         * config.h.in (HAVE_EHDR_START): New #undef.
14964         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14965         assuming the lowest-addressed segment maps the start of the file.
14967 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14969         * INSTALL: Regenerated.
14971 2014-03-13  Will Newton  <will.newton@linaro.org>
14973         * manual/setjmp.texi (System V contexts): Improve
14974         clarity and grammar of documentation.
14976 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14978         [BZ #16381]
14979         * elf/Makefile (tests): Add tst-pie2.
14980         (tests-pie): Add tst-pie2.
14981         * elf/tst-pie2.c: New file.
14982         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14983         for ET_EXEC.
14984         * elf/rtld.c (map_doit): Load executable as lt_executable.
14985         (dl_main): Likewise.
14987 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14989         [BZ #16642]
14990         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14991         (__ASSUME_PSELECT): Undefine.
14993 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14995         [BZ #16689]
14996         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14997         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14998         static build.
14999         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15000         selector for static builds.
15002 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15004         [BZ #16695]
15005         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15006         key in the buffer.
15008 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15010         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15011         IFUNC selector for static builds.
15013 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15015         * sysdeps/mips/math_private.h [__mips_hard_float]
15016         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15017         libc_feresetround_mips_ctx.
15018         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15019         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15020         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15022         [BZ #16677]
15023         * math/s_nextafter.c (__nextafter): Do not return value from
15024         overflowing computation.
15025         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15026         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15027         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15028         Likewise.
15029         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15030         Likewise.
15031         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15032         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15034 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15036         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15037         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15038         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15039         the new mov targetting sp.
15041 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15043         [BZ #16683]
15044         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15045         Define it for static builds as well.
15046         (NO_BZERO_IMPL): Likewise.
15048 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15050         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15051         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15052         multiarch strspn for PPC64.
15053         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15054         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15056         (__libc_ifunc_impl_list): Likewise.
15057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15058         multiarch optimizations
15059         * string/strspn.c (strspn): Using macro to redefine symbol name.
15061 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15062             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15064         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15065         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15066         multiarch strncat for PPC64.
15067         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15068         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15070         (__libc_ifunc_impl_list): Likewise.
15071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15072         multiarch optimizations
15074 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15076         [BZ #16639]
15077         * nscd/nscd.service: Make service type forking.
15079 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15081         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15082         sign in non default rounding modes.
15083         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15085 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15087         * math/libm-test.inc (ALL_RM_TEST): New macro.
15088         (ceil_test): Use ALL_RM_TEST.
15089         (cimag_test): Likewise.
15090         (conj_test): Likewise.
15091         (copysign_test): Likewise.
15092         (cproj_test): Likewise.
15093         (creal_test): Likewise.
15094         (fabs_test): Likewise.
15095         (floor_test): Likewise.
15096         (fmax_test): Likewise.
15097         (fmin_test): Likewise.
15098         (fmod_test): Likewise.
15099         (fpclassify_test): Likewise.
15100         (frexp_test): Likewise.
15101         (ilogb_test): Likewise.
15102         (isfinite_test): Likewise.
15103         (finite_test): Likewise.
15104         (isgreater_test): Likewise.
15105         (isgreaterequal_test): Likewise.
15106         (isinf_test): Likewise.
15107         (isless_test): Likewise.
15108         (islessequal_test): Likewise.
15109         (islessgreater_test): Likewise.
15110         (isnan_test): Likewise.
15111         (isnormal_test): Likewise.
15112         (issignaling_test): Likewise.
15113         (isunordered_test): Likewise.
15114         (logb_test): Likewise.
15115         (logb_downward_test_data): Remove.
15116         (logb_test_downward): Likewise.
15117         (lround_test): Use ALL_RM_TEST.
15118         (llround_test): Likewise.
15119         (modf_test): Likewise.
15120         (nexttoward_test): Likewise.
15121         (remainder_test): Likewise.
15122         (drem_test): Likewise.
15123         (remainder_tonearest_test_data): Likewise.
15124         (remainder_test_tonearest): Likewise.
15125         (drem_test_tonearest): Likewise.
15126         (remainder_towardzero_test_data): Likewise.
15127         (remainder_test_towardzero): Likewise.
15128         (drem_test_towardzero): Likewise.
15129         (remainder_downward_test_data): Likewise.
15130         (remainder_test_downward): Likewise.
15131         (drem_test_downward): Likewise.
15132         (remainder_upward_test_data): Likewise.
15133         (remainder_test_upward): Likewise.
15134         (drem_test_upward): Likewise.
15135         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15136         (round_test): Use ALL_RM_TEST.
15137         (signbit_test): Likewise.
15138         (trunc_test): Likewise.
15139         (significand_test): Likewise.
15140         (main): Don't call removed functions.
15142 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15144         [BZ #16674]
15145         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15146         || __USE_XOPEN2K8].
15147         (ILL_ILLOPN): Likewise.
15148         (ILL_ILLADR): Likewise.
15149         (ILL_ILLTRP): Likewise.
15150         (ILL_PRVOPC): Likewise.
15151         (ILL_PRVREG): Likewise.
15152         (ILL_COPROC): Likewise.
15153         (ILL_BADSTK): Likewise.
15154         (FPE_INTDIV): Likewise.
15155         (FPE_INTOVF): Likewise.
15156         (FPE_FLTDIV): Likewise.
15157         (FPE_FLTOVF): Likewise.
15158         (FPE_FLTUND): Likewise.
15159         (FPE_FLTRES): Likewise.
15160         (FPE_FLTINV): Likewise.
15161         (FPE_FLTSUB): Likewise.
15162         (SEGV_MAPERR): Likewise.
15163         (SEGV_ACCERR): Likewise.
15164         (BUS_ADRALN): Likewise.
15165         (BUS_ADRERR): Likewise.
15166         (BUS_OBJERR): Likewise.
15167         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15168         (TRAP_TRACE): Likewise.
15169         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15170         __USE_XOPEN2K8].
15171         (CLD_KILLED): Likewise.
15172         (CLD_DUMPED): Likewise.
15173         (CLD_TRAPPED): Likewise.
15174         (CLD_STOPPED): Likewise.
15175         (CLD_CONTINUED): Likewise.
15176         (POLL_IN): Likewise.
15177         (POLL_OUT): Likewise.
15178         (POLL_MSG): Likewise.
15179         (POLL_ERR): Likewise.
15180         (POLL_PRI): Likewise.
15181         (POLL_HUP): Likewise.
15182         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15183         Likewise.
15184         (ILL_ILLOPN): Likewise.
15185         (ILL_ILLADR): Likewise.
15186         (ILL_ILLTRP): Likewise.
15187         (ILL_PRVOPC): Likewise.
15188         (ILL_PRVREG): Likewise.
15189         (ILL_COPROC): Likewise.
15190         (ILL_BADSTK): Likewise.
15191         (FPE_INTDIV): Likewise.
15192         (FPE_INTOVF): Likewise.
15193         (FPE_FLTDIV): Likewise.
15194         (FPE_FLTOVF): Likewise.
15195         (FPE_FLTUND): Likewise.
15196         (FPE_FLTRES): Likewise.
15197         (FPE_FLTINV): Likewise.
15198         (FPE_FLTSUB): Likewise.
15199         (SEGV_MAPERR): Likewise.
15200         (SEGV_ACCERR): Likewise.
15201         (BUS_ADRALN): Likewise.
15202         (BUS_ADRERR): Likewise.
15203         (BUS_OBJERR): Likewise.
15204         (BUS_MCEERR_AR): Likewise.
15205         (BUS_MCEERR_AO): Likewise.
15206         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15207         (TRAP_TRACE): Likewise.
15208         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15209         __USE_XOPEN2K8].
15210         (CLD_KILLED): Likewise.
15211         (CLD_DUMPED): Likewise.
15212         (CLD_TRAPPED): Likewise.
15213         (CLD_STOPPED): Likewise.
15214         (CLD_CONTINUED): Likewise.
15215         (POLL_IN): Likewise.
15216         (POLL_OUT): Likewise.
15217         (POLL_MSG): Likewise.
15218         (POLL_ERR): Likewise.
15219         (POLL_PRI): Likewise.
15220         (POLL_HUP): Likewise.
15221         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15222         (ILL_ILLOPN): Likewise.
15223         (ILL_ILLADR): Likewise.
15224         (ILL_ILLTRP): Likewise.
15225         (ILL_PRVOPC): Likewise.
15226         (ILL_PRVREG): Likewise.
15227         (ILL_COPROC): Likewise.
15228         (ILL_BADSTK): Likewise.
15229         (FPE_INTDIV): Likewise.
15230         (FPE_INTOVF): Likewise.
15231         (FPE_FLTDIV): Likewise.
15232         (FPE_FLTOVF): Likewise.
15233         (FPE_FLTUND): Likewise.
15234         (FPE_FLTRES): Likewise.
15235         (FPE_FLTINV): Likewise.
15236         (FPE_FLTSUB): Likewise.
15237         (SEGV_MAPERR): Likewise.
15238         (SEGV_ACCERR): Likewise.
15239         (BUS_ADRALN): Likewise.
15240         (BUS_ADRERR): Likewise.
15241         (BUS_OBJERR): Likewise.
15242         (BUS_MCEERR_AR): Likewise.
15243         (BUS_MCEERR_AO): Likewise.
15244         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15245         (TRAP_TRACE): Likewise.
15246         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15247         __USE_XOPEN2K8].
15248         (CLD_KILLED): Likewise.
15249         (CLD_DUMPED): Likewise.
15250         (CLD_TRAPPED): Likewise.
15251         (CLD_STOPPED): Likewise.
15252         (CLD_CONTINUED): Likewise.
15253         (POLL_IN): Likewise.
15254         (POLL_OUT): Likewise.
15255         (POLL_MSG): Likewise.
15256         (POLL_ERR): Likewise.
15257         (POLL_PRI): Likewise.
15258         (POLL_HUP): Likewise.
15259         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15260         Likewise.
15261         (ILL_ILLOPN): Likewise.
15262         (ILL_ILLADR): Likewise.
15263         (ILL_ILLTRP): Likewise.
15264         (ILL_PRVOPC): Likewise.
15265         (ILL_PRVREG): Likewise.
15266         (ILL_COPROC): Likewise.
15267         (ILL_BADSTK): Likewise.
15268         (ILL_BADIADDR): Likewise.
15269         (ILL_BREAK): Likewise.
15270         (FPE_INTDIV): Likewise.
15271         (FPE_INTOVF): Likewise.
15272         (FPE_FLTDIV): Likewise.
15273         (FPE_FLTOVF): Likewise.
15274         (FPE_FLTUND): Likewise.
15275         (FPE_FLTRES): Likewise.
15276         (FPE_FLTINV): Likewise.
15277         (FPE_FLTSUB): Likewise.
15278         (FPE_DECOVF): Likewise.
15279         (FPE_DECDIV): Likewise.
15280         (FPE_DECERR): Likewise.
15281         (FPE_INVASC): Likewise.
15282         (FPE_INVDEC): Likewise.
15283         (SEGV_MAPERR): Likewise.
15284         (SEGV_ACCERR): Likewise.
15285         (SEGV_PSTKOVF): Likewise.
15286         (BUS_ADRALN): Likewise.
15287         (BUS_ADRERR): Likewise.
15288         (BUS_OBJERR): Likewise.
15289         (BUS_MCEERR_AR): Likewise.
15290         (BUS_MCEERR_AO): Likewise.
15291         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15292         (TRAP_TRACE): Likewise.
15293         (TRAP_BRANCH): Likewise.
15294         (TRAP_HWBKPT): Likewise.
15295         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15296         __USE_XOPEN2K8].
15297         (CLD_KILLED): Likewise.
15298         (CLD_DUMPED): Likewise.
15299         (CLD_TRAPPED): Likewise.
15300         (CLD_STOPPED): Likewise.
15301         (CLD_CONTINUED): Likewise.
15302         (POLL_IN): Likewise.
15303         (POLL_OUT): Likewise.
15304         (POLL_MSG): Likewise.
15305         (POLL_ERR): Likewise.
15306         (POLL_PRI): Likewise.
15307         (POLL_HUP): Likewise.
15308         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15309         (ILL_ILLOPN): Likewise.
15310         (ILL_ILLADR): Likewise.
15311         (ILL_ILLTRP): Likewise.
15312         (ILL_PRVOPC): Likewise.
15313         (ILL_PRVREG): Likewise.
15314         (ILL_COPROC): Likewise.
15315         (ILL_BADSTK): Likewise.
15316         (FPE_INTDIV): Likewise.
15317         (FPE_INTOVF): Likewise.
15318         (FPE_FLTDIV): Likewise.
15319         (FPE_FLTOVF): Likewise.
15320         (FPE_FLTUND): Likewise.
15321         (FPE_FLTRES): Likewise.
15322         (FPE_FLTINV): Likewise.
15323         (FPE_FLTSUB): Likewise.
15324         (SEGV_MAPERR): Likewise.
15325         (SEGV_ACCERR): Likewise.
15326         (BUS_ADRALN): Likewise.
15327         (BUS_ADRERR): Likewise.
15328         (BUS_OBJERR): Likewise.
15329         (BUS_MCEERR_AR): Likewise.
15330         (BUS_MCEERR_AO): Likewise.
15331         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15332         (TRAP_TRACE): Likewise.
15333         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15334         __USE_XOPEN2K8].
15335         (CLD_KILLED): Likewise.
15336         (CLD_DUMPED): Likewise.
15337         (CLD_TRAPPED): Likewise.
15338         (CLD_STOPPED): Likewise.
15339         (CLD_CONTINUED): Likewise.
15340         (POLL_IN): Likewise.
15341         (POLL_OUT): Likewise.
15342         (POLL_MSG): Likewise.
15343         (POLL_ERR): Likewise.
15344         (POLL_PRI): Likewise.
15345         (POLL_HUP): Likewise.
15346         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15347         (ILL_ILLOPN): Likewise.
15348         (ILL_ILLADR): Likewise.
15349         (ILL_ILLTRP): Likewise.
15350         (ILL_PRVOPC): Likewise.
15351         (ILL_PRVREG): Likewise.
15352         (ILL_COPROC): Likewise.
15353         (ILL_BADSTK): Likewise.
15354         (FPE_INTDIV): Likewise.
15355         (FPE_INTOVF): Likewise.
15356         (FPE_FLTDIV): Likewise.
15357         (FPE_FLTOVF): Likewise.
15358         (FPE_FLTUND): Likewise.
15359         (FPE_FLTRES): Likewise.
15360         (FPE_FLTINV): Likewise.
15361         (FPE_FLTSUB): Likewise.
15362         (SEGV_MAPERR): Likewise.
15363         (SEGV_ACCERR): Likewise.
15364         (BUS_ADRALN): Likewise.
15365         (BUS_ADRERR): Likewise.
15366         (BUS_OBJERR): Likewise.
15367         (BUS_MCEERR_AR): Likewise.
15368         (BUS_MCEERR_AO): Likewise.
15369         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15370         (TRAP_TRACE): Likewise.
15371         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15372         __USE_XOPEN2K8].
15373         (CLD_KILLED): Likewise.
15374         (CLD_DUMPED): Likewise.
15375         (CLD_TRAPPED): Likewise.
15376         (CLD_STOPPED): Likewise.
15377         (CLD_CONTINUED): Likewise.
15378         (POLL_IN): Likewise.
15379         (POLL_OUT): Likewise.
15380         (POLL_MSG): Likewise.
15381         (POLL_ERR): Likewise.
15382         (POLL_PRI): Likewise.
15383         (POLL_HUP): Likewise.
15384         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15385         (ILL_ILLOPN): Likewise.
15386         (ILL_ILLADR): Likewise.
15387         (ILL_ILLTRP): Likewise.
15388         (ILL_PRVOPC): Likewise.
15389         (ILL_PRVREG): Likewise.
15390         (ILL_COPROC): Likewise.
15391         (ILL_BADSTK): Likewise.
15392         (FPE_INTDIV): Likewise.
15393         (FPE_INTOVF): Likewise.
15394         (FPE_FLTDIV): Likewise.
15395         (FPE_FLTOVF): Likewise.
15396         (FPE_FLTUND): Likewise.
15397         (FPE_FLTRES): Likewise.
15398         (FPE_FLTINV): Likewise.
15399         (FPE_FLTSUB): Likewise.
15400         (SEGV_MAPERR): Likewise.
15401         (SEGV_ACCERR): Likewise.
15402         (BUS_ADRALN): Likewise.
15403         (BUS_ADRERR): Likewise.
15404         (BUS_OBJERR): Likewise.
15405         (BUS_MCEERR_AR): Likewise.
15406         (BUS_MCEERR_AO): Likewise.
15407         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15408         (TRAP_TRACE): Likewise.
15409         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15410         __USE_XOPEN2K8].
15411         (CLD_KILLED): Likewise.
15412         (CLD_DUMPED): Likewise.
15413         (CLD_TRAPPED): Likewise.
15414         (CLD_STOPPED): Likewise.
15415         (CLD_CONTINUED): Likewise.
15416         (POLL_IN): Likewise.
15417         (POLL_OUT): Likewise.
15418         (POLL_MSG): Likewise.
15419         (POLL_ERR): Likewise.
15420         (POLL_PRI): Likewise.
15421         (POLL_HUP): Likewise.
15422         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15423         (ILL_ILLOPN): Likewise.
15424         (ILL_ILLADR): Likewise.
15425         (ILL_ILLTRP): Likewise.
15426         (ILL_PRVOPC): Likewise.
15427         (ILL_PRVREG): Likewise.
15428         (ILL_COPROC): Likewise.
15429         (ILL_BADSTK): Likewise.
15430         (ILL_DBLFLT): Likewise.
15431         (ILL_HARDWALL): Likewise.
15432         (FPE_INTDIV): Likewise.
15433         (FPE_INTOVF): Likewise.
15434         (FPE_FLTDIV): Likewise.
15435         (FPE_FLTOVF): Likewise.
15436         (FPE_FLTUND): Likewise.
15437         (FPE_FLTRES): Likewise.
15438         (FPE_FLTINV): Likewise.
15439         (FPE_FLTSUB): Likewise.
15440         (SEGV_MAPERR): Likewise.
15441         (SEGV_ACCERR): Likewise.
15442         (BUS_ADRALN): Likewise.
15443         (BUS_ADRERR): Likewise.
15444         (BUS_OBJERR): Likewise.
15445         (BUS_MCEERR_AR): Likewise.
15446         (BUS_MCEERR_AO): Likewise.
15447         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15448         (TRAP_TRACE): Likewise.
15449         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15450         __USE_XOPEN2K8].
15451         (CLD_KILLED): Likewise.
15452         (CLD_DUMPED): Likewise.
15453         (CLD_TRAPPED): Likewise.
15454         (CLD_STOPPED): Likewise.
15455         (CLD_CONTINUED): Likewise.
15456         (POLL_IN): Likewise.
15457         (POLL_OUT): Likewise.
15458         (POLL_MSG): Likewise.
15459         (POLL_ERR): Likewise.
15460         (POLL_PRI): Likewise.
15461         (POLL_HUP): Likewise.
15462         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15463         (ILL_ILLOPN): Likewise.
15464         (ILL_ILLADR): Likewise.
15465         (ILL_ILLTRP): Likewise.
15466         (ILL_PRVOPC): Likewise.
15467         (ILL_PRVREG): Likewise.
15468         (ILL_COPROC): Likewise.
15469         (ILL_BADSTK): Likewise.
15470         (FPE_INTDIV): Likewise.
15471         (FPE_INTOVF): Likewise.
15472         (FPE_FLTDIV): Likewise.
15473         (FPE_FLTOVF): Likewise.
15474         (FPE_FLTUND): Likewise.
15475         (FPE_FLTRES): Likewise.
15476         (FPE_FLTINV): Likewise.
15477         (FPE_FLTSUB): Likewise.
15478         (SEGV_MAPERR): Likewise.
15479         (SEGV_ACCERR): Likewise.
15480         (BUS_ADRALN): Likewise.
15481         (BUS_ADRERR): Likewise.
15482         (BUS_OBJERR): Likewise.
15483         (BUS_MCEERR_AR): Likewise.
15484         (BUS_MCEERR_AO): Likewise.
15485         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15486         (TRAP_TRACE): Likewise.
15487         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15488         __USE_XOPEN2K8].
15489         (CLD_KILLED): Likewise.
15490         (CLD_DUMPED): Likewise.
15491         (CLD_TRAPPED): Likewise.
15492         (CLD_STOPPED): Likewise.
15493         (CLD_CONTINUED): Likewise.
15494         (POLL_IN): Likewise.
15495         (POLL_OUT): Likewise.
15496         (POLL_MSG): Likewise.
15497         (POLL_ERR): Likewise.
15498         (POLL_PRI): Likewise.
15499         (POLL_HUP): Likewise.
15500         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15501         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15503         [BZ #16670]
15504         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15505         before #include of <time.h>.
15506         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15507         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15508         (test-xfail-UNIX98/sched.h/conform): Likewise.
15510 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15512         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15513         error absence of trapping exception support.
15514         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15516 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15518         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15519         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15520         * timezone/Makefile (testdata): Move definition above include of
15521         Rules.
15522         (test-zones): New variable.
15523         (tests-special): Add zone files.
15524         (build-testdata): Use $(evaluate-test).
15526         * elf/Makefile (tests-special): Rename tests to end with .out.
15527         ($(objpfx)noload-mem): Likewise.
15528         ($(objpfx)tst-leaks1-mem): Likewise.
15529         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15530         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15531         $(objpfx)test-iconvconfig.out.
15532         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15533         set -e inside subshell and redirect output to file.
15534         * iconvdata/Makefile (generated): Rename tests to end with .out.
15535         Correct type.
15536         (tests-special): Rename tests to end with .out.
15537         ($(objpfx)mtrace-tst-loading): Likewise.
15538         * intl/Makefile (generated): Likewise.
15539         (tests-special): Likewise.
15540         ($(objpfx)mtrace-tst-gettext): Likewise.
15541         * misc/Makefile (generated): Likewise.
15542         (tests-special): Likewise.
15543         ($(objpfx)tst-error1-mem): Likewise.
15544         * nptl/Makefile (tests-special): Likewise.
15545         ($(objpfx)tst-stack3-mem): Likewise.
15546         (generated): Likewise.
15547         * posix/Makefile (generated): Likewise.
15548         (tests-special): Likewise.
15549         (xtests-special): Likewise.
15550         ($(objpfx)tst-fnmatch-mem): Likewise.
15551         ($(objpfx)bug-regex2-mem): Likewise.
15552         ($(objpfx)bug-regex14-mem): Likewise.
15553         ($(objpfx)bug-regex21-mem): Likewise.
15554         ($(objpfx)bug-regex31-mem): Likewise.
15555         ($(objpfx)tst-vfork3-mem): Likewise.
15556         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15557         ($(objpfx)tst-pcre-mem): Likewise.
15558         ($(objpfx)tst-boost-mem): Likewise.
15559         ($(objpfx)bug-ga2-mem): Likewise.
15560         ($(objpfx)bug-glob2-mem): Likewise.
15561         * resolv/Makefile (generate): Likewise.
15562         (tests-special): Likewise.
15563         (xtests-special): Likewise.
15564         (generated): Likewise.
15565         ($(objpfx)mtrace-tst-leaks): Likewise.
15566         ($(objpfx)mtrace-tst-leaks2): Likewise.
15568         * scripts/merge-test-results.sh: New file.
15569         * Makefile (tests-special-notdir): New variable.
15570         (tests): Run merge-test-results.sh.
15571         (xtests): Likewise.
15572         * Rules (tests-special-notdir): New variable.
15573         (xtests-special-notdir): Likewise.
15574         (tests): Run merge-test-results.sh
15575         (xtests): Likewise.
15577         * Makeconfig (test-xfail-name): New variable.
15578         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15579         compute variable name for expected failures.
15580         * conform/Makefile (conformtest-headers-data): New variable.
15581         (conformtest-standards): Likewise.
15582         (conformtest-headers-ISO): Likewise.
15583         (conformtest-headers-ISO99): Likewise.
15584         (conformtest-headers-ISO11): Likewise.
15585         (conformtest-headers-POSIX): Likewise.
15586         (conformtest-headers-XPG3): Likewise.
15587         (conformtest-headers-XPG4): Likewise.
15588         (conformtest-headers-UNIX98): Likewise.
15589         (conformtest-headers-XOPEN2K): Likewise.
15590         (conformtest-headers-POSIX2008): Likewise.
15591         (conformtest-headers-XOPEN2K8): Likewise.
15592         (conformtest-header-list-base): Likewise.
15593         (conformtest-header-list-tests): Likewise.
15594         (conformtest-header-base): Likewise.
15595         (conformtest-header-tests): Likewise.
15596         (tests-special): Add $(conformtest-header-list-tests).  If
15597         [$(fast-check) && !$(cross-compiling)], add
15598         $(conformtest-header-tests) instead of
15599         $(objpfx)run-conformtest.out.
15600         (generated): Add $(conformtest-header-list-base).  If
15601         [$(fast-check) && !$(cross-compiling)], add
15602         $(conformtest-header-base).  Remove previous setting.
15603         ($(conformtest-header-list-tests)): New target.
15604         (test-xfail-run-conformtest): Remove variable.
15605         ($(objpfx)run-conformtest.out): Remove target.
15606         (test-xfail-ISO11/complex.h/conform): New variable.
15607         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15608         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15609         (test-xfail-XPG3/varargs.h/conform): Likewise.
15610         (test-xfail-XPG4/varargs.h/conform): Likewise.
15611         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15612         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15613         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15614         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15615         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15616         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15617         (test-xfail-XPG3/ftw.h/conform): Likewise.
15618         (test-xfail-XPG3/grp.h/conform): Likewise.
15619         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15620         (test-xfail-XPG3/limits.h/conform): Likewise.
15621         (test-xfail-XPG3/pwd.h/conform): Likewise.
15622         (test-xfail-XPG3/search.h/conform): Likewise.
15623         (test-xfail-XPG3/signal.h/conform): Likewise.
15624         (test-xfail-XPG3/stdio.h/conform): Likewise.
15625         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15626         (test-xfail-XPG3/string.h/conform): Likewise.
15627         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15628         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15629         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15630         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15631         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15632         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15633         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15634         (test-xfail-XPG3/termios.h/conform): Likewise.
15635         (test-xfail-XPG3/time.h/conform): Likewise.
15636         (test-xfail-XPG3/unistd.h/conform): Likewise.
15637         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15638         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15639         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15640         (test-xfail-XPG4/netdb.h/conform): Likewise.
15641         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15642         (test-xfail-XPG4/signal.h/conform): Likewise.
15643         (test-xfail-XPG4/stdio.h/conform): Likewise.
15644         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15645         (test-xfail-XPG4/stropts.h/conform): Likewise.
15646         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15647         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15648         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15649         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15650         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15651         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15652         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15653         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15654         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15655         (test-xfail-XPG4/termios.h/conform): Likewise.
15656         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15657         (test-xfail-XPG4/unistd.h/conform): Likewise.
15658         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15659         (test-xfail-POSIX/sched.h/conform): Likewise.
15660         (test-xfail-POSIX/signal.h/conform): Likewise.
15661         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15662         (test-xfail-POSIX/tar.h/conform): Likewise.
15663         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15664         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15665         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15666         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15667         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15668         (test-xfail-UNIX98/sched.h/conform): Likewise.
15669         (test-xfail-UNIX98/signal.h/conform): Likewise.
15670         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15671         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15672         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15673         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15674         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15675         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15676         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15677         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15678         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15679         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15680         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15681         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15682         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15683         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15684         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15685         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15686         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15687         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15688         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15689         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15690         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15691         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15692         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15693         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15694         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15695         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15696         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15697         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15698         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15699         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15700         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15701         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15702         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15703         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15704         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15705         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15706         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15707         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15708         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15709         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15710         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15711         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15712         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15713         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15714         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15715         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15716         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15717         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15718         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15719         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15720         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15721         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15722         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15723         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15724         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15725         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15726         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15727         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15728         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15729         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15730         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15731         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15732         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15733         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15734         (conformtest-cc-flags): Likewise.
15735         ($(conformtest-header-tests): New target.
15736         * conform/check-header-lists.sh: New file.
15737         * conform/run-conformtest.sh: Remove.
15739         * conform/conformtest.pl: Allow ' and \ in values given for
15740         constants.
15741         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15742         inclusion.
15743         [POSIX] (sys/types.h): Likewise.
15744         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15745         inclusion.
15746         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15747         inclusion.
15748         * conform/data/signal.h-data (SIGIO): Remove expectation.
15749         [XPG3] (SIGBUS): Do not expect.
15750         [POSIX || XPG3] (SIGPOLL): Likewise.
15751         [POSIX || XPG3] (SIGPROF): Likewise.
15752         [POSIX || XPG3] (SIGSYS): Likewise.
15753         [XPG3] (SIGTRAP): Likewise.
15754         [POSIX || XPG3] (SIGURG): Likewise.
15755         [POSIX || XPG3] (SIGVTALRM): Likewise.
15756         [POSIX || XPG3] (SIGXCPU): Likewise.
15757         [POSIX || XPG3] (SIGXFSZ): Likewise.
15758         [POSIX] (SA_SIGINFO): Expect.
15759         [XPG3] (siginfo_t): Do not expect type or contents.
15760         [POSIX] (si_pid): Do not expect element.
15761         [POSIX] (si_uid): Likewise.
15762         [POSIX] (si_addr): Likewise.
15763         [POSIX] (si_status): Likewise.
15764         [POSIX] (si_band): Likewise.
15765         [XPG4] (si_value): Likewise.
15766         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15767         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15768         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15769         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15770         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15771         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15772         [POSIX || XPG3] (ILL_COPROC): Likewise.
15773         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15774         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15775         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15776         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15777         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15778         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15779         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15780         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15781         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15782         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15783         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15784         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15785         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15786         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15787         [POSIX || XPG3] (CLD_EXITED): Likewise.
15788         [POSIX || XPG3] (CLD_KILLED): Likewise.
15789         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15790         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15791         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15792         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15793         [POSIX || XPG3] (POLL_IN): Likewise.
15794         [POSIX || XPG3] (POLL_OUT): Likewise.
15795         [POSIX || XPG3] (POLL_MSG): Likewise.
15796         [POSIX || XPG3] (POLL_ERR): Likewise.
15797         [POSIX || XPG3] (POLL_PRI): Likewise.
15798         [POSIX || XPG3] (POLL_HUP): Likewise.
15799         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15800         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15801         (SIG*): Do not allow.
15802         [XPG3] (si_*): Likewise.
15803         [XPG3] (SI_*): Likewise.
15804         [XPG3 || XPG4] (sigev_*): Likewise.
15805         [XPG3 || XPG4] (SIGEV_*): Likewise.
15806         [XPG3 || XPG4] (sival_*): Likewise.
15807         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15808         [POSIX || XPG3] (BUS_*): Likewise.
15809         [POSIX || XPG3] (CLD_*): Likewise.
15810         [POSIX || XPG3] (FPE_*): Likewise.
15811         [POSIX || XPG3] (ILL_*): Likewise.
15812         [POSIX || XPG3] (POLL_*): Likewise.
15813         [POSIX || XPG3] (SEGV_*): Likewise.
15814         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15815         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15816         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15817         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15818         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15819         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15820         Specify type and value.
15821         (TVERSLEN): Likewise.
15822         (REGTYPE): Likewise.
15823         (AREGTYPE): Likewise.
15824         (LNKTYPE): Likewise.
15825         (SYMTYPE): Likewise.
15826         (CHRTYPE): Likewise.
15827         (BLKTYPE): Likewise.
15828         (DIRTYPE): Likewise.
15829         (FIFOTYPE): Likewise.
15830         (CONTTYPE): Likewise.
15831         (TSUID): Likewise.
15832         (TSGID): Likewise.
15833         (TSVTX): Likewise.
15834         (TUREAD): Likewise.
15835         (TUWRITE): Likewise.
15836         (TUEXEC): Likewise.
15837         (TGREAD): Likewise.
15838         (TGWRITE): Likewise.
15839         (TGEXEC): Likewise.
15840         (TOREAD): Likewise.
15841         (TOWRITE): Likewise.
15842         (TOEXEC): Likewise.
15843         [POSIX] (TSVTX): Expect constant.
15845 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15847         * Makefile (tests): Change dependencies to ....
15848         (tests-special): ... additions to this variable.
15849         (tests): Depend on $(tests-special).
15850         * Makerules (check-abi-list): New variable.
15851         (check-abi): Depend on $(check-abi-list).
15852         [$(subdir) = elf] (tests-special): Add
15853         $(objpfx)check-abi-libc.out.
15854         [$(build-shared) = yes && subdir] (tests-special): Add
15855         $(check-abi-list).
15856         [$(build-shared) = yes && subdir] (tests): Do not depend on
15857         check-abi.
15858         * Rules (tests): Depend on $(tests-special).
15859         (xtests): Depend on $(xtests-special).
15860         * catgets/Makefile (tests): Change dependencies to ....
15861         (tests-special): ... additions to this variable.
15862         * conform/Makefile (tests): Change dependencies to ....
15863         (tests-special): ... additions to this variable.
15864         * elf/Makefile (tests): Change dependencies to ....
15865         (tests-special): ... additions to this variable.
15866         * grp/Makefile (tests): Change dependencies to ....
15867         (tests-special): ... additions to this variable.
15868         * iconv/Makefile (xtests): Change dependencies to ....
15869         (xtests-special): ... additions to this variable.
15870         * iconvdata/Makefile (tests): Change dependencies to ....
15871         (tests-special): ... additions to this variable.
15872         * intl/Makefile (tests): Change dependencies to ....
15873         (tests-special): ... additions to this variable.  Also add
15874         $(objpfx)tst-gettext.out.
15875         * io/Makefile (tests): Change dependencies to ....
15876         (tests-special): ... additions to this variable.
15877         * libio/Makefile (tests): Change dependencies to ....
15878         (tests-special): ... additions to this variable.
15879         * malloc/Makefile (tests): Change dependencies to ....
15880         (tests-special): ... additions to this variable.
15881         * misc/Makefile (tests): Change dependencies to ....
15882         (tests-special): ... additions to this variable.
15883         * nptl/Makefile (tests): Change dependencies to ....
15884         (tests-special): ... additions to this variable.
15885         * nptl_db/Makefile (tests): Change dependencies to ....
15886         (tests-special): ... additions to this variable.
15887         * posix/Makefile (tests): Change dependencies to ....
15888         (tests-special): ... additions to this variable.
15889         (xtests): Change dependencies to ....
15890         (xtests-special): ... additions to this variable.
15891         * resolv/Makefile (tests): Change dependencies to ....
15892         (tests-special): ... additions to this variable.
15893         (xtests): Change dependencies to ....
15894         (xtests-special): ... additions to this variable.
15895         * stdio-common/Makefile (tests): Change dependencies to ....
15896         (tests-special): ... additions to this variable.
15897         (do-tst-unbputc): Remove target.
15898         (do-tst-printf): Likewise.
15899         * stdlib/Makefile (tests): Change dependencies to ....
15900         (tests-special): ... additions to this variable.
15901         * string/Makefile (tests): Change dependencies to ....
15902         (tests-special): ... additions to this variable.
15903         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15904         (tests-special): ... additions to this variable.
15906         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15907         whole file.
15908         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15909         whole file.
15910         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15911         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15913         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15914         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15915         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15916         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15917         * conform/data/libgen.h-data [XPG3]: Likewise.
15918         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15919         * conform/data/ndbm.h-data [XPG3]: Likewise.
15920         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15921         * conform/data/netdb.h-data [XPG3]: Likewise.
15922         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15923         * conform/data/poll.h-data [XPG3]: Likewise.
15924         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15925         * conform/data/strings.h-data [XPG3]: Likewise.
15926         * conform/data/stropts.h-data [XPG3]: Likewise.
15927         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15928         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15929         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15930         Likewise.
15931         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15932         * conform/data/sys/time.h-data [XPG3]: Likewise.
15933         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15934         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15935         * conform/data/sys/un.h-data [XPG3]: Likewise.
15936         * conform/data/syslog.h-data [XPG3]: Likewise.
15937         * conform/data/ucontext.h-data [XPG3]: Likewise.
15938         * conform/data/utmpx.h-data [XPG3]: Likewise.
15939         * conform/data/varargs.h-data [UNIX98]: Enable file.
15941         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15943         * math/libm-test.inc (struct test_f_f_data): Move expected results
15944         into structure for each rounding mode.
15945         (struct test_ff_f_data): Likewise.
15946         (struct test_ff_f_data_nexttoward): Likewise.
15947         (struct test_fi_f_data): Likewise.
15948         (struct test_fl_f_data): Likewise.
15949         (struct test_if_f_data): Likewise.
15950         (struct test_fff_f_data): Likewise.
15951         (struct test_c_f_data): Likewise.
15952         (struct test_f_f1_data): Likewise.
15953         (struct test_fF_f1_data): Likewise.
15954         (struct test_ffI_f1_data): Likewise.
15955         (struct test_c_c_data): Likewise.
15956         (struct test_cc_c_data): Likewise.
15957         (struct test_f_i_data): Likewise.
15958         (struct test_ff_i_data): Likewise.
15959         (struct test_f_l_data): Likewise.
15960         (struct test_f_L_data): Likewise.
15961         (struct test_fFF_11_data): Likewise.
15962         (RM_): New macro.
15963         (RM_FE_DOWNWARD): Likewise.
15964         (RM_FE_TONEAREST): Likewise.
15965         (RM_FE_TOWARDZERO): Likewise.
15966         (RM_FE_UPWARD): Likewise.
15967         (RUN_TEST_LOOP_f_f): Update references to expected results.
15968         (RUN_TEST_LOOP_2_f): Likewise.
15969         (RUN_TEST_LOOP_fff_f): Likewise.
15970         (RUN_TEST_LOOP_c_f): Likewise.
15971         (RUN_TEST_LOOP_f_f1): Likewise.
15972         (RUN_TEST_LOOP_fF_f1): Likewise.
15973         (RUN_TEST_LOOP_fI_f1): Likewise.
15974         (RUN_TEST_LOOP_ffI_f1): Likewise.
15975         (RUN_TEST_LOOP_c_c): Likewise.
15976         (RUN_TEST_LOOP_cc_c): Likewise.
15977         (RUN_TEST_LOOP_f_i): Likewise.
15978         (RUN_TEST_LOOP_f_i_tg): Likewise.
15979         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15980         (RUN_TEST_LOOP_f_b): Likewise.
15981         (RUN_TEST_LOOP_f_b_tg): Likewise.
15982         (RUN_TEST_LOOP_f_l): Likewise.
15983         (RUN_TEST_LOOP_f_L): Likewise.
15984         (RUN_TEST_LOOP_fFF_11): Likewise.
15985         * math/gen-libm-test.pl (parse_args): Output four copies of
15986         expected results for each test.
15988         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15989         (__ASSUME_UTIMES): Remove.
15990         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15991         (__ASSUME_UTIMES): Likewise.
15993         * math/gen-auto-libm-tests.c: Update comment on output format.
15994         (output_for_one_input_case): Generate before-rounding and
15995         after-rounding information as conditions on output flags not
15996         floating-point format.
15997         * math/auto-libm-test-out: Regenerated.
15998         * math/gen-libm-test.pl (cond_value): New function.
15999         (or_cond_value): Use cond_value.
16000         (generate_testfile): Handle conditional exceptions.
16002 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16004         * math/libm-test.inc (max_valid_error): New variable.
16005         (init_max_error): Take new argument specifying whether function
16006         results are exactly determined.  Set max_valid_error and bound
16007         other variables for errors based on this argument.
16008         (set_max_error): Do not record results above max_valid_error.
16009         (check_float_internal): Only accept errors of up to 0.5ulps if
16010         also at most max_valid_error.
16011         (START): Take new argument EXACT and pass it to init_max_error.
16012         (acos_test): Update call to START.
16013         (acos_test_tonearest): Likewise.
16014         (acos_test_towardzero): Likewise.
16015         (acos_test_downward): Likewise.
16016         (acos_test_upward): Likewise.
16017         (acosh_test): Likewise.
16018         (asin_test): Likewise.
16019         (asin_test_tonearest): Likewise.
16020         (asin_test_towardzero): Likewise.
16021         (asin_test_downward): Likewise.
16022         (asin_test_upward): Likewise.
16023         (asinh_test): Likewise.
16024         (atan_test): Likewise.
16025         (atanh_test): Likewise.
16026         (atan2_test): Likewise.
16027         (cabs_test): Likewise.
16028         (cacos_test): Likewise.
16029         (cacosh_test): Likewise.
16030         (carg_test): Likewise.
16031         (casin_test): Likewise.
16032         (casinh_test): Likewise.
16033         (catan_test): Likewise.
16034         (catanh_test): Likewise.
16035         (cbrt_test): Likewise.
16036         (ccos_test): Likewise.
16037         (ccosh_test): Likewise.
16038         (ceil_test): Likewise.
16039         (cexp_test): Likewise.
16040         (cimag_test): Likewise.
16041         (clog_test): Likewise.
16042         (clog10_test): Likewise.
16043         (conj_test): Likewise.
16044         (copysign_test): Likewise.
16045         (cos_test): Likewise.
16046         (cos_test_tonearest): Likewise.
16047         (cos_test_towardzero): Likewise.
16048         (cos_test_downward): Likewise.
16049         (cos_test_upward): Likewise.
16050         (cosh_test): Likewise.
16051         (cosh_test_tonearest): Likewise.
16052         (cosh_test_towardzero): Likewise.
16053         (cosh_test_downward): Likewise.
16054         (cosh_test_upward): Likewise.
16055         (cpow_test): Likewise.
16056         (cproj_test): Likewise.
16057         (creal_test): Likewise.
16058         (csin_test): Likewise.
16059         (csinh_test): Likewise.
16060         (csqrt_test): Likewise.
16061         (ctan_test): Likewise.
16062         (ctan_test_tonearest): Likewise.
16063         (ctan_test_towardzero): Likewise.
16064         (ctan_test_downward): Likewise.
16065         (ctan_test_upward): Likewise.
16066         (ctanh_test): Likewise.
16067         (ctanh_test_tonearest): Likewise.
16068         (ctanh_test_towardzero): Likewise.
16069         (ctanh_test_downward): Likewise.
16070         (ctanh_test_upward): Likewise.
16071         (erf_test): Likewise.
16072         (erfc_test): Likewise.
16073         (exp_test): Likewise.
16074         (exp_test_tonearest): Likewise.
16075         (exp_test_towardzero): Likewise.
16076         (exp_test_downward): Likewise.
16077         (exp_test_upward): Likewise.
16078         (exp10_test): Likewise.
16079         (exp10_test_tonearest): Likewise.
16080         (exp10_test_towardzero): Likewise.
16081         (exp10_test_downward): Likewise.
16082         (exp10_test_upward): Likewise.
16083         (pow10_test): Likewise.
16084         (exp2_test): Likewise.
16085         (expm1_test): Likewise.
16086         (expm1_test_tonearest): Likewise.
16087         (expm1_test_towardzero): Likewise.
16088         (expm1_test_downward): Likewise.
16089         (expm1_test_upward): Likewise.
16090         (fabs_test): Likewise.
16091         (fdim_test): Likewise.
16092         (floor_test): Likewise.
16093         (fma_test): Likewise.
16094         (fma_test_towardzero): Likewise.
16095         (fma_test_downward): Likewise.
16096         (fma_test_upward): Likewise.
16097         (fmax_test): Likewise.
16098         (fmin_test): Likewise.
16099         (fmod_test): Likewise.
16100         (fpclassify_test): Likewise.
16101         (frexp_test): Likewise.
16102         (hypot_test): Likewise.
16103         (ilogb_test): Likewise.
16104         (isfinite_test): Likewise.
16105         (finite_test): Likewise.
16106         (isgreater_test): Likewise.
16107         (isgreaterequal_test): Likewise.
16108         (isinf_test): Likewise.
16109         (isless_test): Likewise.
16110         (islessequal_test): Likewise.
16111         (islessgreater_test): Likewise.
16112         (isnan_test): Likewise.
16113         (isnormal_test): Likewise.
16114         (issignaling_test): Likewise.
16115         (isunordered_test): Likewise.
16116         (j0_test): Likewise.
16117         (j1_test): Likewise.
16118         (jn_test): Likewise.
16119         (ldexp_test): Likewise.
16120         (lgamma_test): Likewise.
16121         (gamma_test): Likewise.
16122         (lrint_test): Likewise.
16123         (lrint_test_tonearest): Likewise.
16124         (lrint_test_towardzero): Likewise.
16125         (lrint_test_downward): Likewise.
16126         (lrint_test_upward): Likewise.
16127         (llrint_test): Likewise.
16128         (llrint_test_tonearest): Likewise.
16129         (llrint_test_towardzero): Likewise.
16130         (llrint_test_downward): Likewise.
16131         (llrint_test_upward): Likewise.
16132         (log_test): Likewise.
16133         (log10_test): Likewise.
16134         (log1p_test): Likewise.
16135         (log2_test): Likewise.
16136         (logb_test): Likewise.
16137         (logb_test_downward): Likewise.
16138         (lround_test): Likewise.
16139         (llround_test): Likewise.
16140         (modf_test): Likewise.
16141         (nearbyint_test): Likewise.
16142         (nextafter_test): Likewise.
16143         (nexttoward_test): Likewise.
16144         (pow_test): Likewise.
16145         (pow_test_tonearest): Likewise.
16146         (pow_test_towardzero): Likewise.
16147         (pow_test_downward): Likewise.
16148         (pow_test_upward): Likewise.
16149         (remainder_test): Likewise.
16150         (drem_test): Likewise.
16151         (remainder_test_tonearest): Likewise.
16152         (drem_test_tonearest): Likewise.
16153         (remainder_test_towardzero): Likewise.
16154         (drem_test_towardzero): Likewise.
16155         (remainder_test_downward): Likewise.
16156         (drem_test_downward): Likewise.
16157         (remainder_test_upward): Likewise.
16158         (drem_test_upward): Likewise.
16159         (remquo_test): Likewise.
16160         (rint_test): Likewise.
16161         (rint_test_tonearest): Likewise.
16162         (rint_test_towardzero): Likewise.
16163         (rint_test_downward): Likewise.
16164         (rint_test_upward): Likewise.
16165         (round_test): Likewise.
16166         (scalb_test): Likewise.
16167         (scalbn_test): Likewise.
16168         (scalbln_test): Likewise.
16169         (signbit_test): Likewise.
16170         (sin_test): Likewise.
16171         (sin_test_tonearest): Likewise.
16172         (sin_test_towardzero): Likewise.
16173         (sin_test_downward): Likewise.
16174         (sin_test_upward): Likewise.
16175         (sincos_test): Likewise.
16176         (sinh_test): Likewise.
16177         (sinh_test_tonearest): Likewise.
16178         (sinh_test_towardzero): Likewise.
16179         (sinh_test_downward): Likewise.
16180         (sinh_test_upward): Likewise.
16181         (sqrt_test): Likewise.
16182         (sqrt_test_tonearest): Likewise.
16183         (sqrt_test_towardzero): Likewise.
16184         (sqrt_test_downward): Likewise.
16185         (sqrt_test_upward): Likewise.
16186         (tan_test): Likewise.
16187         (tan_test_tonearest): Likewise.
16188         (tan_test_towardzero): Likewise.
16189         (tan_test_downward): Likewise.
16190         (tan_test_upward): Likewise.
16191         (tanh_test): Likewise.
16192         (tgamma_test): Likewise.
16193         (trunc_test): Likewise.
16194         (y0_test): Likewise.
16195         (y1_test): Likewise.
16196         (yn_test): Likewise.
16197         (significand_test): Likewise.
16199         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16200         individual tests in comment.
16201         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16202         (prev_max_error): New variable.
16203         (prev_real_max_error): Likewise.
16204         (prev_imag_max_error): Likewise.
16205         (compare_ulp_data): Don't refer to test names in comment.
16206         (find_test_ulps): Remove function.
16207         (find_function_ulps): Likewise.
16208         (find_complex_function_ulps): Likewise.
16209         (init_max_error): Take function name as argument.  Look up ulps
16210         for that function.
16211         (print_ulps): Remove function.
16212         (print_max_error): Use prev_max_error instead of calling
16213         find_function_ulps.
16214         (print_complex_max_error): Use prev_real_max_error and
16215         prev_imag_max_error instead of calling find_complex_function_ulps.
16216         (check_float_internal): Take max_ulp parameter instead of calling
16217         find_test_ulps.  Don't call print_ulps.
16218         (check_float): Update call to check_float_internal.
16219         (check_complex): Update calls to check_float_internal.
16220         (START): Pass argument to init_max_error.
16221         * math/gen-libm-test.pl (%results): Don't include "kind"
16222         information.
16223         (parse_ulps): Don't handle ulps of individual tests.
16224         (print_ulps_file): Likewise.
16225         (output_ulps): Likewise.
16226         * math/README.libm-test: Update.
16227         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16228         individual tests.
16229         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16230         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16231         * sysdeps/arm/libm-test-ulps: Likewise.
16232         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16233         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16234         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16235         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16236         * sysdeps/microblaze/libm-test-ulps: Likewise.
16237         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16238         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16239         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16240         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16241         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16242         * sysdeps/sh/libm-test-ulps: Likewise.
16243         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16244         * sysdeps/tile/libm-test-ulps: Likewise.
16245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16247 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16249         * math/libm-test.inc (print_complex_max_error): Check separately
16250         whether real and imaginary errors are within allowed range and
16251         pass 0 to print_complex_function_ulps instead of value within
16252         allowed range.
16254 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16256         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16257         formatting.
16258         (get_handles_fopen): Likewise.
16259         (do_write_test): Likewise.
16261         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16263         * libio/fileops.c (do_ftell): Use cached offset when
16264         available.
16265         * libio/iofwide.c (do_ftell_wide): Likewise.
16266         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16267         _IO_file_attach.
16268         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16270         [BZ #16532]
16271         * libio/libioP.h (get_file_offset): New function.
16272         * libio/fileops.c (get_file_offset): Likewise.
16273         (do_ftell): Likewise.
16274         (_IO_new_file_seekoff): Split out ftell logic.
16275         * libio/wfileops.c (do_ftell_wide): Likewise.
16276         (_IO_wfile_seekoff): Split out ftell logic.
16277         * libio/tst-ftell-active-handler.c: New test case.
16278         * libio/Makefile (tests): Add it.
16280 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16282         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16283         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16285 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16287         [BZ #16639]
16288         * nscd/connections.c (nscd_init): Call do_exit.
16289         (start_threads): Call do_exit and notify_parent.
16290         (begin_drop_privileges): Call do_exit.
16291         (finish_drop_privileges): Likewise.
16292         * nscd/selinux.c (preserve_capabilities): Likewise.
16293         (install_real_capabilities): Likewise.
16294         (nscd_selinux_enabled): Likewise.
16295         (avc_create_thread): Likewise.
16296         (avc_alloc_lock): Likewise.
16297         (nscd_avc_init): Likewise.
16298         * nscd/nscd.c (parent_fd): New static variable.
16299         (main): Create a pipe between parent and child processes.
16300         Skip closing parent_fd.
16301         (monitor_child): New function.
16302         (do_exit): Likewise.
16303         (notify_parent): Likewise.
16304         * nscd/nscd.h (notify_parent): Likewise.
16305         (do_exit): Likewise.
16307 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16309         * malloc/malloc.c (__libc_calloc): Revert last change.
16311 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16315 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16317         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16319         implementation.
16320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16321         (__libc_ifunc_impl_list): Likewise.
16322         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16323         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16324         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16325         * string/strrchr.c: Define STRRCHR.
16327 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16329         * benchtest/bench-strtok.c (simple_strtok): Delete.
16330         (strtok_string): Use as benchmark.
16331         * string/strtok (STRTOK): New macro.
16333 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16335         * manual/threads.texi: Add header and standard comments to all
16336         functions.
16338         * elf/dl-lookup.c (check_match): New function.
16339         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16340         (do_lookup_x): Remove nested function check_match. Use non-nested
16341         function check_match.
16343 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16345         * csu/Makefile (generated, before-compile): Use += rather than =.
16346         * catgets/Makefile (generated, generated-dirs): Likewise.
16347         * debug/Makefile (generated): Likewise.
16348         * dlfcn/Makefile (generated): Likewise.
16349         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16350         * iconvdata/Makefile (before-compile, generated): Likewise.
16351         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16352         * libio/Makefile (generated): Likewise.
16353         * malloc/Makefile (generated): Likewise.
16354         * manual/Makefile (generated, generated-dirs): Likewise.
16355         * misc/Makefile (generated): Likewise.
16356         * posix/Makefile (generated): Likewise.
16357         * resolv/Makefile (generated): Likewise.
16358         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16359         * timezone/Makefile (generated, generated-dirs): Likewise.
16361         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16363 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16366         power8 implementation.
16367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16368         file: POWER8 llround ifunc implementation.
16369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16370         (__lllround): Add POWER8 implementation.
16371         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16372         POWER8 llround implementation.
16374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16375         power8 implementation.
16376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16377         file: POWER8 llrint ifunc implementation.
16378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16379         Add POWER8 implementation.
16380         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16381         POWER8 llrint implementation.
16383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16384         power8 implementation.
16385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16386         file: POWER8 finite ifunc implementation.
16387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16388         Add POWER8 implementation.
16389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16390         Likewise.
16391         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16392         POWER8 finite implementation.
16393         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16396         power8 implementation.
16397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16398         file: POWER8 isinf ifunc implementation.
16399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16400         POWER8 implementation.
16401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16402         Likewise.
16403         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16404         isinf implementation.
16405         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16407         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16408         (INIT_ARCH): Add hwcap2 initialization.
16409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16410         power8 implementation.
16411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16412         file: POWER8 isnan ifunc implementation.
16413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16414         POWER8 implementation.
16415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16416         Likewise.
16417         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16418         isnan implementation.
16419         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16421 2014-02-27  Joey Ye  <joey.ye@arm.com>
16423         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16424         (_FP_NANFRAC_Q): Set to zero.
16426 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16428         [BZ #16623]
16429         * math/auto-libm-test-in: New test inputs.
16430         * math/auto-libm-test-out: Regenerate.
16431         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16432         and DA.
16433         (__cos): Likewise.
16434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16436 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16438         * scripts/evaluate-test.sh: Take new argument indicating whether
16439         failure is expected.
16440         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16441         indicating whether failure is expected.
16442         * conform/Makefile (test-xfail-run-conformtest): New variable.
16443         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16444         level.
16445         * posix/Makefile (test-xfail-annexc): New variable.
16446         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16448 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16450         * argp/Makefile: Include Makeconfig immediately after defining
16451         subdir.
16452         * assert/Makefile: Likewise.
16453         * benchtests/Makefile: Likewise.
16454         * catgets/Makefile: Likewise.
16455         * conform/Makefile: Likewise.
16456         * crypt/Makefile: Likewise.
16457         * csu/Makefile: Likewise.
16458         (all): Remove target.
16459         * ctype/Makefile: Include Makeconfig immediately after defining
16460         subdir.
16461         * debug/Makefile: Likewise.
16462         * dirent/Makefile: Likewise.
16463         * dlfcn/Makefile: Likewise.
16464         * gmon/Makefile: Likewise.
16465         * gnulib/Makefile: Likewise.
16466         * grp/Makefile: Likewise.
16467         * gshadow/Makefile: Likewise.
16468         * hesiod/Makefile: Likewise.
16469         * hurd/Makefile: Likewise.
16470         (all): Remove target.
16471         * iconvdata/Makefile: Include Makeconfig immediately after
16472         defining subdir.
16473         * inet/Makefile: Likewise.
16474         * intl/Makefile: Likewise.
16475         * io/Makefile: Likewise.
16476         * libio/Makefile: Likewise.
16477         (all): Remove target.
16478         * locale/Makefile: Include Makeconfig immediately after defining
16479         subdir.
16480         * login/Makefile: Likewise.
16481         * mach/Makefile: Likewise.
16482         (all): Remove target.
16483         * malloc/Makefile: Include Makeconfig immediately after defining
16484         subdir.
16485         (all): Remove target.
16486         * manual/Makefile: Include Makeconfig immediately after defining
16487         subdir.
16488         * math/Makefile: Likewise.
16489         * misc/Makefile: Likewise.
16490         * nis/Makefile: Likewise.
16491         * nss/Makefile: Likewise.
16492         * po/Makefile: Likewise.
16493         (all): Remove target.
16494         * posix/Makefile: Include Makeconfig immediately after defining
16495         subdir.
16496         * pwd/Makefile: Likewise.
16497         * resolv/Makefile: Likewise.
16498         * resource/Makefile: Likewise.
16499         * rt/Makefile: Likewise.
16500         * setjmp/Makefile: Likewise.
16501         * shadow/Makefile: Likewise.
16502         * signal/Makefile: Likewise.
16503         * socket/Makefile: Likewise.
16504         * soft-fp/Makefile: Likewise.
16505         * stdio-common/Makefile: Likewise.
16506         * stdlib/Makefile: Likewise.
16507         * streams/Makefile: Likewise.
16508         * string/Makefile: Likewise.
16509         * sunrpc/Makefile: Likewise.
16510         (all): Remove target.
16511         * sysvipc/Makefile: Include Makeconfig immediately after defining
16512         subdir.
16513         * termios/Makefile: Likewise.
16514         * time/Makefile: Likewise.
16515         * timezone/Makefile: Likewise.
16516         (all): Remove target.
16517         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16518         subdir.
16519         * wctype/Makefile: Likewise.
16521 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16523         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16524         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16525         (libc_feholdexcept_setround_mips): Ditto.
16526         (libc_feholdsetround): New.
16527         (libc_feholdsetroundf): New.
16528         (libc_feholdsetroundl): New.
16529         (libc_feupdateenv_test_mips): New.
16530         (libc_feupdateenv_test): New.
16531         (libc_feupdateenv_testf): New.
16532         (libc_feupdateenv_testl): New.
16533         (libc_feresetround): New.
16534         (libc_feresetroundf): New.
16535         (libc_feresetroundl): New.
16536         (libc_fetestexcept_mips): New.
16537         (libc_fetestexcept): New.
16538         (libc_fetestexceptf): New.
16539         (libc_fetestexceptl): New.
16540         (HAVE_RM_CTX): New.
16541         (libc_feholdexcept_setround_mips_ctx): New.
16542         (libc_feholdexcept_setround_ctx): New.
16543         (libc_feholdexcept_setroundf_ctx): New.
16544         (libc_feholdexcept_setroundl_ctx): New.
16545         (libc_fesetenv_mips_ctx): New.
16546         (libc_fesetenv_ctx): New.
16547         (libc_fesetenv_ctxf): New.
16548         (libc_fesetenv_ctxl): New.
16549         (libc_feupdateenv_mips_ctx): New.
16550         (libc_feupdateenv_ctx): New.
16551         (libc_feupdateenvf_ctx): New.
16552         (libc_feupdateenvl_ctx): New.
16553         (libc_feholdsetround_mips_ctx): New.
16554         (libc_feholdsetround_ctx): New.
16555         (libc_feholdsetroundf_ctx): New.
16556         (libc_feholdsetroundl_ctx): New.
16557         (libc_feresetround_mips_ctx): New.
16558         (libc_feresetround_ctx): New.
16559         (libc_feresetroundf_ctx): New.
16560         (libc_feresetroundl_ctx): New.
16562 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16564         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16566         * manual/ipc.texi: New file.
16567         * manual/Makefile (chapters): Add ipc.
16568         * manual/job.texi: Add "Inter-Process Communication" to next.
16569         * manual/process.texi: Add "Inter-Process Communication" to prev.
16571 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16575 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16577         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16579         * manual/arith.texi: Fix spaces after sentences.
16580         * manual/charset.texi: Likewise.
16581         * manual/errno.texi: Likewise.
16582         * manual/install.texi: Likewise.
16583         * manual/llio.texi: Likewise.
16584         * manual/locale.texi: Likewise.
16585         * manual/maint.texi: Likewise.
16586         * manual/math.texi: Likewise.
16587         * manual/memory.texi: Likewise.
16588         * manual/message.texi: Likewise.
16589         * manual/probes.texi: Likewise.
16590         * manual/resource.texi: Likewise.
16591         * manual/signal.texi: Likewise.
16592         * manual/socket.texi: Likewise.
16593         * manual/stdio.texi: Likewise.
16594         * manual/string.texi: Likewise.
16595         * manual/time.texi: Likewise.
16596         * manual/users.texi: Likewise.
16598 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16600         [BZ #16632]
16601         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16602         _DEFAULT_SOURCE is defined.
16604 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16605             Carlos O'Donell  <carlos@redhat.com>
16607         [BZ #16613]
16608         * elf/dl-tls.c (_dl_count_modids): New function.
16609         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16610         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16611         audit library and increment generation counter.
16612         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16613         * elf/tst-audit9.c: New file.
16614         * elf/tst-auditmod9a.c: New file.
16615         * elf/tst-auditmod9b.c: New file.
16616         * elf/Makefile: Add rules to build and run tst-audit9.
16618 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16620         [BZ #15347]
16621         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16623 2014-02-25  Will Newton  <will.newton@linaro.org>
16625         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16626         (__longjmp): Restore sp and lr before restoring callee
16627         saved registers.  Add longjmp and longjmp_target
16628         SystemTap probe point.
16629         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16630         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16631         Define to zero to match jmpbuf layout.
16632         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16633         (__sigsetjmp): Save sp and lr before saving callee
16634         saved registers.  Add setjmp SystemTap probe point.
16636 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16638         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16640 2014-02-24  Andreas Schwab  <schwab@suse.de>
16642         [BZ #15804]
16643         * elf/pldd.c (wait_for_ptrace_stop): New function.
16644         (main): Call it after attaching.
16646 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16648         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16649         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16650         Versions files is now verboten.
16651         * hurd/Versions (libc: GLIBC_2.0):
16652         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16653         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16654         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16655         * mach/Versions: Likewise.
16657         * csu/Versions: Remove unused %include.
16658         * resolv/Versions: Likewise.
16660 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16662         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16663         ($(objpfx)check-local-headers.out): Likewise.
16664         ($(objpfx)begin-end-check.out): Likewise.
16665         * Makerules (check-abi-%.out): Likewise.
16666         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16667         ($(objpfx)test2.cat): Likewise.
16668         ($(objpfx)de/libc.cat): Likewise.
16669         ($(objpfx)test-gencat.out): Likewise.
16670         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16671         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16672         ($(objpfx)noload-mem): Likewise.
16673         ($(objpfx)tst-pathopt.out): Likewise.
16674         ($(objpfx)tst-rtld-load-self.out): Likewise.
16675         ($(objpfx)tst-array1-cmp.out): Likewise.
16676         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16677         ($(objpfx)tst-array2-cmp.out): Likewise.
16678         ($(objpfx)tst-array3-cmp.out): Likewise.
16679         ($(objpfx)tst-array4-cmp.out): Likewise.
16680         ($(objpfx)tst-array5-cmp.out): Likewise.
16681         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16682         ($(objpfx)check-textrel.out): Likewise.
16683         ($(objpfx)check-execstack.out): Likewise.
16684         ($(objpfx)check-localplt.out): Likewise.
16685         ($(objpfx)order2-cmp.out): Likewise.
16686         ($(objpfx)tst-leaks1-mem): Likewise.
16687         ($(objpfx)tst-leaks1-static-mem): Likewise.
16688         ($(objpfx)tst-initorder-cmp.out): Likewise.
16689         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16690         ($(objpfx)tst-unused-dep.out): Likewise.
16691         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16692         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16693         * iconv/Makefile (test-iconvconfig): Likewise.
16694         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16695         ($(objpfx)iconv-test.out): Likewise.
16696         ($(objpfx)tst-tables.out): Likewise.
16697         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16698         ($(objpfx)tst-gettext.out): Likewise.
16699         ($(objpfx)tst-translit.out): Likewise.
16700         ($(objpfx)tst-gettext2.out): Likewise.
16701         ($(objpfx)tst-gettext4.out): Likewise.
16702         ($(objpfx)tst-gettext6.out): Likewise.
16703         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16704         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16705         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16706         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16707         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16708         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16709         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16710         ($(objpfx)wordexp-tst.out): Likewise.
16711         ($(objpfx)annexc.out): Likewise.
16712         ($(objpfx)tst-fnmatch-mem): Likewise.
16713         ($(objpfx)bug-regex2-mem): Likewise.
16714         ($(objpfx)bug-regex14-mem): Likewise.
16715         ($(objpfx)bug-regex21-mem): Likewise.
16716         ($(objpfx)bug-regex31-mem): Likewise.
16717         ($(objpfx)tst-vfork3-mem): Likewise.
16718         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16719         ($(objpfx)tst-pcre-mem): Likewise.
16720         ($(objpfx)tst-boost-mem): Likewise.
16721         ($(objpfx)tst-getconf.out): Likewise.
16722         ($(objpfx)bug-ga2-mem): Likewise.
16723         ($(objpfx)bug-glob2-mem): Likewise.
16724         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16725         ($(objpfx)mtrace-tst-leaks2): Likewise.
16726         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16727         ($(objpfx)tst-printf.out): Likewise.
16728         ($(objpfx)tst-setvbuf1.out): Likewise.
16729         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16730         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16731         ($(objpfx)tst-fmtmsg.out): Likewise.
16732         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16733         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16735         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16736         * bits/sigaction.h [__USE_MISC]: Likewise.
16737         * bits/waitstatus.h: Update #endif comments.
16738         * ctype/ctype.h: Likewise.
16739         * dirent/dirent.h: Likewise.
16740         [__USE_MISC]: Remove redundant conditionals.
16741         * grp/grp.h: Update #endif comments.
16742         [__USE_GNU]: Remove redundant conditionals.
16743         [__USE_MISC]: Likewise.
16744         * inet/netinet/in.h [__USE_GNU]: Likewise.
16745         * io/sys/stat.h [__USE_MISC]: Likewise.
16746         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16747         * libio/bits/stdio.h: Update #endif comments.
16748         [__USE_MISC]: Remove redundant conditionals.
16749         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16750         * libio/stdio.h: Update #endif comments.
16751         [__USE_MISC]: Remove redundant conditionals.
16752         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16753         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16754         * math/math.h: Update #else and #endif comments.
16755         [__USE_MISC]: Remove redundant conditionals.
16756         * misc/sys/uio.h: Update #endif comments.
16757         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16758         * posix/glob.h [__USE_MISC]: Likewise.
16759         * posix/sys/types.h: Update #endif comments.
16760         [__USE_MISC]: Remove redundant conditionals.
16761         * posix/sys/wait.h: Update #endif comments.
16762         [__USE_MISC]: Remove redundant conditionals.
16763         * posix/unistd.h: Update #endif comments.
16764         [__USE_MISC]: Remove redundant conditionals.
16765         * pwd/pwd.h [__USE_GNU]: Likewise.
16766         [__USE_MISC]: Likewise.
16767         * resolv/netdb.h [__USE_GNU]: Likewise.
16768         * signal/signal.h: Update #endif comments.
16769         [__USE_MISC]: Remove redundant conditionals.
16770         * stdlib/stdlib.h: Update #else and #endif comments.
16771         [__USE_MISC]: Remove redundant conditionals.
16772         [__USE_GNU]: Likewise.
16773         * string/bits/string2.h [__USE_MISC]: Likewise.
16774         * string/string.h: Update #endif comments.
16775         [__USE_MISC]: Remove redundant conditionals.
16776         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16777         Likewise.
16778         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16779         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16780         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16781         Likewise.
16782         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16783         Likewise.
16784         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16785         comments.
16786         [__USE_MISC]: Remove redundant conditionals.
16787         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16788         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16789         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16790         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16791         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16792         Likewise.
16793         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16794         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16795         Likewise.
16796         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16797         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16798         Likewise.
16799         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16800         Likewise.
16801         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16802         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16803         Likewise.
16804         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16805         Likewise.
16806         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16807         * sysdeps/x86/bits/string.h: Update #endif comments.
16808         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16809         conditionals.
16810         * time/sys/time.h: Update #endif comments.
16811         * time/time.h: Likewise.
16812         [__USE_MISC]: Remove redundant conditionals.
16814 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16816         [BZ #16600]
16817         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16819 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16821         * Versions.def (librt): Add GLIBC_2.17.
16823 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16825         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16826         synonym for _SYS_AUXV_H to allow direct inclusion.
16827         * sysdeps/sparc/bits/hwcap.h: Likewise.
16828         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16829         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16830         * sysdeps/sparc/sysdep.h: Likewise.
16832 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16834         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16836 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16838         * benchtests/bench-strrchr.c: Print length instead of position.
16840 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16842         [BZ #16611]
16843         * sysdeps/unix/sysv/linux/kernel-features.h
16844         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16845         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16846         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16847         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16848         Likewise.
16849         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16850         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16851         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16852         (__ASSUME_SENDMMSG): Define instead of using previous
16853         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16854         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16855         (__ASSUME_SENDMMSG_SYSCALL): Define.
16856         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16857         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16858         Likewise.
16859         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16860         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16861         Likewise.
16862         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16863         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16864         Likewise.
16865         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16866         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16867         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16868         [__ASSUME_SENDMMSG]: Change conditionals to
16869         [__ASSUME_SENDMMSG_SOCKETCALL].
16870         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16871         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16872         Define.
16873         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16874         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16875         Likewise.
16876         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16877         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16878         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16879         [!__ASSUME_SENDMMSG]: Change conditional to
16880         [!__ASSUME_SENDMMSG_SOCKETCALL].
16881         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16882         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16883         Define.
16885         [BZ #16610]
16886         * sysdeps/unix/sysv/linux/kernel-features.h
16887         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16888         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16889         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16890         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16891         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16892         [__i386__ || __sparc__]
16893         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16894         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16895         (__ASSUME_RECVMMSG): Define instead of using previous
16896         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16897         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16898         (__ASSUME_RECVMMSG_SYSCALL): Define.
16899         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16900         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16901         Likewise.
16902         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16903         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16904         Likewise.
16905         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16906         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16907         Likewise.
16908         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16909         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16910         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16911         [__ASSUME_RECVMMSG]: Change condition to
16912         [__ASSUME_RECVMMSG_SOCKETCALL].
16913         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16914         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16915         Define.
16916         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16917         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16918         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16919         Likewise.
16920         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16921         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16922         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16923         [!__ASSUME_RECVMMSG]: Change condition to
16924         [!__ASSUME_RECVMMSG_SOCKETCALL].
16925         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16926         (__ASSUME_RECVMMSG_SYSCALL): Define.
16928         [BZ #16609]
16929         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16930         __powerpc__ || __s390__ || __sh__ || __sparc__]
16931         (__ASSUME_SOCKETCALL): Define.
16932         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16933         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16934         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16935         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16936         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16937         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16938         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16939         (__ASSUME_ACCEPT4): Define instead of using previous
16940         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16941         __powerpc__ || __sparc__ || __s390__)] condition.
16942         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16943         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16944         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16945         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16946         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16947         [!__ASSUME_ACCEPT4]: Change condition to
16948         [!__ASSUME_ACCEPT4_SOCKETCALL].
16949         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16950         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16951         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16952         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16953         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16954         __ASSUME_ACCEPT4_SYSCALL.
16955         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16956         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16957         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16958         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16959         __ASSUME_ACCEPT4_SYSCALL.
16960         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16961         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16962         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16963         [__ASSUME_ACCEPT4]: Change condition to
16964         [__ASSUME_ACCEPT4_SOCKETCALL].
16965         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16966         (__ASSUME_SOCKETCALL): Define.
16967         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16969         (__ASSUME_SOCKETCALL): Define.
16970         (__ASSUME_ACCEPT4): Remove.
16971         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16972         Define.
16973         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16974         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16977         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16979         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16980         macro.
16981         (HWCAP_ARM_LPAE): Likewise.
16982         (HWCAP_ARM_EVTSTRM): Likewise.
16983         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16984         Add vpfd32, lpae and evtstrm.
16985         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16986         Increase to 22.
16988 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16990         * math/auto-libm-test-in: Add tests of clog10.
16991         * math/auto-libm-test-out: Regenerated.
16992         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16993         * sysdeps/i386/fpu/libm-test-ulps: Update.
16994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16996 2014-02-18  Andreas Schwab  <schwab@suse.de>
16998         [BZ #16574]
16999         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17000         Store non-zero if the second buffer was newly allocated.
17001         (send_dg): Likewise.
17002         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17003         to send_vc and send_dg.
17004         (res_nsend): Pass NULL for ansp2_malloced.
17005         * resolv/res_query.c (__libc_res_nquery): Add parameter
17006         answerp2_malloced and pass it down to __libc_res_nsend.
17007         (res_nquery): Pass additional NULL to __libc_res_nquery.
17008         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17009         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17010         second answer buffer if answerp2_malloced was set.
17011         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17012         (__libc_res_nquerydomain): Add parameter
17013         answerp2_malloced and pass it down to __libc_res_nquery.
17014         (res_nquerydomain): Pass additional NULL to
17015         __libc_res_nquerydomain.
17016         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17017         additional NULL to __libc_res_nsend and __libc_res_nquery.
17018         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17019         additional NULL to __libc_res_nsearch.
17020         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17021         parameter of __libc_res_nsearch to check for separately allocated
17022         second buffer.
17023         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17024         __libc_res_nquery.
17025         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17026         additional NULL to __libc_res_nquery.
17027         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17028         __libc_res_nsearch.
17029         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17030         * include/resolv.h: Update prototypes of __libc_res_nquery,
17031         __libc_res_nsearch, __libc_res_nsend.
17033 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17035         * math/auto-libm-test-in: Add tests of fma.
17036         * math/auto-libm-test-out: Regenerated.
17037         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17038         (fma_towardzero_test_data): Likewise.
17039         (fma_downward_test_data): Likewise.
17040         (fma_upward_test_data): Likewise.
17041         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17042         mpc_mode.
17043         (rounding_modes): Add values for new field.
17044         (func_calc_method): Add value mpfr_fff_f.
17045         (func_calc_desc): Add mpfr_fff_f union field.
17046         (test_function): Add field exact_args.
17047         (FUNC): Add macro argument EXACT_ARGS.
17048         (FUNC_mpfr_f_f): Update call to FUNC.
17049         (FUNC_mpfr_f_f): Likewise.
17050         (FUNC_mpfr_ff_f): Likewise.
17051         (FUNC_mpfr_if_f): Likewise.
17052         (FUNC_mpc_c_f): Likewise.
17053         (FUNC_mpc_c_c): Likewise.
17054         (test_functions): Add fma.  Update calls to FUNC.
17055         (handle_input_arg): Add argument exact_args.
17056         (add_test): Update call to handle_input_arg.
17057         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17058         (output_for_one_input_case): Update call to calc_generic_results.
17059         Recalculate exact zero results in each rounding mode.
17061         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17062         non-negative before setting low bit.
17063         * math/auto-libm-test-in: Mark one asin test possibly having
17064         spurious underflow.
17065         * math/auto-libm-test-out: Regenerated.
17066         * sysdeps/i386/fpu/libm-test-ulps: Update.
17067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17069 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17071         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17072         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17073         ports/sysdeps/unix/sysv/linux/microblaze.
17074         * README: Add missing listing for microblaze*-*-linux-gnu.
17076 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17078         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17079         duplicate code
17081 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17083         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17084         * sysdeps/unix/sysv/linux/ia64: Move directory from
17085         ports/sysdeps/unix/sysv/linux/ia64.
17086         * README: Update listing for ia64-*-linux-gnu.
17088 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17089             Joseph Myers  <joseph@codesourcery.com>
17091         * Makeconfig (test-name): New variable.
17092         (evaluate-test): Likewise.
17093         * Makerules (do-test-clean): Remove .test-result files.
17094         (common-mostlyclean): Likewise.
17095         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17096         * scripts/evaluate-test.sh: New file.
17098 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17100         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17101         separate $(objpfx)tst-fopenloc-cmp.out and
17102         $(objpfx)tst-fopenloc-mem.out targets.
17103         (tests): Update dependencies.
17104         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17105         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17106         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17107         (tst-rxspencer-no-utf8-ARGS): New variable.
17108         (tst-rxspencer-no-utf8-ENV): Likewise.
17109         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17110         instead of $(objpfx)tst-rxspencer-mem.
17111         ($(objpfx)tst-rxspencer-mem): Change target to
17112         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17113         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17114         * posix/tst-rxspencer-no-utf8.c: New file.
17116         * elf/Makefile ($(objpfx)order.out): Remove rule.
17117         [$(run-built-tests) = yes] (tests): Depend on
17118         $(objpfx)order-cmp.out.
17119         ($(objpfx)order-cmp.out): New rule.
17120         [$(run-built-tests) = yes] (tests): Depend on
17121         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17122         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17123         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17124         $(objpfx)tst-array5-static-cmp.out.
17125         ($(objpfx)tst-array1.out): Remove rule.
17126         ($(objpfx)tst-array1-cmp.out): New rule.
17127         ($(objpfx)tst-array1-static.out): Remove rule.
17128         ($(objpfx)tst-array1-static-cmp.out): New rule.
17129         ($(objpfx)tst-array2.out): Remove rule.
17130         ($(objpfx)tst-array2-cmp.out): New rule.
17131         ($(objpfx)tst-array3.out): Remove rule.
17132         ($(objpfx)tst-array3-cmp.out): New rule.
17133         ($(objpfx)tst-array4.out): Remove rule.
17134         ($(objpfx)tst-array4-cmp.out): New rule.
17135         ($(objpfx)tst-array5.out): Remove rule.
17136         ($(objpfx)tst-array5-cmp.out): New rule.
17137         ($(objpfx)tst-array5-static.out): Remove rule.
17138         ($(objpfx)tst-array5-static-cmp.out): New rule.
17139         [$(run-built-tests) = yes] (tests): Depend on
17140         $(objpfx)order2-cmp.out.
17141         ($(objpfx)order2.out): Remove rule.
17142         ($(objpfx)order2-cmp.out): New rule.
17143         ($(objpfx)tst-initorder.out): Remove rule.
17144         [$(run-built-tests) = yes] (tests): Depend on
17145         $(objpfx)tst-initorder-cmp.out.
17146         ($(objpfx)tst-initorder-cmp.out): New rule.
17147         ($(objpfx)tst-initorder2.out): Remove rule.
17148         [$(run-built-tests) = yes] (tests): Depend on
17149         $(objpfx)tst-initorder2-cmp.out.
17150         ($(objpfx)tst-initorder2-cmp.out): New rule.
17151         [$(run-built-tests) = yes] (tests): Depend on
17152         $(objpfx)tst-unused-dep-cmp.out.
17153         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17154         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17155         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17156         on $(objpfx)tst-setvbuf1-cmp.out.
17157         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17158         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17159         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17160         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17161         ($(objpfx)tst-svc.out): Remove rule.
17162         ($(objpfx)tst-svc-cmp.out): New rule.
17164 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17166         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17167         * ctype/ctype.h [__USE_MISC]: Likewise.
17168         * dirent/dirent.h [__USE_MISC]: Likewise.
17169         * grp/grp.h [__USE_MISC]: Likewise.
17170         * io/fcntl.h [__USE_MISC]: Likewise.
17171         * io/sys/stat.h [__USE_MISC]: Likewise.
17172         * libio/stdio.h [__USE_MISC]: Likewise.
17173         * posix/unistd.h [__USE_MISC]: Likewise.
17174         * pwd/pwd.h [__USE_MISC]: Likewise.
17175         * stdlib.h [__USE_MISC]: Likewise.
17176         * string/bits/string2.h [__USE_MISC]: Likewise.
17177         * string/string.h [__USE_MISC]: Likewise.
17178         * time/time.h [__USE_MISC]: Likewise.
17180 2014-02-13  Andreas Schwab  <schwab@suse.de>
17182         [BZ #16574]
17183         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17184         second answer buffer if it was separately allocated.
17186 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17188         * sysdeps/mips/math-tests.h: Include <features.h>.
17189         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17190         (ROUNDING_TESTS_long_double): Do not define.
17191         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17192         (EXCEPTION_TESTS_long_double): Likewise.
17193         * sysdeps/mips/mips64/libm-test-ulps: Update.
17195         * include/features.h (__USE_BSD): Remove macro definitions.
17196         (__USE_SVID): Likewise.
17197         (_BSD_SOURCE): Likewise.
17198         (_SVID_SOURCE): Likewise.
17199         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17200         from definition of _DEFAULT_SOURCE.
17201         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17202         [_DEFAULT_SOURCE].
17203         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17204         * bits/mman.h [__USE_BSD]: Likewise.
17205         * bits/termios.h [__USE_BSD]: Likewise.
17206         * bits/waitstatus.h [__USE_BSD]: Likewise.
17207         * ctype/ctype.h [__USE_SVID]: Likewise.
17208         * dirent/dirent.h [__USE_BSD]: Likewise.
17209         * grp/grp.h [__USE_SVID]: Likewise.
17210         [__USE_BSD]: Likewise.
17211         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17212         * io/fcntl.h [__USE_BSD]: Likewise.
17213         * io/ftw.h [__USE_BSD]: Likewise.
17214         * io/sys/stat.h [__USE_BSD]: Likewise.
17215         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17216         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17217         * libio/stdio.h [__USE_SVID]: Likewise.
17218         [__USE_BSD]: Likewise.
17219         * math/math.h [__USE_SVID]: Likewise.
17220         [__USE_BSD]: Likewise.
17221         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17222         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17223         * misc/search.h [__USE_SVID]: Likewise.
17224         * misc/sys/mman.h [__USE_BSD]: Likewise.
17225         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17226         * misc/sys/uio.h [__USE_BSD]: Likewise.
17227         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17228         * posix/glob.h [__USE_BSD]: Likewise.
17229         * posix/regex.h [__USE_BSD]: Likewise.
17230         * posix/sys/types.h [__USE_BSD]: Likewise.
17231         [__USE_SVID]: Likewise.
17232         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17233         * posix/sys/wait.h [__USE_BSD]: Likewise.
17234         [__USE_SVID]: Likewise.
17235         * posix/unistd.h [__USE_BSD]: Likewise.
17236         [__USE_SVID]: Likewise.
17237         * pwd/pwd.h [__USE_SVID]: Likewise.
17238         * resolv/netdb.h [__USE_BSD]: Likewise.
17239         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17240         * signal/signal.h [__USE_BSD]: Likewise.
17241         [__USE_SVID]: Likewise.
17242         * socket/sys/socket.h [__USE_BSD]: Likewise.
17243         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17244         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17245         [__USE_SVID]: Likewise.
17246         * string/bits/string2.h [__USE_BSD]: Likewise.
17247         [__USE_SVID]: Likewise.
17248         * string/bits/string3.h [__USE_BSD]: Likewise.
17249         * string/endian.h [__USE_BSD]: Likewise.
17250         * string/string.h [__USE_SVID]: Likewise.
17251         [__USE_BSD]: Likewise.
17252         * string/strings.h [__USE_BSD]: Likewise.
17253         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17254         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17255         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17256         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17257         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17258         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17259         Likewise.
17260         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17261         Likewise.
17262         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17263         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17264         Likewise.
17265         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17266         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17267         Likewise.
17268         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17269         Likewise.
17270         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17271         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17272         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17273         Likewise.
17274         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17275         Likewise.
17276         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17277         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17278         * termios/termios.h [__USE_BSD]: Likewise.
17279         * time/sys/time.h [__USE_BSD]: Likewise.
17280         * time/time.h [__USE_BSD]: Likewise.
17281         [__USE_SVID]: Likewise.
17283         * Makefile (subdir_targets): Remove subdir_lint.out.
17285         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17286         (do-tst-printf): Likewise.
17287         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17288         $(objpfx)tst-printf.out.
17290         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17292         * Makerules (check-abi-%): Change target to
17293         $(objpfx)check-abi-%.out.
17294         (check-abi target): Update dependencies.
17295         (check-abi-pattern variable): Redirect output of diff to $@.
17296         (check-abi variable): Likewise.
17297         * elf/Makefile (check-abi): Update dependencies.
17299         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17300         unused.
17301         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17302         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17303         subnormal range.
17304         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17305         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17306         value has largest subnormal exponent.
17307         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17308         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17309         * sysdeps/aarch64/soft-fp/sfp-machine.h
17310         (_FP_TININESS_AFTER_ROUNDING): New macro.
17311         * sysdeps/alpha/soft-fp/sfp-machine.h
17312         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17313         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17314         Likewise.
17315         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17316         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17317         * sysdeps/mips/soft-fp/sfp-machine.h
17318         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17319         * sysdeps/powerpc/soft-fp/sfp-machine.h
17320         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17321         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17322         Likewise.
17323         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17324         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17325         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17326         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17327         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17328         Likewise.
17330 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17332         [BZ #16545]
17333         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17334         model 1.
17336 2014-02-12  Richard Henderson  <rth@redhat.com>
17338         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17339         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17340         * sysdeps/unix/sysv/linux/alpha: Move directory from
17341         ports/sysdeps/unix/sysv/linux/alpha.
17342         * README: Update listing for alpha-*-linux-gnu.
17344 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17346         * include/features.h: Update comment documenting feature test
17347         macros.
17348         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17349         _DEFAULT_SOURCE.
17350         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17351         (_SVID_SOURCE): Likewise.
17352         (_DEFAULT_SOURCE): Update description of default features.
17353         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17354         with _GNU_SOURCE.
17355         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17356         (S_ISVTX): Likewise.
17357         * manual/math.texi (Mathematical Constants): Likewise.
17358         * manual/signal.texi (Interrupted Primitives): Likewise.
17359         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17360         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17361         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17362         Don't refer to _SVID_SOURCE in warning text.
17364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17366         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17367         already defined.
17368         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17369         * sysdeps/mips/dl-lookup.c: Remove.
17370         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17372 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17374         [BZ #16447]
17375         * math/auto-libm-test-in: Add testcase for expl.
17376         * math/auto-libm-test-out: Regenerate.
17377         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17378         calculation of unsafe.
17379         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17381 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17383         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17384         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17385         ports/sysdeps/unix/sysv/linux/aarch64.
17386         * README: Update listing for aarch64*-*-linux-gnu.
17388 2014-02-11  Will Newton  <will.newton@linaro.org>
17390         * manual/probes.texi (Mathematical Function Probes): Use
17391         "triggered" instead of "hit".
17393         * manual/probes.texi (Internal Probes): Add documentation
17394         of setjmp, longjmp and longjmp_target probes.
17396         * include/stap-probe.h: Add comment about probe argument
17397         format.
17399         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17400         definition.  (tr_where, tr_freehook, tr_mallochook,
17401         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17403 2014-02-11  David S. Miller  <davem@davemloft.net>
17405         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17406         processing int_tests.
17408 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17410         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17411         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17412         * sysdeps/unix/sysv/linux/mips: Move directory from
17413         ports/sysdeps/unix/sysv/linux/mips.
17414         * README: Update listing for mips-*-linux-gnu and
17415         mips64-*-linux-gnu.
17417 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17419         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17420         * sysdeps/unix/sysv/linux/m68k: Move directory from
17421         ports/sysdeps/unix/sysv/linux/m68k.
17422         * README: Update listing for m68k-*-linux-gnu.
17424 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17426         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17427         * sysdeps/unix/sysv/linux/generic: Move directory from
17428         ports/sysdeps/unix/sysv/linux/generic.
17429         * sysdeps/unix/sysv/linux/tile: Move directory from
17430         ports/sysdeps/unix/sysv/linux/tile.
17431         * README: Update listing for tile*-*-linux-gnu.
17433 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17435         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17436         __builtin_expect.
17437         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17438         * catgets/open_catalog.c (__open_catalog): Likewise.
17439         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17440         * debug/confstr_chk.c: Likewise.
17441         * debug/fread_chk.c (__fread_chk): Likewise.
17442         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17443         * debug/getgroups_chk.c: Likewise.
17444         * debug/mbsnrtowcs_chk.c: Likewise.
17445         * debug/mbsrtowcs_chk.c: Likewise.
17446         * debug/mbstowcs_chk.c: Likewise.
17447         * debug/memcpy_chk.c: Likewise.
17448         * debug/memmove_chk.c: Likewise.
17449         * debug/mempcpy_chk.c: Likewise.
17450         * debug/memset_chk.c: Likewise.
17451         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17452         * debug/strcat_chk.c (__strcat_chk): Likewise.
17453         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17454         * debug/strncat_chk.c (__strncat_chk): Likewise.
17455         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17456         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17457         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17458         * debug/wcpncpy_chk.c: Likewise.
17459         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17460         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17461         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17462         * debug/wcsncpy_chk.c: Likewise.
17463         * debug/wcsnrtombs_chk.c: Likewise.
17464         * debug/wcsrtombs_chk.c: Likewise.
17465         * debug/wcstombs_chk.c: Likewise.
17466         * debug/wmemcpy_chk.c: Likewise.
17467         * debug/wmemmove_chk.c: Likewise.
17468         * debug/wmempcpy_chk.c: Likewise.
17469         * debug/wmemset_chk.c: Likewise.
17470         * dirent/scandirat.c (SCANDIRAT): Likewise.
17471         * dlfcn/dladdr1.c (dladdr1): Likewise.
17472         * dlfcn/dladdr.c (dladdr): Likewise.
17473         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17474         * dlfcn/dlerror.c (__dlerror): Likewise.
17475         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17476         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17477         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17478         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17479         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17480         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17481         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17482         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17483         Likewise.
17484         * elf/dl-conflict.c: Likewise.
17485         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17486         * elf/dl-dst.h: Likewise.
17487         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17488         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17489         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17490         * elf/dl-init.c (call_init, _dl_init): Likewise.
17491         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17492         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17493         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17494         Likewise.
17495         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17496         Likewise.
17497         * elf/dl-minimal.c (__libc_memalign): Likewise.
17498         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17499         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17500         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17501         * elf/dl-sym.c (do_sym): Likewise.
17502         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17503         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17504         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17505         * elf/dl-writev.h (_dl_writev): Likewise.
17506         * elf/ldconfig.c (search_dir): Likewise.
17507         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17508         (dl_main): Likewise.
17509         * elf/setup-vdso.h (setup_vdso): Likewise.
17510         * grp/compat-initgroups.c (compat_call): Likewise.
17511         * grp/fgetgrent.c (fgetgrent): Likewise.
17512         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17513         * grp/putgrent.c (putgrent): Likewise.
17514         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17515         Likewise.
17516         * hurd/hurdinit.c: Likewise.
17517         * iconvdata/8bit-gap.c (struct): Likewise.
17518         * iconvdata/ansi_x3.110.c : Likewise.
17519         * iconvdata/big5.c : Likewise.
17520         * iconvdata/big5hkscs.c : Likewise.
17521         * iconvdata/cp1255.c: Likewise.
17522         * iconvdata/cp1258.c : Likewise.
17523         * iconvdata/cp932.c : Likewise.
17524         * iconvdata/euc-cn.c: Likewise.
17525         * iconvdata/euc-jisx0213.c : Likewise.
17526         * iconvdata/euc-jp.c: Likewise.
17527         * iconvdata/euc-jp-ms.c : Likewise.
17528         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17529         * iconvdata/gb18030.c : Likewise.
17530         * iconvdata/gbbig5.c (const): Likewise.
17531         * iconvdata/gbgbk.c: Likewise.
17532         * iconvdata/gbk.c : Likewise.
17533         * iconvdata/ibm1364.c : Likewise.
17534         * iconvdata/ibm930.c : Likewise.
17535         * iconvdata/ibm932.c: Likewise.
17536         * iconvdata/ibm933.c : Likewise.
17537         * iconvdata/ibm935.c : Likewise.
17538         * iconvdata/ibm937.c : Likewise.
17539         * iconvdata/ibm939.c : Likewise.
17540         * iconvdata/ibm943.c: Likewise.
17541         * iconvdata/iso_11548-1.c: Likewise.
17542         * iconvdata/iso-2022-cn.c : Likewise.
17543         * iconvdata/iso-2022-cn-ext.c : Likewise.
17544         * iconvdata/iso-2022-jp-3.c: Likewise.
17545         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17546         * iconvdata/iso-2022-kr.c : Likewise.
17547         * iconvdata/iso646.c (gconv_end): Likewise.
17548         * iconvdata/iso_6937-2.c : Likewise.
17549         * iconvdata/iso_6937.c : Likewise.
17550         * iconvdata/iso8859-1.c: Likewise.
17551         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17552         * iconvdata/shift_jisx0213.c : Likewise.
17553         * iconvdata/sjis.c : Likewise.
17554         * iconvdata/t.61.c : Likewise.
17555         * iconvdata/tcvn5712-1.c : Likewise.
17556         * iconvdata/tscii.c: Likewise.
17557         * iconvdata/uhc.c : Likewise.
17558         * iconvdata/unicode.c (gconv_end): Likewise.
17559         * iconvdata/utf-16.c (gconv_end): Likewise.
17560         * iconvdata/utf-32.c (gconv_end): Likewise.
17561         * iconvdata/utf-7.c (base64): Likewise.
17562         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17563         * iconv/gconv_close.c (__gconv_close): Likewise.
17564         * iconv/gconv_open.c (__gconv_open): Likewise.
17565         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17566         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17567         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17568         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17569         (ucs4le_internal_loop_single): Likewise.
17570         * iconv/iconv.c (iconv): Likewise.
17571         * iconv/iconv_close.c: Likewise.
17572         * iconv/loop.c (SINGLE): Likewise.
17573         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17574         * include/atomic.h: Likewise.
17575         * inet/inet6_option.c (option_alloc): Likewise.
17576         * intl/bindtextdom.c (set_binding_values): Likewise.
17577         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17578         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17579         * intl/localealias.c (read_alias_file): Likewise.
17580         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17581         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17582         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17583         * libio/fmemopen.c (fmemopen): Likewise.
17584         * libio/iofgets.c (_IO_fgets): Likewise.
17585         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17586         * libio/iofgetws.c (fgetws): Likewise.
17587         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17588         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17589         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17590         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17591         * locale/findlocale.c (_nl_find_locale): Likewise.
17592         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17593         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17594         Likewise.
17595         * locale/setlocale.c (setlocale): Likewise.
17596         * login/programs/pt_chown.c (main): Likewise.
17597         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17598         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17599         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17600         (mmap, mmap64, mremap, munmap): Likewise.
17601         * math/e_exp2l.c: Likewise.
17602         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17603         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17604         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17605         * math/s_catan.c (__catan): Likewise.
17606         * math/s_catanf.c (__catanf): Likewise.
17607         * math/s_catanh.c (__catanh): Likewise.
17608         * math/s_catanhf.c (__catanhf): Likewise.
17609         * math/s_catanhl.c (__catanhl): Likewise.
17610         * math/s_catanl.c (__catanl): Likewise.
17611         * math/s_ccosh.c (__ccosh): Likewise.
17612         * math/s_ccoshf.c (__ccoshf): Likewise.
17613         * math/s_ccoshl.c (__ccoshl): Likewise.
17614         * math/s_cexp.c (__cexp): Likewise.
17615         * math/s_cexpf.c (__cexpf): Likewise.
17616         * math/s_cexpl.c (__cexpl): Likewise.
17617         * math/s_clog10.c (__clog10): Likewise.
17618         * math/s_clog10f.c (__clog10f): Likewise.
17619         * math/s_clog10l.c (__clog10l): Likewise.
17620         * math/s_clog.c (__clog): Likewise.
17621         * math/s_clogf.c (__clogf): Likewise.
17622         * math/s_clogl.c (__clogl): Likewise.
17623         * math/s_csin.c (__csin): Likewise.
17624         * math/s_csinf.c (__csinf): Likewise.
17625         * math/s_csinh.c (__csinh): Likewise.
17626         * math/s_csinhf.c (__csinhf): Likewise.
17627         * math/s_csinhl.c (__csinhl): Likewise.
17628         * math/s_csinl.c (__csinl): Likewise.
17629         * math/s_csqrt.c (__csqrt): Likewise.
17630         * math/s_csqrtf.c (__csqrtf): Likewise.
17631         * math/s_csqrtl.c (__csqrtl): Likewise.
17632         * math/s_ctan.c (__ctan): Likewise.
17633         * math/s_ctanf.c (__ctanf): Likewise.
17634         * math/s_ctanh.c (__ctanh): Likewise.
17635         * math/s_ctanhf.c (__ctanhf): Likewise.
17636         * math/s_ctanhl.c (__ctanhl): Likewise.
17637         * math/s_ctanl.c (__ctanl): Likewise.
17638         * math/w_pow.c: Likewise.
17639         * math/w_powf.c: Likewise.
17640         * math/w_powl.c: Likewise.
17641         * math/w_scalb.c (sysv_scalb): Likewise.
17642         * math/w_scalbf.c (sysv_scalbf): Likewise.
17643         * math/w_scalbl.c (sysv_scalbl): Likewise.
17644         * misc/error.c (error_tail): Likewise.
17645         * misc/pselect.c (__pselect): Likewise.
17646         * nis/nis_callback.c (__nis_create_callback): Likewise.
17647         * nis/nis_call.c (__nisfind_server): Likewise.
17648         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17649         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17650         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17651         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17652         * nis/nis_lookup.c (nis_lookup): Likewise.
17653         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17654         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17655         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17656         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17657         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17658         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17659         * nis/nss_compat/compat-initgroups.c (add_group)
17660         (internal_getgrent_r): Likewise.
17661         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17662         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17663         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17664         (internal_getspnam_r): Likewise.
17665         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17666         (_nss_nis_getaliasbyname_r): Likewise.
17667         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17668         (_nss_nis_getntohost_r): Likewise.
17669         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17670         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17671         (_nss_nis_getgrgid_r): Likewise.
17672         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17673         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17674         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17675         (_nss_nis_gethostbyname4_r): Likewise.
17676         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17677         (initgroups_netid): Likewise.
17678         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17679         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17680         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17681         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17682         (_nss_nis_getprotobynumber_r): Likewise.
17683         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17684         (_nss_nis_getsecretkey): Likewise.
17685         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17686         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17687         (_nss_nis_getpwuid_r): Likewise.
17688         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17689         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17690         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17691         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17692         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17693         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17694         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17695         Likewise.
17696         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17697         (_nss_nisplus_getntohost_r): Likewise.
17698         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17699         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17700         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17701         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17702         Likewise.
17703         * nis/nss_nisplus/nisplus-initgroups.c
17704         (_nss_nisplus_initgroups_dyn): Likewise.
17705         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17706         (_nss_nisplus_getnetbyaddr_r): Likewise.
17707         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17708         (_nss_nisplus_getprotobynumber_r): Likewise.
17709         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17710         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17711         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17712         Likewise.
17713         * nis/nss_nisplus/nisplus-service.c
17714         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17715         (_nss_nisplus_getservbyport_r): Likewise.
17716         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17717         (_nss_nisplus_getspnam_r): Likewise.
17718         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17719         Likewise.
17720         * nscd/aicache.c (addhstaiX): Likewise.
17721         * nscd/cache.c (cache_search, prune_cache): Likewise.
17722         * nscd/connections.c (register_traced_file, send_ro_fd)
17723         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17724         (main_loop_epoll): Likewise.
17725         * nscd/grpcache.c (addgrbyX): Likewise.
17726         * nscd/hstcache.c (addhstbyX): Likewise.
17727         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17728         * nscd/mem.c (gc, mempool_alloc): Likewise.
17729         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17730         (addinnetgrX): Likewise.
17731         * nscd/nscd-client.h (__nscd_acquire_maplock)
17732         (__nscd_drop_map_ref): Likewise.
17733         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17734         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17735         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17736         Likewise.
17737         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17738         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17739         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17740         (__nscd_get_map_ref): Likewise.
17741         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17742         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17743         Likewise.
17744         * nscd/pwdcache.c (addpwbyX): Likewise.
17745         * nscd/selinux.c (preserve_capabilities): Likewise.
17746         * nscd/servicescache.c (addservbyX): Likewise.
17747         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17748         * posix/fnmatch.c (fnmatch): Likewise.
17749         * posix/getopt.c (_getopt_internal_r): Likewise.
17750         * posix/glob.c (glob, glob_in_dir): Likewise.
17751         * posix/wordexp.c (exec_comm_child): Likewise.
17752         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17753         (getanswer_r, gaih_getanswer_slice): Likewise.
17754         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17755         * resolv/res_init.c: Likewise.
17756         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17757         * resolv/res_query.c (__libc_res_nquery): Likewise.
17758         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17759         Likewise.
17760         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17761         * stdio-common/perror.c (perror): Likewise.
17762         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17763         * stdio-common/tmpnam.c (tmpnam): Likewise.
17764         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17765         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17766         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17767         Likewise.
17768         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17769         * stdlib/putenv.c (putenv): Likewise.
17770         * stdlib/setenv.c (__add_to_environ): Likewise.
17771         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17772         * stdlib/strtol_l.c (INTERNAL): Likewise.
17773         * string/memmem.c (memmem): Likewise.
17774         * string/strerror.c (strerror): Likewise.
17775         * string/strnlen.c (__strnlen): Likewise.
17776         * string/test-memmem.c (simple_memmem): Likewise.
17777         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17778         * sunrpc/pm_getport.c (__get_socket): Likewise.
17779         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17780         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17781         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17782         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17783         Likewise.
17784         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17785         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17786         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17787         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17788         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17789         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17790         Likewise.
17791         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17792         Likewise.
17793         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17794         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17795         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17796         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17797         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17799         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17800         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17801         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17802         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17803         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17804         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17805         Likewise.
17806         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17807         Likewise.
17808         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17809         Likewise.
17810         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17811         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17812         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17813         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17814         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17815         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17816         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17819         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17820         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17821         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17822         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17823         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17824         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17825         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17826         Likewise.
17827         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17828         Likewise.
17829         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17830         Likewise.
17831         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17832         Likewise.
17833         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17835         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17836         Likewise.
17837         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17838         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17839         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17840         * sysdeps/posix/sleep.c: Likewise.
17841         * sysdeps/posix/tempname.c: Likewise.
17842         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17843         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17844         Likewise.
17845         * sysdeps/powerpc/powerpc32/dl-machine.h
17846         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17847         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17848         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17849         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17850         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17851         Likewise.
17852         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17853         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17854         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17855         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17856         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17857         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17858         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17859         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17860         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17861         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17862         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17863         (elf_machine_lazy_rel): Likewise.
17864         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17865         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17866         (elf_machine_lazy_rel): Likewise.
17867         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17868         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17869         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17870         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17871         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17872         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17873         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17874         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17875         Likewise.
17876         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17877         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17878         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17879         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17880         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17881         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17882         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17883         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17884         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17885         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17886         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17887         Likewise.
17888         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17889         (__posix_fallocate64_l64): Likewise.
17890         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17891         (posix_fallocate): Likewise.
17892         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17893         Likewise.
17894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17895         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17896         (getifaddrs_internal): Likewise.
17897         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17898         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17899         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17900         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17901         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17902         (__posix_fallocate64_l64): Likewise.
17903         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17904         Likewise.
17905         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17906         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17907         (__get_clockfreq): Likewise.
17908         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17909         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17910         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17911         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17912         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17913         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17914         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17915         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17916         Likewise.
17917         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17918         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17919         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17920         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17921         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17922         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17923         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17924         Likewise.
17925         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17926         (posix_fallocate): Likewise.
17927         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17928         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17929         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17930         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17931         (elf_machine_rela, elf_machine_rela_relative)
17932         (elf_machine_lazy_rel): Likewise.
17933         * time/asctime.c (asctime_internal): Likewise.
17934         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17935         * time/tzset.c (__tzset_parse_tz): Likewise.
17936         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17937         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17938         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17939         * wcsmbs/wcsmbsload.h: Likewise.
17941         [BZ #15894]
17942         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17944         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17945         (arena_get2): Remove THREAD_STATS conditionals.
17946         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17947         (__malloc_stats, int): Likewise.
17949 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17951         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17952         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17954         * manual/setjmp.texi: Fix typos/grammar errors.
17956         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17957         Only return early when n is <= 0.  Delete unused return statement.
17959         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17960         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17961         * debug/tst-longjmp_chk3.c: New file.
17963         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17964         (test_main): Replace code with set_fortify_handler call.
17965         * debug/test-strcpy_chk.c: Likewise.
17966         * debug/tst-chk1.c: Likewise.
17967         * debug/tst-longjmp_chk.c: Likewise.
17968         * test-skeleton.c: Include fcntl.h & paths.h
17969         (set_fortify_handler): Define.
17971         * debug/tst-longjmp_chk.c: Add header comment and include
17972         ../test-skeleton.c.
17973         (do_test): Mark static.
17974         (TEST_FUNCTION): Define.
17976         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17977         (IP_PMTUDISC_INTERFACE): Likewise.
17978         (IP_MULTICAST_IF): Likewise.
17979         (IP_MULTICAST_TTL): Likewise.
17980         (IP_MULTICAST_LOOP): Likewise.
17981         (IP_ADD_MEMBERSHIP): Likewise.
17982         (IP_DROP_MEMBERSHIP): Likewise.
17983         (IP_UNBLOCK_SOURCE): Likewise.
17984         (IP_BLOCK_SOURCE): Likewise.
17985         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17986         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17987         (IP_MSFILTER): Likewise.
17988         (MCAST_JOIN_GROUP): Likewise.
17989         (MCAST_BLOCK_SOURCE): Likewise.
17990         (MCAST_UNBLOCK_SOURCE): Likewise.
17991         (MCAST_LEAVE_GROUP): Likewise.
17992         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17993         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17994         (MCAST_MSFILTER): Likewise.
17995         (IP_MULTICAST_ALL): Likewise.
17996         (IP_UNICAST_IF): Likewise.
17998         * timezone/Makefile: Delete $(have-ksh) check.
17999         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18000         * timezone/tzselect.ksh: Add +x mode bits.
18002         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18003         (ANON_INODE_FS_MAGIC): Likewise.
18004         (BDEVFS_MAGIC): Likewise.
18005         (BINFMTFS_MAGIC): Likewise.
18006         (BTRFS_TEST_MAGIC): Likewise.
18007         (CRAMFS_MAGIC_WEND): Likewise.
18008         (DEBUGFS_MAGIC): Likewise.
18009         (ECRYPTFS_SUPER_MAGIC): Likewise.
18010         (EXT3_SUPER_MAGIC): Likewise.
18011         (EXT4_SUPER_MAGIC): Likewise.
18012         (FUTEXFS_SUPER_MAGIC): Likewise.
18013         (HOSTFS_SUPER_MAGIC): Likewise.
18014         (HUGETLBFS_MAGIC): Likewise.
18015         (MINIX3_SUPER_MAGIC): Likewise.
18016         (MTD_INODE_FS_MAGIC): Likewise.
18017         (NILFS_SUPER_MAGIC): Likewise.
18018         (OPENPROM_SUPER_MAGIC): Likewise.
18019         (PIPEFS_MAGIC): Likewise.
18020         (PSTOREFS_MAGIC): Likewise.
18021         (QNX6_SUPER_MAGIC): Likewise.
18022         (RAMFS_MAGIC): Likewise.
18023         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18024         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18025         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18026         (SECURITYFS_MAGIC): Likewise.
18027         (SELINUX_MAGIC): Likewise.
18028         (SMACK_MAGIC): Likewise.
18029         (SOCKFS_MAGIC): Likewise.
18030         (SQUASHFS_MAGIC): Likewise.
18031         (STACK_END_MAGIC): Likewise.
18032         (TMPFS_MAGIC): Likewise.
18033         (USBDEVICE_SUPER_MAGIC): Likewise.
18034         (V9FS_MAGIC): Likewise.
18035         (XENFS_SUPER_MAGIC): Likewise.
18036         (CRAMFS_MAGIC): Fix typo in comment.
18037         (EXT2_SUPER_MAGIC): Update comment.
18038         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18040 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18042         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18043         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18044         * sysdeps/unix/sysv/linux/arm: Move directory from
18045         ports/sysdeps/unix/sysv/linux/arm.
18046         * README: Update listing for arm-*-linux-gnueabi.
18048         * README: Remove mention of am33.
18050 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18052         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18053         than the comma operator, to avoid "rhs of comma has no effect"
18054         compiler warnings.
18055         (__sigfillset, __sigandset, __sigorset): Likewise.
18056         * include/signal.h (__sigemptyset): Likewise.
18057         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18059 2014-02-07  Allan McRae  <allan@archlinux.org>
18061         * version.h (RELEASE): Set to "development".
18062         (VERSION): Set to "2.19.90"
18063         * NEWS: Add 2.20 section.
18065 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18067         [BZ #16529]
18068         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18070 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18072         * manual/contrib.texi: Update entry for Carlos O'Donell,
18073         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18075 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18077         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18079         * sysdeps/unix/sysv/linux/kernel-features.h
18080         [__LINUX_KERNEL_VERSION >= 0x020621]
18081         (__ASSUME_PROC_PID_TASK_COMM): Define.
18083 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18085         [BZ #16398]
18086         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18087         conversion when destination buffer does not have enough space.
18088         * libio/tst-ftell-partial-wide.c: New test case.
18089         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18091         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18092         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18093         Leonard and Allan McRae.
18095 2014-02-04  David S. Miller  <davem@davemloft.net>
18097         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18098         32-bit.
18100 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18103         New file
18104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18105         New file
18106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18107         New file.
18108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18109         New file.
18110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18111         New file.
18112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18113         New file.
18114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18115         New file.
18116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18117         New file.
18118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18119         New file.
18120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18121         New file.
18122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18123         New file.
18124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18125         New file.
18126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18127         New file.
18129 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18131         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18132         * shlib-versions: Likewise.
18134 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18135             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18137         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18138         (abilist-pattern): New variable, set to %-le.abilist.
18140         * Makerules (abilist-pattern): New variable.
18141         (vpath): Use $(abilist-pattern) in place of %.abilist.
18142         (check-abi-% pattern rule): Likewise.
18143         (check-abi, update-abi): Likewise.
18145 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18149 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18151         * manual/startup.texi: Add next, previous, and top entries for
18152         the `Program Arguments' and `Environment Variables' nodes.
18154 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18156         * manual/macros.texi: Add comments before MTASC-safety macros.
18158         * manual/users.texi: Document MTASC-safety properties.
18160         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18161         (pthread_getspecific, pthread_setspecific): Format with
18162         @deftypefun, and add @safety note.
18163         * manual/signal.texi: Move comments that analyze the above
18164         functions to their home place.
18166 2014-02-03  Allan McRae  <allan@archlinux.org>
18168         * po/sl.po: Update Slovenian translation from translation project.
18170 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18172         * manual/time.texi (timegm): Add missing blank after @c.
18173         Reported by Joseph Myers <joseph@codesourcery.com>.
18175 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18177         * manual/check-safety.sh: New.
18178         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18180         * manual/terminal.texi: Document MTASC-safety properties.
18182         * manual/filesys.texi: Document MTASC-safety properties.
18184         * manual/errno.texi: Document MTASC-safety properties.
18186         * manual/intro.texi: Document safety identifiers and
18187         conditionals.
18189         * manual/string.texi (wcstok): Fix prototype.
18190         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18192         * manual/time.texi: Document MTASC-safety properties.
18194         * manual/string.texi: Document MTASC-safety properties.
18196         * manual/threads.texi: Document MTASC-safety properties.
18198         * manual/stdio.texi: Document MTASC-safety properties.
18200         * manual/syslog.texi: Document MTASC-safety properties.
18202         * manual/sysinfo.texi: Document MTASC-safety properties.
18204         * manual/startup.texi: Document MTASC-safety properties.
18206         * manual/socket.texi: Document MTASC-safety properties.
18208         * manual/signal.texi: Document MTASC-safety properties.
18210 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18212         * manual/setjmp.texi: Document MTASC-safety properties.
18214         * manual/search.texi: Document MTASC-safety properties.
18216         * manual/resource.texi: Document MTASC-safety properties.
18218         * manual/process.texi: Document MTASC-safety properties.
18220         * manual/platform.texi: Document MTASC-safety properties.
18222         * manual/pipe.texi: Document MTASC-safety properties.
18224         * manual/pattern.texi: Document MTASC-safety properties.
18226         * manual/message.texi: Document MTASC-safety properties.
18228         [BZ #12751]
18229         * manual/memory.texi: Document MTASC-safety properties.
18231         * manual/math.texi: Document MTASC-safety properties.
18233         * manual/locale.texi: Document MTASC-safety properties.
18235         * manual/llio.texi: Document MTASC-safety properties.
18237         * manual/libdl.texi: New.
18239         * manual/lang.texi: Document MTASC-safety properties.
18241         * manual/job.texi: Document MTASC-safety properties.
18243         * manual/getopt.texi: Document MTASC-safety properties.
18245         * manual/ctype.texi: Document MTASC-safety properties.
18247 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18249         [BZ #16046]
18250         * csu/libc-tls.c (static_map): Remove variable.
18251         (__libc_setup_tls): Use main executable's link map for TLS data.
18252         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18253         casing for LM_ID_BASE and GL(dl_nns).
18254         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18255         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18256         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18257         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18258         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18259         member.
18260         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18261         l_phnum members.
18263 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18265         * manual/debug.texi: Document MTASC-safety properties.
18267 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18269         [BZ #16510]
18270         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18271         of __x86_64__ when disabling x87 inline functions.
18273 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18275         * manual/charset.texi: Document MTASC-safety properties.
18277         * manual/crypt.texi: Document MTASC-safety properties.
18279         * manual/conf.texi: Document MTASC-safety properties.
18281         * manual/arith.texi: Document MTASC-safety properties.
18283         * manual/argp.texi: Document MTASC-safety properties.
18285         * manual/macros.texi: Introduce macros to document multi
18286         thread, asynchronous signal and asynchronous cancellation
18287         safety properties.
18288         * manual/intro.texi: Introduce the properties themselves.
18290 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18292         * sysdeps/sh/sh4/Makefile: New file.
18294 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18296         * math/gen-libm-test.pl ($srcdir): New variable.
18297         ($auto_input): Use it.
18299 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18301         [BZ #16506]
18302         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18303         access beyond array bounds when parsing netgroups file.
18305         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18306         the old buffer before realloc.
18308 2014-01-27  Allan McRae  <allan@archlinux.org>
18310         * po/fr.po: Update French translation from translation project.
18312 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18314         * sysdeps/sh/libm-test-ulps: Regenerate.
18316 2014-01-24  David S. Miller  <davem@davemloft.net>
18318         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18320 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18322         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18323         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18325 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18327         [BZ #16474]
18328         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18329         string pointers after reallocation.
18331 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18333         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18334         __SH4A__ instead of __SH_FPU_ANY__.
18336 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18338         * sysdeps/sh/fpu_control.h: New file.
18339         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18340         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18341         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18342         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18343         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18344         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18345         * sysdeps/sh/sys/ucontext.h: Remove.
18346         * sysdeps/sh/sys: Remove directory.
18348 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18350         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18351         s390/sys/ucontext.h.
18352         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18353         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18355 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18357         [BZ #15605]
18358         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18360 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18362         [BZ#16431]
18363         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18364         Adjust the vDSO correctly for internal calls.
18365         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18367 2014-01-20  Allan McRae  <allan@archlinux.org>
18369         * po/ca.po: Update Catalan translation from translation project.
18371 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18373         * sysdeps/s390/sotruss-lib.c: New file.
18375 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18377         [BZ#16430]
18378         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18379         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18380         local calls issues by not having a PLT stub required for IFUNC calls.
18381         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18383 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18385         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18386         * math/test-fpucw-static.c: Likewise.
18388 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18390         [BZ #16453]
18391         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18393 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18395         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18396         implementation for powerpc.
18398 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18400         [BZ #14782]
18401         * sysdeps/posix/system.c (__libc_system): Do not enable
18402         asynchronous cancellation.
18404 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18406         [BZ #16427]
18407         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18408         handling only for numbers special also in the IEEE case.
18410 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18412         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18414 2014-01-11  Allan McRae  <allan@archlinux.org>
18416         * po/bg.po: Update Bulgarian translation from translation project.
18418         * po/de.po: Update German translation from translation project.
18420 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18422         * sysdeps/generic/gcc-compat.h: New file.
18424 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18426         * benchtests/asin-inputs: Correct slow inputs.
18427         * benchtests/acos-inputs: Likewise.
18429 2014-01-10  Allan McRae  <allan@archlinux.org>
18431         * po:sv.po: Update Swedish translation from translation project.
18433         * po/vi.po: Update Vietnamese translation from translation project.
18435         * po/eo.po: Update Esperanto translation from translation project.
18437         * po/cs.po: Update Czech translation from translation project.
18439         * po/nl.po: Update Dutch translation from translation project.
18441         * po/pl.po: Update Polish translation from translation project.
18443         * po/ru.po: Update Russian translation from translation project.
18445         * po/uk.po: Update Ukrainian translation from translation project.
18447 2014-01-08  Brooks Moses  <bmoses@google.com>
18449         * elf/dl-load.c: Fix comment typo.
18451 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18453         * po/header.pot: Rename to...
18454         * po/pot.header: ... this.
18455         * po/Makefile: Use pot.header.
18457 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18458             Maxim Kuvyrkov  <maxim@kugelworks.com>
18460         [BZ #16394]
18461         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18462         SRC and DEST against LEN.
18464 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18466         [BZ #16414]
18467         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18468         implementation.
18469         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18471 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18475 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18477         [BZ #16408]
18478         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18479         for large positive arguments.
18481 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18483         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18485         * math/auto-libm-test-in: Mark various tests with
18486         xfail-rounding:ldbl-128ibm.
18487         * math/auto-libm-test-out: Regenerated.
18489         [BZ #16407]
18490         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18491         Increase overflow threshold.
18493 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18495         [BZ #14286]
18496         * stdio-common/vfprintf.c: Check for integer overflow.
18498 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18500         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18501         the first argument and return value of __tls_get_addr_internal.
18503 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18505         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18506         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18508 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18510         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18511         * sysdeps/s390/rtld-global-offsets.sym: New file.
18512         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18513         GLIBC_2.19 symbol.
18514         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18515         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18516         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18517         ... this.
18518         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18519         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18520         ... this.
18521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18522         Regenerate.
18523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18524         Regenerate.
18525         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18526         halfs of GPRs for high_gprs contexts.
18527         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18528         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18529         field.
18530         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18531         uc_flags field.
18532         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18533         64 bit versions:
18534         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18535         for high GPRs (uc_high_gprs) and for future extensions
18536         (__reserved).
18537         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18538         for future extensions (__reserved).
18539         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18540         64 bit versions:
18541         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18542         SC_HIGHGPRS offset definition.
18543         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18544         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18546         * Versions.def: Add GLIBC_2.19 for libpthread.
18547         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18548         siglongjmp for libpthread with GLIBC_2.19 symver.
18549         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18550         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18551         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18552         * sysdeps/s390/__longjmp.c: New file.
18553         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18554         * sysdeps/s390/longjmp.c: New file.
18555         * sysdeps/s390/setjmp.S: New file.
18556         * sysdeps/s390/sigjmp.S: New file.
18557         * sysdeps/s390/v1-longjmp.c: New file.
18558         * sysdeps/s390/v1-setjmp.h: New file.
18559         * sysdeps/s390/v1-sigjmp.c: New file.
18560         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18561         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18562         GLIBC_2.19 version.
18563         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18564         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18565         versioned symbols for ____longjmp_chk.
18566         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18567         Likewise.
18568         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18569         Regenerate.
18570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18571         Regenerate.
18572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18573         Regenerate.
18574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18575         Regenerate.
18576         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18577         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18578         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18579         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18580         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18581         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18582         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18583         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18584         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18585         * sysdeps/s390/rtld-__longjmp.c: New file.
18586         * sysdeps/s390/rtld-setjmp.S: New file.
18588 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18590         [BZ #16400]
18591         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18592         Return -__logl (x) for small positive arguments without evaluating
18593         a polynomial.
18595 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18597         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18598         Rename to ...
18599         (__ptrace_peeksiginfo_args): ... this.
18600         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18601         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18602         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18604 2014-01-06  Allan McRae  <allan@archlinux.org>
18606         * inet/netinet/in.h: Fix typo in comment.
18608 2014-01-05  Andreas Jaeger  <aj@suse.de>
18610         * sysdeps/i386/fpu/libm-test-ulps: Update.
18612 2014-01-05  Allan McRae  <allan@archlinux.org>
18614         * po/libc.pot: Regenerated.
18616         * malloc/memusagestat.c: Fix gettext call formatting.
18618 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18620         * nscd/nscd.c: Improve usage() output.
18622 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18624         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18625         * sysdeps/unix/sysv/linux/configure: Regenerated.
18626         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18627         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18629 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18631         [BZ #16390]
18632         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18633         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18635 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18637         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18638         extra tokens at end of #undef directive.
18639         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18640         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18641         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18643 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18645         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18647         * math/auto-libm-test-in: Mark various tests with
18648         xfail-rounding:ldbl-128ibm.
18649         * math/auto-libm-test-out: Regenerated.
18651 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18653         [BZ #16386]
18654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18655         numbers with subnormal high part when calculating exponent.
18657         [BZ #16385]
18658         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18659         fabs.
18661         [BZ #16384]
18662         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18663         M_LN2l.
18664         (__ieee754_acoshl): Use __log1pl not __log1p.
18666 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18668         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18669         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18670         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18671         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18672         (reused_arena, arena_get2): Convert to GNU style.
18673         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18674         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18675         (memalign_check, __malloc_set_state): Likewise.
18676         * malloc/mallocbug.c (main): Likewise.
18677         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18678         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18679         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18680         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18681         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18682         (__posix_memalign, malloc_info): Likewise.
18683         * malloc/malloc.h: Likewise.
18684         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18685         (mallochook, memalignhook, reallochook, mabort): Likewise.
18686         * malloc/mcheck.h: Likewise.
18687         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18688         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18689         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18690         * malloc/morecore.c (__default_morecore): Likewise.
18691         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18692         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18693         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18694         (print_and_abort): Likewise.
18695         * malloc/obstack.h: Likewise.
18696         * malloc/set-freeres.c (__libc_freeres): Likewise.
18697         * malloc/tst-mallocstate.c (main): Likewise.
18698         * malloc/tst-mtrace.c (main): Likewise.
18699         * malloc/tst-realloc.c (do_test): Likewise.
18701 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18703         [BZ #16366]
18704         * nscd/netgroupcache.c (do_notfound): New function.
18705         (addgetnetgrentX): Use it.
18707         [BZ # 16365]
18708         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18709         NSS_STATUS_NOTFOUND.
18711 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18713         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18716 2014-01-01  Allan McRae  <allan@archlinux.org>
18718         * scripts/update-copyrights: Update configure input file suffix.
18720         * NEWS: Update copyright year.
18721         * catgets/gencat.c: Likewise.
18722         * csu/version.c: Likewise.
18723         * debug/catchsegv.sh: Likewise.
18724         * debug/pcprofiledump.c: Likewise.
18725         * debug/xtrace.sh: Likewise.
18726         * elf/ldconfig.c: Likewise.
18727         * elf/ldd.bash.in: Likewise.
18728         * elf/pldd.c: Likewise.
18729         * elf/sotruss.ksh: Likewise.
18730         * elf/sprof.c: Likewise.
18731         * iconv/iconv_prog.c: Likewise.
18732         * iconv/iconvconfig.c: Likewise.
18733         * locale/programs/locale.c: Likewise.
18734         * locale/programs/localedef.c: Likewise.
18735         * login/programs/pt_chown.c: Likewise.
18736         * malloc/memusage.sh: Likewise.
18737         * malloc/memusagestat.c: Likewise.
18738         * malloc/mtrace.pl: Likewise.
18739         * manual/libc.texinfo: Likewise.
18740         * nscd/nscd.c: Likewise.
18741         * nss/getent.c: Likewise.
18742         * nss/makedb.c: Likewise.
18743         * posix/getconf.c: Likewise.
18744         * scripts/test-installation.pl: Likewise.
18746         * All files with FSF copyright notices: Update copyright dates
18747         using scripts/update-copyrights.
18748         * intl/plural.c: Regenerated.
18749         * locale/programs/charmap-kw.h: Likewise.
18750         * locale/programs/locfile-kw.h: Likewise.
18752 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18754         * sysdeps/unix/sysv/linux/configure: Regenerated.
18755         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18756         the linux/fanotify.h header.
18757         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18758         HAVE_LINUX_FANOTIFY_H is defined.
18760 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18762         * benchtests/cos-inputs: New inputs.
18763         * benchtests/sin-inputs: Likewise.
18765         * benchtests/atan-inputs: New inputs. Fix name of multiple
18766         precision fallback inputs.
18768         * benchtests/atanh-inputs: New inputs.
18769         * benchtests/tanh-inputs: Likewise.
18771         * benchtests/acosh-inputs: New inputs.
18772         * benchtests/asinh-inputs: Likewise.
18774         * benchtests/cosh-inputs: New inputs.
18775         * benchtests/sinh-inputs: Likewise.
18777         * benchtests/acos-inputs: Add more inputs.
18778         * benchtests/asin-inputs: Likewise.
18780 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18782         [BZ #16375]
18783         * manual/arith.texi: Fix spelling.
18784         * manual/charset.texi: Likewise.
18785         * manual/errno.texi: Likewise.
18786         * manual/filesys.texi: Likewise.
18787         * manual/lang.texi: Likewise.
18788         * manual/llio.texi: Likewise.
18789         * manual/locale.texi: Likewise.
18790         * manual/message.texi: Likewise.
18791         * manual/resource.texi: Likewise.
18792         * manual/search.texi: Likewise.
18793         * manual/setjmp.texi: Likewise.
18794         * manual/stdio.texi: Likewise.
18795         * manual/string.texi: Likewise.
18796         * manual/sysinfo.texi: Likewise.
18797         * manual/time.texi: Likewise.
18799 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18801         * po/sl.po: New file.
18803 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18805         * .gitignore: Add core/.gdbinit/.gdb_history.
18807 2013-12-27  Allan McRae  <allan@archlinux.org>
18809         [BZ #16369]
18810         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18811         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18813 2013-12-24  Brooks Moses  <bmoses@google.com>
18815         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18816         all compilers that claim C++98 compliance, not just GCC.
18817         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18818         Likewise.
18820 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18822         * NEWS: Restore accidentally deleted bug-fix entries.
18824 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18825             Ondřej Bílka  <neleai@seznam.cz>
18827         [BZ #15073]
18828         * malloc/malloc.c (_int_free): Perform sanity check only if we
18829         have_lock.
18831 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18833         [BZ #12986]
18834         * manual/stdio.texi (String Input Conversions): Clarify that character
18835         classes are not supported.
18837 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18841 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18843         [BZ #16337]
18844         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18845         Calculate results for small negative arguments directly rather
18846         than using reflection formula with special underflow handling.
18848         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18849         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18850         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18851         (fchflags): Likewise.
18852         (revoke): Likewise.
18853         (setlogin): Likewise.
18854         (sigaltstack): Likewise.
18855         (wait4): Likewise.
18856         (sigblock): Remove.
18857         (sigsetmask): Likewise.
18858         (wait3): Likewise.
18859         (waitpid): Likewise.
18860         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18861         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18862         file.
18863         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18864         * sysdeps/unix/bsd/Makefile: ... here.
18865         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18866         * sysdeps/unix/bsd/Versions: ... here.
18867         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18868         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18869         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18870         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18871         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18872         * sysdeps/unix/bsd/sigblock.c: ... here.
18873         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18874         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18875         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18876         * sysdeps/unix/bsd/sigvec.c: ... here.
18877         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18878         * sysdeps/unix/bsd/tcdrain.c: ... here.
18879         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18880         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18881         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18882         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18883         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18884         * sysdeps/unix/bsd/wait.c: ... here.
18885         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18886         * sysdeps/unix/bsd/wait3.c: ... here.
18887         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18888         * sysdeps/unix/bsd/waitpid.c: ... here.
18890 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18892         [BZ #16356]
18893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18894         round-to-nearest for [!USE_AS_EXPM1L].
18895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18896         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18897         more tests of exp and exp10.  Expect some exp10 tests to miss
18898         exceptions or fail in directed rounding modes.
18899         * math/auto-libm-test-out: Regenerated.
18900         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18901         (exp10_test_tonearest): New function.
18902         (exp10_towardzero_test_data): New array.
18903         (exp10_test_towardzero): New function.
18904         (exp10_downward_test_data): New array.
18905         (exp10_test_downward): New function.
18906         (exp10_upward_test_data): New array.
18907         (exp10_test_upward): New function.
18908         (main): Call the new functions.
18909         * sysdeps/i386/fpu/libm-test-ulps: Update.
18910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18912 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18914         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18915         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18916         * math/auto-libm-test-out: Regenerated.
18917         * math/libm-test.inc (acosh_test_data): Add more tests.
18918         (atanh_test_data): Likewise.
18919         (ceil_test_data): Likewise.
18920         (copysign_test_data): Likewise.
18921         * sysdeps/i386/fpu/libm-test-ulps: Update.
18922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18924         * timezone/checktab.awk: Update from tzcode 2013i.
18925         * timezone/private.h: Likewise.
18926         * timezone/scheck.c: Likewise.
18927         * timezone/tzfile.h: Likewise.
18928         * timezone/tzselect.ksh: Likewise.
18929         * timezone/zdump.c: Likewise.
18930         * timezone/zic.c: Likewise.
18932         * math/auto-libm-test-in: Add tests of cpow.
18933         * math/auto-libm-test-out: Regenerated.
18934         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18935         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18936         mpc_cc_c.
18937         (func_calc_desc): Add mpc_cc_c union field.
18938         (test_functions): Add cpow.
18939         (special_fill_2pi): New function.
18940         (special_real_inputs): Add 2pi.
18941         (calc_generic_results): Handle mpc_cc_c.
18942         * sysdeps/i386/fpu/libm-test-ulps: Update.
18943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18945         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18946         csqrt, ctan and ctanh.
18947         * math/auto-libm-test-out: Regenerated.
18948         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18949         (TEST_COND_x86): Likewise.
18950         (ccos_test_data): Use AUTO_TESTS_c_c.
18951         (ccosh_test_data): Likewise.
18952         (cexp_test_data): Likewise.
18953         (clog_test_data): Likewise.
18954         (csqrt_test_data): Likewise.
18955         (ctan_test_data): Likewise.
18956         (ctan_tonearest_test_data): Likewise.
18957         (ctan_towardzero_test_data): Likewise.
18958         (ctan_downward_test_data): Likewise.
18959         (ctan_upward_test_data): Likewise.
18960         (ctanh_test_data): Likewise.
18961         (ctanh_tonearest_test_data): Likewise.
18962         (ctanh_towardzero_test_data): Likewise.
18963         (ctanh_downward_test_data): Likewise.
18964         (ctanh_upward_test_data): Likewise.
18965         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18966         mpc_c_c.
18967         (func_calc_desc): Add mpc_c_c union field.
18968         (FUNC_mpc_c_c): New macro.
18969         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18970         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18971         ctanh.
18972         (special_fill_min_subnorm_p120): New function.
18973         (special_real_inputs): Add min_subnorm_p120.
18974         (calc_generic_results): Handle mpc_c_c.
18975         * sysdeps/i386/fpu/libm-test-ulps: Update.
18976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18978 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18980         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18981         (do_sin_slow): New functions.
18982         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18983         (cslow2, csloww1, csloww2): Use the new functions.
18985         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18986         Use M to change sign of result instead of X.  Assume X is
18987         positive.
18988         (csloww1): Likewise.
18989         (__sin): Adjust.
18990         (__cos): Adjust.
18992         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18993         arguments A and DA.
18994         (__sin): Adjust.
18995         (__cos): Likewise.
18997         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18998         (__cos): Likewise.
18999         (sloww1): Don't adjust sign of DX.
19000         (csloww1): Likewise.
19001         (sloww2): Use X directly and don't adjust sign of DX.
19002         (csloww2): Likewise.
19004 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19006         * math/auto-libm-test-in: Add tests of cabs and carg.
19007         * math/auto-libm-test-out: Regenerated.
19008         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19009         (carg_test_data): Likewise.
19010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19011         mpc_c_f.
19012         (func_calc_desc): Add mpc_c_f union field.
19013         (test_functions): Add cabs and carg.
19014         (calc_generic_results): Handle mpc_c_f.
19016         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19017         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19018         as a macro and a compat symbol.
19019         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19020         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19021         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19022         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19023         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19024         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19025         not use .hidden.
19026         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19027         Likewise.
19028         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19029         Likewise.
19030         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19031         Likewise.
19032         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19033         Likewise.
19034         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19035         Likewise.
19036         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19037         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19038         from GLIBC_2.3.2.
19040 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19044 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19046         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19047         trailing whitespace removed.
19048         * scripts/config.guess: Update to version 2013-11-29.
19049         * scripts/config.sub: Update to version 2013-10-01.
19051         * math/auto-libm-test-in: Add tests of sincos.
19052         * math/auto-libm-test-out: Regenerated.
19053         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19054         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19055         mpfr_f_11.
19056         (func_calc_desc): Add mpfr_f_11 union field.
19057         (test_functions): Add sincos.
19058         (calc_generic_results): Handle mpfr_f_11.
19059         * sysdeps/i386/fpu/libm-test-ulps: Update.
19060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19062 2013-12-19  Andreas Schwab  <schwab@suse.de>
19064         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19065         CALL_MCOUNT.
19066         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19067         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19068         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19070 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19072         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19073         * sysdeps/i386/fpu/libm-test-ulps: Update.
19074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19076         [BZ #16293]
19077         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19078         round-to-nearest mode when using frndint.
19079         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19080         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19081         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19082         Likewise.
19083         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19084         sinh test to fail.
19085         * math/auto-libm-test-out: Regenerated.
19086         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19087         (TEST_COND_x86): Likewise.
19088         (expm1_tonearest_test_data): New array.
19089         (expm1_test_tonearest): New function.
19090         (expm1_towardzero_test_data): New array.
19091         (expm1_test_towardzero): New function.
19092         (expm1_downward_test_data): New array.
19093         (expm1_test_downward): New function.
19094         (expm1_upward_test_data): New array.
19095         (expm1_test_upward): New function.
19096         (main): Run the new test functions.
19097         * sysdeps/i386/fpu/libm-test-ulps: Update.
19098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19100         * include/features.h: Update comment documenting feature test
19101         macros.  Mention _DEFAULT_SOURCE in comment.
19102         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19103         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19104         _BSD_SOURCE and _SVID_SOURCE.
19105         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19106         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19107         !_SVID_SOURCE]: Likewise.
19108         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19109         (__USE_POSIX_IMPLICITLY): Define.
19110         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19111         (_POSIX_SOURCE): Undefine and redefine.
19112         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19113         (_POSIX_C_SOURCE): Likewise.
19114         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19115         (Feature Test Macros): Update documentation of default features.
19117 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19119         * benchtests/Makefile: Add bench-strtok.
19120         * benchtests/bench-strtok.c: New file: strtok benchtest.
19122 2013-12-19  Allan McRae  <allan@archlinux.org>
19124         * manual/install.texi: Suppress menu for plain text output.
19125         * INSTALL: Regenerated.
19127 2013-12-18  Brooks Moses  <bmoses@google.com>
19129         [BZ #15846]
19130         * misc/getauxval.c: Include errno.h.
19131         (__getauxval): Set errno to ENOENT if the requested type is not
19132         found.
19133         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19134         don't declare with __attribute_const__.
19135         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19136         * manual/startup.texi: Document that getauxval sets errno.
19138 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19140         * math/auto-libm-test-in: Add tests of jn and yn.
19141         * math/auto-libm-test-out: Regenerated.
19142         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19143         (yn_test_data): Likewise.
19144         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19145         mpfr_if_f.
19146         (func_calc_desc): Add mpfr_if_f union field.
19147         (FUNC_mpfr_if_f): New macro.
19148         (test_functions): Add jn and yn.
19149         (calc_generic_results): Assert type of second input for
19150         mpfr_ff_f.  Handle mpfr_if_f.
19151         (output_for_one_input_case): Disable all checking for arguments
19152         fitting floating-point types in case of an integer argument.
19153         * sysdeps/i386/fpu/libm-test-ulps: Update.
19154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19157         Don't expect fegetround reference in libm.so.
19159 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19161         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19162         $(config-cflags-nofma).
19164 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19166         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19167         * math/auto-libm-test-out: Regenerated.
19169         [BZ #16338]
19170         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19171         to determine exponent and adjust argument to have exponent of -1.
19172         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19173         log2.
19174         * math/auto-libm-test-out: Regenerated.
19175         * sysdeps/i386/fpu/libm-test-ulps: Update.
19176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19178 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19180         * manual/probes.texi: Remove cases when per-thread arenas are
19181         disabled.
19183 2013-12-18  Andreas Schwab  <schwab@suse.de>
19185         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19186         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19187         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19188         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19189         * sysdeps/i386/i686/multiarch/Makefile: Update.
19190         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19192 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19194         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19195         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19197 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19199         [BZ #15968]
19200         Support TZ transition times < 00:00:00.
19201         This is needed for version-3 tz-format files; it supports time
19202         stamps past 2037 for America/Godthab (the only entry in the tz
19203         database for which this change is relevant).
19204         * manual/time.texi (TZ Variable): Document transition times
19205         from -167:59:59 through -00:00:01.
19206         * time/tzset.c (tz_rule): Time of day is now signed.
19207         (__tzset_parse_tz): Parse negative time of day.
19209         Document TZ transition times >= 25:00:00.
19210         * manual/time.texi (TZ Variable): Document transition times from
19211         25:00:00 through 167:59:59.  These are already supported, and this
19212         support will help with version-3 tz-format files.
19214         * manual/time.texi (TZ Variable): Modernize North America example
19215         to reflect current (i.e., 2007-and-later) daylight saving rules.
19217         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19219 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19221         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19222         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19223         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19224         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19225         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19226         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19227         * sysdeps/unix/bsd/clock.c: Likewise.
19228         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19229         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19230         * sysdeps/unix/bsd/init-posix.c: Likewise.
19231         * sysdeps/unix/bsd/poll.c: Likewise.
19232         * sysdeps/unix/bsd/ptsname.c: Likewise.
19233         * sysdeps/unix/bsd/seekdir.c: Likewise.
19234         * sysdeps/unix/bsd/setegid.c: Likewise.
19235         * sysdeps/unix/bsd/seteuid.c: Likewise.
19236         * sysdeps/unix/bsd/setgid.c: Likewise.
19237         * sysdeps/unix/bsd/setrgid.c: Likewise.
19238         * sysdeps/unix/bsd/setruid.c: Likewise.
19239         * sysdeps/unix/bsd/setsid.c: Likewise.
19240         * sysdeps/unix/bsd/setuid.c: Likewise.
19241         * sysdeps/unix/bsd/sigaction.c: Likewise.
19242         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19243         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19244         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19245         * sysdeps/unix/bsd/telldir.c: Likewise.
19246         * sysdeps/unix/bsd/times.c: Likewise.
19247         * sysdeps/unix/bsd/usleep.c: Likewise.
19249         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19250         ($(objpfx)libbsd-compat.a): Remove rule.
19252         * include/features.h (__FAVOR_BSD): Do not define.
19253         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19254         features conflicting with POSIX.
19255         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19256         (_BSD_SOURCE): Remove description of not being a subset of other
19257         feature test macros.
19258         * manual/job.texi (getpgrp): Do not document BSD version.
19259         (getpgid): Do not document by reference to BSD getpgrp.
19260         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19261         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19262         * signal/signal.h [__FAVOR_BSD]: Likewise.
19263         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19264         instead of making contents conditional on [__FAVOR_BSD].
19265         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19267 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19271 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19273         [BZ #16314]
19274         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19275         values below 2**-450, not 2**-500.
19276         * math/auto-libm-test-in: Don't allow spurious underflow from
19277         hypot.
19278         * math/auto-libm-test-out: Regenerated.
19280         [BZ #16316]
19281         [BZ #16330]
19282         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19283         values of ha and hb and sort them after adjusting subnormal
19284         arguments.
19285         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19286         Likewise.
19287         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19288         values of ea and eb and sort them after adjusting subnormal
19289         arguments.
19290         * math/auto-libm-test-in: Do not expect some hypot tests of
19291         subnormals to fail.  Add more hypot tests.
19292         * math/auto-libm-test-out: Regenerated.
19294 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19296         [BZ #13304]
19297         * sysdeps/sh/s_fma.c: New file.
19298         * sysdeps/sh/s_fmaf.c: New file.
19299         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19300         version.
19301         * sysdeps/sh/Implies: Add sh/soft-fp.
19303 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19305         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19306         level of indirection to members `objname', `errstring', `malloced'.
19307         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19308         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19309         it as the __longjmp argument (just pass 1 instead).
19310         (_dl_catch_error): Initialize C with argument pointers and address of
19311         volatile local ERRCODE rather than copying values out of C at return.
19313 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19315         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19316         * math/auto-libm-test-out: Regenerated.
19317         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19318         (hypot_test_data): Likewise.
19319         (pow_test_data): Likewise.
19320         (pow_tonearest_test_data): Likewise.
19321         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19322         mpfr_ff_f.
19323         (func_calc_desc): Add mpfr_ff_f union field.
19324         (FUNC_mpfr_ff_f): New macro.
19325         (test_functions): Add atan2, hypot and pow.
19326         (special_fill_min): New function.
19327         (special_fill_minus_min): Likewise.
19328         (special_fill_min_subnorm): Likewise.
19329         (special_fill_minus_min_subnorm): Likewise.
19330         (special_real_inputs): Add min, -min, min_subnorm and
19331         -min_subnorm.
19332         (calc_generic_results): Handle mpfr_ff_f.
19333         * sysdeps/i386/fpu/libm-test-ulps: Update.
19334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19336 2013-12-16  Will Newton  <will.newton@linaro.org>
19338         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19339         (Aligned Memory Blocks): Add documentation for aligned_alloc
19340         and suggest it as an alternative to posix_memalign.
19341         (Hooks for Malloc): Document __memalign_hook is also called
19342         for aligned_alloc.  (Summary of Malloc): Add summary for
19343         aligned alloc.  Document __memalign_hook is also called
19344         for aligned_alloc.
19346 2013-12-16  Will Newton  <will.newton@linaro.org>
19348         * manual/memory.texi (Malloc Examples): Clarify default
19349         alignment documentation.  Suggest posix_memalign rather
19350         than memalign or valloc.
19351         (Aligned Memory Blocks): Remove suggestion to use memalign
19352         or valloc.  Remove obsolete comment about BSD.
19353         Document memalign errno values and mark the function obsolete.
19354         Document posix_memalign returned error codes.  Mark valloc
19355         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19356         called for posix_memalign and valloc.
19357         (Summary of Malloc): Add posix_memalign to function summary.
19358         __memalign_hook is also called for posix_memalign and valloc.
19360 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19362         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19363         TAYLOR_SIN.
19364         (__sin): Adjust.
19365         (__cos): Likewise.
19366         (sloww): Use mynumber union.  Expand ternary operator into
19367         if-else statements.
19368         (cslow): use mynumber union.
19370 2013-12-16  Allan McRae  <allan@archlinux.org>
19372         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19373         * configure: Regenerated.
19375         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19377         [BZ #14120]
19378         * configure.ac: Added --enable-maintainer-mode. Check for
19379         autoconf when enabled.
19380         * configure: Regenerated.
19382         * nscd/nscd.service: New file.
19383         * nscd/nscd.tmpfiles: New file.
19385 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19387         [BZ #12100]
19388         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19389         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19390         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19391         (strstr): Add __strstr_sse2_unaligned ifunc.
19392         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19393         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19394         (strcasestr): Remove __strcasestr_sse42 ifunc.
19395         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19397         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19399 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19401         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19402         * sysdeps/sh/bits/fenv.h: ... here.
19403         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19405 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19407         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19410         hypotf multiarch implementations.
19411         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19412         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19413         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19414         multiarch hypot for PPC64.
19415         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19416         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19417         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19418         multiarch hypotf for PPC64.
19420         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19421         modff multiarch implementations.
19422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19425         multiarch modf for PPC64.
19426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19429         multiarch modff for PPC64.
19431         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19432         and logl multiarch implementations.
19433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19436         multiarch logb for PPC64.
19437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19440         multiarch logb for PPC64.
19441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19444         multiarch logb for PPC64.
19446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19447         isinff multiarch implementation.
19448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19449         file.
19450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19452         multiarch isinf for PPC64.
19453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19454         file.
19455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19456         multiarch isinff for PPC64.
19458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19459         finitef multiarch implementation.
19460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19461         file.
19462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19464         multiarch finite for PPC64.
19465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19466         file.
19467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19468         multiarch finitef for PPC64.
19470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19471         lrint multiarch implementation.
19472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19473         file.
19474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19476         multiarch llrint for PPC64.
19477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19478         multiarch lrint for PPC64.
19480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19481         copysignf multiarch implementation.
19482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19483         file.
19484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19485         file.
19486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19487         multiarch copysign for PPC64.
19488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19489         multiarch copysignf for PPC64.
19491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19492         multiarch implementation.
19493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19494         file.
19495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19496         file.
19497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19498         file.
19499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19500         file.
19501         multiarch llround for PPC64.
19502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19503         multiarch trunc for PPC64.
19504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19505         multiarch truncf for PPC64.
19507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19508         multiarch implementation.
19509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19510         file.
19511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19512         file.
19513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19514         file.
19515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19516         file.
19517         multiarch llround for PPC64.
19518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19519         multiarch round for PPC64.
19520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19521         multiarch roundf for PPC64.
19523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19524         multiarch implementation.
19525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19526         file.
19527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19528         file.
19529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19530         file.
19531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19532         file.
19533         multiarch llround for PPC64.
19534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19535         multiarch floor for PPC64.
19536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19537         multiarch floorf for PPC64.
19539         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19540         multiarch implementation.
19541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19542         file.
19543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19544         file.
19545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19546         file.
19547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19548         file.
19549         multiarch llround for PPC64.
19550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19551         multiarch ceil for PPC64.
19552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19553         multiarch ceilf for PPC64.
19555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19556         multiarch implementation.
19557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19558         file.
19559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19560         file.
19561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19562         file.
19563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19564         multiarch llround for PPC64.
19565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19566         multiarch lround for PPC64.
19568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19569         multiarch implementation.
19570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19573         file.
19574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19577         multiarch isnan for PPC64.
19578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19579         multiarch isnanf for PPC64.
19581         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19582         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19583         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19584         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19585         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19588         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19589         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19590         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19591         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19594         multiarch implementations.
19595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19596         (__libc_ifunc_impl_list): Likewise.
19597         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19598         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19599         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19600         multiarch stpcpy for PPC64.
19602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19603         multiarch implementations.
19604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19605         (__libc_ifunc_impl_list): Likewise.
19606         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19607         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19608         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19609         multiarch strcpy for PPC64.
19611         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19612         redefine function name.
19613         (_wordcopy_fwd_dest_aligned): Likewise.
19614         (_wordcopy_bwd_aligned): Likewise.
19615         (_wordcopy_bwd_dest_aligned): Likewise.
19616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19617         multiarch implementations.
19618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19619         (__libc_ifunc_impl_list): Likewise.
19620         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19621         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19622         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19623         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19624         multiarch wcscpy for PPC64.
19626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19627         multiarch implementations.
19628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19629         (__libc_ifunc_impl_list): Likewise.
19630         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19631         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19632         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19633         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19634         multiarch wcscpy for PPC64.
19636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19637         multiarch implementations.
19638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19639         (__libc_ifunc_impl_list): Likewise.
19640         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19641         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19642         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19643         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19644         multiarch wcsrchr for PPC64.
19646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19647         multiarch implementations.
19648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19649         (__libc_ifunc_impl_list): Likewise.
19650         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19651         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19652         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19653         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19654         multiarch wcschr for PPC64.
19656         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19657         multiarch implementations.
19658         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19659         (__libc_ifunc_impl_list): Likewise.
19660         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19661         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19662         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19663         multiarch strchrnul for PPC64.
19665         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19666         implementations.
19667         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19668         (__libc_ifunc_impl_list): Likewise.
19669         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19670         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19671         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19672         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19673         strchr for PPC64.
19675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19676         implementations.
19677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19678         (__libc_ifunc_impl_list): Likewise.
19679         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19680         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19681         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19682         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19683         strncmp for PPC64.
19685         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19686         multiarch implementations.
19687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19688         (__libc_ifunc_impl_list): Likewise.
19689         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19690         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19691         strncasecmp for PPC64.
19692         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19693         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19694         multiarch strncasecmp_l for PPC64.
19696         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19697         multiarch implementations.
19698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19699         (__libc_ifunc_impl_list): Likewise.
19700         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19702         multiarch strcasecmp for PPC64.
19703         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19704         file.
19705         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19706         multiarch strcasecmp_l for PPC64.
19708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19709         implementations.
19710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19711         (__libc_ifunc_impl_list): Likewise.
19712         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19713         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19714         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19715         strnlen for PPC64.
19717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19718         implementations.
19719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19720         (__libc_ifunc_impl_list): Likewise.
19721         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19722         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19723         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19724         strlen for PPC64.
19726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19727         implementations.
19728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19729         (__libc_ifunc_impl_list): Likewise.
19730         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19731         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19732         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19733         rawmemrchr for PPC64.
19735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19736         implementation.
19737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19738         (__libc_ifunc_impl_list): Likewise.
19739         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19740         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19741         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19742         memrchr for PPC64.
19744         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19745         implementation.
19746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19747         (__libc_ifunc_impl_list): Likewise.
19748         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19749         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19750         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19751         memchr for PPC64.
19753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19754         implementation.
19755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19756         (__libc_ifunc_impl_list): Likewise.
19757         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19758         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19759         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19760         mempcpy for PPC64.
19762         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19763         avoid cretion of __bzero symbol.
19764         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19765         Likewise.
19766         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19767         Likewise.
19768         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19769         Likewise.
19770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19771         multiarch implementations.
19772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19773         (__libc_ifunc_impl_list): Likewise.
19774         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19775         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19776         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19777         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19778         bzero for PPC32.
19779         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19780         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19781         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19782         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19783         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19784         memset for PPC64.
19785         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19787         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19789         implementations.
19790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19791         (__libc_ifunc_impl_list): Likewise.
19792         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19793         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19794         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19795         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19796         memcmp for PPC64.
19798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19799         multiarch for POWER/PPC64.
19800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19801         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19803         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19804         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19805         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19806         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19807         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19808         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19809         memcpy for PPC64.
19811         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19812         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19813         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19814         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19815         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19816         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19817         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19818         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19819         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19820         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19821         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19822         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19823         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19824         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19825         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19834 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19836         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19838 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19840         * benchtests/Makefile (bench): Add exp2 and log2.
19841         (LDLIBS-bench-exp2): Add -lm.
19842         (LDLIBS-bench-log2): Likewise.
19843         * benchtests/exp2-inputs: New inputs file.
19844         * benchtests/log2-inputs: New inputs file.
19845         * benchtests/log-inputs: Add new inputs.
19846         * benchtests/tan-inputs: Likewise.
19848 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19850         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19851         definition...
19852         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19853         (csloww2): ... from here.
19855         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19856         instead of structures.
19857         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19858         (POLYNOMIAL): Likewise.
19859         (TAYLOR_SLOW): Likewise.
19860         (__sin): Likewise.
19861         (__cos): Likewise.
19862         (slow1): Likewise.
19863         (slow2): Likewise.
19864         (sloww): Likewise.
19865         (sloww1); Likewise.
19866         (sloww2): Likewise.
19867         (bsloww1): Likewise.
19868         (bsloww2): Likewise.
19869         (cslow2): Likewise.
19870         (csloww): Likewise.
19871         (csloww1): Likewise.
19872         (csloww2): Likewise.
19874 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19876         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19877         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19878         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19879         * malloc/hooks.c (realloc_check): Likewise.
19881         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19882         * malloc/arena.c: Remove PER_THREAD conditional.
19883         [!PER_THREAD]: Remove code.
19884         (ptmalloc_unlock_all2): Likewise.
19885         (ptmalloc_init): Likewise.
19886         (_int_new_arena): Likewise.
19887         (arena_get2): Likewise.
19888         * malloc/hooks.c (__malloc_get_state): Likewise.
19889         (__malloc_set_state): Likewise.
19890         * malloc/malloc.c: Likewise.
19891         (struct malloc_state): Likewise.
19892         (struct malloc_par): Likewise.
19893         (__libc_realloc): Likewise.
19894         (__libc_mallopt): Likewise.
19896 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19898         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19900 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19902         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19903         macro to a function.  Check for zero perturb_byte.
19904         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19906         * malloc/malloc.c: (force_reg): Remove.
19907         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19908         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19909         force_reg by atomic_forced_read.
19910         * malloc/arena.c (ptmalloc_init): Likewise.
19911         * malloc/hooks.c (top_check): Likewise.
19913 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19917 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19921 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19923         * math/auto-libm-test-in: Add tests of lgamma.
19924         * math/auto-libm-test-out: Regenerated.
19925         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19926         (M_LOG_2_SQRT_PIl): Likewise.
19927         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19928         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19929         mpfr_f_f1.
19930         (func_calc_desc): Add mpfr_f_f1 union field.
19931         (ARGS1): New macro.
19932         (ARGS2): Likewise.
19933         (ARGS3): Likewise.
19934         (ARGS4): Likewise.
19935         (RET1): Likewise.
19936         (RET2): Likewise.
19937         (CALC): Likewise.
19938         (FUNC): Likewise.
19939         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19940         (test_functions): Add lgamma.
19941         (calc_generic_results): Handle mpfr_f_f1.
19942         * sysdeps/i386/fpu/libm-test-ulps: Update.
19943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19945 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19947         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19948         __mpn_add_n for PowerPC64/POWER7.
19949         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19950         __mpn_sub_n for PowerPC64/POWER7.
19952         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19953         __mpn_addmul_1 for PowerPC64.
19954         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19955         __mpn_submul_1 for PowerPC64.
19956         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19957         for PowerPC64.
19958         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19959         for PowerPC64.
19961 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19963         [BZ #15089]
19964         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19966 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19968         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19970         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19971         add multiarch folders.
19972         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19973         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19974         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19975         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19976         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19977         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19978         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19979         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19980         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19981         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19982         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19991         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19993         New file.
19994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19995         New file.
19996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19997         multiarch __ieee754_hypot for PowerPC32.
19998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19999         New file.
20000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20001         New file.
20002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20003         multiarch __ieee754_hypotf for PowerPC32.
20005         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20006         long_double_symbol only if __logbl is defined.
20007         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20008         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20009         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20010         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20011         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20012         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20013         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20014         path for implementation.
20015         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20018         logb, and logbl multiarch implementations for PowerPC32.
20019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20020         file.
20021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20022         file.
20023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20024         multiarch logb for PowerPC32.
20025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20026         file.
20027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20028         file.
20029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20030         multiarch logbf for PowerPC32.
20031         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20033         file.
20034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20035         multiarch logbl implementation for PowerPC32.
20037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20038         and modff multiarch implementations.
20039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20040         New file.
20041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20042         New file.
20043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20044         multiarch modf for PowerPC32.
20045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20046         New file.
20047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20048         New file.
20049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20050         multiarch modff for PowerPC32.
20052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20053         and lrintf multiarch implementations.
20054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20055         New file.
20056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20057         New file.
20058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20059         multiarch lrint for PowerPC32.
20060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20061         file: multiarch lrintf for PowerPC32.
20063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20064         and lroundf multiarch implementations.
20065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20066         New file.
20067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20068         New file.
20069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20070         New file.
20071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20072         multiarch lround for PowerPC32.
20073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20074         file: multiarch lroundf for PowerPC32.
20076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20077         copysign and copysignf multiarch implementations.
20078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20079         New file.
20080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20081         New file.
20082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20083         file: multiarch copysign for PowerPC32.
20084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20085         file: multiarch copysignf for PowerPC32.
20087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20088         and truncf multiarch implementations.
20089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20090         New file.
20091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20092         file.
20093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20094         multiarch trunc for PowerPC32.
20095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20096         New file.
20097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20098         New file.
20099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20100         multiarch truncf for PowerPC32.
20102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20103         and roundf multiarch implementations.
20104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20105         New file.
20106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20107         file.
20108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20109         multiarch round for PowerPC32.
20110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20111         New file.
20112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20113         New file.
20114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20115         multiarch roundf for PowerPC32.
20117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20118         and floorf multiarch implementations.
20119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20120         New file.
20121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20122         file.
20123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20124         multiarch floor for PowerPC32.
20125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20126         New file.
20127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20128         New file.
20129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20130         multiarch floorf for PowerPC32.
20132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20133         and ceilf multiarch implementations.
20134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20135         New file.
20136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20137         file.
20138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20139         multiarch ceil for PowerPC32.
20140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20141         New file.
20142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20143         file.
20144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20145         multiarch ceilf for PowerPC32.
20147         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20148         is defined.
20149         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20150         FINITEF is defined.
20151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20152         and finitef multiarch implementations.
20153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20154         New file.
20155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20156         file.
20157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20158         multiarch finite for PowerPC32.
20159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20160         New file.
20161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20162         file: multiarch finitef for PowerPC32.
20164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20165         and isinff multiarch implementations.
20166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20167         file.
20168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20169         file.
20170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20171         multiarch isinf for PowerPC32.
20172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20173         New file.
20174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20175         multiarch isinff for PowerPC32.
20177         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20178         alias when __isnan is defined.
20179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20180         and isnanf multiarch implementations.
20181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20182         file.
20183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20184         file.
20185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20186         file.
20187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20188         file.
20189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20190         multiarch isnan for PowerPC32.
20191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20192         New file.
20193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20194         New file.
20195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20196         multiarch isnanf for PowerPC32.
20198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20199         and sqrtf multiarch implementations.
20200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20201         file.
20202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20203         file.
20204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20205         multiarch sqrt for PowerPC32.
20206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20207         file.
20208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20209         file.
20210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20211         multiarch sqrtf for PowerPC32.
20213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20214         and llroundf multiarch implementations.
20215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20216         New file.
20217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20218         New file.
20219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20220         New file.
20221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20222         file: multiarch llround for PowerPC32.
20223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20224         file: multiarch llroundf for PowerPC32.
20226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20227         multiarch PowerPC32 fpu implementations.
20228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20229         New file.
20230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20231         New file.
20232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20233         multiarch llrint for PowerPC32.
20234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20235         New file.
20236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20237         New file.
20238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20239         file.
20241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20243         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20244         file.
20245         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20246         file.
20247         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20248         file.
20249         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20250         multiarch wordcopy for PPC32.
20251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20252         wordcopy objects.
20253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20254         (__libc_ifunc_impl_list): Likewise.
20255         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20256         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20257         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20258         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20259         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20260         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20262         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20263         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20264         file.
20265         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20266         file.
20267         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20268         file.
20269         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20270         multiarch wcscpy for PPC32.
20271         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20272         multiarch objects.
20273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20274         (__libc_ifunc_impl_list): Likewise.
20275         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20276         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20277         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20278         sysdeps/powerpc/power6/wcscpy.c.
20280         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20282         file.
20283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20284         file.
20285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20286         file.
20287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20288         multiarch wcsrchr for PPC32.
20289         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20290         multiarch objects.
20291         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20292         (__libc_ifunc_impl_list): Likewise.
20293         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20294         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20295         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20296         sysdeps/powerpc/power6/wcsrchr.c.
20298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20299         file.
20300         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20301         file.
20302         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20304         multiarch wcschr for PPc32.
20305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20306         multiarch objects.
20307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20308         (__libc_ifunc_impl_list): Likewise.
20309         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20310         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20311         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20312         sysdeps/powerpc/power6/wcschr.c.
20314         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20315         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20316         file.
20317         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20318         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20319         file: multiarch strchr for PPC32.
20320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20321         multiarch objects.
20322         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20323         (__libc_ifunc_impl_list): Likewise.
20325         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20326         name.
20327         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20328         file.
20329         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20330         file.
20331         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20332         multiarch strchrnul for PPC32.
20333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20334         multiarch objects.
20335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20336         (__libc_ifunc_impl_list): Likewise.
20338         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20339         file.
20340         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20341         multiarch strncasecmp for PPC32.
20342         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20343         file.
20344         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20345         multiarch strncasecmp_l for PPC32.
20346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20347         strncasecmp multiarch objects.
20348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20349         (__libc_ifunc_impl_list): Likewise.
20351         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20352         file.
20353         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20354         multiarch strncasecmp for PPC32.
20355         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20356         New file.
20357         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20358         multiarch strcasecmp_l for PPC32.
20359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20360         multiarch objects.
20361         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20362         (__libc_ifunc_impl_list): Likewise.
20364         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20365         file.
20366         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20367         file.
20368         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20369         multiarch strncmp for PPC32.
20370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20371         multiarch objects.
20372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20373         (__libc_ifunc_impl_list): Likewise.
20375         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20376         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20377         file.
20378         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20379         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20380         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20381         multiarch objects.
20382         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20383         (__libc_ifunc_impl_list): Likewise.
20385         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20386         file.
20387         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20388         file.
20389         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20391         multiarch objects.
20392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20393         (__libc_ifunc_impl_list): Likewise.
20395         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20396         file.
20397         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20398         file.
20399         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20400         multiarch rawmemchr for PPC32.
20401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20402         multiarch objects.
20403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20404         (__libc_ifunc_impl_list): Likewise.
20406         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20407         file.
20408         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20409         file.
20410         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20411         file: memrchr multiarch for PPC32.
20412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20413         multiarch objects.
20414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20415         (__libc_ifunc_impl_list): Likewise.
20417         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20418         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20419         file.
20420         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20421         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20422         multiarch memchr for PPC32.
20423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20424         multiarch objects.
20425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20426         (__libc_ifunc_impl_list): Likewise.
20428         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20429         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20430         file.
20431         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20432         file.
20433         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20434         file: multiarch mempcpy for PPC32.
20435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20436         multiarch objects.
20437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20438         (__libc_ifunc_impl_list): Likewise.
20440         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20441         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20442         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20443         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20444         multiarch bzero for PPC32.
20445         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20446         file.
20447         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20448         file.
20449         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20450         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20451         file: multiarch memset for PPC32.
20452         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20454         memset multiarch objects.
20455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20456         (__libc_ifunc_impl_list): Likewise.
20458         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20459         file.
20460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20462         memcmp for PPC32.
20463         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20465         multiarch objects.
20466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20467         (__libc_ifunc_impl_list): Likewise.
20469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20470         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20472         file.
20473         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20474         file.
20475         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20476         file.
20477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20478         multiarch memcpy for PPC32.
20479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20480         multiarch objects.
20481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20482         (__libc_ifunc_impl_list): Likewise.
20484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20485         support multiarch for POWER/PPC32.
20486         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20487         Likewise.
20488         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20490         Implies file to make multiarch folder appers before the fpu and
20491         default folder for power4 configuration.
20493 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20495         * scripts/bench.pl: Append volatile keyword to type.
20497 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20499         * sysdeps/sh/sotruss-lib.c: New file.
20500         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20502 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20506 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20508         [BZ #6810]
20509         * math/w_tgamma.c: Include <errno.h>.
20510         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20511         * math/w_tgammaf.c: Include <errno.h>.
20512         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20513         * math/w_tgammal.c: Include <errno.h>.
20514         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20515         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20516         underflow.  Add more tgamma tests.
20517         * math/auto-libm-test-out: Regenerated.
20518         * sysdeps/i386/fpu/libm-test-ulps: Update.
20519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20521         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20522         sin, sinh, tan, tanh, tgamma, y0 and y1.
20523         * math/auto-libm-test-out: Regenerated.
20524         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20525         (TEST_COND_x86): Likewise.
20526         (M_E2l): Remove macro.
20527         (M_E3l): Likewise.
20528         (M_2_SQRT_PIl): Likewise.
20529         (M_SQRT_PIl): Likewise.
20530         (M_1_DIV_El): Likewise.
20531         (log_test_data): Use AUTO_TESTS_f_f.
20532         (log10_test_data): Likewise.
20533         (log1p_test_data): Likewise.
20534         (log2_test_data): Likewise.
20535         (sin_test_data): Likewise.
20536         (sin_tonearest_test_data): Likewise.
20537         (sin_towardzero_test_data): Likewise.
20538         (sin_downward_test_data): Likewise.
20539         (sin_upward_test_data): Likewise.
20540         (sinh_test_data): Likewise.
20541         (sinh_tonearest_test_data): Likewise.
20542         (sinh_towardzero_test_data): Likewise.
20543         (sinh_downward_test_data): Likewise.
20544         (sinh_upward_test_data): Likewise.
20545         (tan_test_data): Likewise.
20546         (tan_tonearest_test_data): Likewise.
20547         (tan_towardzero_test_data): Likewise.
20548         (tan_downward_test_data): Likewise.
20549         (tan_upward_test_data): Likewise.
20550         (tanh_test_data): Likewise.
20551         (tgamma_test_data): Likewise.
20552         (y0_test_data): Likewise.
20553         (y1_test_data): Likewise.
20554         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20555         (special_real_inputs): Add pi/4.
20556         * sysdeps/i386/fpu/libm-test-ulps: Update.
20557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20559 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20561         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20562         "longjmp_target" static probes.
20563         (__longjmp): Rename to __longjmp_symbol.
20564         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20565         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20566         on which longjmp to generate.
20567         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20568         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20569         probe.
20570         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20571         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20572         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20573         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20574         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20575         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20577         __longjmp_symbol based on which __longjmp to generate.
20578         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20579         probe.
20580         (setjmp): Rename to setjmp_symbol.
20581         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20582         (_setjmp): Rename to _setjmp_symbol.
20583         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20584         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20585         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20586         which setjmp to generate.
20587         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20588         "longjmp_target" static probes.
20590 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20592         * benchtests/README: Add note about output arguments.
20593         * benchtests/bench-sincos.c: Remove file.
20594         * benchtests/sincos-inputs: New file.
20595         * scripts/bench.pl: Identify output arguments and define
20596         static variables for them.
20598         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20600         [BZ #15941]
20601         * Makefile (INSTALL): Add install-plain.texi as the primary
20602         dependency.
20603         * manual/install-plain.texi: New file.
20604         * manual/install.texi: Include node directive only for
20605         non-plaintext output.
20607 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20609         * stdlib/longlong.h: Update from GCC.
20611         [BZ #6807]
20612         [BZ #15901]
20613         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20614         * math/w_j0f.c (y0f): Likewise.
20615         * math/w_j0l.c (__y0l): Likewise.
20616         * math/w_j1.c (y1): Likewise.
20617         * math/w_j1f.c (y1f): Likewise.
20618         * math/w_j1l.c (__y1l): Likewise
20619         * math/w_jn.c (yn): Likewise.
20620         * math/w_jnf.c (ynf): Likewise.
20621         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20622         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20623         value for Bessel function domain errors outside _SVID_ mode.
20624         Adjust sign of return value for yn (negative integer, 0).
20625         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20626         by zero in return for negative x and set sign appropriately for
20627         negative n.
20628         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20629         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20630         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20631         expectations in error cases.
20632         (y1_test_data): Likewise.
20633         (yn_test_data): Likewise.
20634         * sysdeps/i386/fpu/libm-test-ulps: Update.
20635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20637 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20639         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20640         "64" to "64-v1".  Add "64-v2".
20641         (abi-64-options): Rename to ...
20642         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20643         (abi-64-condition): Rename to ...
20644         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20645         (abi-64-ld-soname): Rename to ...
20646         (abi-64-v1-ld-soname): ... this.
20647         (abi-64-v2-options): Define.
20648         (abi-64-v2-condition): Likewise.
20649         (abi-64-v2-ld-soname): Likewise.
20650         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20651         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20656 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20657             Alan Modra  <amodra@gmail.com>
20659         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20660         New versions for use with the ELFv2 ABI.
20661         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20662         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20663         declaration.
20664         (struct La_ppc64v2_retval): Likewise.
20665         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20666         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20667         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20668         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20669         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20670         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20671         Do not save or restore CR.
20672         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20673         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20674         return values for ELFv2 ABI.  Fix location of FPR return registers.
20675         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20676         updated values for _CALL_ELF == 2.
20677         (La_regs, La_retval, int_retval): Likewise.
20679 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20681         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20682         (FRAME_MIN_SIZE_PARM): Likewise.
20683         (FRAME_BACKCHAIN): Likewise.
20684         (FRAME_CR_SAVE): Likewise.
20685         (FRAME_LR_SAVE): Likewise.
20686         (FRAME_TOC_SAVE): Likewise.
20687         (FRAME_PARM_SAVE): Likewise.
20688         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20689         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20690         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20691         (call_mcount_parm_offset): New macro.
20692         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20693         (PROF): Use symbolic stack frame offsets.
20694         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20695         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20696         Redefine in terms of FRAME_MIN_SIZE.
20697         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20698         (_dl_profile_resolve): Likewise.  Update comment.
20699         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20700         symbols stack frame offsets.
20701         (__sigsetjmp): Likewise.
20702         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20703         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20704         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20705         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20708         (FRAME_BACKCHAIN): Remove.
20709         (FRAME_CR_SAVE): Likewise.
20710         (FRAME_LR_SAVE): Likewise.
20711         (FRAME_COMPILER_DW): Likewise.
20712         (FRAME_LINKER_DW): Likewise.
20713         (FRAME_TOC_SAVE): Likewise.
20714         (FRAME_PARM_SAVE): Likewise.
20715         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20716         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20717         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20719         (CHECK_SP): Use symbolic stack frame offsets.
20720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20721         zone" instead of caller's parameter save area for temp storage.
20722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20723         Likewise.  Also, use symbolic stack frame offsets.
20724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20725         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20726         our own stack frame instead of the caller's.
20727         (__socket): Use symbolic stack frame offsets.
20729 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20730             Alan Modra  <amodra@gmail.com>
20732         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20733         Define.
20734         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20735         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20736         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20737         New function.
20738         (elf_machine_fixup_plt): Call it.
20739         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20740         reloc arguments.
20741         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20742         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20743         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20744         r2 before calling target.
20746 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20747             Alan Modra  <amodra@gmail.com>
20749         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20750         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20751         versions of macros to support ELFv2 ABI.
20752         (LOCALENTRY): New macro.
20753         (ENTRY, EALIGN): Use it.
20754         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20755         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20756         fall through into ENTRY entry point.
20757         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20758         Only define if _CALL_ELF != 2.
20760         (elf_machine_matches_host): Verify ABI version matches.
20761         (RTLD_START): Use LOCALENTRY.
20762         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20763         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20764         (PLT_ENTRY_WORDS): New macro.
20765         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20766         (elf_machine_runtime_setup): Support ELFv2 ABI.
20767         (elf_machine_fixup_plt): Likewise.
20768         (elf_machine_plt_conflict): Likewise.
20769         (resolve_ifunc): Likewise.
20770         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20771         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20772         Likewise.
20773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20774         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20776         (makecontext): Support ELFv2 ABI.
20777         * elf/elf.h (EF_PPC64_ABI): Define.
20779 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20781         * sysdeps/powerpc/powerpc64/sysdep.h
20782         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20783         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20784         (ENTRY) [ASSEMBLER]: ... but instead here ...
20785         (EALIGN) [ASSEMBLER]: ... and here.
20786         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20787         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20788         (ENTRY_2) [!ASSEMBLER]: Use it.
20789         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20790         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20791         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20792         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20793         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20795         Use PPC64_LOAD_FUNCPTR.
20797         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20799 2013-12-04  Alan Modra  <amodra@gmail.com>
20801         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20802         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20803         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20804         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20806         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20807         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20808         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20809         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20810         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20811         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20813 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20816         (__makecontext): Fix incorrect CFI when backtracing out of
20817         context created via makecontext.
20818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20819         (__setcontext): Fix incorrect CFI during switch to new context.
20820         (__novec_setcontext): Likewise.
20822 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20824         [BZ #4772]
20825         * time/strptime_l.c (__strptime_internal): Allow modifiers
20826         in strptime.
20827         * time/tst-strptime.c (day_tests): Add testcase.
20829 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20831         * scripts/bench.pl: Skip over blank lines.
20833 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20835         [BZ #926]
20836         * manual/time.texi (Calendar Time): Clarify what timezone functions
20837         use.
20839 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20843 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20845         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20846         implementation.
20847         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20848         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20849         * debug/memset_chk.c (__memset_chk): Likewise.
20850         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20851         * debug/strncpy_chk.c: Likewise.
20853 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20855         [BZ #15268]
20856         [BZ #15425]
20857         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20858         (__ieee754_exp): For possibly underflowing results, check size of
20859         result and force underflow exception if required.
20860         * math/auto-libm-test-in: Add more tests of exp.
20861         * math/auto-libm-test-out: Regenerated.
20862         * sysdeps/i386/fpu/libm-test-ulps: Update.
20863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20865         [BZ #16283]
20866         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20867         * math/w_exp2f.c (__exp2f): Likewise.
20868         * math/w_exp2l.c (__exp2l): Likewise.
20869         * math/auto-libm-test-in: Do not allow missing errno on exp2
20870         underflow.
20871         * math/auto-libm-test-out: Regenerated.
20873 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20875         [BZ #16274]
20876         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20877         handle filename validation.
20878         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20879         (do_open): Delete.
20881 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20883         [BZ #6786]
20884         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20885         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20886         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20887         <float.h>.
20888         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20889         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20890         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20891         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20892         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20893         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20894         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20895         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20896         Add more erfc tests.
20897         * math/auto-libm-test-out: Regenerated.
20898         * sysdeps/i386/fpu/libm-test-ulps: Update.
20899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20901         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20902         exp2, expm1, j0 and j1.
20903         * math/auto-libm-test-out: Regenerated.
20904         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20905         (erfc_test_data): Likewise.
20906         (exp_test_data): Likewise.
20907         (exp_tonearest_test_data): Likewise.
20908         (exp_towardzero_test_data): Likewise.
20909         (exp_downward_test_data): Likewise.
20910         (exp_upward_test_data): Likewise.
20911         (exp10_test_data): Likewise.
20912         (exp2_test_data): Likewise.
20913         (expm1_test_data): Likewise.
20914         (j0_test_data): Likewise.
20915         (j1_test_data): Likewise.
20916         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20917         (input_flag_type): Add flag_xfail_rounding.
20918         (input_flags): Add xfail-rounding.
20919         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20920         (output_for_one_input_case): Handle flag_xfail_rounding.
20921         * sysdeps/i386/fpu/libm-test-ulps: Update.
20922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20924 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20926         [BZ #16289]
20927         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20928         division by 0.
20930 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20932         [BZ #16195]
20933         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20934         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20935         (STAP_PROBE0): New macro.
20936         (STAP_PROBE1): Likewise.
20937         (STAP_PROBE2): Likewise.
20938         (STAP_PROBE3): Likewise.
20939         (STAP_PROBE4): Likewise.
20941 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20943         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20945 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20947         * benchtests/Makefile (bench): Add sqrt.
20948         (LDLIBS-bench-sqrt): New.
20949         * benchtests/sqrt-input: New.
20951 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20953         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20954         (GAIH_EAI): Likewise.
20955         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20956         (gaih_inet): Likewise.
20957         (getaddrinfo): Don't use GAIH_EAI.
20959         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20960         (struct gaih): Remove definition.
20962 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20964         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20965         Use HERRNOP directly.
20967 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20971 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20973         * math/gen-auto-libm-tests.c (test_functions): Add more
20974         single-argument functions.
20975         (special_fill_pi_2): New function.
20976         (special_fill_minus_pi_2): Likewise.
20977         (special_fill_pi_6): Likewise.
20978         (special_fill_minus_pi_6): Likewise.
20979         (special_fill_pi_3): Likewise.
20980         (special_fill_2pi_3): Likewise.
20981         (special_fill_e): Likewise.
20982         (special_fill_1_e): Likewise.
20983         (special_fill_e_minus_1): Likewise.
20984         (special_real_inputs): Add more special inputs.
20985         (output_for_one_input_case): Do not require ERANGE on underflow to
20986         zero if round-to-nearest result does not underflow to zero, unless
20987         exact results required.
20988         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20989         atan, atanh, cbrt, cos and cosh.
20990         * math/auto-libm-test-out: Regenerated.
20991         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20992         (acos_tonearest_test_data): Likewise.
20993         (acos_towardzero_test_data): Likewise.
20994         (acos_downward_test_data): Likewise.
20995         (acos_upward_test_data): Likewise.
20996         (acosh_test_data): Likewise.
20997         (asin_test_data): Likewise.
20998         (asin_tonearest_test_data): Likewise.
20999         (asin_towardzero_test_data): Likewise.
21000         (asin_upward_test_data): Likewise.
21001         (asinh_test_data): Likewise.
21002         (atan_test_data): Likewise.
21003         (atanh_test_data): Likewise.
21004         (cbrt_test_data): Likewise.
21005         (cos_test_data): Likewise.
21006         (cos_tonearest_test_data): Likewise.
21007         (cos_towardzero_test_data): Likewise.
21008         (cos_downward_test_data): Likewise.
21009         (cos_upward_test_data): Likewise.
21010         (cosh_test_data): Likewise.
21011         (cosh_tonearest_test_data): Likewise.
21012         (cosh_towardzero_test_data): Likewise.
21013         (cosh_downward_test_data): Likewise.
21014         (cosh_upward_test_data): Likewise.
21015         * sysdeps/i386/fpu/libm-test-ulps: Update.
21016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21018 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21020         [BZ #6787]
21021         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21022         * math/w_exp10f.c (__exp10f): Likewise.
21023         * math/w_exp10l.c (__exp10l): Likewise.
21024         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21025         errno settings in existing tests.
21027         [BZ #14032]
21028         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21029         precision control set to double precision.
21030         * sysdeps/i386/fpu/w_sqrt.c: New file.
21031         * math/auto-libm-test-in: Add more tests.
21032         * math/auto-libm-test-out: Update.
21034         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21035         (sqrt_test_tonearest): New function.
21036         (sqrt_towardzero_test_data): New variable.
21037         (sqrt_test_towardzero): New function.
21038         (sqrt_downward_test_data): New variable.
21039         (sqrt_test_downward): New function.
21040         (sqrt_upward_test_data): New variable.
21041         (sqrt_test_upward): New function.
21042         (main): Call the new functions.
21044         * math/gen-auto-libm-tests.c: New file.
21045         * math/auto-libm-test-in: Likewise.
21046         * math/auto-libm-test-out: New generated file.
21047         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21048         variables.
21049         (%beautify): Add generated representations of zero.
21050         (top level): Set $auto_input and call parse_auto_input.
21051         (beautify): Remove trailing "f" from hex float constants.
21052         (parse_args): Handle XFAIL_TEST.
21053         (convert_condition): New function.
21054         (or_value): Likewise.
21055         (or_cond_value): Likewise.
21056         (generate_testfile): Handle AUTO_TESTS_* lines.
21057         (parse_auto_input): New function.
21058         * math/libm-test.inc (XFAIL_TEST): New macro.
21059         (ERRNO_UNCHANGED): Update value.
21060         (ERRNO_EDOM): Likewise.
21061         (ERRNO_ERANGE): Likewise.
21062         (IGNORE_RESULT): Likewise.
21063         (TEST_COND_flt_32): New macro.
21064         (TEST_COND_dbl_64): Likewise.
21065         (TEST_COND_ldbl_96_intel): Likewise.
21066         (TEST_COND_ldbl_96_m68k): Likewise.
21067         (TEST_COND_ldbl_128): Likewise.
21068         (TEST_COND_ldbl_128ibm): Likewise.
21069         (TEST_COND_long32): Likewise.
21070         (TEST_COND_long64): Likewise.
21071         (TEST_COND_before_rounding): Likewise.
21072         (TEST_COND_after_rounding): Likewise.
21073         (enable_test): Handle XFAIL_TEST flag.
21074         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21075         with finite results.
21076         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21077         auto-libm-test-out.
21079 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21080             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21082         [BZ #16214]
21083         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21084         __tls_get_addr_internal instead of __tls_get_offset in order to
21085         avoid GOT pointer dependency.  Make rtld export
21086         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21087         __tls_get_addr since we are a __tls_get_offset platform.
21088         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21089         GOT pointer being set up before.
21090         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21092 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21094         * manual/math.texi (Errors in Math Functions): Document accuracy
21095         goals.
21097         [BZ #15004]
21098         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21099         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21100         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21101         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21102         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21103         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21104         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21105         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21106         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21107         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21108         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21109         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21110         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21111         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21112         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21113         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21115         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21116         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21117         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21118         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21119         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21120         Likewise.
21121         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21122         Likewise.
21123         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21124         Likewise.
21125         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21126         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21127         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21128         atomic-feupdateenv and flt-rounds.
21129         * sysdeps/powerpc/nofpu/Versions (libc): Add
21130         __atomic_feholdexcept, __atomic_feclearexcept,
21131         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21132         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21133         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21134         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21135         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21136         here.
21137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21138         Update.
21140         * manual/arith.texi (FP Exceptions): Document that exceptions may
21141         not be raised when matherr is used.
21142         (Math Error Reporting): Document overflow in directed rounding
21143         modes.  Document that errno may not be set when finite values are
21144         returned on overflow.  Document intent to set errno on underflow
21145         only for underflow to zero.
21147         [BZ #16271]
21148         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21149         round-to-nearest then adjust result for other rounding modes.
21150         * include/fenv.h (fegetround): Use libm_hidden_proto.
21151         * math/fegetround.c (fegetround): Use libm_hidden_def.
21152         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21153         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21154         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21155         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21156         Likewise.
21157         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21158         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21159         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21160         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21162 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164         [BZ #16077]
21165         * nss/Versions (libnss_files): Add
21166         _nss_files_gethostbyname3_r.
21167         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21168         New function.
21169         (HOST_DB_LOOKUP): Remove macro.
21170         (_nss_files_gethostbyname_r): Implement function without the
21171         HOST_DB_LOOKUP macro.
21172         (_nss_files_gethostbyname2_r): Likewise.
21174 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21176         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21178 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21180         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21181         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21182         warning.
21184 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21186         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21187         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21188         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21189         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21190         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21191         __fe_nomask_env_priv and attribute_hidden.
21192         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21193         (libc_feupdateenv_test_ppc): Likewise.
21194         (libc_feresetround_ppc): Likewise.
21195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21196         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21197         compat_symbol macro.
21198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21199         (__fe_nomask_env): Likewise.
21200         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21202 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21204         * string/Makefile: Remove ifunc tests.
21205         * string/test-string.h: Define TEST_IFUNC.
21206         * string/test-bcopy-ifunc.c: Remove.
21207         * string/test-bzero-ifunc.c: Likewise.
21208         * string/test-memccpy-ifunc.c: Likewise.
21209         * string/test-memchr-ifunc.c: Likewise.
21210         * string/test-memcmp-ifunc.c: Likewise.
21211         * string/test-memcpy-ifunc.c: Likewise.
21212         * string/test-memmem-ifunc.c: Likewise.
21213         * string/test-memmove-ifunc.c: Likewise.
21214         * string/test-mempcpy-ifunc.c: Likewise.
21215         * string/test-memrchr-ifunc.c: Likewise.
21216         * string/test-memset-ifunc.c: Likewise.
21217         * string/test-rawmemchr-ifunc.c: Likewise.
21218         * string/test-stpcpy-ifunc.c: Likewise.
21219         * string/test-stpncpy-ifunc.c: Likewise.
21220         * string/test-strcasecmp-ifunc.c: Likewise.
21221         * string/test-strcasestr-ifunc.c: Likewise.
21222         * string/test-strcat-ifunc.c: Likewise.
21223         * string/test-strchr-ifunc.c: Likewise.
21224         * string/test-strchrnul-ifunc.c: Likewise.
21225         * string/test-strcmp-ifunc.c: Likewise.
21226         * string/test-strcpy-ifunc.c: Likewise.
21227         * string/test-strcspn-ifunc.c: Likewise.
21228         * string/test-strlen-ifunc.c: Likewise.
21229         * string/test-strncasecmp-ifunc.c: Likewise.
21230         * string/test-strncat-ifunc.c: Likewise.
21231         * string/test-strncmp-ifunc.c: Likewise.
21232         * string/test-strncpy-ifunc.c: Likewise.
21233         * string/test-strnlen-ifunc.c: Likewise.
21234         * string/test-strpbrk-ifunc.c: Likewise.
21235         * string/test-strrchr-ifunc.c: Likewise.
21236         * string/test-strspn-ifunc.c: Likewise.
21237         * string/test-strstr-ifunc.c: Likewise.
21239 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21241         * benchtests/Makefile: Remove ifunc tests.
21242         * benchtests/bench-string.h: Define TEST_IFUNC.
21243         * benchtests/bench-bcopy-ifunc.c: Remove.
21244         * benchtests/bench-bzero-ifunc.c: Likewise.
21245         * benchtests/bench-memccpy-ifunc.c: Likewise.
21246         * benchtests/bench-memchr-ifunc.c: Likewise.
21247         * benchtests/bench-memcmp-ifunc.c: Likewise.
21248         * benchtests/bench-memcpy-ifunc.c: Likewise.
21249         * benchtests/bench-memmem-ifunc.c: Likewise.
21250         * benchtests/bench-memmove-ifunc.c: Likewise.
21251         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21252         * benchtests/bench-memrchr-ifunc.c: Likewise.
21253         * benchtests/bench-memset-ifunc.c: Likewise.
21254         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21255         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21256         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21257         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21258         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21259         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21260         * benchtests/bench-strcat-ifunc.c: Likewise.
21261         * benchtests/bench-strchr-ifunc.c: Likewise.
21262         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21263         * benchtests/bench-strcmp-ifunc.c: Likewise.
21264         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21265         * benchtests/bench-strcpy-ifunc.c: Likewise.
21266         * benchtests/bench-strcspn-ifunc.c: Likewise.
21267         * benchtests/bench-strlen-ifunc.c: Likewise.
21268         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21269         * benchtests/bench-strncat-ifunc.c: Likewise.
21270         * benchtests/bench-strncmp-ifunc.c: Likewise.
21271         * benchtests/bench-strncpy-ifunc.c: Likewise.
21272         * benchtests/bench-strnlen-ifunc.c: Likewise.
21273         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21274         * benchtests/bench-strrchr-ifunc.c: Likewise.
21275         * benchtests/bench-strsep-ifunc.c: Likewise.
21276         * benchtests/bench-strspn-ifunc.c: Likewise.
21277         * benchtests/bench-strstr-ifunc.c: Likewise.
21279 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21281         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21283 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21285         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21286         * rt/aio.h: Likewise.
21287         * sysdeps/gnu/bits/utmp.h: Likewise.
21288         * sysdeps/gnu/bits/utmpx.h: Likewise.
21289         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21290         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21291         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21292         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21293         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21294         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21295         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21296         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21297         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21298         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21299         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21300         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21301         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21303         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21304         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21305         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21306         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21307         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21308         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21309         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21310         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21311         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21312         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21313         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21314         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21315         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21316         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21317         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21318         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21319         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21320         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21321         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21322         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21323         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21324         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21325         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21326         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21327         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21328         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21329         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21330         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21332 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21334         [BZ #16245]
21335         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21336         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21338 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21340         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21341         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21342         Likewise.
21344 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21346         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21347         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21348         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21349         (__fesetround): Remove define.
21350         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21351         rounding and exceptions handling.
21352         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21353         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21354         (__fe_nomask_env): Likewise.
21355         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21356         __fegetround instead of fegetround.
21357         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21358         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21360 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21362         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21363         it's there.
21365         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21367 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21369         [BZ #11157]
21370         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21371         (encrypt_r): Likewise.
21372         * malloc/obstack.h (obstack_free): Likewise.
21373         * posix/unistd.h (encrypt): Likewise.
21375 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21377         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21378         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21379         DL_CALL_DT_FINI() that call the functions directly.
21380         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21381         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21382         * elf/dl-fini.c: Likewise.
21384 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21386         * malloc/hooks.c (memalign_check): Add alignment rounding.
21387         * malloc/malloc.c (_mid_memalign): New function.
21388         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21389         Implement by calling _mid_memalign.
21390         * manual/probes.texi (Memory Allocation Probes): Remove
21391         memory_valloc_retry and memory_pvalloc_retry.
21393 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21395         * locale/programs/locarchive.c (open_archive): Add const
21396         qualifier to ARCHIVEFNAME and copy default fname to
21397         DEFAULT_FNAME.
21399         [BZ #15601]
21400         * libio/tst-widetext.input: Rename Oriya to Odia.
21401         * locale/iso-639.def: Likewise.
21403         * manual/probes.texi (Mathematical Function Probes): Add
21404         documentation for sin, cos, asin and acos probes.
21405         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21406         (__sin32): Add slowasin probe.
21407         (__cos32): Add slowacos probe.
21408         (__mpsin): Add slowsin probe.
21409         (__mpcos): Add slowcos probe.
21411 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21413         [BZ #15483]
21414         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21415         thread-local __sim_exceptions_thread and global
21416         __sim_exceptions_global.
21417         (__sim_disabled_exceptions): Change to thread-local
21418         __sim_disabled_exceptions_thread and global
21419         __sim_disabled_exceptions_global.
21420         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21421         and global __sim_round_mode_global.
21422         (__simulate_exceptions): Use thread-local floating-point state and
21423         set global state from it as needed.
21424         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21425         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21426         __sim_round_mode_thread.
21427         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21428         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21429         and global __sim_exceptions_global.
21430         (__sim_disabled_exceptions): Change to thread-local
21431         __sim_disabled_exceptions_thread and global
21432         __sim_disabled_exceptions_global.
21433         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21434         and global __sim_round_mode_global.
21435         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21436         (SIM_SET_GLOBAL): Likewise.
21437         * sysdeps/powerpc/soft-fp/sfp-machine.h
21438         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21439         __sim_round_mode_thread.
21440         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21441         __sim_disabled_exceptions_thread.
21442         (__sim_exceptions): Change to __sim_exceptions_thread.
21443         (__sim_disabled_exceptions): Change to
21444         __sim_disabled_exceptions_thread.
21445         (__sim_round_mode): Change to __sim_round_mode_thread.
21446         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21447         thread-local floating-point state and set global state from it as
21448         needed.
21449         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21450         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21451         (__sim_disabled_exceptions): Remove extern declaration.
21452         (feenableexcept): Use thread-local floating-point state and set
21453         global state from it as needed.
21454         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21455         extern declaration.
21456         (__sim_disabled_exceptions): Likewise.
21457         (__sim_round_mode): Likewise.
21458         (__fegetenv): Use thread-local floating-point state.
21459         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21460         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21461         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21462         floating-point state and set global state from it as needed.
21463         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21464         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21465         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21466         Likewise.
21467         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21468         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21469         Likewise.
21470         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21471         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21472         Use __sim_round_mode_thread.
21473         * math/test-fenv-tls.c: New file.
21474         * math/Makefile (tests): Add test-fenv-tls.
21475         ($(objpfx)test-fenv-tls): Depend on
21476         $(common-objpfx)nptl/libpthread.so.
21478 2013-11-19  Andreas Schwab  <schwab@suse.de>
21480         * locale/programs/locale.c (show_info): Decode wordarray elements.
21481         * locale/categories.def (LC_MONETARY): Add element for
21482         _NL_MONETARY_CRNCYSTR.
21483         * locale/C-monetary.c (conversion_rate): New variable.
21484         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21485         element.
21487 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21489         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21490         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21492 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21494         * elf/Makefile (tst-auxv): New test.
21495         * elf/tst-auxv.c: New
21496         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21498 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21500         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21501         (hidden_proto): Caller changed.
21502         (hidden_tls_proto): New macro.
21503         (libc_hidden_tls_proto): Likewise.
21504         (rtld_hidden_tls_proto): Likewise.
21505         (libm_hidden_tls_proto): Likewise.
21506         (libresolv_hidden_tls_proto): Likewise.
21507         (librt_hidden_tls_proto): Likewise.
21508         (libdl_hidden_tls_proto): Likewise.
21509         (libnss_files_hidden_tls_proto): Likewise.
21510         (libnsl_hidden_tls_proto): Likewise.
21511         (libnss_nisplus_hidden_tls_proto): Likewise.
21512         (libutil_hidden_tls_proto): Likewise.
21514 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21516         [BZ #10253]
21517         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21518         (decompose_rpath): Defer expansion to fillin_rpath.
21519         (_dl_init_paths): Pass linkmap to fillin_rpath.
21521 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21523         * benchtests/Makefile: Add strsep.
21524         * benchtests/bench-strsep.c: New file: strsep benchtest.
21525         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21527 2013-11-18  Andreas Schwab  <schwab@suse.de>
21529         * locale/programs/locale.c (show_info) [case byte]: Check for
21530         '\377' instead of '\177'.
21531         * locale/C-monetary.c (not_available): Always use "\377".
21532         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21533         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21534         detect unavailable sign_posn locale elements.
21535         * locale/localeconv.c (__localeconv): For grouping and
21536         mon_grouping handle "\177" and "\377" like no grouping.
21537         (INT_ELEM): New macro.  Use it to set all numeric members.
21538         * locale/programs/ld-monetary.c (monetary_read)
21539         <tok_mon_grouping>: Normalize single -1 to the empty string.
21540         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21541         Likewise.
21543 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21545         [BZ #16055]
21546         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21547         when we match (nil).
21548         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21550 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21552         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21553         (NO_TEST_INLINE): Update value.
21554         (ERRNO_UNCHANGED): Likewise.
21555         (ERRNO_EDOM): Likewise.
21556         (ERRNO_ERANGE): Likewise.
21557         (IGNORE_RESULT): Likewise.
21558         (check_float_internal): Check signs of NaN results if
21559         TEST_NAN_SIGN used.
21560         (check_complex): Pass TEST_NAN_SIGN flag through to second
21561         check_float_internal call.
21562         (copysign_test_data): Add tests with quiet NaNs as second
21563         argument.  Use TEST_NAN_SIGN.
21564         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21565         TEST_NAN_SIGN.
21566         (signbit_test_data): Add tests of quiet NaN argument.
21567         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21569         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21570         $ignore_result.
21571         (parse_args): Handle function results specified as IGNORE.
21572         * math/libm-test.inc (IGNORE_RESULT): New macro.
21573         (check_float_internal): Do not check numerical result if flag
21574         IGNORE_RESULT set.
21575         (check_complex): Pass through IGNORE_RESULT to second
21576         check_float_internal call.
21577         (check_int): Do not check numerical result if flag IGNORE_RESULT
21578         set.
21579         (check_long): Likewise.
21580         (check_bool): Likewise.
21581         (check_longlong): Likewise.
21582         (lrint_test_data): Add tests of infinite and NaN arguments.
21583         (lrint_tonearest_test_data): Likewise.
21584         (lrint_towardzero_test_data): Likewise.
21585         (lrint_downward_test_data): Likewise.
21586         (lrint_upward_test_data): Likewise.
21587         (llrint_test_data): Likewise.
21588         (llrint_tonearest_test_data): Likewise.
21589         (llrint_towardzero_test_data): Likewise.
21590         (llrint_downward_test_data): Likewise.
21591         (llrint_upward_test_data): Likewise.
21592         (lround_test_data): Likewise.
21593         (llround_test_data): Likewise.
21595         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21596         (ERRNO_UNCHANGED): Update value.
21597         (ERRNO_EDOM): Likewise.
21598         (ERRNO_ERANGE): Likewise.
21599         (NO_TEST_INLINE_FLOAT): New macro.
21600         (NO_TEST_INLINE_DOUBLE): Likewise.
21601         (enable_test): New function.
21602         (RUN_TEST_f_f): Check enable_test before running test.
21603         (RUN_TEST_2_f): Likewise.
21604         (RUN_TEST_fff_f): Likewise.
21605         (RUN_TEST_c_f): Likewise.
21606         (RUN_TEST_f_f1): Likewise.
21607         (RUN_TEST_fF_f1): Likewise.
21608         (RUN_TEST_fI_f1): Likewise.
21609         (RUN_TEST_ffI_f1): Likewise.
21610         (RUN_TEST_c_c): Likewise.
21611         (RUN_TEST_cc_c): Likewise.
21612         (RUN_TEST_f_i): Likewise.
21613         (RUN_TEST_f_i_tg): Likewise.
21614         (RUN_TEST_ff_i_tg): Likewise.
21615         (RUN_TEST_f_b): Likewise.
21616         (RUN_TEST_f_b_tg): Likewise.
21617         (RUN_TEST_f_l): Likewise.
21618         (RUN_TEST_f_L): Likewise.
21619         (RUN_TEST_fFF_11): Likewise.
21620         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21621         conditionals.
21622         (cosh_test_data): Likewise.
21623         (exp_test_data): Likewise.
21624         (expm1_test_data): Likewise.
21625         (hypot_test_data): Likewise.
21626         (pow_test_data): Likewise.
21627         (sinh_test_data): Likewise.
21628         (tanh_test_data): Likewise.
21629         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21630         flags argument.
21632         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21633         tests with quiet NaN input and output.
21634         (acosh_test_data): Likewise.
21635         (asin_test_data): Likewise.
21636         (asinh_test_data): Likewise.
21637         (atan_test_data): Likewise.
21638         (atanh_test_data): Likewise.
21639         (atan2_test_data): Likewise.
21640         (cbrt_test_data): Likewise.
21641         (cos_test_data): Likewise.
21642         (cosh_test_data): Likewise.
21643         (erf_test_data): Likewise.
21644         (erfc_test_data): Likewise.
21645         (exp_test_data): Likewise.
21646         (exp10_test_data): Likewise.
21647         (exp2_test_data): Likewise.
21648         (expm1_test_data): Likewise.
21649         (hypot_test_data): Likewise.
21650         (j0_test_data): Likewise.
21651         (j1_test_data): Likewise.
21652         (jn_test_data): Likewise.
21653         (lgamma_test_data): Likewise.
21654         (log_test_data): Likewise.
21655         (log10_test_data): Likewise.
21656         (log1p_test_data): Likewise.
21657         (log2_test_data): Likewise.
21658         (pow_test_data): Likewise.
21659         (scalb_test_data): Likewise.
21660         (sin_test_data): Likewise.
21661         (sincos_test_data): Likewise.
21662         (sinh_test_data): Likewise.
21663         (tan_test_data): Likewise.
21664         (tanh_test_data): Likewise.
21665         (tgamma_test_data): Likewise.
21666         (y0_test_data): Likewise.
21667         (y1_test_data): Likewise.
21668         (yn_test_data): Likewise.
21670         [BZ #16167]
21671         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21672         argument being NaN and avoid computations with second argument in
21673         that case.
21674         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21675         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21676         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21678 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21680         * locale/iso-639.def: Add Chitwani Tharu (the).
21682 2013-11-14  Andreas Schwab  <schwab@suse.de>
21684         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21685         word instead of empty string.
21687 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21690         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21692         (__fe_nomask_env): Likewise.
21694 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21696         * benchtests/bench-timing.h: Include time.h.
21698 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21700         [BZ #15997]
21701         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21702         to 3.4.0 for x32.
21703         * sysdeps/unix/sysv/linux/configure: Regenerated.
21705 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21707         [BZ #16151]
21708         * stdlib/strtod_l.c (round_and_return): Do not consider
21709         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21710         exponent one less than half the least subnormal exponent.
21711         * stdlib/test-strtod-round-data: Add more tests.
21712         * stdlib/tst-strtod-round.c (tests): Regenerated.
21714 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21716         [BZ #14143]
21717         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21718         (__fe_mask_env): Likewise.
21719         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21720         libm_hidden_proto and add function prototype.
21721         (__fe_mask_env): Add function prototype.
21722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21723         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21725         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21727         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21729 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21731         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21732         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21734 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21736         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21737         of htab_find_slot().
21739 2013-11-11  David S. Miller  <davem@davemloft.net>
21741         [BZ #16150]
21742         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21743         symbol in the non-vis3 case in static builds.
21744         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21745         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21746         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21747         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21749 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21751         [BZ #387]
21752         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21753         it is empty.
21755 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21757         * benchtests/Makefile: Add bench-strtod.
21758         * benchtests/bench-strtod.c: New file: strtod benchtest
21760 2013-11-11  Andreas Schwab  <schwab@suse.de>
21762         [BZ #16153]
21763         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21764         terminating NUL in key length.
21766 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21768         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21769         Add artificial ODP entry for vDSO symbol for PPC64.
21770         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21771         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21773 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21775         [BZ #15374]
21776         * nss/getent.c (services_keys): Recognize services starting with digit.
21778 2013-11-06  David S. Miller  <davem@davemloft.net>
21780         [BZ #15985]
21781         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21782         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21784 2013-11-06  Will Newton  <will.newton@linaro.org>
21786         * manual/memory.texi (Malloc Examples): Remove register
21787         keyword from examples.
21789 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21791         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21793 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21795         [BZ #6981]
21796         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21797         depending on [__GCC_IEC_559 > 0].
21798         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21799         depending on [__GCC_IEC_559_COMPLEX > 0].
21801 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21803         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21804         to iso-639.def.
21806 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21808         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21810 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21812         [BZ #16112]
21813         * malloc/malloc (malloc_info): Do not handle first bin as
21814         special case.
21816 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21818         * locale/iso-639.def: Add Central Nahuatl (nhn).
21820 2013-11-01  Bruno Haible  <bruno@clisp.org>
21822         [BZ #7003]
21823         * manual/math.texi (BSD Random): Specify range upper bound as
21824         in POSIX.
21826 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21828         * locale/iso-639.def: Add Meadow Mari (mhr).
21830 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21832         [BZ #14752], [BZ #15763]
21833         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21834         Validate name.
21835         * rt/tst_shm.c: Add test for escaping directory.
21837 2013-10-31  Andreas Schwab  <schwab@suse.de>
21839         [BZ #15917]
21840         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21841         followed by 'x' as part of digit sequence.
21842         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21844 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21846         [BZ #16037]
21847         * configure.ac: allow GNU Make 4.0 and greater.
21848         * configure: Regenerated.
21850 2013-10-30  Will Newton  <will.newton@linaro.org>
21852         [BZ #16038]
21853         * malloc/hooks.c (memalign_check): Limit alignment to the
21854         maximum representable power of two.
21855         * malloc/malloc.c (__libc_memalign): Likewise.
21856         * malloc/tst-memalign.c (do_test): Add test for very
21857         large alignment values.
21858         * malloc/tst-posix_memalign.c (do_test): Likewise.
21860 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21862         [BZ #11087]
21863         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21864         (munmap_chunk): Likewise.
21865         (mremap_chunk): Likewise.
21867 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21869         [BZ #15799]
21870         * stdlib/div.c (div): Remove obsolete code.
21871         * stdlib/ldiv.c (ldiv): Likewise.
21872         * stdlib/lldiv.c (lldiv): Likewise.
21874 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21876         [BZ #16071]
21877         * nss/nss_files/files-XXX.c (get_contents_ret): New
21878         enumerator.
21879         (get_contents): New function.
21880         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21882 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21884         * configure.in: Moved to ...
21885         * configure.ac: ... here. Change reference to configure.in
21886         to configure.ac.
21887         * sysdeps/arm/preconfigure.ac: ... here.
21888         configure.in to configure.ac.
21889         * sysdeps/gnu/configure.in: Moved to ...
21890         * sysdeps/gnu/configure.ac: ... here.
21891         * sysdeps/i386/configure.in: Moved to ...
21892         * sysdeps/i386/configure.ac: ... here.
21893         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21894         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21895         * sysdeps/mach/configure.in: Moved to ...
21896         * sysdeps/mach/configure.ac: ... here.
21897         * sysdeps/mach/hurd/configure.in: Moved to ...
21898         * sysdeps/mach/hurd/configure.ac: ... here.
21899         * sysdeps/powerpc/configure.in: Moved to ...
21900         * sysdeps/powerpc/configure.ac: ... here.
21901         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21902         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21903         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21904         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21905         * sysdeps/s390/s390-32/configure.in: Moved to ...
21906         * sysdeps/s390/s390-32/configure.ac: ... here.
21907         * sysdeps/s390/s390-64/configure.in: Moved to ...
21908         * sysdeps/s390/s390-64/configure.ac: ... here.
21909         * sysdeps/sh/configure.in: Moved to ...
21910         * sysdeps/sh/configure.ac: ... here.
21911         * sysdeps/sparc/configure.in: Moved to ...
21912         * sysdeps/sparc/configure.ac: ... here.
21913         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21914         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21915         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21916         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21917         * sysdeps/x86_64/configure.in: Moved to ...
21918         * sysdeps/x86_64/configure.ac: ... here.
21919         * sysdeps/x86_64/preconfigure.in: Moved to ...
21920         * sysdeps/x86_64/preconfigure.ac: ... here.
21921         * aclocal.m4: Change reference to configure.in to configure.ac.
21922         * config.h.in: Likewise.
21923         * manual/install.texi: Likewise.
21924         * manual/maint.texi: Likewise.
21925         * Makefile: Likewise.
21926         * malloc/Makefile: Likewise.
21927         * nscd/Makefile: Likewise.
21928         * Makeconfig: Change reference to configure.in and
21929         preconfigure.in to configure.ac and preconfigure.ac
21930         respectively.
21931         * INSTALL: Regenerated.
21932         * configure: Likewise.
21933         * sysdeps/gnu/configure: Likewise.
21934         * sysdeps/i386/configure: Likewise.
21935         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21936         * sysdeps/mach/configure: Likewise.
21937         * sysdeps/mach/hurd/configure: Likewise.
21938         * sysdeps/powerpc/configure: Likewise.
21939         * sysdeps/powerpc/powerpc32/configure: Likewise.
21940         * sysdeps/powerpc/powerpc64/configure: Likewise.
21941         * sysdeps/s390/s390-32/configure: Likewise.
21942         * sysdeps/s390/s390-64/configure: Likewise.
21943         * sysdeps/sh/configure: Likewise.
21944         * sysdeps/sparc/configure: Likewise.
21945         * sysdeps/unix/sysv/linux/configure: Likewise.
21946         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21947         * sysdeps/x86_64/configure: Likewise.
21948         * sysdeps/x86_64/preconfigure: Likewise.
21950 2013-10-29  Andreas Schwab  <schwab@suse.de>
21952         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21954 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21956         * benchtests/pow-inputs: Add new inputs.
21958         * benchtests/exp-inputs: Add new inputs.
21960         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21961         conditional check for return value.
21962         (__cos32): Likewise.
21964 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21966         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21967         to provide a boost for large inputs with word alignment.
21968         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21969         implementation based on optimized PPC64 strcpy.
21970         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21971         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21972         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21973         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21975 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21977         [BZ #2801]
21978         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21980 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21982         [BZ #14876]
21983         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21984         * time/tst-strptime.c (day_tests): Add testcase.
21986 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21988         [BZ #14029]
21989         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21991 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21993         [BZ #16074]
21994         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21995         MAP_FAILED on error.
21997 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21999         [BZ #16072]
22000         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22001         heap for large requests.
22003 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22005         [BZ #9954]
22006         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22007         result if the result has no associated interface.
22008         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22009         interface for all 127.X.Y.Z addresses.
22011 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22013         * locale/iso-639.def: Add Ligurian (lij)
22015 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22017         [BZ #15825]
22018         * sunrpc/rpc_main.c: Document rpcgen -5.
22020 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22022         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22024 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22026         [BZ #10278]
22027         * posix/glob.c: Match only directories when trailing slash is present.
22028         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22029         (main): Add testcase.
22031 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22033         [BZ #15670]
22034         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22036 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22038         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22039         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22040         AUTH_DES and cindex for FIPS 140-2.
22041         (DES Encryption): Add cindex FIPS 46-3.
22043         * locale/locarchive.h (struct locarhandle): Add fname.
22044         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22045         if an optional argument was specified to --list-archive,
22046         otherwise NULL.
22047         * locale/programs/locarchive.c (show_archive_content): Take new
22048         argument fname and pass it via ah.fname to open_archive.
22049         * locale/programs/localedef.h: Update decl.
22050         (open_archive): If AH->fname is non-null, open that file
22051         rather than the default file name, and don't ignore ENOENT.
22052         (create_archive): Set AH.fname to NULL.
22053         (delete_locales_from_archive): Likewise.
22054         (add_locales_to_archive): Likewise.
22055         * locale/programs/locfile.c (write_all_categories): Likewise.
22057 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22058             Aldy Hernandez  <aldyh@redhat.com>
22060         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22061         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22062         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22063         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22064         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22065         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22066         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22067         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22068         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22069         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22070         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22071         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22072         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22073         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22074         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22075         Likewise.
22076         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22077         Likewise.
22078         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22079         Likewise.
22080         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22081         Likewise.
22082         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22083         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22084         Likewise.
22085         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22086         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22087         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22088         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22089         Likewise.
22090         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22091         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22092         * sysdeps/powerpc/preconfigure: Likewise.
22093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22094         Likewise.
22095         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22096         Replace contents of file by #include of <fenv_libc.h>.
22097         * sysdeps/powerpc/soft-fp/sfp-machine.h
22098         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22099         and <sys/prctl.h>.
22100         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22101         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22107         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22108         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22109         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22110         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22113         Allow copysignl PLT reference to be missing.
22115 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22116             Joseph Myers  <joseph@codesourcery.com
22118         [BZ #15948]
22119         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22120         single character.
22121         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22123 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22125         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22126         * elf/tst-tls1.c: Likewise.
22127         * elf/tst-tls10.h: Likewise.
22128         * elf/tst-tls14.c: Likewise.
22129         * elf/tst-tls2.c: Likewise.
22130         * elf/tst-tls3.c: Likewise.
22131         * elf/tst-tls4.c: Likewise.
22132         * elf/tst-tls5.c: Likewise.
22133         * elf/tst-tls6.c: Likewise.
22134         * elf/tst-tls7.c: Likewise.
22135         * elf/tst-tls8.c: Likewise.
22136         * elf/tst-tls9.c: Likewise.
22137         * elf/tst-tlsmod1.c: Likewise.
22138         * elf/tst-tlsmod13.c: Likewise.
22139         * elf/tst-tlsmod13a.c: Likewise.
22140         * elf/tst-tlsmod14a.c: Likewise.
22141         * elf/tst-tlsmod16a.c: Likewise.
22142         * elf/tst-tlsmod16b.c: Likewise.
22143         * elf/tst-tlsmod2.c: Likewise.
22144         * elf/tst-tlsmod3.c: Likewise.
22145         * elf/tst-tlsmod4.c: Likewise.
22146         * elf/tst-tlsmod5.c: Likewise.
22147         * elf/tst-tlsmod6.c: Likewise.
22149 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22151         [BZ #12486]
22152         * malloc/malloc.c: remove checks for statistics.
22154 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22156         [BZ #15277]
22157         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22158         * inet/tst-network.c: Add testcase.
22160 2013-10-17  Andreas Schwab  <schwab@suse.de>
22162         [BZ #15218]
22163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22164         to determine canonical name.
22166 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22168         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22169         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22170         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22171         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22172         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22173         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22174         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22175         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22176         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22177         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22178         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22179         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22180         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22181         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22182         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22183         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22184         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22185         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22186         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22187         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22190         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22191         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22192         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22193         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22194         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22195         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22196         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22197         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22198         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22199         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22200         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22201         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22202         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22203         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22204         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22205         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22206         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22207         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22208         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22209         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22210         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22212         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22213         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22214         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22215         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22216         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22217         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22218         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22219         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22220         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22221         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22222         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22223         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22224         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22225         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22227 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22229         [BZ #16041]
22230         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22231         make result into a quiet NaN.
22233 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22235         * soft-fp/adddf3.c: Fix horizontal whitespace.
22236         * soft-fp/addsf3.c: Likewise.
22237         * soft-fp/addtf3.c: Likewise.
22238         * soft-fp/divdf3.c: Likewise.
22239         * soft-fp/divsf3.c: Likewise.
22240         * soft-fp/divtf3.c: Likewise.
22241         * soft-fp/double.h: Likewise.
22242         * soft-fp/eqdf2.c: Likewise.
22243         * soft-fp/eqsf2.c: Likewise.
22244         * soft-fp/eqtf2.c: Likewise.
22245         * soft-fp/extenddftf2.c: Likewise.
22246         * soft-fp/extended.h: Likewise.
22247         * soft-fp/extendsfdf2.c: Likewise.
22248         * soft-fp/extendsftf2.c: Likewise.
22249         * soft-fp/extendxftf2.c: Likewise.
22250         * soft-fp/fixdfdi.c: Likewise.
22251         * soft-fp/fixdfsi.c: Likewise.
22252         * soft-fp/fixdfti.c: Likewise.
22253         * soft-fp/fixsfdi.c: Likewise.
22254         * soft-fp/fixsfsi.c: Likewise.
22255         * soft-fp/fixsfti.c: Likewise.
22256         * soft-fp/fixtfdi.c: Likewise.
22257         * soft-fp/fixtfsi.c: Likewise.
22258         * soft-fp/fixtfti.c: Likewise.
22259         * soft-fp/fixunsdfdi.c: Likewise.
22260         * soft-fp/fixunsdfsi.c: Likewise.
22261         * soft-fp/fixunsdfti.c: Likewise.
22262         * soft-fp/fixunssfdi.c: Likewise.
22263         * soft-fp/fixunssfsi.c: Likewise.
22264         * soft-fp/fixunssfti.c: Likewise.
22265         * soft-fp/fixunstfdi.c: Likewise.
22266         * soft-fp/fixunstfsi.c: Likewise.
22267         * soft-fp/fixunstfti.c: Likewise.
22268         * soft-fp/floatdidf.c: Likewise.
22269         * soft-fp/floatdisf.c: Likewise.
22270         * soft-fp/floatditf.c: Likewise.
22271         * soft-fp/floatsidf.c: Likewise.
22272         * soft-fp/floatsisf.c: Likewise.
22273         * soft-fp/floatsitf.c: Likewise.
22274         * soft-fp/floattidf.c: Likewise.
22275         * soft-fp/floattisf.c: Likewise.
22276         * soft-fp/floattitf.c: Likewise.
22277         * soft-fp/floatundidf.c: Likewise.
22278         * soft-fp/floatundisf.c: Likewise.
22279         * soft-fp/floatunditf.c: Likewise.
22280         * soft-fp/floatunsidf.c: Likewise.
22281         * soft-fp/floatunsisf.c: Likewise.
22282         * soft-fp/floatunsitf.c: Likewise.
22283         * soft-fp/floatuntidf.c: Likewise.
22284         * soft-fp/floatuntisf.c: Likewise.
22285         * soft-fp/floatuntitf.c: Likewise.
22286         * soft-fp/fmadf4.c: Likewise.
22287         * soft-fp/fmasf4.c: Likewise.
22288         * soft-fp/fmatf4.c: Likewise.
22289         * soft-fp/gedf2.c: Likewise.
22290         * soft-fp/gesf2.c: Likewise.
22291         * soft-fp/getf2.c: Likewise.
22292         * soft-fp/ledf2.c: Likewise.
22293         * soft-fp/lesf2.c: Likewise.
22294         * soft-fp/letf2.c: Likewise.
22295         * soft-fp/muldf3.c: Likewise.
22296         * soft-fp/mulsf3.c: Likewise.
22297         * soft-fp/multf3.c: Likewise.
22298         * soft-fp/negdf2.c: Likewise.
22299         * soft-fp/negsf2.c: Likewise.
22300         * soft-fp/negtf2.c: Likewise.
22301         * soft-fp/op-1.h: Likewise.
22302         * soft-fp/op-2.h: Likewise.
22303         * soft-fp/op-4.h: Likewise.
22304         * soft-fp/op-8.h: Likewise.
22305         * soft-fp/op-common.h: Likewise.
22306         * soft-fp/quad.h: Likewise.
22307         * soft-fp/single.h: Likewise.
22308         * soft-fp/soft-fp.h: Likewise.
22309         * soft-fp/sqrtdf2.c: Likewise.
22310         * soft-fp/sqrtsf2.c: Likewise.
22311         * soft-fp/sqrttf2.c: Likewise.
22312         * soft-fp/subdf3.c: Likewise.
22313         * soft-fp/subsf3.c: Likewise.
22314         * soft-fp/subtf3.c: Likewise.
22315         * soft-fp/truncdfsf2.c: Likewise.
22316         * soft-fp/trunctfdf2.c: Likewise.
22317         * soft-fp/trunctfsf2.c: Likewise.
22318         * soft-fp/trunctfxf2.c: Likewise.
22319         * soft-fp/unorddf2.c: Likewise.
22320         * soft-fp/unordsf2.c: Likewise.
22321         * soft-fp/unordtf2.c: Likewise.
22323 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22325         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22326         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22328 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22330         * elf/dl-libc.c: Clear initfini list after freeing.
22332 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22334         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22335         * soft-fp/addsf3.c: Likewise.
22336         * soft-fp/addtf3.c: Likewise.
22337         * soft-fp/divdf3.c: Likewise.
22338         * soft-fp/divsf3.c: Likewise.
22339         * soft-fp/divtf3.c: Likewise.
22340         * soft-fp/double.h: Likewise.
22341         * soft-fp/eqdf2.c: Likewise.
22342         * soft-fp/eqsf2.c: Likewise.
22343         * soft-fp/eqtf2.c: Likewise.
22344         * soft-fp/extenddftf2.c: Likewise.
22345         * soft-fp/extended.h: Likewise.
22346         * soft-fp/extendsfdf2.c: Likewise.
22347         * soft-fp/extendsftf2.c: Likewise.
22348         * soft-fp/extendxftf2.c: Likewise.
22349         * soft-fp/fixdfdi.c: Likewise.
22350         * soft-fp/fixdfsi.c: Likewise.
22351         * soft-fp/fixdfti.c: Likewise.
22352         * soft-fp/fixsfdi.c: Likewise.
22353         * soft-fp/fixsfsi.c: Likewise.
22354         * soft-fp/fixsfti.c: Likewise.
22355         * soft-fp/fixtfdi.c: Likewise.
22356         * soft-fp/fixtfsi.c: Likewise.
22357         * soft-fp/fixtfti.c: Likewise.
22358         * soft-fp/fixunsdfdi.c: Likewise.
22359         * soft-fp/fixunsdfsi.c: Likewise.
22360         * soft-fp/fixunsdfti.c: Likewise.
22361         * soft-fp/fixunssfdi.c: Likewise.
22362         * soft-fp/fixunssfsi.c: Likewise.
22363         * soft-fp/fixunssfti.c: Likewise.
22364         * soft-fp/fixunstfdi.c: Likewise.
22365         * soft-fp/fixunstfsi.c: Likewise.
22366         * soft-fp/fixunstfti.c: Likewise.
22367         * soft-fp/floatdidf.c: Likewise.
22368         * soft-fp/floatdisf.c: Likewise.
22369         * soft-fp/floatditf.c: Likewise.
22370         * soft-fp/floatsidf.c: Likewise.
22371         * soft-fp/floatsisf.c: Likewise.
22372         * soft-fp/floatsitf.c: Likewise.
22373         * soft-fp/floattidf.c: Likewise.
22374         * soft-fp/floattisf.c: Likewise.
22375         * soft-fp/floattitf.c: Likewise.
22376         * soft-fp/floatundidf.c: Likewise.
22377         * soft-fp/floatundisf.c: Likewise.
22378         * soft-fp/floatunsidf.c: Likewise.
22379         * soft-fp/floatunsisf.c: Likewise.
22380         * soft-fp/floatuntidf.c: Likewise.
22381         * soft-fp/floatuntisf.c: Likewise.
22382         * soft-fp/floatuntitf.c: Likewise.
22383         * soft-fp/fmadf4.c: Likewise.
22384         * soft-fp/fmasf4.c: Likewise.
22385         * soft-fp/fmatf4.c: Likewise.
22386         * soft-fp/gedf2.c: Likewise.
22387         * soft-fp/gesf2.c: Likewise.
22388         * soft-fp/getf2.c: Likewise.
22389         * soft-fp/ledf2.c: Likewise.
22390         * soft-fp/lesf2.c: Likewise.
22391         * soft-fp/letf2.c: Likewise.
22392         * soft-fp/muldf3.c: Likewise.
22393         * soft-fp/mulsf3.c: Likewise.
22394         * soft-fp/multf3.c: Likewise.
22395         * soft-fp/negdf2.c: Likewise.
22396         * soft-fp/negsf2.c: Likewise.
22397         * soft-fp/negtf2.c: Likewise.
22398         * soft-fp/op-1.h: Likewise.
22399         * soft-fp/op-2.h: Likewise.
22400         * soft-fp/op-4.h: Likewise.
22401         * soft-fp/op-8.h: Likewise.
22402         * soft-fp/op-common.h: Likewise.
22403         * soft-fp/quad.h: Likewise.
22404         * soft-fp/single.h: Likewise.
22405         * soft-fp/soft-fp.h: Likewise.
22406         * soft-fp/sqrtdf2.c: Likewise.
22407         * soft-fp/sqrtsf2.c: Likewise.
22408         * soft-fp/sqrttf2.c: Likewise.
22409         * soft-fp/subdf3.c: Likewise.
22410         * soft-fp/subsf3.c: Likewise.
22411         * soft-fp/subtf3.c: Likewise.
22412         * soft-fp/truncdfsf2.c: Likewise.
22413         * soft-fp/trunctfdf2.c: Likewise.
22414         * soft-fp/trunctfsf2.c: Likewise.
22415         * soft-fp/trunctfxf2.c: Likewise.
22416         * soft-fp/unorddf2.c: Likewise.
22417         * soft-fp/unordsf2.c: Likewise.
22418         * soft-fp/unordtf2.c: Likewise.
22420 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22422         [BZ #15672]
22423         * misc/error.c (error_tail): Fix possible buffer overflow.
22425 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22427         [BZ #13028]
22428         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22429         address.
22431 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22433         [BZ #832]
22434         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22435         testing pipefail option.
22437 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22439         * soft-fp/double.h: Indent preprocessor directives inside #if.
22440         * soft-fp/extended.h: Likewise.
22441         * soft-fp/op-2.h: Likewise.
22442         * soft-fp/op-4.h: Likewise.
22443         * soft-fp/op-common.h: Likewise.
22444         * soft-fp/quad.h: Likewise.
22445         * soft-fp/single.h: Likewise.
22446         * soft-fp/soft-fp.h: Likewise.
22448 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22450         * iconv/iconv_prog.c: Fix typos.
22451         * stdio-common/psiginfo-data.h: Likewise.
22453 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22455         [BZ #15764]
22456         * locale/setlocale.c: Fix typo.
22458 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22460         [BZ #16036]
22461         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22462         signaling NaN arguments.
22463         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22464         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22466         [BZ #14910]
22467         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22468         unordered operands.
22469         * soft-fp/gesf2.c (__gesf2): Likewise.
22470         * soft-fp/getf2.c (__getf2): Likewise.
22471         * soft-fp/ledf2.c (__ledf2): Likewise.
22472         * soft-fp/lesf2.c (__lesf2): Likewise.
22473         * soft-fp/letf2.c (__letf2): Likewise.
22475         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22476         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22477         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22478         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22479         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22480         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22481         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22482         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22483         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22484         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22485         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22486         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22487         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22488         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22489         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22490         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22491         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22492         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22493         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22494         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22495         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22496         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22497         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22498         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22499         * soft-fp/floattidf.c (__floattidf): Likewise.
22500         * soft-fp/floattisf.c (__floattisf): Likewise.
22501         * soft-fp/floattitf.c (__floattitf): Likewise.
22502         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22503         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22504         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22505         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22506         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22507         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22508         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22509         * soft-fp/gesf2.c (__gesf2): Likewise.
22510         * soft-fp/getf2.c (__getf2): Likewise.
22511         * soft-fp/ledf2.c (__ledf2): Likewise.
22512         * soft-fp/lesf2.c (__lesf2): Likewise.
22513         * soft-fp/letf2.c (__letf2): Likewise.
22515         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22516         Undefine and redefine.
22517         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22518         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22519         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22520         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22521         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22522         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22523         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22524         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22525         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22526         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22527         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22528         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22529         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22530         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22531         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22533         [BZ #16032]
22534         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22535         without decrementing exponent if mantissa >= that for the
22536         denominator, not >.
22537         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22538         denominator, not >.  Decrement exponent in < case instead of
22539         incrementing in >= case.
22540         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22541         without decrementing exponent if mantissa >= that for the
22542         denominator, not >.
22544         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22545         computing saturated result for unsigned overflow.
22547 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22548             Jeff Law  <law@redhat.com>
22550         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22551         (atan2Mp): Add systemtap probe marker.
22552         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22553         (__ieee754_log): Add systemtap probe marker.
22554         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22555         (atanMp): Add systemtap probe marker.
22556         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22557         (tanMp): Add systemtap probe marker.
22558         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22559         (__slowexp): Add systemtap probe marker.
22560         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22561         (__slowpow): Add systemtap probe marker.
22562         * manual/probes.texi: Document probes.
22564 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22566         [BZ #15362]
22567         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22568         written.
22569         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22570         written.
22571         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22572         written to buffer but not flushed.
22573         * libio/iofwrite_u.c:  Likewise.
22574         * libio/iopadn.c:  Return bytes returned even if EOF was
22575         encountered.
22576         * libio/iowpadn.c:  Likewise.
22577         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22578         if _IO_padn does not write the whole buffer.
22579         [!COMPILE_WPRINTF] (PAD): Likewise.
22581 2013-10-10  David S. Miller  <davem@davemloft.net>
22583         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22584         directory block.
22586 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22588         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22589         instead of FSF address.
22590         * soft-fp/fixdfti.c: Likewise.
22591         * soft-fp/fixsfti.c: Likewise.
22592         * soft-fp/fixtfti.c: Likewise.
22593         * soft-fp/fixunsdfti.c: Likewise.
22594         * soft-fp/fixunssfti.c: Likewise.
22595         * soft-fp/fixunstfti.c: Likewise.
22596         * soft-fp/floattidf.c: Likewise.
22597         * soft-fp/floattisf.c: Likewise.
22598         * soft-fp/floattitf.c: Likewise.
22599         * soft-fp/floatuntidf.c: Likewise.
22600         * soft-fp/floatuntisf.c: Likewise.
22601         * soft-fp/floatuntitf.c: Likewise.
22602         * soft-fp/trunctfxf2.c: Likewise.
22604         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22605         * soft-fp/fixdfti.c: Likewise.
22606         * soft-fp/fixsfti.c: Likewise.
22607         * soft-fp/fixtfti.c: Likewise.
22608         * soft-fp/fixunsdfti.c: Likewise.
22609         * soft-fp/fixunssfti.c: Likewise.
22610         * soft-fp/fixunstfti.c: Likewise.
22611         * soft-fp/floattidf.c: Likewise.
22612         * soft-fp/floattisf.c: Likewise.
22613         * soft-fp/floattitf.c: Likewise.
22614         * soft-fp/floatuntidf.c: Likewise.
22615         * soft-fp/floatuntisf.c: Likewise.
22616         * soft-fp/floatuntitf.c: Likewise.
22617         * soft-fp/trunctfxf2.c: Likewise.
22619 2013-10-10  David S. Miller  <davem@davemloft.net>
22621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22623 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22625         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22626         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22627         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22628         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22629         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22630         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22631         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22633         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22634         for NaNs before doing comparisons on argument.
22635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22636         Likewise.
22638 2013-10-10  Will Newton  <will.newton@linaro.org>
22640         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22641         passed to _int_memalign does not overflow.
22643 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22645         * scripts/bench.pl: Add include-sources directive.
22646         * benchtests/README: Update documentation.
22648 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22650         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22651         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22652         instead of FP_INIT_ROUNDMODE.
22653         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22654         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22656         [BZ #16034]
22657         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22658         copy class of input value.
22659         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22660         not handle exceptions.
22661         * soft-fp/negsf2.c (__negsf2): Likewise.
22662         * soft-fp/negtf2.c (__negtf2): Likewise.
22663         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22665 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22667         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22668         semicolon.  From Linux kernel.
22670 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22672         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22674 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22676         [BZ #156]
22677         * manual/socket.texi: Added statement about buffer
22678         for gethostbyname2_r.
22680 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22682         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22683         Use .p2align directive instead, throughout.
22684         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22685         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22686         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22687         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22688         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22689         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22690         * sysdeps/x86_64/strchr.S: Likewise.
22691         * sysdeps/x86_64/strrchr.S: Likewise.
22693 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22695         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22697         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22699         * sysdeps/generic/math_private.h (__mpsin1): Remove
22700         declaration.
22701         (__mpcos1): Likewise.
22702         (__mpsin): New argument __range_reduce.
22703         (__mpcos): Likewise.
22704         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22705         (slow): Use __mpsin and __mpcos.
22706         (slow1): Likewise.
22707         (slow2): Likewise.
22708         (sloww): Likewise.
22709         (sloww1): Likewise.
22710         (sloww2): Likewise.
22711         (bsloww): Likewise.
22712         (bsloww1): Likewise.
22713         (bsloww2): Likewise.
22714         (cslow2): Likewise.
22715         (csloww): Likewise.
22716         (csloww1): Likewise.
22717         (csloww2): Likewise.
22718         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22719         range_reduce.  Merge in __mpsin1.
22720         (__mpcos): Likewise.
22721         (__mpsin1): Remove.
22722         (__mpcos1): Likewise.
22724 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22726         * locale/loadlocale.c (_nl_intern_locale_data): Use
22727         LOCFILE_ALIGNED_P.
22728         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22729         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22730         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22731         obstack data is appropriately aligned.
22732         (obstack_int32_grow_fast): Likewise.
22733         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22734         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22735         (add_locale_uint32_array): Likewise.
22737 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22739         * benchtests/Makefile: Remove ARGLIST and RET variables.
22740         ($(objpfx)bench-%.c): Pass only function name to the script.
22741         * benchtests/README: Update documentation.
22742         * benchtests/acos-inputs: Add new directives.
22743         * benchtests/acosh-inputs: Likewise.
22744         * benchtests/asin-inputs: Likewise.
22745         * benchtests/asinh-inputs: Likewise.
22746         * benchtests/atan-inputs: Likewise.
22747         * benchtests/atanh-inputs: Likewise.
22748         * benchtests/cos-inputs: Likewise.
22749         * benchtests/cosh-inputs: Likewise.
22750         * benchtests/exp-inputs: Likewise.
22751         * benchtests/log-inputs: Likewise.
22752         * benchtests/pow-inputs: Likewise.
22753         * benchtests/rint-inputs: Likewise.
22754         * benchtests/sin-inputs: Likewise.
22755         * benchtests/sinh-inputs: Likewise.
22756         * benchtests/tan-inputs: Likewise.
22757         * benchtests/tanh-inputs: Likewise.
22758         * scripts/bench.pl: Add support for new directives.
22760 2013-10-07  Alan Modra  <amodra@gmail.com>
22762         * README: Fix careless merge.
22764 2013-10-05  Alan Modra  <amodra@gmail.com>
22766         * NEWS: Mention powerpc64le support and bugs fixed.
22767         * README: Both big-endian and little-endian powerpc64 supported.
22769 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22771         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22772         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22773         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22774         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22776 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22778         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22779         match prototype.
22781 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22783         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22784         Move -mhard-float appending from
22785         ports/sysdeps/powerpc/powerpc32/Makefile.
22786         [$(with-fp) = yes] (ASFLAGS): Likewise.
22787         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22788         * sysdeps/powerpc/nofpu: Move directory from
22789         ports/sysdeps/powerpc/nofpu.
22790         * sysdeps/powerpc/soft-fp: Move directory from
22791         ports/sysdeps/powerpc/soft-fp.
22792         * sysdeps/powerpc/powerpc32/405: Move directory from
22793         ports/sysdeps/powerpc/powerpc32/405.
22794         * sysdeps/powerpc/powerpc32/440: Move directory from
22795         ports/sysdeps/powerpc/powerpc32/440.
22796         * sysdeps/powerpc/powerpc32/464: Move directory from
22797         ports/sysdeps/powerpc/powerpc32/464.
22798         * sysdeps/powerpc/powerpc32/476: Move directory from
22799         ports/sysdeps/powerpc/powerpc32/476.
22800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22801         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22803         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22805         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22807         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22809         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22810         * README: Update for powerpc-*-linux-gnu software floating point
22811         support in libc.
22813         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22814         case to powerpc/powerpc32*.
22815         * sysdeps/unix/sysv/linux/configure: Regenerated.
22817         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22818         (_FPU_MASK_OM): Define as 0x04.
22819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22821         0x00c10080.
22822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22823         0x0000003c.
22824         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22827         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22828         getcontext_e500.
22829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22830         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22831         setcontext_e500.
22832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22833         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22834         and setcontext_e500.
22836 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22838         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22840 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22842         * manual/threads.texi (Default Thread Attributes): Fix typo.
22844 2013-10-04  Will Newton  <will.newton@linaro.org>
22846         * malloc/Makefile: Add tst-memalign.
22847         * malloc/tst-memalign.c: New file.
22849         * malloc/tst-posix_memalign.c: Add comments.
22850         (do_test): Add comments and call free on all potentially
22851         allocated pointers. Add space after cast.
22853         * malloc/tst-pvalloc.c: Add comments.
22854         (do_test): Add comments and call free on all potentially
22855         allocated pointers. Remove duplicate check for NULL pointer.
22856         Add space after cast.
22858         * malloc/tst-valloc.c: Add comments.
22859         (do_test): Add comments and call free on all potentially
22860         allocated pointers. Remove duplicate check for NULL pointer.
22861         Add space after cast.
22863 2013-10-04  Alan Modra  <amodra@gmail.com>
22865         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22866         Use stdint types in rather than __attribute__((mode())).
22867         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22869 2013-10-04  Alan Modra  <amodra@gmail.com>
22871         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22872         Correct handling of unaligned relocs for little-endian.
22873         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22875 2013-10-04  Alan Modra  <amodra@gmail.com>
22877         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22878         * configure: Regenerate.
22879         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22880         * shlib-versions: Likewise.
22882 2013-10-04  Alan Modra  <amodra@gmail.com>
22884         * string/tester.c (test_memrchr): Increment reported test cycle.
22886 2013-10-04  Alan Modra  <amodra@gmail.com>
22888         * string/test-memcpy.c (do_one_test): When reporting errors, print
22889         string address and don't overrun end of string.
22891 2013-10-04  Alan Modra  <amodra@gmail.com>
22893         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22894         insrdi.  Make better use of reg selection to speed exit slightly.
22895         Schedule entry path a little better.  Remove useless "are we done"
22896         checks on entry to main loop.  Handle wrapping around zero address.
22897         Correct main loop count.  Handle single left-over word from main
22898         loop inline rather than by using loop_small.  Remove extra word
22899         case in loop_small caused by wrong loop count.  Add little-endian
22900         support.
22901         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22902         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22903         cache hint.
22904         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22905         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22906         support.  Avoid rlwimi.
22907         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22909 2013-10-04  Alan Modra  <amodra@gmail.com>
22911         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22912         insrdi.  Formatting.
22913         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22914         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22915         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22916         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22917         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22918         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22920 2013-10-04  Alan Modra  <amodra@gmail.com>
22922         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22923         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22924         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22925         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22926         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22927         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22928         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22929         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22930         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22931         use of regs.  Use power7 mtocrf.  Tidy function tails.
22933 2013-10-04  Alan Modra  <amodra@gmail.com>
22935         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22936         Formatting.  Consistently use rXXX register defines or rN defines.
22937         Use early exit labels that avoid restoring unused non-volatile regs.
22938         Make cr field use more consistent with rWORDn compares.  Rename
22939         regs used as shift registers for unaligned loop, using rN defines
22940         for short lifetime/multiple use regs.
22941         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22942         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22943         addi 1,1,64 to pop stack frame.  Simplify return value code.
22944         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22946 2013-10-04  Alan Modra  <amodra@gmail.com>
22948         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22949         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22950         rather than rlwimi.
22951         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22952         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22953         little-endian support.  Correct typos.
22954         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22955         rather than rlwimi.
22956         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22957         in loop and entry code to keep "and." results.
22958         (strchr): Add little-endian support.  Comment.  Move cntlzd
22959         earlier in tail.
22960         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22962 2013-10-04  Alan Modra  <amodra@gmail.com>
22964         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22965         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22966         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22967         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22969 2013-10-04  Alan Modra  <amodra@gmail.com>
22971         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22972         (rTMP): Define as r11.
22973         (strcmp): Add little-endian support.  Optimise tail.
22974         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22975         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22976         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22977         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22978         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22979         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22980         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22982 2013-10-04  Alan Modra  <amodra@gmail.com>
22984         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22985         little-endian support.  Remove unnecessary "are we done" tests.
22986         Handle "s" wrapping around zero and extremely large "size".
22987         Correct main loop count.  Handle single left-over word from main
22988         loop inline rather than by using small_loop.  Correct comments.
22989         Delete "zero" tail, use "end_max" instead.
22990         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22992 2013-10-04  Alan Modra  <amodra@gmail.com>
22994         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22995         support.  Don't branch over align.
22996         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22997         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22998         support.  Rearrange tmp reg use to suit.  Comment.
22999         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23001 2013-10-04  Alan Modra  <amodra@gmail.com>
23003         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23005 2013-10-04  Alan Modra  <amodra@gmail.com>
23007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23008         conditional form of branch and link when obtaining pc.
23009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23011 2013-10-04  Alan Modra  <amodra@gmail.com>
23013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23014         HIWORD/LOWORD.
23015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23018 2013-10-04  Alan Modra  <amodra@gmail.com>
23020         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23021         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23022         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23023         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23024         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23025         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23026         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23027         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23028         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23029         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23031 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23032             Alistair Popple <alistair@ozlabs.au.ibm.com>
23033             Alan Modra <amodra@gmail.com>
23035         [BZ #15723]
23036         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23037         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23038         _dl_hwcap access for little-endian.
23039         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23040         destroy vmx regs when saving unaligned.
23041         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23042         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23043         destroy vmx regs when saving unaligned.
23045 2013-10-04  Alan Modra  <amodra@gmail.com>
23047         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23048         Don't use a union to pack hi/low value.
23050 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23052         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23053         for little-endian.
23054         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23056         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23057         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23058         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23060 2013-10-04  Alan Modra  <amodra@gmail.com>
23062         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23063         constants to usual value for .cst8 section, and remove redundant
23064         high address load.
23065         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23066         constant for 0x1p52.  Load little-endian words of double from
23067         correct stack offsets.
23069 2013-10-04  Alan Modra  <amodra@gmail.com>
23071         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23072         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23073         words of double from correct stack offsets.
23074         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23075         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23076         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23077         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23078         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23079         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23080         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23081         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23082         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23083         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23084         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23085         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23086         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23087         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23088         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23089         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23090         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23092 2013-10-04  Alan Modra  <amodra@gmail.com>
23094         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23095         64-bit int/double union.
23096         (_FPU_SETCW): Likewise.
23097         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23098         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23100 2013-10-04  Alan Modra  <amodra@gmail.com>
23102         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23103         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23105 2013-10-04  Alan Modra  <amodra@gmail.com>
23107         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23108         use vector int constants.
23109         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23111 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23113         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23114         array with long long.
23115         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23116         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23117         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23118         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23119         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23120         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23121         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23122         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23123         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23124         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23125         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23126         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23127         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23129 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23131         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23132         (__signbit): Likewise.  Correct for little-endian.
23133         (__signbitl): Call __signbit.
23134         (lrint): Correct for little-endian.
23135         (lrintf): Call lrint.
23137 2013-10-04  Alan Modra  <amodra@gmail.com>
23139         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23140         union 32-bit int array member with 64-bit int array.
23141         (t515, tm256): Double rather than long double.
23142         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23144 2013-10-04  Alan Modra  <amodra@gmail.com>
23146         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23147         Delete.
23148         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23150         version of math_ldbl.h.
23152 2013-10-04  Alan Modra  <amodra@gmail.com>
23154         [BZ #15734], [BZ #15735]
23155         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23156         all uses of ieee875 long double macros and unions.  Simplify test
23157         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23158         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23159         normalize after ldbl_extract_mantissa, and don't add hidden bit
23160         already handled.  Don't treat low word of ieee854 mantissa like
23161         low word of IBM long double and mask off bit when testing for
23162         zero.
23163         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23164         all uses of ieee875 long double macros and unions.  Simplify tests
23165         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23166         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23167         two1022, instead use their values.  Recognise that tests for large
23168         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23169         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23170         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23171         test for 0.0L and nan.  Correct negation.
23172         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23173         ieee875 long double macros and unions.  Correct output for large
23174         magnitude x.  Correct absolute value calculation.
23175         (__erfcl): Likewise.
23176         * math/libm-test.inc: Add tests for errors discovered in IBM long
23177         double versions of fmodl, remainderl, erfl and erfcl.
23179 2013-10-04  Alan Modra  <amodra@gmail.com>
23181         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23182         all uses of ieee854 long double macros and unions.  Simplify tests
23183         for long doubles that are fully specified by the high double.
23184         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23185         Likewise.
23186         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23187         Remove dead code too.
23188         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23189         (__ieee754_ynl): Likewise.
23190         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23191         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23192         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23193         Remove dead code too.
23194         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23195         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23196         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23197         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23198         Simplify.
23199         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23200         Simplify.
23201         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23202         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23203         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23204         Comment on variable precision.
23205         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23206         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23207         Likewise.
23208         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23209         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23210         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23211         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23212         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23214 2013-10-04  Alan Modra  <amodra@gmail.com>
23216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23217         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23218         all uses of ieee854 long double macros and unions.
23219         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23220         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23221         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23222         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23223         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23224         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23225         Likewise.
23226         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23227         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23228         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23229         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23230         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23231         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23232         Simplify sign and nan test too.
23233         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23234         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23235         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23236         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23237         Likewise.
23238         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23239         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23240         Likewise.
23241         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23242         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23243         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23244         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23245         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23246         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23248 2013-10-04  Alan Modra  <amodra@gmail.com>
23250         * stdio-common/printf_size.c (__printf_size): Don't use
23251         union ieee854_long_double in fpnum union.
23252         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23253         signbit macro to retrieve sign from long double.
23254         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23255         retrieve sign from long double.
23256         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23257         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23258         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23259         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23260         * math/test-misc.c (main): Don't use union ieee854_long_double.
23262 2013-10-04  Alan Modra  <amodra@gmail.com>
23264         [BZ #15680]
23265         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23266         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23267         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23268         calculation.  Remove unnecessary test for denormal exponent.
23269         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23270         Correct handling of denormals.  Avoid undefined shift behaviour.
23271         Correct normalisation of low mantissa when low double is denormal.
23272         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23273         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23274         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23275         Correct normalisation of low mantissa.  Test for overflow of high
23276         mantissa and normalise.
23277         (ldbl_nearbyint): Use more readable constant for two52.
23278         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23279         (__mpn_construct_long_double): Fix test for overflow of high
23280         mantissa and correct normalisation.  Avoid undefined shift.
23282 2013-10-04  Alan Modra  <amodra@gmail.com>
23284         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23285         (union ibm_extended_long_double): Define as an array of ieee754_double.
23286         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23287         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23288         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23289         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23290         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23291         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23293         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23294         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23295         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23296         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23298 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23300         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23301         page size instead of calling getpagesize.
23303         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23304         (LOCFILE_ALIGN_MASK): Likewise.
23305         (LOCFILE_ALIGN_UP): Likewise.
23306         (LOCFILE_ALIGNED_P): Likewise.
23307         * locale/programs/ld-collate.c (collate_output): Use the new
23308         macros instead of __alignof__ (int32_t).
23309         * locale/weight.h (findidx): Likewise.
23311 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23313         [BZ #431]
23314         * manual/string.texi: Fix strncat and wcsncat.
23316 2013-10-03  Brooks Moses  <bmoses@google.com>
23318         [BZ #15915]
23319         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23320         * Makerules: ...here, and adjust associated comments.
23322 2013-10-02  Will Newton  <will.newton@linaro.org>
23324         * malloc/Makefile: Add tst-pvalloc.
23325         * malloc/tst-pvalloc.c: New file.
23327 2013-10-02  Will Newton  <will.newton@linaro.org>
23329         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23330         improve test coverage.
23332 2013-10-02  Will Newton  <will.newton@linaro.org>
23334         * malloc/Makefile: Add tst-posix_memalign.
23335         * malloc/tst-posix_memalign.c: New file.
23337 2013-10-01  Eric Blake  <eblake@redhat.com>
23339         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23340         Use __THROWNL rather than __THROW on static functions.
23342 2013-09-30  Petr Machata  <pmachata@redhat.com>
23344         * elf/elf.h (R_AARCH64_ABS16): New macro.
23345         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23346         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23347         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23348         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23349         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23350         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23351         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23352         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23353         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23354         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23355         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23356         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23357         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23358         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23359         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23360         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23361         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23362         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23363         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23364         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23365         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23366         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23367         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23368         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23369         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23370         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23371         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23372         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23373         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23374         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23375         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23376         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23377         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23378         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23379         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23380         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23381         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23382         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23383         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23384         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23385         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23386         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23387         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23388         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23389         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23390         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23391         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23392         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23393         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23394         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23395         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23396         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23397         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23398         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23399         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23400         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23401         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23402         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23403         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23404         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23405         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23406         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23407         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23408         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23409         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23410         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23411         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23412         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23413         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23414         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23415         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23416         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23417         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23418         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23419         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23420         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23421         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23422         (R_AARCH64_TLSDESC_LDR): Likewise.
23423         (R_AARCH64_TLSDESC_ADD): Likewise.
23424         (R_AARCH64_TLSDESC_CALL): Likewise.
23426 2013-09-30  Andreas Schwab  <schwab@suse.de>
23428         [BZ #15048]
23429         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23430         the nss database lookup.
23431         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23434 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23436         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23438 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23440         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23441         ${Bash-specific parameter/pattern/string} parameter expansion.
23442         * sysdeps/unix/make-syscalls.sh: Likewise.
23444 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23446         * sysdeps/sh/stackguard-macros.h: New file.
23448 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23450         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23452         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23453         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23454         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23455         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23457 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23459         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23460         Fix thread ID register.
23462 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23464         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23465         [POSIX || UNIX98]: Require rather than permitting all symbols from
23466         <time.h>.
23467         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23468         element of struct sched_param.
23469         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23470         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23471         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23472         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23473         constant.
23475 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23477         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23478         argument calculation.
23480 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23482         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23483         Expect macro.
23484         [POSIX] (pthread_attr_t): Do not require type.
23485         [POSIX] (pthread_cond_t): Likewise.
23486         [POSIX] (pthread_condattr_t): Likewise.
23487         [POSIX] (pthread_key_t): Likewise.
23488         [POSIX] (pthread_mutex_t): Likewise.
23489         [POSIX] (pthread_mutexattr_t): Likewise.
23490         [POSIX] (pthread_once_t): Likewise.
23491         [POSIX] (pthread_t): Likewise.
23492         [POSIX-based standards] (pthread_atfork): Expect function.
23494 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23495             Richard Sandiford  <richard@codesourcery.com>
23497         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23498         (swap_endianness_p): New extern variable.
23499         (set_big_endian): New inline function.
23500         (maybe_swap_uint32): Likewise.
23501         (maybe_swap_uint32_array): Likewise.
23502         (maybe_swap_uint32_obstack): Likewise.
23503         * locale/programs/locfile.c: Include <stdbool.h>.
23504         (swap_endianness_p): New variable.
23505         (add_locale_uint32): Call maybe_swap_uint32.
23506         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23507         (write_locale_data): Call maybe_swap_uint32_array.
23508         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23509         maybe_swap_uint32.
23510         (obstack_int32_grow_fast): Likewise.
23511         (output_weightwc): Call maybe_swap_uint32_obstack.
23512         (collate_output): Likewise.
23513         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23514         (OPT_LITTLE_ENDIAN): Likewise.
23515         (options): Add --little-endian and --big-endian options.
23516         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23517         * locale/programs/locarchive.c: Include "locfile.h".
23518         (GET): New macro.
23519         (SET): Likewise.
23520         (INC): Likewise.
23521         (create_archive): Use the new macros to access fields of
23522         structures directly mapped from or written to locale archives.
23523         (oldlocrecentcmp): Likewise.
23524         (enlarge_archive): Likewise.
23525         (insert_name): Likewise.
23526         (add_alias): Likewise.
23527         (add_locale): Likewise.
23528         (delete_locales_from_archive): Likewise.
23529         (show_archive_content): Likewise.
23530         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23531         locale data.
23533 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23535         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23536         http://www.gnu.org/doc/freemanuals.texi.
23537         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23539 2013-09-24  Will Newton  <will.newton@linaro.org>
23541         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23542         macro.
23544 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23546         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23547         unsigned char.
23549 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23551         * manual/threads.texi (POSIX Threads): Fix a typo.
23553 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23555         [BZ #14547]
23556         * string/tst-strcoll-overflow.c: New test case.
23557         * string/Makefile (xtests): Add tst-strcoll-overflow.
23558         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23559         cache if string sizes may cause integer overflow.
23561         [BZ #14547]
23562         * string/strcoll_l.c (coll_seq): New members rule, idx,
23563         save_idx and back_us.
23564         (get_next_seq_nocache): New function.
23565         (do_compare_nocache): New function.
23566         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23567         when malloc fails.
23569 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23571         [BZ #15754]
23572         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23573         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23574         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23576         [BZ #15754]
23577         * elf/Makefile (tests): Add tst-ptrguard1.
23578         (tests-static): Add tst-ptrguard1-static.
23579         (tst-ptrguard1-ARGS): Define.
23580         (tst-ptrguard1-static-ARGS): Define.
23581         * elf/tst-ptrguard1.c: New file.
23582         * elf/tst-ptrguard1-static.c: New file.
23583         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23584         * sysdeps/i386/stackguard-macros.h: Likewise.
23585         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23586         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23587         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23588         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23589         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23590         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23592 2013-09-23  Hector Marco  <hecmargi@upv.es>
23593             Ismael Ripoll  <iripoll@disca.upv.es>
23594             Carlos O'Donell  <carlos@redhat.com>
23596         [BZ #15754]
23597         * sysdeps/generic/stackguard-macros.h: Define
23598         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23599         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23600         Define __pointer_chk_guard_local.
23601         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23602         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23604 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23606         [BZ #15859]
23607         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23609 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23611         * include/string.h (__ffs): Declare as hidden.
23612         * string/ffs.c (__ffs): Define as hidden.
23613         * sysdeps/i386/ffs.c (__ffs): Likewise.
23614         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23615         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23616         * sysdeps/s390/ffs.c (__ffs): Likewise.
23617         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23619 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23621         * NEWS: Mention malloc probes.
23623         * malloc/arena.c (new_heap): New memory_heap_new probe.
23624         (grow_heap): New memory_heap_more probe.
23625         (shrink_heap): New memory_heap_less probe.
23626         (heap_trim): New memory_heap_free probe.
23627         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23628         (systrim): New memory_sbrk_less probe.
23629         * manual/probes.texi: Document them.
23631         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23632         * manual/probes.texi: Document it.
23634         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23635         (__libc_realloc): Add memory_realloc_retry probe.
23636         (__libc_memalign): Add memory_memalign_retry probe.
23637         (__libc_valloc): Add memory_valloc_retry probe.
23638         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23639         (__libc_calloc): Add memory_calloc_retry probe.
23640         * manual/probes.texi: Document them.
23642         * malloc/arena.c (get_free_list): Add probe
23643         memory_arena_reuse_free_list.
23644         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23645         and memory_arena_reuse.
23646         (arena_get2) [!PER_THREAD]: Likewise.
23647         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23648         memory_arena_reuse_realloc.
23649         * manual/probes.texi: Document them.
23651         * malloc/malloc.c (__libc_free): Add
23652         memory_mallopt_free_dyn_thresholds probe.
23653         (__libc_mallopt): Add multiple memory_mallopt probes.
23654         * manual/probes.texi: Document them.
23656         * malloc/malloc.c: Include stap-probe.h.
23657         (__libc_mallopt): Add memory_mallopt probe.
23658         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23659         * manual/probes.texi: New.
23660         * manual/Makefile (chapters): Add probes.
23661         * manual/threads.texi: Set next node.
23663 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23665         [BZ #15963, #13985]
23666         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23667         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23668         Add `Chinese' to `nan' entry name.
23670 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23672         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23673         (POLYNOMIAL): Likewise.
23674         (TAYLOR_SINCOS): Likewise.
23675         (TAYLOR_SLOW): Likewise.
23676         (__sin): Use TAYLOR_SINCOS.
23677         (__cos): Likewise.
23678         (slow): Use TAYLOR_SLOW.
23679         (sloww): Likewise.
23680         (bsloww): Likewise.
23681         (csloww): Likewise.
23683 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23685         * stdlib/strtod_l.c: Fix buffer overrun.
23687 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23689         * benchtests/Makefile (bench): Add sincos.
23690         * benchtests/bench-sincos.c: New file.
23692         * math/libm-test.inc (cos_test_data): New test inputs.
23693         (sin_test_data): Likewise.
23695         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23696         macro.
23697         (__sin): Use it.
23698         (__cos): Likewise.
23699         (slow1): Likewise.
23700         (slow2): Likewise.
23701         (sloww1): Likewise.
23702         (sloww2): Likewise.
23703         (bsloww1): Likewise.
23704         (bsloww2): Likewise.
23705         (cslow2): Likewise.
23706         (csloww1): Likewise.
23707         (csloww2): Likewise.
23709         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23710         function.
23711         (__sin): Use it.
23712         (__cos): Likewise.
23714         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23715         gotos.
23716         (__cos): Likewise.
23718 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23720         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23721         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23722         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23723         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23724         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23725         * elf/cache.c (print_entry): Handle the new cache flags.
23727 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23728             Aldy Hernandez  <aldyh@redhat.com>
23730         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23731         Change condition to [_SOFT_FLOAT].
23732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23744         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23747         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23748         declaration.
23750 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23752         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23753         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23754         (__longjmp): Use LOAD_GP to load saved GPRs.
23755         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23756         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23757         (__sigsetjmp): Use SAVE_GP to save GPRs.
23759         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23760         Do not append -msoft-float.
23761         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23763 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23765         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23767 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23769         [BZ #15966]
23770         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23771         (_FPU_GETCW): Use initial "__" on variable and field names but not
23772         on macro parameter name.
23773         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23774         parentheses around reference to macro parameter.
23776 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23778         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23779         prototype.
23780         (ctype_startup): Use uint32_t in cast and sizeof for
23781         ctype->charnames.
23783 2013-09-11  Jia Liu  <proljc@gmail.com>
23785         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23786         __daddr_t_defined.
23787         [__FreeBSD__]: Likewise.
23789 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23792         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23793         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23794         (strchr): Remove __strchr_sse42 ifunc selection.
23795         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23796         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23798 2013-09-11  Will Newton  <will.newton@linaro.org>
23800         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23801         parameter to RES. Remove hardcoded 1000 value.
23802         * benchtests/bench-skeleton.c (main): Pass RES parameter
23803         to TIMING_INIT and multiply result by 1000.
23805 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23809 2013-09-11  Andreas Schwab  <schwab@suse.de>
23811         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23812         if not defined.
23813         (O_TMPFILE) [__USE_GNU]: Define.
23814         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23815         Define.
23817 2013-09-11  Will Newton  <will.newton@linaro.org>
23819         [BZ #15857]
23820         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23821         does not overflow.
23823 2013-09-11  Will Newton  <will.newton@linaro.org>
23825         [BZ #15856]
23826         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23827         does not overflow.
23829 2013-09-11  Will Newton  <will.newton@linaro.org>
23831         [BZ #15855]
23832         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23833         does not overflow.
23835 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23837         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23838         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23839         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23840         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23841         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23843 2013-09-10  Allan McRae  <allan@archlinux.org>
23845         [BZ #15748]
23846         * manual/arith.texi (Parsing of Floats): Clarify
23847         cross-reference.
23849         [BZ #15849]
23850         * manual/install.texi (Running make install): Mention
23851         --enable-pt-chown.
23852         * INSTALL: Regenerated.
23854 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23856         * csu/init-first.c (_init): Remove the !SHARED condition around
23857         FPU control word initialization.
23858         * elf/dl-support.c (_dl_fpu_control): New variable.
23859         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23860         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23861         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23862         * math/test-fpucw-static.c: New file.
23863         * math/test-fpucw-ieee.c: New file.
23864         * math/test-fpucw-ieee-static.c: New file.
23865         * math/Makefile (tests): Add `test-fpucw-ieee' and
23866         `$(tests-static)'.
23867         (tests-static): New variable.
23868         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23869         dependency to...
23870         [($(build-shared),yes)]
23871         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23872         ... this.
23873         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23874         New dependency.
23876 2013-09-09  Allan McRae  <allan@archlinux.org>
23878         [BZ #15939]
23879         * manual/string.texi (Collation Functions): Fix typo in
23880         strcoll example.
23881         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23883         [BZ #15893]
23884         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23886         [BZ #15892]
23887         * libio/memstream.c (open_memstream): Fix memory leak.
23888         * libio/wmemstream.c (open_wmemstream): Likewise.
23890         [BZ #15895]
23891         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23893 2013-09-09  Will Newton  <will.newton@linaro.org>
23895         * malloc/Makefile: Add tst-realloc to tests.
23896         * malloc/tst-realloc.c: New file.
23898 2013-09-09  Allan McRae  <allan@archlinux.org>
23900         [BZ #15844]
23901         * COPYING: Update from GNU website to fix FSF address.
23902         * COPYING.LIB: Likewise.
23904 2013-09-06  David S. Miller  <davem@davemloft.net>
23906         * po/zh_TW.po: Update Chinese (traditional) translation from
23907         translation project.
23909 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23910             Joseph Myers  <joseph@codesourcery.com>
23912         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23913         "localeinfo.h".
23914         (obstack_chunk_alloc): New macro.
23915         (obstack_chunk_free): Likewise.
23916         (record_offset): New function.
23917         (init_locale_data): Likewise.
23918         (align_locale_data): Likewise.
23919         (add_locale_empty): Likewise.
23920         (add_locale_raw_data): Likewise.
23921         (add_locale_raw_obstack): Likewise.
23922         (add_locale_string): Likewise.
23923         (add_locale_wstring): Likewise.
23924         (add_locale_uint32): Likewise.
23925         (add_locale_uint32_array): Likewise.
23926         (add_locale_char): Likewise.
23927         (start_locale_structure): Likewise.
23928         (end_locale_structure): Likewise.
23929         (start_locale_prelude): Likewise.
23930         (end_locale_prelude): Likewise.
23931         (write_locale_data): Take locale_file structure rather than an
23932         iovec.
23933         * locale/programs/locfile.h: Include "obstack.h".
23934         (struct locale_file): Change to store locale file contents instead
23935         of header.
23936         (init_locale_data): New prototype.
23937         (align_locale_data): Likewise.
23938         (add_locale_empty): Likewise.
23939         (add_locale_raw_data): Likewise.
23940         (add_locale_raw_obstack): Likewise.
23941         (add_locale_string): Likewise.
23942         (add_locale_wstring): Likewise.
23943         (add_locale_uint32): Likewise.
23944         (add_locale_uint32_array): Likewise.
23945         (add_locale_char): Likewise.
23946         (start_locale_structure): Likewise.
23947         (end_locale_structure): Likewise.
23948         (start_locale_prelude): Likewise.
23949         (end_locale_prelude): Likewise.
23950         (write_locale_data): Update prototype.
23951         * locale/programs/3level.h (struct TABLE): Remove result field.
23952         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23953         Use new locale_file interface.
23954         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23955         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23956         * locale/programs/ld-address.c (address_output): Use new
23957         locale_file interface.
23958         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23959         NO_ADD_LOCALE.
23960         (collate_finish): Don't call collseq_table_finalize.
23961         (collate_output): Use new locale_file interface.
23962         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23963         in file.
23964         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23965         (TABLE): Move defines earlier in file.
23966         (ELEMENT): Likewise.
23967         (DEFAULT): Likewise.
23968         (wctrans_table_add): Move macro and inline function earlier in
23969         file.
23970         (struct wctype_table): Move type earlier in file.
23971         (add_locale_wctype_table): New static prototype.
23972         (struct locale_ctype_t): Use logical types instead of struct iovec
23973         pointers for members.
23974         (ctype_output): Use new locale_file interface.
23975         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23976         new locale_file interface.
23977         (allocate_arrays): Update for use of new locale_file interface.
23978         * locale/programs/ld-identification.c (identification_output): Use
23979         new locale_file interface.
23980         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23981         * locale/programs/ld-messages.c (messages_output): Likewise.
23982         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23983         * locale/programs/ld-name.c (name_output): Likewise.
23984         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23985         * locale/programs/ld-paper.c (paper_output): Likewise.
23986         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23987         * locale/programs/ld-time.c (time_output): Likewise.
23989 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23991         * benchtests/Makefile: Add memrchr benchmark.
23992         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23993         benchmark as memrchr.
23994         * benchtests/bench-memrchr-ifunc.c: New file.
23995         * benchtests/bench-memrchr.c: New file.
23997 2013-09-06   Will Newton  <will.newton@linaro.org>
23999         * benchtests/Makefile (string-bench): Add memcpy.
24001 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24002             Cong Wang  <amwang@redhat.com>
24004         [BZ #15850]
24005         * sysdeps/unix/sysv/linux/bits/in.h
24006         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24007         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24008         before __USE_KERNEL_IPV6_DEFS uses.
24009         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24010         IPPROTO_BEETPH.
24011         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24012         sockaddr_in6, or ipv6_mreq.
24014 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24016         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24017         memory access for final bytes in some large inputs.
24018         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24020 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24022         * string/test-memrchr.c: New file.
24023         * string/test-memrchr-ifunc.c: New file.
24024         * string/Makefile: Add new memrchr testcase.
24026 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24028         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24029         fanotify_init returns EPERM.
24031 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24033         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24034         errors.
24035         (top level): Treat second token from macro or constant entries for
24036         allowed headers as allowed.
24037         * include/complex.h: Condition internal declarations on
24038         [!_ISOMAC].
24039         * include/fenv.h: Condition include of <stdbool.h> and internal
24040         declarations on [!_ISOMAC].
24042 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24044         [BZ #15923]
24045         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24047 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24049         * configure.in (--enable-versioning): Remove configure option.
24050         (libc_cv_asm_symver_directive): Remove configure test.
24051         (libc_cv_ld_version_script_option): Likewise.
24052         (VERSIONING): Remove variable and AC_SUBST.
24053         (DO_VERSIONING): Remove AC_DEFINE.
24054         * configure: Regenerated.
24055         * config.h.in (DO_VERSIONING): Remove macro.
24056         * Makerules [$(versioning) = yes]: Change conditionals to
24057         [$(build-shared) = yes].
24058         * config.make.in (versioning): Remove variable.
24059         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24060         [$(build-shared) = yes].
24061         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24062         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24063         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24064         [$(build-shared) = yes].
24065         * extra-lib.mk [$(versioning) = yes]: Likewise.
24066         * hurd/Makefile [$(versioning) = yes]: Likewise.
24067         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24068         [SHARED].
24069         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24070         [SHARED].
24071         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24072         [SHARED && !NO_HIDDEN].
24073         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24074         [SHARED].
24075         [SHARED && DO_VERSIONING]: Likewise..
24076         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24077         [$(build-shared) = yes].
24078         * manual/install.texi (--disable-versioning): Remove
24079         documentation.
24080         * INSTALL: Regenerated.
24081         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24082         to [SHARED].
24083         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24084         [$(build-shared) = yes].
24085         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24086         * sysdeps/i386/i686/multiarch/strstr-c.c
24087         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24088         [SHARED && !NO_HIDDEN].
24089         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24090         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24091         * sysdeps/powerpc/powerpc32/dl-machine.c
24092         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24093         * sysdeps/powerpc/powerpc32/sysdep.h
24094         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24095         to [SHARED && PIC && !NO_HIDDEN].
24096         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24097         conditional to [SHARED].
24099 2013-09-04   Will Newton  <will.newton@linaro.org>
24101         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24102         * benchtests/bench-string.h: Include bench-timing.h instead
24103         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24104         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24105         call to HP_TIMING_DIFF_INIT.
24106         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24107         instead of hp-timing.h macros.
24108         * benchtests/bench-memchr.c: Likewise.
24109         * benchtests/bench-memcmp.c: Likewise.
24110         * benchtests/bench-memcpy.c: Likewise.
24111         * benchtests/bench-memmem.c: Likewise.
24112         * benchtests/bench-memmove.c: Likewise.
24113         * benchtests/bench-memset.c: Likewise.
24114         * benchtests/bench-rawmemchr.c: Likewise.
24115         * benchtests/bench-strcasecmp.c: Likewise.
24116         * benchtests/bench-strcasestr.c: Likewise.
24117         * benchtests/bench-strcat.c: Likewise.
24118         * benchtests/bench-strchr.c: Likewise.
24119         * benchtests/bench-strcmp.c: Likewise.
24120         * benchtests/bench-strcpy.c: Likewise.
24121         * benchtests/bench-strcpy_chk.c: Likewise.
24122         * benchtests/bench-strlen.c: Likewise.
24123         * benchtests/bench-strncasecmp.c: Likewise.
24124         * benchtests/bench-strncat.c: Likewise.
24125         * benchtests/bench-strncmp.c: Likewise.
24126         * benchtests/bench-strncpy.c: Likewise.
24127         * benchtests/bench-strnlen.c: Likewise.
24128         * benchtests/bench-strpbrk.c: Likewise.
24129         * benchtests/bench-strrchr.c: Likewise.
24130         * benchtests/bench-strspn.c: Likewise.
24131         * benchtests/bench-strstr.c: Likewise.
24133 2013-09-04  Will Newton  <will.newton@linaro.org>
24135         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24137 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24139         [BZ #15427]
24140         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24141         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24142         * math/libm-test.inc (lgamma_test_data): Add more tests.
24143         * sysdeps/i386/fpu/libm-test-ulps: Update.
24144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24146 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24148         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24150         Add ifunc.
24151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24152         Add strcmp-sse2-unaligned
24153         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24155 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24157         * Versions.def (libc): Add GLIBC_2.19.
24159 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24161         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24162         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24164 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24166         [BZ #14155]
24167         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24168         intermediate calculations in recurrence.
24169         (__ieee754_ynf): Likewise.
24170         * math/libm-test.inc (jn_test_data): Do not allow spurious
24171         underflow exception.  Add more tests.
24172         (yn_test_data): Add more tests.
24173         * sysdeps/i386/fpu/libm-test-ulps: Update.
24174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24176 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24178         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24180 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24182         * csu/init-first.c: Fix then/than typos.
24183         * locale/programs/ld-collate.c: Likewise.
24184         * locale/programs/linereader.h: Likewise.
24185         * manual/charset.texi: Likewise.
24186         * manual/filesys.texi: Likewise.
24187         * manual/stdio.texi: Likewise.
24188         * manual/string.texi: Likewise.
24189         * stdlib/fmtmsg.c: Likewise.
24190         * sysdeps/i386/stpncpy.S: Likewise.
24191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24192         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24193         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24194         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24196 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24198         * elf/dl-open.c: Fix typos.
24199         * iconvdata/gbbig5.c: Likewise.
24200         * iconvdata/iso-2022-jp.c: Likewise.
24201         * iconv/gconv_int.h: Likewise.
24202         * iconv/loop.c: Likewise.
24203         * nis/rpcsvc/nis.h: Likewise.
24204         * resolv/ns_name.c: Likewise.
24205         * stdio-common/vfscanf.c: Likewise.
24206         * streams/stropts.h: Likewise.
24207         * sunrpc/rpc_thread.c: Likewise.
24208         * sysdeps/i386/strpbrk.S: Likewise.
24209         * sysdeps/ieee754/k_standard.c: Likewise.
24210         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24211         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24212         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24213         * sysdeps/mach/hurd/profil.c: Likewise.
24214         * sysdeps/s390/dl-procinfo.h: Likewise.
24215         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24216         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24217         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24218         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24219         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24221 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24223         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24226 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24228         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24229         aix specific files.
24230         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24231         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24232         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24233         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24234         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24235         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24236         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24237         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24239 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24240             Roland McGrath  <roland@hack.frob.com>
24242         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24243         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24245 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24247         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24248         __executable_start symbol instead of _start.
24250 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24252         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24253         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24254         Move macros to...
24255         * sysdeps/gnu/ldsodefs.h: ... this new file.
24257         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24258         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24259         instead of ELFOSABI_LINUX.
24261         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24262         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24263         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24264         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24265         Likewise.
24266         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24267         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24268         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24269         Likewise.
24270         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24271         (ibm_extended_long_double): Add ieee_nan member.
24272         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24273         (do_test): New function.
24275         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24276         TEST_TRUNC.
24277         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24278         functions, renamed from truncdfsf_test, trunctfsf_test,
24279         trunctfdf_test.
24280         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24281         functions.
24282         (do_test): Run all these.
24284 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24286         * argp/argp-help.c: Fix typos.
24287         * argp/argp-parse.c: Likewise.
24288         * debug/backtracesyms.c: Likewise.
24289         * elf/elf.h: Likewise.
24290         * malloc/malloc.c: Likewise.
24291         * nis/nis_print.c: Likewise.
24292         * resolv/res_comp.c: Likewise.
24293         * stdlib/stdlib.h: Likewise.
24294         * sunrpc/clnt_tcp.c: Likewise.
24295         * sunrpc/clnt_udp.c: Likewise.
24296         * sunrpc/clnt_unix.c: Likewise.
24297         * sysdeps/unix/bsd/ptsname.c: Likewise.
24298         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24299         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24301         Likewise.
24302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24303         Likewise.
24304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24305         Likewise.
24306         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24308 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24310         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24313 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24315         [BZ #15897]
24316         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24317         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24318         ($(objpfx)bug-dl-leaf): New rule.
24319         ($(objpfx)bug-dl-leaf.so): Likewise.
24320         ($(objpfx)bug-dl-leaf.out): Likewise.
24321         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24322         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24323         * dlfcn/bug-dl-leaf.c: New test.
24324         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24325         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24326         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24327         (dlclose): Likewise.
24328         (dlmopen): Likewise.
24330 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24332         * include/netdb.h [!_ISOMAC]:
24333         Don't include <tls.h>.
24334         (h_errno, __libc_h_errno): Move declaration and macros out of
24335         [_LIBC_REENTRANT].
24337         * include/resolv.h [_RESOLV_H_]:
24338         Don't include <tls.h>.
24339         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24340         * resolv/res_libc.c: Don't include <tls.h>.
24341         (_res): Use __attribute__ ((nocommon)) in place of
24342         __attribute__ ((section (".bss"))).
24344         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24345         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24347         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24349         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24350         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24352         * resolv/res_mkquery.c: Include <sys/time.h>.
24354         * inet/ifreq.c: Moved to ...
24355         * sysdeps/unix/ifreq.c: ... here.
24356         * inet/ifreq.c: New file, true stub version.
24358         * socket/sa_len.c: New file.
24359         * socket/Makefile (aux): Add it.
24360         * sysdeps/unix/sysv/linux/Makefile
24361         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24362         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24363         and #include <socket/sa_len.c>.
24364         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24365         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24367         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24368         * bits/socket.h: ... here.
24370         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24371         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24372         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24374 2013-08-27  Andreas Schwab  <schwab@suse.de>
24376         [BZ #15736]
24377         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24378         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24379         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24380         * string/test-strcasecmp.c (test_main): Run tests in several
24381         locales.
24382         * string/test-strncasecmp.c (test_main): Likewise.
24384         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24385         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24386         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24387         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24388         (__strncasecmp_ssse3) [PIC]: Likewise.
24390 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24392         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24394         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24395         instead of explicitly declaring xdecrypt.
24396         * nis/nss_nis/nis-publickey.c: Likewise.
24398 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24400         [BZ #15890]
24401         * nscd/aicache.c: Include res_hconf.h.
24402         (addhstaiX): Initialize res_hconf.
24404 2013-08-26  Andreas Schwab  <schwab@suse.de>
24406         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24407         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24409 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24411         * nscd/aicache.c (addhstaiX): Fix indentation.
24413 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24415         * configure.ac: Quote $build_pt_chown test.
24416         * configure: Regenerated.
24418 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24420         [BZ #15532]
24421         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24422         * math/s_cexpf.c (__cexpf): Likewise.
24423         * math/s_cexpl.c (__cexpl): Likewise.
24424         * math/libm-test.inc (cexp_test_data): Correct expected return
24425         value for NaN + i0.  Add another test.
24427 2013-08-22  David S. Miller  <davem@davemloft.net>
24429         * po/ca.po: Update Catalan translation from translation project.
24430         * po/uk.po: Add Ukrainian translations from translation project.
24432 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24434         [BZ #15797]
24435         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24436         is infinite, not alongside NaN test.
24437         * math/s_fdimf.c (__fdimf): Likewise.
24438         * math/s_fdiml.c (__fdiml): Likewise.
24439         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24440         errno is unchanged.
24442 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24444         * argp/argp-help.c: Fix typos.
24445         * crypt/speeds.c: Likewise.
24446         * csu/check_fds.c: Likewise.
24447         * elf/dl-load.c: Likewise.
24448         * elf/dl-open.c: Likewise.
24449         * elf/reldep3.c: Likewise.
24450         * elf/reldep.c: Likewise.
24451         * elf/sprof.c: Likewise.
24452         * iconv/iconv_charmap.c: Likewise.
24453         * iconv/skeleton.c: Likewise.
24454         * iconv/strtab.c: Likewise.
24455         * io/lockf64.c: Likewise.
24456         * libio/libioP.h: Likewise.
24457         * resolv/gai_notify.c: Likewise.
24458         * resolv/ns_name.c: Likewise.
24459         * resolv/ns_samedomain.c: Likewise.
24460         * resolv/res_send.c: Likewise.
24461         * stdlib/random.c: Likewise.
24462         * sunrpc/rpc/xdr.h: Likewise.
24463         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24464         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24465         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24466         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24467         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24468         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24470         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24471         * sysdeps/mach/hurd/check_fds.c: Likewise.
24472         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24473         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24475         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24476         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24477         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24478         * sysdeps/pthread/aio_notify.c: Likewise.
24479         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24480         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24481         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24482         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24483         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24485 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24487         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24488         version if bit_Slow_SSE4_2 is set.
24489         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24490         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24492 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24494         [BZ #15867]
24495         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24496         trampoline stack frame information.
24497         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24498         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24499         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24500         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24501         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24502         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24503         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24504         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24505         sa_flags value.
24506         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24507         interrupting a syscall and set with option SA_SIGINFO.
24509 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24511         [BZ #15531]
24512         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24513         argument is infinite.
24514         * math/s_cprojf.c (__cprojf): Likewise.
24515         * math/s_cprojl.c (__cprojl): Likewise.
24516         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24517         * math/libm-test.inc (cproj_test_data): Add more tests.
24519         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24521         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24522         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24523         size.  Use __ffs to determine corresponding shift.
24525 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24526             Roland McGrath  <roland@hack.frob.com>
24528         * Makefile (INSTALL): Remove trailing blank lines from output of
24529         makeinfo.
24531 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24533         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24534         Align 32 bit compat elf_greg to 8 bytes.
24536 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24538         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24540 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24542         * string/strcoll_l.c (coll_seq): New structure.
24543         (get_next_seq_cached): New function.
24544         (get_next_seq): New function.
24545         (do_compare): New function.
24546         (STRCOLL): Use GNU style definition.  Simplify implementation
24547         by using get_next_seq, get_next_seq_cached and do_compare.
24549 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24551         [BZ #14699]
24552         CVE-2013-4237
24553         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24554         member.
24555         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24556         member.
24557         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24558         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24559         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24560         conditional.
24561         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24562         GETDENTS_64BIT_ALIGNED.
24563         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24564         * manual/filesys.texi (Reading/Closing Directory): Document
24565         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24566         strongly.
24567         * manual/conf.texi (Limits for Files): Add portability note to
24568         NAME_MAX, PATH_MAX.
24569         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24571 2013-08-13  Andreas Schwab  <schwab@suse.de>
24573         [BZ #15749]
24574         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24575         of fabs.
24576         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24577         LDBL_MAX_EXP >= 16384]: Add tests for it.
24579 2013-08-12  David S. Miller  <davem@davemloft.net>
24581         * version.h (RELEASE): Set to "development".
24582         (VERSION): Set to "2.18.90".
24583         * NEWS: Add 2.19 section.
24585 2013-08-03  David S. Miller  <davem@davemloft.net>
24587         * po/ko.po: Update Korean translation from translation project.
24589 2013-08-01  David S. Miller  <davem@davemloft.net>
24591         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24592         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24593         Bilka.
24595 2013-07-30  David S. Miller  <davem@davemloft.net>
24597         * po/fr.po: Update French translation from translation project.
24599 2013-07-28  David S. Miller  <davem@davemloft.net>
24601         * po/cs.po: Update Czech translation from translation project.
24603         * po/sv.po: Update Swedish translation from translation project.
24605 2013-07-27  David S. Miller  <davem@davemloft.net>
24607         * po/eo.po: Update Esperanto translation from translation project.
24609         * po/vi.po: Update Vietnamese translation from translation project.
24611         * po/de.po: Update German translation from translation project.
24613 2013-07-26  David S. Miller  <davem@davemloft.net>
24615         * po/bg.po: Update Bulgarian translation from translation project.
24617         * po/nl.po: Update Dutch translation from translation project.
24618         * po/pl.po: Update Polish translation from translation project.
24619         * po/ru.po: Update Russian translation from translation project.
24621 2013-07-24  David S. Miller  <davem@davemloft.net>
24623         * po/libc.pot: Update.
24625 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24627         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24628         variable page size.
24629         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24630         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24631         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24633 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24635         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24637 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24638             Andreas Schwab  <schwab@suse.de>
24639             Roland McGrath  <roland@hack.frob.com>
24640             Joseph Myers  <joseph@codesourcery.com>
24641             Carlos O'Donell  <carlos@redhat.com>
24643         [BZ #15755]
24644         * config.h.in: Define HAVE_PT_CHOWN.
24645         * config.make.in (build-pt-chown): New variable.
24646         * configure.in (--enable-pt_chown): New configure option.
24647         * configure: Regenerate.
24648         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24649         build-pt-chown is enabled.
24650         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24651         pt_chown to fix pty ownership.
24652         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24653         CLOSE_ALL_FDS.
24654         * manual/install.texi (Configuring and compiling): Mention
24655         --enable-pt_chown. Add @findex for grantpt.
24656         * INSTALL: Regenerate.
24658 2013-07-20  David S. Miller  <davem@davemloft.net>
24660         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24661         difference between 32-bit and 64-bit.
24663 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24665         [BZ #15711]
24666         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24667         Avoid system header dependency with -ffreestanding.
24668         ($(objpfx)bits/syscall%d): Likewise.
24670 2013-07-13  David S. Miller  <davem@davemloft.net>
24672         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24673         underflows from atanl/atan2l due to bug 15319.
24674         (casinh_test_data): Likewise.
24676 2013-07-07  David S. Miller  <davem@davemloft.net>
24678         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24680 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24682         * sysdeps/i386/fpu/libm-test-ulps: Update.
24683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24685 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24687         * configure.in (--enable-lock-elision): Fix message text.
24688         * INSTALL: Regenerate.
24689         * configure: Regenerate.
24691 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24695 2013-07-03  Andreas Jaeger  <aj@suse.de>
24697         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24698         define.
24699         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24700         (ptrace_peeksiginfo_args): Add.
24701         (__ptrace_peeksiginfo_flags): Add.
24702         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24703         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24704         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24706 2013-07-03  Allan McRae  <allan@archlinux.org>
24708         * sysdeps/i386/fpu/libm-test-ulps: Update.
24710 2013-07-02  David S. Miller  <davem@davemloft.net>
24712         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24714 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24716         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24718 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24720         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24723 2013-07-02  Andi Kleen <ak@linux.intel.com>
24725         * config.h.in (ENABLE_LOCK_ELISION): Add.
24726         * configure.in (--enable-lock-elision): Add option.
24727         * manual/install.texi: Document --enable lock elision.
24728         * configure: Regenerate
24729         * INSTALL: Regenerate.
24731 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24733         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24734         SSE4.2 strcasecmp for libc.a.
24735         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24737 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24739         [BZ #13304]
24740         * soft-fp/op-common.h (_FP_FMA): New macro.
24741         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24742         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24743         (_FP_MUL_MEAT_1_imm): ... here.
24744         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24745         (_FP_MUL_MEAT_1_wide): ... here.
24746         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24747         (_FP_MUL_MEAT_1_hard): ... here.
24748         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24749         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24750         (_FP_MUL_MEAT_2_wide): ... here.
24751         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24752         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24753         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24754         (_FP_MUL_MEAT_2_gmp): ... here.
24755         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24756         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24757         (_FP_MUL_MEAT_4_wide): ... here.
24758         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24759         (_FP_MUL_MEAT_4_gmp): ... here.
24760         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24761         (_FP_WFRACBITS_DW_S): Likewise.
24762         (_FP_WFRACXBITS_DW_S): Likewise.
24763         (_FP_HIGHBIT_DW_S): Likewise.
24764         (FP_FMA_S): Likewise.
24765         (_FP_FRAC_HIGH_DW_S): Likewise.
24766         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24767         (_FP_WFRACBITS_DW_D): Likewise.
24768         (_FP_WFRACXBITS_DW_D): Likewise.
24769         (_FP_HIGHBIT_DW_D): Likewise.
24770         (FP_FMA_D): Likewise.
24771         (_FP_FRAC_HIGH_DW_D): Likewise.
24772         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24773         (_FP_WFRACBITS_DW_E): Likewise.
24774         (_FP_WFRACXBITS_DW_E): Likewise.
24775         (_FP_HIGHBIT_DW_E): Likewise.
24776         (FP_FMA_E): Likewise.
24777         (_FP_FRAC_HIGH_DW_E): Likewise.
24778         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24779         (_FP_WFRACBITS_DW_Q): Likewise.
24780         (_FP_WFRACXBITS_DW_Q): Likewise.
24781         (_FP_HIGHBIT_DW_Q): Likewise.
24782         (FP_FMA_Q): Likewise.
24783         (_FP_FRAC_HIGH_DW_Q): Likewise.
24784         * soft-fp/fmasf4.c: New file.
24785         * soft-fp/fmadf4.c: Likewise.
24786         * soft-fp/fmatf4.c: Likewise.
24788 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24791         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24792         Silvermont.
24793         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24794         macro.
24795         (index_Slow_SSE4_2): Likewise.
24796         (index_Prefer_PMINUB_for_stringop): Likewise.
24797         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24798         bit_Slow_SSE4_2 is set.
24799         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24800         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24802 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24804         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24805         rtld_global._dl_hwcap2.
24806         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24807         POWER8.
24808         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24809         POWER8 feature descriptions defined in _dl_hwcap2.
24810         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24811         string handling for POWER8 feature bits.
24812         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24813         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24814         _dl_powerpc_cap_flags.
24815         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24816         * sysdeps/powerpc/rtld-global-offsets.sym
24817         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24818         _dl_hwcap2 in the rtld_global_ro structure.
24820 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24822         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24823         hardware capabilities in support of AT_HWCAP2.
24824         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24825         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24826         GLRO(dl_hwcap2).
24827         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24828         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24829         explicitly the unknown a_type display mechanism is used.
24830         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24831         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24832         struct member.
24833         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24834         to macro prototype for AT_HWCAP2 support.
24835         * sysdeps/i386/dl-procinfo.h: Likewise.
24836         * sysdeps/s390/dl-procinfo.h: Likewise.
24837         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24838         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24839         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24840         return -1 for unknown a_type display fallback.
24841         * sysdeps/sparc/dl-procinfo.h: Likewise.
24842         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24843         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24845 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24847         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24848         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24850 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24852         [BZ #12492]
24853         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24854         mprotect making __stack_prot writable.
24856 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24857             Joseph Myers  <joseph@codesourcery.com>
24859         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24860         as being properly aligned.
24862 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24864         * dlfcn/modstatic5.c: New file.
24865         * dlfcn/tststatic5.c: New file.
24866         * dlfcn/Makefile (tests): Add tststatic5.
24867         (tests-static): Likewise.
24868         (modules-names): Add modstatic5.
24869         (tststatic5-ENV): New variable.
24870         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24872         [BZ #15022]
24873         * elf/dl-support.c (_dl_main_map): New variable.
24874         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24875         (_dl_nns, _dl_load_adds): Set to 1.
24876         (_dl_initial_searchlist): Refer to _dl_main_map.
24877         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24878         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24879         call to _dl_get_origin.
24880         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24881         around call_map.
24882         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24883         * dlfcn/modstatic3.c: New file.
24884         * dlfcn/tststatic3.c: New file.
24885         * dlfcn/tststatic4.c: New file.
24886         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24887         (tests-static): Likewise.
24888         (modules-names): Add modstatic3.
24889         (tststatic3-ENV, tststatic4-ENV): New variables.
24890         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24891         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24893 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24895         * configure.in (CC): Require GCC version 4.4 or later.
24896         * configure: Regenerated.
24897         * manual/install.texi (Tools for Compilation): Update GCC version
24898         requirement.
24899         * INSTALL: Regenerated.
24901 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24903         [BZ #15674]
24904         * string/test-memcmp.c (check2): New.
24905         (main): Call check2.
24907         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24909 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24911         [BZ #15022]
24912         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24913         over to...
24914         (dl_open_worker) [!SHARED]: ... here.
24916 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24918         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24920 2013-06-25  Richard Henderson  <rth@redhat.com>
24922         * locale/programs/locarchive.c: Include <libc-internal.h>
24924 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24926         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24927         trailing whitespace removed.
24929 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24931         [BZ #10283]
24932         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24933         * locale/programs/locarchive.c: Include libc-mmap.h.
24934         (prepare_address_space): Take two new outputs (the mmap base and len).
24935         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24936         values.
24937         (create_archive): Declare new mmap base and len values for
24938         prepare_address_space, and store the result in ah.
24939         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24940         (enlarge_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         Declare new mmap base and len values for
24943         prepare_address_space, and store the result in new_ah.
24944         (open_archive): Declare new mmap base and len values for
24945         prepare_address_space, and store the result in ah.
24946         (close_archive): If ah->mmap_base is not NULL, use that and
24947         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24948         * sysdeps/generic/libc-mmap.h: New file.
24950 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24952         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24953         (ALIGN_UP): Likewise.
24954         (PTR_ALIGN_DOWN): Likewise.
24955         (PTR_ALIGN_UP): Likewise.
24957 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24959         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24960         entry mapped to PPC_PLATFORM_POWER8.
24961         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24962         POWER8.
24963         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24964         (_dl_string_platform): Add case for exporting platform position for
24965         POWER8.
24966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24967         search path to sysdeps/powerpc/powerpc32/power8 directory.
24968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24969         search path to sysdeps/powerpc/powerpc64/power8 directory.
24970         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24971         power7 directories.
24972         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24973         power7 directories.
24975 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24977         * INSTALL: Regenerate.
24979         * nscd/connections.c (nscd_init): Fix comment.
24981 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24983         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24985         [BZ #15667]
24986         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24987         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24989 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24991         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24992         DL_DST_REQ_STATIC.
24993         (DL_DST_REQ_STATIC): Remove macro.
24995 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24997         [BZ #7006]
24998         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24999         with a shift of 0 bits.
25001 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25003         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25004         $(tststatic-ENV).
25006 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25008         [BZ #15655]
25009         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25011 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25013         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25014         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25015         accepts -fno-tree-loop-distribute-patterns.
25016         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25017         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25018         recursive call.
25019         * string/memset.c (memset): Likewise.
25020         * string/test-memmove.c (simple_memmove): Disable loop transformation
25021         to library calls.
25022         * string/test-memset.c (simple_memset): Likewise.
25023         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25024         * benchtests/bench-memset.c (simple_memset): Likewise.
25025         * configure: Regenerated.
25027 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25029         * math/test-misc.c (main): Ignore fesetround failure when failures
25030         of subsequent rounding tests would be ignored.
25032         [BZ #15654]
25033         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25034         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25035         * math/fegetenv.c (__fegetenv): Return 0.
25036         * math/fegetexcept.c (fegetexcept): Return 0.
25037         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25038         FE_TONEAREST.
25039         * math/feholdexcpt.c (feholdexcept): Return 0.
25040         * math/fesetenv.c (__fesetenv): Return 0.
25041         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25042         argument FE_TONEAREST.
25043         * math/feupdateenv.c (__feupdateenv): Return 0.
25044         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25046 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25048         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25049         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25050         ($(objpfx)rtld-%.os rules): Use them.
25052 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25054         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25055         fields.
25057 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25059         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25060         length of target pattern, then descending length of dependency pattern.
25061         * configure.in (AWK): Require gawk 3.1.2 or newer.
25062         * manual/install.texi (Tools for Compilation): Say that we do.
25063         * configure: Regenerated.
25065         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25066         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25067         * scripts/sysd-rules.awk: ... this new script.
25068         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25069         than a glob-style pattern.
25071 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25073         * math/test-misc.c (main): Do not treat incorrectly rounded
25074         conversions as failure unless ROUNDING_TESTS passes.
25076 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25078         [BZ #15631]
25079         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25080         restore exception state around main square root computation, then
25081         check for inexactness explicitly.
25083         * math/libm-test.inc (fma_test_data): Add another test.
25085 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25087         * manual/threads.texi (Non-POSIX Extensions): New document
25088         node.  Document pthread_getattr_default_np and
25089         pthread_setattr_default_np.
25091         * Versions.def (libpthread): Add GLIBC_2.18.
25092         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25094         Likewise.
25095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25096         Likewise.
25097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25098         Likewise.
25099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25100         Likewise.
25101         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25102         Likewise.
25103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25104         Likewise.
25105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25106         Likewise.
25107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25108         Likewise.
25109         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25110         Likewise.
25112 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25115         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25117 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25118             H.J. Lu  <hjl.tools@gmail.com>
25120         [BZ #15627]
25121         * sysdeps/x86_64/rtld-memset.c: Remove file.
25122         * sysdeps/x86_64/rtld-memset.S: New file.
25124 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25126         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25127         (test_in_one_mode): Take arguments for whether the rounding mode
25128         is supported for each floating-point type.
25129         (do_test): Pass new arguments to test_in_one_mode using
25130         ROUNDING_TESTS.
25132 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25134         * posix/tst-waitid.c (do_test): Distinguish different instances of
25135         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25136         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25137         before entering the kernel for waitpid.
25139 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25141         * NEWS: Fix note on clock function precision.  Text by Roland
25142         McGrath.
25144 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25146         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25147         it into place only when and if the sanity check passes.
25149 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25151         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25152         output for whether conversion result is exact.  Take argument
25153         indicating whether type is IBM long double.
25154         (round_for_all): Change need_exact field to ibm_ld.
25155         * stdlib/tst-strtod-round.c (struct exactness): New type.
25156         (struct test): Change bool ld_ok field to struct exactness exact.
25157         (TEST): Update all definitions for change to field.
25158         (tests): Regenerate array contents.
25159         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25160         field value.  Check for IBM long double here.
25161         (do_test): Update calls to test_in_one_mode.
25163 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25165         [BZ #12515]
25166         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25167         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25169 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25171         [BZ #15605]
25172         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25173         generated by the compiler on loop optimizations.
25174         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25175         general definitions.
25177 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25179         * math/bug-nextafter.c: Include <math-tests.h>.
25180         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25181         the relevant type.
25182         * math/bug-nexttoward.c: Include <math-tests.h>.
25183         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25184         the relevant type.
25185         * math/test-misc.c: Include <math-tests.h>.
25186         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25187         the relevant type.
25189 2013-06-12  Andreas Jaeger  <aj@suse.de>
25191         * po/ia.po: Update Interlingua translation from translation
25192         project.
25194 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25196         * include/fenv.h: Include stdbool.h.
25197         (struct rm_ctx): New structure.
25198         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25199         Define macro.
25200         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25201         (SET_RESTORE_ROUNDF): Likewise.
25202         (SET_RESTORE_ROUNDL): Likewise.
25203         (SET_RESTORE_ROUND_NOEX): Likewise.
25204         (SET_RESTORE_ROUND_NOEXF): Likewise.
25205         (SET_RESTORE_ROUND_NOEXL): Likewise.
25206         (SET_RESTORE_ROUND_53BIT): Likewise.
25207         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25208         (libc_feresetround_noexf_ctx): Likewise.
25209         (libc_feresetround_noexl_ctx): Likewise.
25210         (libc_feholdsetround_53bit_ctx): Likewise.
25211         (libc_feresetround_53bit_ctx): Likewise.
25212         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25213         (libc_feholdexcept_setround_sse_ctx): New function.
25214         (libc_fesetenv_sse_ctx): Likewise.
25215         (libc_feupdateenv_sse_ctx): Likewise.
25216         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25217         (libc_feholdexcept_setround_387_ctx): Likewise.
25218         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25219         (libc_feholdsetround_387_prec_ctx): Likewise.
25220         (libc_feholdsetround_387_ctx): Likewise.
25221         (libc_feholdsetround_387_53bit_ctx): Likewise.
25222         (libc_feholdsetround_sse_ctx): Likewise.
25223         (libc_feresetround_sse_ctx): Likewise.
25224         (libc_feresetround_387_ctx): Likewise.
25225         (libc_feupdateenv_387_ctx): Likewise.
25226         (libc_feholdexcept_setroundf_ctx): Define macro.
25227         (libc_fesetenvf_ctx): Likewise.
25228         (libc_feupdateenvf_ctx): Likewise.
25229         (libc_feholdsetroundf_ctx): Likewise.
25230         (libc_feresetroundf_ctx): Likewise.
25231         (libc_feholdexcept_setround_ctx): Likewise.
25232         (libc_fesetenv_ctx): Likewise.
25233         (libc_feupdateenv_ctx): Likewise.
25234         (libc_feholdsetround_ctx): Likewise.
25235         (libc_feresetround_ctx): Likewise.
25236         (libc_feholdexcept_setroundl_ctx): Likewise.
25237         (libc_feupdateenvl_ctx): Likewise.
25238         (libc_feholdsetroundl_ctx): Likewise.
25239         (libc_feresetroundl_ctx): Likewise.
25240         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25241         (libc_feresetround_53bit_ctx): Likewise.
25243 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25245         * locale/iso-639.def: Convert to UTF-8.
25247 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25249         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25250         (EXCEPTION_TESTS_double): Likewise.
25251         (EXCEPTION_TESTS_long_double): Likewise.
25252         (EXCEPTION_TESTS): Likewise.
25253         * math/libm-test.inc (test_exceptions): Only test exceptions if
25254         EXCEPTION_TESTS (FLOAT).
25256 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25258         * benchtests/Makefile (string-bench): Add strcpy_chk and
25259         stpcpy_chk.
25260         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25261         * benchtests/bench-stpcpy_chk.c: New file.
25262         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25263         * benchtests/bench-strcpy_chk.c: New file.
25264         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25265         code.
25266         (do_test): Likewise.
25268 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25270         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25271         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25272         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25273         with tabs where appropriate.
25274         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25275         dl-procinfo.h.
25276         [PPC_PLATFORM_PPC440]: Likewise.
25277         [PPC_PLATFORM_PPC464]: Likewise.
25278         [PPC_PLATFORM_PPC476]: Likewise.
25279         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25280         ppc464, and ppc476 platform strings merging from ports/
25281         dl-procinfo.h.
25283 2013-06-11  Andreas Schwab  <schwab@suse.de>
25285         [BZ #14991]
25286         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25287         (from_ucs4_idx): Regenerate.
25288         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25289         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25290         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25291         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25292         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25293         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25294         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25295         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25296         from FROM_LOOP and TO_LOOP specific macros.
25297         (BODY): Handle combining characters.
25298         * iconvdata/BIG5HKSCS.irreversible: Update.
25299         * iconvdata/BIG5HKSCS.precomposed: New file.
25300         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25301         characters.
25302         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25304 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25306         * include/sys/time.h: Fix indentation and add copyright header.
25308         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25309         (do_test): Likewise.
25310         * string/test-memchr.c (do_one_test): Likewise.
25311         (do_test): Likewise.
25312         * string/test-memcmp.c (do_one_test): Likewise.
25313         (do_test): Likewise.
25314         * string/test-memcpy.c (do_one_test): Likewise.
25315         (do_test): Likewise.
25316         * string/test-memmem.c (do_one_test): Likewise.
25317         (do_test): Likewise.
25318         (do_random_tests): Likewise.
25319         * string/test-memmove.c (do_one_test): Likewise.
25320         (do_test): Likewise.
25321         * string/test-memset.c (do_one_test): Likewise.
25322         (do_test): Likewise.
25323         * string/test-rawmemchr.c (do_one_test): Likewise.
25324         (do_test): Likewise.
25325         * string/test-strcasecmp.c (do_one_test): Likewise.
25326         (do_test): Likewise.
25327         * string/test-strcasestr.c (do_one_test): Likewise.
25328         (do_test): Likewise.
25329         * string/test-strcat.c (do_one_test): Likewise.
25330         (do_test): Likewise.
25331         * string/test-strchr.c (do_one_test): Likewise.
25332         (do_test): Likewise.
25333         * string/test-strcmp.c (do_one_test): Likewise.
25334         (do_test): Likewise.
25335         * string/test-strcpy.c (do_one_test): Likewise.
25336         (do_test): Likewise.
25337         * string/test-string.h: Likewise.
25338         (test_init): Likewise.
25339         * string/test-strlen.c (do_one_test): Likewise.
25340         (do_test): Likewise.
25341         * string/test-strncasecmp.c (do_one_test): Likewise.
25342         (do_test): Likewise.
25343         * string/test-strncat.c (do_one_test): Likewise.
25344         (do_test): Likewise.
25345         * string/test-strncmp.c (do_one_test): Likewise.
25346         (do_test_limit): Likewise.
25347         (do_test): Likewise.
25348         * string/test-strncpy.c (do_one_test): Likewise.
25349         (do_test): Likewise.
25350         * string/test-strnlen.c (do_one_test): Likewise.
25351         (do_test): Likewise.
25352         * string/test-strpbrk.c (do_one_test): Likewise.
25353         (do_test): Likewise.
25354         * string/test-strrchr.c (do_one_test): Likewise.
25355         (do_test): Likewise.
25356         * string/test-strspn.c (do_one_test): Likewise.
25357         (do_test): Likewise.
25358         * string/test-strstr.c (do_one_test): Likewise.
25359         (do_test): Likewise.
25361         * benchtests/Makefile (string-bench): Add string benchmarks.
25362         * benchtests/bench-bcopy-ifunc.c: New file.
25363         * benchtests/bench-bcopy.c: New file.
25364         * benchtests/bench-bzero-ifunc.c: New file.
25365         * benchtests/bench-bzero.c: New file.
25366         * benchtests/bench-memccpy-ifunc.c: New file.
25367         * benchtests/bench-memccpy.c: New file.
25368         * benchtests/bench-memchr-ifunc.c: New file.
25369         * benchtests/bench-memchr.c: New file.
25370         * benchtests/bench-memcmp-ifunc.c: New file.
25371         * benchtests/bench-memcmp.c: New file.
25372         * benchtests/bench-memmem-ifunc.c: New file.
25373         * benchtests/bench-memmem.c: New file.
25374         * benchtests/bench-memmove-ifunc.c: New file.
25375         * benchtests/bench-memmove.c: New file.
25376         * benchtests/bench-mempcpy-ifunc.c: New file.
25377         * benchtests/bench-mempcpy.c: New file.
25378         * benchtests/bench-memset-ifunc.c: New file.
25379         * benchtests/bench-memset.c: New file.
25380         * benchtests/bench-rawmemchr-ifunc.c: New file.
25381         * benchtests/bench-rawmemchr.c: New file.
25382         * benchtests/bench-stpcpy-ifunc.c: New file.
25383         * benchtests/bench-stpcpy.c: New file.
25384         * benchtests/bench-stpncpy-ifunc.c: New file.
25385         * benchtests/bench-stpncpy.c: New file.
25386         * benchtests/bench-strcasecmp-ifunc.c: New file.
25387         * benchtests/bench-strcasecmp.c: New file.
25388         * benchtests/bench-strcasestr-ifunc.c: New file.
25389         * benchtests/bench-strcasestr.c: New file.
25390         * benchtests/bench-strcat-ifunc.c: New file.
25391         * benchtests/bench-strcat.c: New file.
25392         * benchtests/bench-strchr-ifunc.c: New file.
25393         * benchtests/bench-strchr.c: New file.
25394         * benchtests/bench-strchrnul-ifunc.c: New file.
25395         * benchtests/bench-strchrnul.c: New file.
25396         * benchtests/bench-strcmp-ifunc.c: New file.
25397         * benchtests/bench-strcmp.c: New file.
25398         * benchtests/bench-strcpy-ifunc.c: New file.
25399         * benchtests/bench-strcpy.c: New file.
25400         * benchtests/bench-strcspn-ifunc.c: New file.
25401         * benchtests/bench-strcspn.c: New file.
25402         * benchtests/bench-strlen-ifunc.c: New file.
25403         * benchtests/bench-strlen.c: New file.
25404         * benchtests/bench-strncasecmp-ifunc.c: New file.
25405         * benchtests/bench-strncasecmp.c: New file.
25406         * benchtests/bench-strncat-ifunc.c: New file.
25407         * benchtests/bench-strncat.c: New file.
25408         * benchtests/bench-strncmp-ifunc.c: New file.
25409         * benchtests/bench-strncmp.c: New file.
25410         * benchtests/bench-strncpy-ifunc.c: New file.
25411         * benchtests/bench-strncpy.c: New file.
25412         * benchtests/bench-strnlen-ifunc.c: New file.
25413         * benchtests/bench-strnlen.c: New file.
25414         * benchtests/bench-strpbrk-ifunc.c: New file.
25415         * benchtests/bench-strpbrk.c: New file.
25416         * benchtests/bench-strrchr-ifunc.c: New file.
25417         * benchtests/bench-strrchr.c: New file.
25418         * benchtests/bench-strspn-ifunc.c: New file.
25419         * benchtests/bench-strspn.c: New file.
25420         * benchtests/bench-strstr-ifunc.c: New file.
25421         * benchtests/bench-strstr.c: New file.
25423         * benchtests/Makefile: Disable parallel execution of targets.
25424         (string-bench): Add memcpy.
25425         (benchset): New variable to store a list of benchmark sets.
25426         (bench-func): Renamed from bench.
25427         (bench-set): New target.
25428         (bench): Depend on bench-func and bench-set.
25429         * benchtests/README: Add section on benchmark sets.
25430         * benchtests/bench-memcpy-ifunc.c: New file.
25431         * benchtests/bench-memcpy.c: New file.
25432         * benchtests/bench-string.h: New file.
25434 2013-06-11  Andreas Schwab  <schwab@suse.de>
25436         [BZ #15577]
25437         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25438         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25439         values in the triple.
25440         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25441         terminator in the group key.
25443 2013-06-11  Andreas Jaeger  <aj@suse.de>
25445         * po/zh_TW.po: Update Chinese (traditional) translation from
25446         translation project.
25448 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25450         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25451         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25452         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25453         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25454         (clock_getcpuclockid): Likewise.
25455         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25456         Add weak_alias and libc_hidden_def.
25457         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25458         * rt/clock_gettime.c (clock_gettime): Rename to
25459         __clock_gettime.  Add weak_alias and libc_hidden_def.
25460         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25461         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25462         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25463         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25464         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25465         Likewise.
25466         * rt/clock_settime.c (clock_settime): Rename to
25467         __clock_settime.  Add weak_alias and libc_hidden_def.
25468         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25470 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25472         * mach/err_boot.sub: Remove trailing whitespace.
25473         * mach/err_ipc.sub: Likewise.
25474         * mach/err_mach.sub: Likewise.
25476         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25477         (ROUNDING_TESTS_double): Likewise.
25478         (ROUNDING_TESTS_long_double): Likewise.
25479         (ROUNDING_TESTS): Likewise.
25480         * math/libm-test.inc: Include <math-tests.h>.
25481         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25482         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25483         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25484         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25486 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25488         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25489         of assigning.
25491 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25493         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25494         otherwise empty TRANS lines.
25495         * sysdeps/gnu/errlist.c: Regenerated.
25497         * catgets/gencat.c (error_print): Use (void) in function
25498         definition.
25499         * crypt/crypt_util.c (__init_des): Likewise.
25500         * crypt/speeds.c (Stop): Likewise.
25501         (main): Likewise.
25502         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25503         * inet/ruserpass.c (token): Likewise.
25504         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25505         * intl/localealias.c (extend_alias_table): Likewise.
25506         * intl/plural-exp.c (init_germanic_plural): Likewise.
25507         * libio/fcloseall.c (__fcloseall): Likewise.
25508         * libio/genops.c (_IO_flush_all): Likewise.
25509         (_IO_flush_all_linebuffered): Likewise.
25510         (_IO_cleanup): Likewise.
25511         (_IO_iter_begin): Likewise.
25512         (_IO_iter_end): Likewise.
25513         (_IO_list_lock): Likewise.
25514         (_IO_list_unlock): Likewise.
25515         (_IO_list_resetlock): Likewise.
25516         * libio/getchar.c (getchar): Likewise.
25517         * libio/getchar_u.c (getchar_unlocked): Likewise.
25518         * libio/getwchar.c (getwchar): Likewise.
25519         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25520         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25521         * login/getpt.c (__getpt): Likewise.
25522         * login/tst-utmp.c (main): Likewise.
25523         * malloc/hooks.c (__malloc_check_init): Likewise.
25524         * malloc/malloc.c (__malloc_stats): Likewise.
25525         * malloc/mtrace.c (tr_break): Likewise.
25526         (mtrace): Likewise.
25527         (muntrace): Likewise.
25528         * misc/fstab.c (endfsent): Likewise.
25529         * misc/getclktck.c (__getclktck): Likewise.
25530         * misc/getdtsz.c (__getdtablesize): Likewise.
25531         * misc/gethostid.c (gethostid): Likewise.
25532         * misc/getpagesize.c (__getpagesize): Likewise.
25533         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25534         (__get_nprocs): Likewise.
25535         (__get_phys_pages): Likewise.
25536         (__get_avphys_pages): Likewise.
25537         * misc/getttyent.c (getttyent): Likewise.
25538         (setttyent): Likewise.
25539         (endttyent): Likewise.
25540         * misc/getusershell.c (getusershell): Likewise.
25541         (endusershell): Likewise.
25542         (setusershell): Likewise.
25543         (initshells): Likewise.
25544         * misc/hsearch.c (__hdestroy): Likewise.
25545         * misc/sync.c (sync): Likewise.
25546         * misc/syslog.c (closelog_internal): Likewise.
25547         (closelog): Likewise.
25548         * misc/ttyslot.c (ttyslot): Likewise.
25549         * misc/vhangup.c (vhangup): Likewise.
25550         * posix/fork.c (__fork): Likewise.
25551         * posix/getegid.c (__getegid): Likewise.
25552         * posix/geteuid.c (__geteuid): Likewise.
25553         * posix/getgid.c (__getgid): Likewise.
25554         * posix/getpid.c (__getpid): Likewise.
25555         * posix/getppid.c (__getppid): Likewise.
25556         * posix/getuid.c (__getuid): Likewise.
25557         * posix/pause.c (pause): Likewise.
25558         * posix/setpgrp.c (setpgrp): Likewise.
25559         * posix/setsid.c (__setsid): Likewise.
25560         * posix/test-vfork.c (noop): Likewise.
25561         * resolv/gethnamaddr.c (_endhtent): Likewise.
25562         (_gethtent): Likewise.
25563         (ht_endhostent): Likewise.
25564         (gethostent): Likewise.
25565         (dns_service): Likewise.
25566         * stdlib/drand48.c (drand48): Likewise.
25567         * stdlib/lrand48.c (lrand48): Likewise.
25568         * stdlib/mrand48.c (mrand48): Likewise.
25569         * stdlib/rand.c (rand): Likewise.
25570         * stdlib/random.c (__random): Likewise.
25571         * stdlib/setenv.c (clearenv): Likewise.
25572         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25573         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25574         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25575         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25576         (__get_nprocs): Likewise.
25577         (__get_phys_pages): Likewise.
25578         (__get_avphys_pages): Likewise.
25579         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25580         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25581         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25582         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25583         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25584         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25585         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25586         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25587         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25588         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25589         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25590         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25591         * sysdeps/posix/clock.c (clock): Likewise.
25592         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25593         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25594         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25595         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25596         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25597         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25598         (__get_nprocs_conf): Likewise.
25599         (__get_phys_pages): Likewise.
25600         (__get_avphys_pages): Likewise.
25601         * time/clock.c (clock): Likewise.
25602         * time/tzset.c (__tzname_max): Likewise.
25604 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25606         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25607         (__bswap_32): Do not use "register".
25608         * crypt/crypt.c (_ufc_doit_r): Likewise.
25609         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25610         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25611         * gmon/gmon.c (__monstartup): Likewise.
25612         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25613         * hurd/hurdmalloc.c (more_memory): Likewise.
25614         (malloc): Likewise.
25615         (free): Likewise.
25616         (realloc): Likewise.
25617         (malloc_fork_prepare): Likewise.
25618         (malloc_fork_parent): Likewise.
25619         (malloc_fork_child): Likewise.
25620         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25621         (_svcauth_des): Likewise.
25622         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25623         * inet/inet_net.c (inet_network): Likewise.
25624         * inet/inet_netof.c (inet_netof): Likewise.
25625         * inet/rcmd.c (__validuser2_sa): Likewise.
25626         * io/fts.c (fts_open): Likewise.
25627         (fts_load): Likewise.
25628         (fts_close): Likewise.
25629         (fts_read): Likewise.
25630         (fts_children): Likewise.
25631         (fts_build): Likewise.
25632         (fts_stat): Likewise.
25633         (fts_sort): Likewise.
25634         (fts_alloc): Likewise.
25635         (fts_lfree): Likewise.
25636         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25637         (_IO_file_xsgetn): Likewise.
25638         (_IO_file_xsgetn_mmap): Likewise.
25639         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25640         (_IO_cookie_write): Likewise.
25641         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25642         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25643         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25644         * malloc/obstack.c (_obstack_begin): Likewise.
25645         (_obstack_begin_1): Likewise.
25646         (_obstack_newchunk): Likewise.
25647         (_obstack_allocated_p): Likewise.
25648         (obstack_free): Likewise.
25649         (_obstack_memory_used): Likewise.
25650         * misc/getttyent.c (getttynam): Likewise.
25651         (getttyent): Likewise.
25652         (skip): Likewise.
25653         (value): Likewise.
25654         * misc/getusershell.c (initshells): Likewise.
25655         * misc/syslog.c (__vsyslog_chk): Likewise.
25656         * misc/ttyslot.c (ttyslot): Likewise.
25657         * nis/nis_hash.c (__nis_hash): Likewise.
25658         * posix/fnmatch_loop.c (FCT): Likewise.
25659         * posix/getconf.c (print_all): Likewise.
25660         (main): Likewise.
25661         * posix/getopt.c (exchange): Likewise.
25662         * posix/glob.c (globfree): Likewise.
25663         (prefix_array): Likewise.
25664         (__glob_pattern_type): Likewise.
25665         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25666         (NS_GET32): Likewise.
25667         (NS_PUT16): Likewise.
25668         (NS_PUT32): Likewise.
25669         * resolv/gethnamaddr.c (getanswer): Likewise.
25670         (gethostbyname2): Likewise.
25671         (gethostbyaddr): Likewise.
25672         (_gethtent): Likewise.
25673         (_gethtbyname2): Likewise.
25674         (_gethtbyaddr): Likewise.
25675         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25676         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25677         * resolv/res_init.c (__res_vinit): Likewise.
25678         (net_mask): Likewise.
25679         * resolv/res_mkquery.c (outchar): Likewise.
25680         (PRINT): Likewise.
25681         * stdio-common/printf_fp.c (outchar): Likewise.
25682         (PRINT): Likewise.
25683         * stdio-common/printf_fphex.c (outchar): Likewise.
25684         (PRINT): Likewise.
25685         * stdio-common/printf_size.c (outchar): Likewise.
25686         (PRINT): Likewise.
25687         * stdio-common/test_rdwr.c (main): Likewise.
25688         * stdio-common/tfformat.c (matches): Likewise.
25689         * stdio-common/vfprintf.c (outchar): Likewise.
25690         (printf_unknown): Likewise.
25691         (buffered_vfprintf): Likewise.
25692         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25693         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25694         (ReadFile): Likewise.
25695         * stdlib/qsort.c (SWAP): Likewise.
25696         (_quicksort): Likewise.
25697         * stdlib/setenv.c (__add_to_environ): Likewise.
25698         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25699         * stdlib/strtol_l.c (__strtol_l): Likewise.
25700         * stdlib/tst-strtod.c (main): Likewise.
25701         * stdlib/tst-strtol.c (main): Likewise.
25702         * stdlib/tst-strtoll.c (main): Likewise.
25703         * string/bits/string2.h (__strcmp_cc): Likewise.
25704         (__strcmp_cg): Likewise.
25705         (__strcspn_c1): Likewise.
25706         (__strcspn_c2): Likewise.
25707         (__strcspn_c3): Likewise.
25708         (__strspn_c1): Likewise.
25709         (__strspn_c2): Likewise.
25710         (__strspn_c3): Likewise.
25711         (__strsep_1c): Likewise.
25712         (__strsep_2c): Likewise.
25713         (__strsep_3c): Likewise.
25714         * string/memccpy.c (__memccpy): Likewise.
25715         * string/stpcpy.c (__stpcpy): Likewise.
25716         * string/strcmp.c (strcmp): Likewise.
25717         * string/strrchr.c (strrchr): Likewise.
25718         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25719         Likewise.
25720         * sysdeps/mach/hurd/getcwd.c
25721         (_hurd_canonicalize_directory_name_internal): Likewise.
25722         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25723         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25724         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25725         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25726         Likewise, in both definitions.
25727         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25728         definitions.
25729         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25730         64] (__bswap_64): Likewise.
25731         * time/test_time.c (main): Likewise.
25732         * time/tzfile.c (__tzfile_read): Likewise.
25733         (__tzfile_compute): Likewise.
25734         * time/tzset.c (__tzset_parse_tz): Likewise.
25735         (tzset_internal): Likewise.
25736         (compute_change): Likewise.
25737         * wcsmbs/wcscat.c (__wcscat): Likewise.
25738         * wcsmbs/wcschr.c (wcschr): Likewise.
25739         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25740         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25741         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25742         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25743         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25744         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25745         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25746         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25747         * wcsmbs/wmemset.c (wmemset): Likewise.
25749 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25751         * scripts/config.guess: Update to version 2013-05-16.
25752         * scripts/config.sub: Update to version 2013-04-24.
25753         * scripts/install-sh: Update to version 2011-11-20.07.
25754         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25755         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25757 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25759         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25760         * elf/sln.c: Likewise.
25761         * hurd/hurd/ioctl.h: Likewise.
25762         * hurd/hurdmalloc.c: Likewise.
25763         * hurd/xattr.c: Likewise.
25764         * include/shlib-compat.h: Likewise.
25765         * inet/ruserpass.c: Likewise.
25766         * libio/iofgets_u.c: Likewise.
25767         * libio/iofgetws_u.c: Likewise.
25768         * locale/programs/ld-identification.c: Likewise.
25769         * locale/programs/ld-time.c: Likewise.
25770         * mach/msg-destroy.c: Likewise.
25771         * nss/nss_files/files-netgrp.c: Likewise.
25772         * resolv/res_data.c: Likewise.
25773         * soft-fp/op-1.h: Likewise.
25774         * soft-fp/op-2.h: Likewise.
25775         * soft-fp/op-4.h: Likewise.
25776         * soft-fp/op-common.h: Likewise.
25777         * stdio-common/printf_fphex.c: Likewise.
25778         * stdlib/strtod_l.c: Likewise.
25779         * sunrpc/rpc/clnt.h: Likewise.
25780         * sysdeps/generic/framestate.c: Likewise.
25781         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25782         * sysdeps/i386/bsd-setjmp.S: Likewise.
25783         * sysdeps/i386/__longjmp.S: Likewise.
25784         * sysdeps/i386/setjmp.S: Likewise.
25785         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25786         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25787         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25788         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25789         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25790         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25791         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25792         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25793         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25795         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25796         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25797         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25798         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25799         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25800         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25801         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25802         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25803         * sysdeps/ieee754/support.c: Likewise.
25804         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25805         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25806         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25807         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25808         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25809         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25810         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25811         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25812         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25813         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25814         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25815         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25816         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25817         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25818         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25819         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25820         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25823 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25825         * posix/transbug.c: Remove executable mode.
25827 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25829         * crypt/speeds.c: Remove trailing whitespace.
25830         * dlfcn/default.c: Likewise.
25831         * elf/ifuncdep2.c: Likewise.
25832         * elf/ifuncmain1.c: Likewise.
25833         * elf/ifuncmain1vis.c: Likewise.
25834         * elf/testobj.h: Likewise.
25835         * elf/tst-stackguard1.c: Likewise.
25836         * gmon/sys/gmon.h: Likewise.
25837         * hurd/hurdmsg.c: Likewise.
25838         * hurd/new-fd.c: Likewise.
25839         * hurd/ports-get.c: Likewise.
25840         * iconvdata/ibm1008_420.c: Likewise.
25841         * inet/tst-getni1.c: Likewise.
25842         * inet/tst-getni2.c: Likewise.
25843         * libio/ioungetc.c: Likewise.
25844         * libio/wfiledoalloc.c: Likewise.
25845         * manual/libm-err-tab.pl: Likewise.
25846         * math/w_dremf.c: Likewise.
25847         * misc/ftruncate.c: Likewise.
25848         * posix/bug-glob2.c: Likewise.
25849         * posix/tst-pcre.c: Likewise.
25850         * posix/wait4.c: Likewise.
25851         * resolv/README: Likewise.
25852         * resolv/res_debug.h: Likewise.
25853         * resolv/tst-inet_ntop.c: Likewise.
25854         * setjmp/bug269-setjmp.c: Likewise.
25855         * soft-fp/extended.h: Likewise.
25856         * soft-fp/op-1.h: Likewise.
25857         * soft-fp/op-2.h: Likewise.
25858         * soft-fp/op-4.h: Likewise.
25859         * soft-fp/op-8.h: Likewise.
25860         * soft-fp/testit.c: Likewise.
25861         * stdio-common/bug16.c: Likewise.
25862         * stdlib/random.c: Likewise.
25863         * sunrpc/rpcsvc/rquota.x: Likewise.
25864         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25865         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25866         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25867         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25868         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25869         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25870         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25871         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25872         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25873         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25874         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25875         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25876         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25877         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25878         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25879         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25880         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25881         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25882         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25883         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25884         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25885         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25886         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25887         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25888         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25889         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25890         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25891         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25893         * sysdeps/ieee754/s_lib_version.c: Likewise.
25894         * sysdeps/mach/hurd/check_fds.c: Likewise.
25895         * sysdeps/mach/hurd/getsockname.c: Likewise.
25896         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25897         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25898         * sysdeps/powerpc/bits/link.h: Likewise.
25899         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25900         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25901         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25902         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25903         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25904         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25905         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25906         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25907         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25908         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25909         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25910         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25911         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25912         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25913         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25914         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25915         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25916         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25917         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25918         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25919         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25920         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25922         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25923         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25924         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25925         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25926         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25927         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25928         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25929         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25930         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25931         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25932         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25933         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25934         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25935         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25936         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25937         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25938         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25939         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25940         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25941         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25942         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25943         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25944         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25945         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25946         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25947         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25948         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25949         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25950         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25951         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25952         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25953         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25954         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25955         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25956         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25957         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25958         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25959         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25960         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25961         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25962         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25963         * sysdeps/powerpc/sysdep.h: Likewise.
25964         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25965         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25966         * sysdeps/sh/dl-trampoline.S: Likewise.
25967         * sysdeps/sh/memset.S: Likewise.
25968         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25969         * sysdeps/sh/strlen.S: Likewise.
25970         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25971         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25972         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25973         * sysdeps/sparc/sparc32/rem.S: Likewise.
25974         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25975         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25976         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25977         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25978         * sysdeps/sparc/sparc32/urem.S: Likewise.
25979         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25980         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25981         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25982         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25983         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25984         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25985         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25986         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25987         * sysdeps/unix/bsd/times.c: Likewise.
25988         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25989         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25993         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25994         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25995         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25996         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25997         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25998         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25999         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26000         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26001         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26002         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26003         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26004         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26005         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26006         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26007         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26008         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26009         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26010         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26011         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26012         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26013         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26014         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26015         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26016         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26017         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26018         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26019         * sysdeps/x86_64/strcspn.S: Likewise.
26021 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26023         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26024         generated file.  Regenerate properly from gen-translit.pl.
26025         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26026         locale/C-translit.h.
26028 2013-06-05  Andreas Schwab  <schwab@suse.de>
26030         [BZ #15100]
26031         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26032         week as 6 instead of -1.
26033         * time/tst-strptime.c (day_tests): Add test case.
26035 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26037         * sysdeps/generic/math_private.h
26038         (libc_feholdexcept_setround_53bit): Replace with
26039         libc_feholdsetround_53bit.
26040         (libc_feupdateenv_53bit): Replace with
26041         libc_feresetround_53bit.
26042         (SET_RESTORE_ROUND_53BIT): Adjust.
26044 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26046         * string/test-strchrnul.c: Add copyright header.
26048         * posix/tst-getaddrinfo4.c: Increase test timeout.
26050 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26052         [BZ #15536]
26053         * math/libm-test.inc (MAX_EXP): Remove
26054         (MIN_EXP): Define.
26055         (ulp): Use MIN_EXP - MANT_DIG.
26056         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26058 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26060         * po/be.po: Revert last change.
26061         * po/zh_CN.po: Likewise.
26062         * po/header.pot: Likewise.
26064 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26066         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26067         link-libc-deps to empty as target-specific variable.
26068         * Makerules (link-libc-args): New variable.
26069         (libc-for-link): Likewise.
26070         (link-libc-deps): Likewise.
26071         (lib%.so): Depend on $(link-libc-deps).  Link with
26072         $(link-libc-args).
26073         (build-module): Link with $(link-libc-args).
26074         (build-module-asneeded): Likewise.
26075         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26076         list of objects.
26077         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26078         target-specific variable.
26079         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26080         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26081         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26082         libc.
26083         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26084         libc and ld.so.
26085         ($(objpfx)libpcprofile.so): Likewise.
26086         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26087         libc_nonshared.a.
26088         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26089         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26090         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26091         $(link-libc-deps).
26092         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26093         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26094         * login/Makefile ($(objpfx)libutil.so): Likewise.
26095         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26096         * math/Makefile ($(objpfx)libm.so): Likewise.
26097         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26098         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26099         variable instead of depending directly on libc.
26100         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26101         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26102         $(link-libc-deps).
26103         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26104         libc.
26105         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26106         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26107         ($(objpfx)libanl.so): Likewise.
26108         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26109         ld.so.
26110         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26111         $(link-libc-deps).
26112         * sysdeps/i386/fpu/Makefile: Remove file.
26113         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26114         ($(objpfx)libm.so): Remove dependency on ld.so.
26116 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26118         [BZ # 15553]
26119         * nis/yp_xdr.c (XDRMAXNAME): Define.
26120         (XDRMAXRECORD): Define.
26121         (xdr_domainname): Use XDRMAXNAME.
26122         (xdr_mapname): Likewise.
26123         (xdr_peername): Likewise.
26124         (xdr_keydat): Use XDRMAXRECORD.
26125         (xdr_valdat): Likewise.
26127 2013-05-30  Jeff Law  <law@redhat.com>
26129         [BZ #14256]
26130         * manual/errno.texi (ESTALE): Update to account for more than
26131         just NFS file systems.
26132         * sysdeps/gnu/errlist.c: Regenerated.
26134 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26136         [BZ #15465]
26137         * elf/Makefile (tests): Add tst-null-argv.
26138         (modules-names):  Add tst-null-argv-lib.
26139         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26140         (tst-null-argv-ENV): Set environment for tst-null-argv.
26141         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26142         (RTLD_PROGNAME): New macro.
26143         * elf/tst-null-argv.c: New test case.
26144         * elf/tst-null-argv-lib.c: Library for test case.
26145         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26146         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26147         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26148         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26149         * elf/dl-init.c (call_init): Likewise.
26150         (_dl_init): Likewise.
26151         * elf/dl-load.c (print_search_path): Likewise.
26152         (_dl_map_object): Likewise.
26153         * elf/dl-lookup.c (do_lookup_x): Likewise.
26154         (add_dependency): Likewise.
26155         (_dl_lookup_symbol_x): Likewise.
26156         (_dl_debug_bindings): Likewise.
26157         * elf/dl-open.c (_dl_show_scope): Likewise.
26158         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26159         * elf/dl-version.c (match_symbol): Likewise.
26160         (_dl_check_map_versions): Likewise.
26161         * elf/rtld.c (dl_main): Likewise.
26162         (print_unresolved): Use RTLD_PROGNAME.
26163         (print_missing_version): Likewise.
26164         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26165         (elf_machine_rela): Likewise.
26166         * sysdeps/powerpc/powerpc32/dl-machine.c
26167         (__process_machine_rela): Likewise.
26168         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26169         Likewise.
26170         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26171         Likewise.
26172         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26173         Likewise.
26174         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26175         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26176         Likewise.
26177         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26178         Likewise.
26179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26181 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26183         * po/be.po: Add descriptive title.
26184         * po/zh_CN.po: Likewise.
26185         * po/header.pot: Likewise.
26187 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26189         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26190         error message.
26191         (enlarge_archive): Likewise.
26193 2013-05-28  Ben North  <ben@redfrontdoor.org>
26195         * manual/arith.texi (frexp): It is the magnitude of the return
26196         value which lies in [0.5, 1), not the return value itself.
26198 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26202 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26204         * stdio-common/bug26.c (main): Correct fscanf template.
26206         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26207         declare _dl_skip_args.
26209         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26210         Don't declare.
26212         * manual/platform.texi: Add missing @end deftypefun.
26214 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26216         [BZ #15529]
26217         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26218         bit of mantissa of 2^16382.
26219         * math/libm-test.inc (hypot_test_data): Add more tests.
26221         * math/libm-test.inc: Add drem and pow10 to list of tested
26222         functions.
26223         (pow10_test): New function.
26224         (drem_test): Likewise.
26225         (drem_test_tonearest): Likewise.
26226         (drem_test_towardzero): Likewise.
26227         (drem_test_downward): Likewise.
26228         (drem_test_upward): Likewise.
26229         (main): Call the new functions.
26231         * math/libm-test.inc (finite_test_data): Remove.
26232         (finite_test): Run tests from isfinite_test_data.
26233         (gamma_test_data): Remove.
26234         (gamma_test): Run tests from lgamma_test_data.
26235         * sysdeps/i386/fpu/libm-test-ulps: Update.
26236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26238 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26240         * manual/platform.texi: Add PowerPC PPR function set documentation.
26241         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26242         implementation.
26244 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26246         * math/libm-test.inc (MAX_EXP): Define.
26247         (ULPDIFF): Define.
26248         (ulp): New function.
26249         (check_float_internal): Use ULPDIFF.
26250         (cpow_test): Disable failing test.
26251         (check_ulp): Test ulp() implemetnation.
26252         (main): Call check_ulp before starting tests.
26254 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26256         * math/gen-libm-test.pl (generate_testfile): Do not handle
26257         START_DATA and END_DATA.
26258         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26259         END_DATA.
26260         (acos_tonearest_test_data): Likewise.
26261         (acos_towardzero_test_data): Likewise.
26262         (acos_downward_test_data): Likewise.
26263         (acos_upward_test_data): Likewise.
26264         (acosh_test_data): Likewise.
26265         (asin_test_data): Likewise.
26266         (asin_tonearest_test_data): Likewise.
26267         (asin_towardzero_test_data): Likewise.
26268         (asin_downward_test_data): Likewise.
26269         (asin_upward_test_data): Likewise.
26270         (asinh_test_data): Likewise.
26271         (atan_test_data): Likewise.
26272         (atanh_test_data): Likewise.
26273         (atan2_test_data): Likewise.
26274         (cabs_test_data): Likewise.
26275         (cacos_test_data): Likewise.
26276         (cacosh_test_data): Likewise.
26277         (carg_test_data): Likewise.
26278         (casin_test_data): Likewise.
26279         (casinh_test_data): Likewise.
26280         (catan_test_data): Likewise.
26281         (catanh_test_data): Likewise.
26282         (cbrt_test_data): Likewise.
26283         (ccos_test_data): Likewise.
26284         (ccosh_test_data): Likewise.
26285         (ceil_test_data): Likewise.
26286         (cexp_test_data): Likewise.
26287         (cimag_test_data): Likewise.
26288         (clog_test_data): Likewise.
26289         (clog10_test_data): Likewise.
26290         (conj_test_data): Likewise.
26291         (copysign_test_data): Likewise.
26292         (cos_test_data): Likewise.
26293         (cos_tonearest_test_data): Likewise.
26294         (cos_towardzero_test_data): Likewise.
26295         (cos_downward_test_data): Likewise.
26296         (cos_upward_test_data): Likewise.
26297         (cosh_test_data): Likewise.
26298         (cosh_tonearest_test_data): Likewise.
26299         (cosh_towardzero_test_data): Likewise.
26300         (cosh_downward_test_data): Likewise.
26301         (cosh_upward_test_data): Likewise.
26302         (cpow_test_data): Likewise.
26303         (cproj_test_data): Likewise.
26304         (creal_test_data): Likewise.
26305         (csin_test_data): Likewise.
26306         (csinh_test_data): Likewise.
26307         (csqrt_test_data): Likewise.
26308         (ctan_test_data): Likewise.
26309         (ctan_tonearest_test_data): Likewise.
26310         (ctan_towardzero_test_data): Likewise.
26311         (ctan_downward_test_data): Likewise.
26312         (ctan_upward_test_data): Likewise.
26313         (ctanh_test_data): Likewise.
26314         (ctanh_tonearest_test_data): Likewise.
26315         (ctanh_towardzero_test_data): Likewise.
26316         (ctanh_downward_test_data): Likewise.
26317         (ctanh_upward_test_data): Likewise.
26318         (erf_test_data): Likewise.
26319         (erfc_test_data): Likewise.
26320         (exp_test_data): Likewise.
26321         (exp_tonearest_test_data): Likewise.
26322         (exp_towardzero_test_data): Likewise.
26323         (exp_downward_test_data): Likewise.
26324         (exp_upward_test_data): Likewise.
26325         (exp10_test_data): Likewise.
26326         (exp2_test_data): Likewise.
26327         (expm1_test_data): Likewise.
26328         (fabs_test_data): Likewise.
26329         (fdim_test_data): Likewise.
26330         (finite_test_data): Likewise.
26331         (floor_test_data): Likewise.
26332         (fma_test_data): Likewise.
26333         (fma_towardzero_test_data): Likewise.
26334         (fma_downward_test_data): Likewise.
26335         (fma_upward_test_data): Likewise.
26336         (fmax_test_data): Likewise.
26337         (fmin_test_data): Likewise.
26338         (fmod_test_data): Likewise.
26339         (fpclassify_test_data): Likewise.
26340         (frexp_test_data): Likewise.
26341         (gamma_test_data): Likewise.
26342         (hypot_test_data): Likewise.
26343         (ilogb_test_data): Likewise.
26344         (isfinite_test_data): Likewise.
26345         (isgreater_test_data): Likewise.
26346         (isgreaterequal_test_data): Likewise.
26347         (isinf_test_data): Likewise.
26348         (isless_test_data): Likewise.
26349         (islessequal_test_data): Likewise.
26350         (islessgreater_test_data): Likewise.
26351         (isnan_test_data): Likewise.
26352         (isnormal_test_data): Likewise.
26353         (issignaling_test_data): Likewise.
26354         (isunordered_test_data): Likewise.
26355         (j0_test_data): Likewise.
26356         (j1_test_data): Likewise.
26357         (jn_test_data): Likewise.
26358         (ldexp_test_data): Likewise.
26359         (lgamma_test_data): Likewise.
26360         (lrint_test_data): Likewise.
26361         (lrint_tonearest_test_data): Likewise.
26362         (lrint_towardzero_test_data): Likewise.
26363         (lrint_downward_test_data): Likewise.
26364         (lrint_upward_test_data): Likewise.
26365         (llrint_test_data): Likewise.
26366         (llrint_tonearest_test_data): Likewise.
26367         (llrint_towardzero_test_data): Likewise.
26368         (llrint_downward_test_data): Likewise.
26369         (llrint_upward_test_data): Likewise.
26370         (log_test_data): Likewise.
26371         (log10_test_data): Likewise.
26372         (log1p_test_data): Likewise.
26373         (log2_test_data): Likewise.
26374         (logb_test_data): Likewise.
26375         (logb_downward_test_data): Likewise.
26376         (lround_test_data): Likewise.
26377         (llround_test_data): Likewise.
26378         (modf_test_data): Likewise.
26379         (nearbyint_test_data): Likewise.
26380         (nextafter_test_data): Likewise.
26381         (nexttoward_test_data): Likewise.
26382         (pow_test_data): Likewise.
26383         (pow_tonearest_test_data): Likewise.
26384         (pow_towardzero_test_data): Likewise.
26385         (pow_downward_test_data): Likewise.
26386         (pow_upward_test_data): Likewise.
26387         (remainder_test_data): Likewise.
26388         (remainder_tonearest_test_data): Likewise.
26389         (remainder_towardzero_test_data): Likewise.
26390         (remainder_downward_test_data): Likewise.
26391         (remainder_upward_test_data): Likewise.
26392         (remquo_test_data): Likewise.
26393         (rint_test_data): Likewise.
26394         (rint_tonearest_test_data): Likewise.
26395         (rint_towardzero_test_data): Likewise.
26396         (rint_downward_test_data): Likewise.
26397         (rint_upward_test_data): Likewise.
26398         (round_test_data): Likewise.
26399         (scalb_test_data): Likewise.
26400         (scalbn_test_data): Likewise.
26401         (scalbln_test_data): Likewise.
26402         (signbit_test_data): Likewise.
26403         (sin_test_data): Likewise.
26404         (sin_tonearest_test_data): Likewise.
26405         (sin_towardzero_test_data): Likewise.
26406         (sin_downward_test_data): Likewise.
26407         (sin_upward_test_data): Likewise.
26408         (sincos_test_data): Likewise.
26409         (sinh_test_data): Likewise.
26410         (sinh_tonearest_test_data): Likewise.
26411         (sinh_towardzero_test_data): Likewise.
26412         (sinh_downward_test_data): Likewise.
26413         (sinh_upward_test_data): Likewise.
26414         (sqrt_test_data): Likewise.
26415         (tan_test_data): Likewise.
26416         (tan_tonearest_test_data): Likewise.
26417         (tan_towardzero_test_data): Likewise.
26418         (tan_downward_test_data): Likewise.
26419         (tan_upward_test_data): Likewise.
26420         (tanh_test_data): Likewise.
26421         (tgamma_test_data): Likewise.
26422         (trunc_test_data): Likewise.
26423         (y0_test_data): Likewise.
26424         (y1_test_data): Likewise.
26425         (yn_test_data): Likewise.
26426         (significand_test_data): Likewise.
26428         * math/gen-libm-test.pl (@functions): Remove variable.
26429         (generate_testfile): Don't handle START and END lines.
26430         * math/libm-test.inc (START): New macro.
26431         (END): Likewise.
26432         (END_COMPLEX): Likewise.
26433         (acos_test): Use END macro without arguments.
26434         (acos_test_tonearest): Likewise.
26435         (acos_test_towardzero): Likewise.
26436         (acos_test_downward): Likewise.
26437         (acos_test_upward): Likewise.
26438         (acosh_test): Likewise.
26439         (asin_test): Likewise.
26440         (asin_test_tonearest): Likewise.
26441         (asin_test_towardzero): Likewise.
26442         (asin_test_downward): Likewise.
26443         (asin_test_upward): Likewise.
26444         (asinh_test): Likewise.
26445         (atan_test): Likewise.
26446         (atanh_test): Likewise.
26447         (atan2_test): Likewise.
26448         (cabs_test): Likewise.
26449         (cacos_test): Use END_COMPLEX macro without arguments.
26450         (cacosh_test): Likewise.
26451         (carg_test): Use END macro without arguments.
26452         (casin_test): Use END_COMPLEX macro without arguments.
26453         (casinh_test): Likewise.
26454         (catan_test): Likewise.
26455         (catanh_test): Likewise.
26456         (cbrt_test): Use END macro without arguments.
26457         (ccos_test): Use END_COMPLEX macro without arguments.
26458         (ccosh_test): Likewise.
26459         (ceil_test): Use END macro without arguments.
26460         (cexp_test): Use END_COMPLEX macro without arguments.
26461         (cimag_test): Use END macro without arguments.
26462         (clog_test): Use END_COMPLEX macro without arguments.
26463         (clog10_test): Likewise.
26464         (conj_test): Likewise.
26465         (copysign_test): Use END macro without arguments.
26466         (cos_test): Likewise.
26467         (cos_test_tonearest): Likewise.
26468         (cos_test_towardzero): Likewise.
26469         (cos_test_downward): Likewise.
26470         (cos_test_upward): Likewise.
26471         (cosh_test): Likewise.
26472         (cosh_test_tonearest): Likewise.
26473         (cosh_test_towardzero): Likewise.
26474         (cosh_test_downward): Likewise.
26475         (cosh_test_upward): Likewise.
26476         (cpow_test): Use END_COMPLEX macro without arguments.
26477         (cproj_test): Likewise.
26478         (creal_test): Use END macro without arguments.
26479         (csin_test): Use END_COMPLEX macro without arguments.
26480         (csinh_test): Likewise.
26481         (csqrt_test): Likewise.
26482         (ctan_test): Likewise.
26483         (ctan_test_tonearest): Likewise.
26484         (ctan_test_towardzero): Likewise.
26485         (ctan_test_downward): Likewise.
26486         (ctan_test_upward): Likewise.
26487         (ctanh_test): Likewise.
26488         (ctanh_test_tonearest): Likewise.
26489         (ctanh_test_towardzero): Likewise.
26490         (ctanh_test_downward): Likewise.
26491         (ctanh_test_upward): Likewise.
26492         (erf_test): Use END macro without arguments.
26493         (erfc_test): Likewise.
26494         (exp_test): Likewise.
26495         (exp_test_tonearest): Likewise.
26496         (exp_test_towardzero): Likewise.
26497         (exp_test_downward): Likewise.
26498         (exp_test_upward): Likewise.
26499         (exp10_test): Likewise.
26500         (exp2_test): Likewise.
26501         (expm1_test): Likewise.
26502         (fabs_test): Likewise.
26503         (fdim_test): Likewise.
26504         (finite_test): Likewise.
26505         (floor_test): Likewise.
26506         (fma_test): Likewise.
26507         (fma_test_towardzero): Likewise.
26508         (fma_test_downward): Likewise.
26509         (fma_test_upward): Likewise.
26510         (fmax_test): Likewise.
26511         (fmin_test): Likewise.
26512         (fmod_test): Likewise.
26513         (fpclassify_test): Likewise.
26514         (frexp_test): Likewise.
26515         (gamma_test): Likewise.
26516         (hypot_test): Likewise.
26517         (ilogb_test): Likewise.
26518         (isfinite_test): Likewise.
26519         (isgreater_test): Likewise.
26520         (isgreaterequal_test): Likewise.
26521         (isinf_test): Likewise.
26522         (isless_test): Likewise.
26523         (islessequal_test): Likewise.
26524         (islessgreater_test): Likewise.
26525         (isnan_test): Likewise.
26526         (isnormal_test): Likewise.
26527         (issignaling_test): Likewise.
26528         (isunordered_test): Likewise.
26529         (j0_test): Likewise.
26530         (j1_test): Likewise.
26531         (jn_test): Likewise.
26532         (ldexp_test): Likewise.
26533         (lgamma_test): Likewise.
26534         (lrint_test): Likewise.
26535         (lrint_test_tonearest): Likewise.
26536         (lrint_test_towardzero): Likewise.
26537         (lrint_test_downward): Likewise.
26538         (lrint_test_upward): Likewise.
26539         (llrint_test): Likewise.
26540         (llrint_test_tonearest): Likewise.
26541         (llrint_test_towardzero): Likewise.
26542         (llrint_test_downward): Likewise.
26543         (llrint_test_upward): Likewise.
26544         (log_test): Likewise.
26545         (log10_test): Likewise.
26546         (log1p_test): Likewise.
26547         (log2_test): Likewise.
26548         (logb_test): Likewise.
26549         (logb_test_downward): Likewise.
26550         (lround_test): Likewise.
26551         (llround_test): Likewise.
26552         (modf_test): Likewise.
26553         (nearbyint_test): Likewise.
26554         (nextafter_test): Likewise.
26555         (nexttoward_test): Likewise.
26556         (pow_test): Likewise.
26557         (pow_test_tonearest): Likewise.
26558         (pow_test_towardzero): Likewise.
26559         (pow_test_downward): Likewise.
26560         (pow_test_upward): Likewise.
26561         (remainder_test): Likewise.
26562         (remainder_test_tonearest): Likewise.
26563         (remainder_test_towardzero): Likewise.
26564         (remainder_test_downward): Likewise.
26565         (remainder_test_upward): Likewise.
26566         (remquo_test): Likewise.
26567         (rint_test): Likewise.
26568         (rint_test_tonearest): Likewise.
26569         (rint_test_towardzero): Likewise.
26570         (rint_test_downward): Likewise.
26571         (rint_test_upward): Likewise.
26572         (round_test): Likewise.
26573         (scalb_test): Likewise.
26574         (scalbn_test): Likewise.
26575         (scalbln_test): Likewise.
26576         (signbit_test): Likewise.
26577         (sin_test): Likewise.
26578         (sin_test_tonearest): Likewise.
26579         (sin_test_towardzero): Likewise.
26580         (sin_test_downward): Likewise.
26581         (sin_test_upward): Likewise.
26582         (sincos_test): Likewise.
26583         (sinh_test): Likewise.
26584         (sinh_test_tonearest): Likewise.
26585         (sinh_test_towardzero): Likewise.
26586         (sinh_test_downward): Likewise.
26587         (sinh_test_upward): Likewise.
26588         (sqrt_test): Likewise.
26589         (tan_test): Likewise.
26590         (tan_test_tonearest): Likewise.
26591         (tan_test_towardzero): Likewise.
26592         (tan_test_downward): Likewise.
26593         (tan_test_upward): Likewise.
26594         (tanh_test): Likewise.
26595         (tgamma_test): Likewise.
26596         (trunc_test): Likewise.
26597         (y0_test): Likewise.
26598         (y1_test): Likewise.
26599         (yn_test): Likewise.
26600         (significand_test): Likewise.
26602 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26604         [BZ #15381]
26605         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26607 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26609         [BZ #14894]
26610         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26611         __ppc_mdoio and __ppc_mdoom.
26612         * manual/platform.texi: Document new functions __ppc_yield,
26613         __ppc_mdoio and __ppc_mdoom.
26615 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26617         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26618         (main): Mention "tls" pseudo-hwcap is legacy.
26619         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26621 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26623         * math/gen-libm-test.pl (parse_args): Output only string of
26624         arguments as text for test name, not full call or descriptions of
26625         tests for extra outputs.
26626         (generate_testfile): Do not pass function name to parse_args.
26627         Generate this_func variable from START.
26628         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26629         field to arg_str.
26630         (struct test_ff_f_data): Likewise.
26631         (test_ff_f_data_nexttoward): Likewise.
26632         (struct test_fi_f_data): Likewise.
26633         (struct test_fl_f_data): Likewise.
26634         (struct test_if_f_data): Likewise.
26635         (struct test_fff_f_data): Likewise.
26636         (struct test_c_f_data): Likewise.
26637         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26638         (struct test_fF_f1_data): Likewise.
26639         (struct test_ffI_f1_data): Likewise.
26640         (struct test_c_c_data): Rename test_name field to arg_str.
26641         (struct test_cc_c_data): Likewise.
26642         (struct test_f_i_data): Likewise.
26643         (struct test_ff_i_data): Likewise.
26644         (struct test_f_l_data): Likewise.
26645         (struct test_f_L_data): Likewise.
26646         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26647         and extra2_name.
26648         (COMMON_TEST_SETUP): New macro.
26649         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26650         (COMMON_TEST_CLEANUP): Likewise.
26651         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26652         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26653         macros.
26654         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26655         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26656         macros.
26657         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26658         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26659         cleanup macros.
26660         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26661         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26662         macros.
26663         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26664         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26665         macros.
26666         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26667         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26668         cleanup macros.
26669         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26670         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26671         cleanup macros.
26672         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26673         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26674         cleanup macros.
26675         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26676         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26677         macros.
26678         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26679         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26680         macros.
26681         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26682         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26683         macros.
26684         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26685         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26686         cleanup macros.
26687         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26688         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26689         cleanup macros.
26690         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26691         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26692         macros.
26693         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26694         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26695         cleanup macros.
26696         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26697         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26698         macros.
26699         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26700         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26701         macros.
26702         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26703         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26704         cleanup macros.
26705         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26707 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26709         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26710         to _sifields.sigfault.
26711         (si_addr_lsb): Define new macro.
26712         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26713         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26714         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26716 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26718         [BZ #15441]
26719         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26720         returns -1.
26721         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26722         null return -1.
26723         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26724         loading the domain.
26726 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26728         * math/gen-libm-test.pl (parse_args): Do not include expected
26729         result in test name.
26730         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26731         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26732         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26733         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26734         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26737 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26739         * benchtests/Makefile: Sort function entries.
26741         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26742         tanh, asinh, acosh, atanh.
26743         * benchtests/acos-inputs: New file.
26744         * benchtests/acosh-inputs: New file.
26745         * benchtests/asin-inputs: New file.
26746         * benchtests/asinh-inputs: New file.
26747         * benchtests/atanh-inputs: New file.
26748         * benchtests/cosh-inputs: New file.
26749         * benchtests/log-inputs: New file.
26750         * benchtests/sinh-inputs: New file.
26751         * benchtests/tanh-inputs: New file.
26753 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26755         [BZ #15339]
26756         * posix/tst-getaddrinfo4.c: New test.
26757         * posix/Makefile (tests): Add it.
26759 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26761         [BZ #15339]
26762         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26763         when no services were used.
26764         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26765         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26767 2013-05-21  Andreas Schwab  <schwab@suse.de>
26769         [BZ #15014]
26770         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26771         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26772         successful.
26773         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26774         redundant variable declarations and reallocation of buffer when
26775         parsing as IPv6 address.  Always set NSS status when called from
26776         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26777         buffer too small.  Correct computation of needed size.
26778         * nss/Makefile (tests): Add test-digits-dots.
26779         * nss/test-digits-dots.c: New test.
26781 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26783         * benchtests/Makefile: Remove instructions for adding
26784         benchmark tests.
26785         * benchtests/README: New file to explain how to execute and
26786         enhance the benchmark tests.
26788 2013-05-21  Andreas Schwab  <schwab@suse.de>
26790         [BZ #15493]
26791         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26792         * setjmp/tst-sigsetjmp.c: New test.
26794 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26796         * sysdeps/x86_64/memset.S (memset): New implementation.
26797         (__bzero): Likewise.
26798         (__memset_tail): New function.
26800 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26802         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26803         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26804         __memcpy_sse2_unaligned ifunc selection.
26805         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26806         Add memcpy-sse2-unaligned.S.
26807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26808         Add: __memcpy_sse2_unaligned.
26810 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26812         [BZ #15490]
26813         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26814         math_force_eval before restoring floating-point envrionment.
26815         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26816         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26817         Likewise.
26818         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26819         <math_private.h>.
26820         (__nearbyintl): Use math_force_eval before restoring
26821         floating-point environment.
26822         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26824         * math/gen-libm-test.pl (special_functions): Remove.
26825         (parse_args): Don't handle TEST_extra.  Handle functions with no
26826         return value.
26827         * math/libm-test.inc (struct test_sincos_data): Replace with
26828         struct test_fFF_11_data.
26829         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26830         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26831         (sincos_test_data): Change element type to struct
26832         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26833         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26834         RUN_TEST_LOOP_sincos.
26835         * math/README.libm-test: Don't mention special handling of
26836         individual functions.
26837         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26838         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26839         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26840         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26841         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26844         * math/gen-libm-test.pl (get_variable): Remove function.
26845         (parse_args): Don't show pointer parameters to call in test
26846         names.  Use "extra output N" in test names for extra outputs
26847         rather than naming variables.
26849 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #15488]
26852         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26853         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26854         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26855         double tests.
26856         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26857         disable.
26858         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26859         check_long_double.
26861         * math/gen-libm-test.pl (@tests): Remove variable.
26862         ($count): Likewise.
26863         (new_test): Remove function.
26864         (show_exceptions): New function.
26865         (special_functions): Use show_exceptions instead of new_test.
26866         (parse_args): Likewise.
26867         (generate_testfile): Pass only function name in generated call to
26868         print_max_error or print_complex_max_error.
26869         (get_ulps): Do not handle complex tests specially.
26870         (output_test): Rename to ...
26871         (get_all_ulps_for_test): ... this.  Return a string rather than
26872         printing to a file.  Require ulps to be present.
26873         (output_ulps): Generate arrays rather than #defines.
26874         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26875         (struct ulp_data): New type.
26876         (BUILD_COMPLEX_ULP): Remove macro.
26877         (compare_ulp_data): New function.
26878         (find_ulps): Likewise.
26879         (find_test_ulps): Likewise.
26880         (find_function_ulps): Likewise.
26881         (find_complex_function_ulps): Likewise.
26882         (print_max_error): Determine allowed ulps using
26883         find_function_ulps.
26884         (print_complex_max_error): Determine allowed ulps using
26885         find_complex_function_ulps.
26886         (check_float_internal): Determine max ulps using find_test_ulps.
26887         (check_float): Do not take max_ulp parameter.  Update call to
26888         check_float_internal.
26889         (check_complex): Likewise.
26890         (check_int): Do not take max_ulp parameter.
26891         (check_long): Likewise.
26892         (check_bool): Likewise.
26893         (check_longlong): Likewise.
26894         (struct test_f_f_data): Remove max_ulp field.
26895         (struct test_ff_f_data): Likewise.
26896         (struct test_ff_f_data_nexttoward): Likewise.
26897         (struct test_fi_f_data): Likewise.
26898         (struct test_fl_f_data): Likewise.
26899         (struct test_if_f_data): Likewise.
26900         (struct test_fff_f_data): Likewise.
26901         (struct test_c_f_data): Likewise.
26902         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26903         (struct test_fF_f1_data): Likewise.
26904         (struct test_ffI_f1_data): Likewise.
26905         (struct test_c_c_data): Remove max_ulp field.
26906         (struct test_cc_c_data): Likewise.
26907         (struct test_f_i_data): Likewise.
26908         (struct test_ff_i_data): Likewise.
26909         (struct test_f_l_data): Likewise.
26910         (struct test_f_L_data): Likewise.
26911         (struct test_sincos_data): Likewise.
26912         (RUN_TEST_f_f): Do not handle ulps.
26913         (RUN_TEST_LOOP_f_f): Likewise.
26914         (RUN_TEST_2_f): Likewise.
26915         (RUN_TEST_LOOP_2_f): Likewise.
26916         (RUN_TEST_fff_f): Likewise.
26917         (RUN_TEST_LOOP_fff_f): Likewise.
26918         (RUN_TEST_c_f): Likewise.
26919         (RUN_TEST_LOOP_c_f): Likewise.
26920         (RUN_TEST_f_f1): Likewise.
26921         (RUN_TEST_LOOP_f_f1): Likewise.
26922         (RUN_TEST_fF_f1): Likewise.
26923         (RUN_TEST_LOOP_fF_f1): Likewise.
26924         (RUN_TEST_fI_f1): Likewise.
26925         (RUN_TEST_LOOP_fI_f1): Likewise.
26926         (RUN_TEST_ffI_f1): Likewise.
26927         (RUN_TEST_LOOP_ffI_f1): Likewise.
26928         (RUN_TEST_c_c): Likewise.
26929         (RUN_TEST_LOOP_c_c): Likewise.
26930         (RUN_TEST_cc_c): Likewise.
26931         (RUN_TEST_LOOP_cc_c): Likewise.
26932         (RUN_TEST_f_i): Likewise.
26933         (RUN_TEST_LOOP_f_i): Likewise.
26934         (RUN_TEST_f_i_tg): Likewise.
26935         (RUN_TEST_LOOP_f_i_tg): Likewise.
26936         (RUN_TEST_ff_i_tg): Likewise.
26937         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26938         (RUN_TEST_f_b): Likewise.
26939         (RUN_TEST_LOOP_f_b): Likewise.
26940         (RUN_TEST_f_b_tg): Likewise.
26941         (RUN_TEST_LOOP_f_b_tg): Likewise.
26942         (RUN_TEST_f_l): Likewise.
26943         (RUN_TEST_LOOP_f_l): Likewise.
26944         (RUN_TEST_f_L): Likewise.
26945         (RUN_TEST_LOOP_f_L): Likewise.
26946         (RUN_TEST_sincos): Likewise.
26947         (RUN_TEST_LOOP_sincos): Likewise.
26949 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26951         [BZ #15480]
26952         [BZ #15485]
26953         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26954         main case of finite arguments, set rounding mode to FE_TONEAREST
26955         and discard exceptions.
26956         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26957         exceptions.
26958         (remainder_tonearest_test_data): New variable.
26959         (remainder_test_tonearest): New function.
26960         (remainder_towardzero_test_data): New variable.
26961         (remainder_test_towardzero): New function.
26962         (remainder_downward_test_data): New variable.
26963         (remainder_test_downward): New function.
26964         (remainder_upward_test_data): New variable.
26965         (remainder_test_upward): New function.
26966         (main): Call the new test functions.
26968         * math/libm-test.inc (struct test_f_f1_data): Remove field
26969         extra_init.
26970         (struct test_fF_f1_data): Likewise.
26971         (struct test_ffI_f1_data): Likewise.
26972         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26973         based on value of EXTRA_EXPECTED.
26974         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26975         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26976         EXTRA_VAR based on value of EXTRA_EXPECTED.
26977         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26978         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26979         EXTRA_VAR based on value of EXTRA_EXPECTED.
26980         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26981         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26982         EXTRA_VAR based on value of EXTRA_EXPECTED.
26983         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26984         * math/gen-libm-test.pl (parse_args): Don't output initializers
26985         for extra output values.
26987         * math/libm-test.inc (check_int): Expect result to be exactly
26988         equal to expected value and do not handle ulps.
26989         (check_long): Likewise.
26990         (check_longlong): Likewise.
26992         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26993         exceptions.
26994         (cimag_test_data): Likewise.
26995         (conj_test_data): Likewise.
26996         (copysign_test_data): Likewise.
26997         (cproj_test_data): Likewise.
26998         (creal_test_data): Likewise.
26999         (fabs_test_data): Likewise.
27000         (fdim_test_data): Likewise.
27001         (finite_test_data): Likewise.
27002         (floor_test_data): Likewise.
27003         (fmax_test_data): Likewise.
27004         (fmin_test_data): Likewise.
27005         (fmod_test_data): Likewise.
27006         (fpclassify_test_data): Likewise.
27007         (frexp_test_data): Likewise.
27008         (ilogb_test_data): Likewise.
27009         (isfinite_test_data): Likewise.
27010         (isgreater_test_data): Likewise.
27011         (isgreaterequal_test_data): Likewise.
27012         (isinf_test_data): Likewise.
27013         (isless_test_data): Likewise.
27014         (islessequal_test_data): Likewise.
27015         (islessgreater_test_data): Likewise.
27016         (isnan_test_data): Likewise.
27017         (isnormal_test_data): Likewise.
27018         (issignaling_test_data): Likewise.
27019         (isunordered_test_data): Likewise.
27020         (ldexp_test_data): Likewise.
27021         (lrint_test_data): Likewise.
27022         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27023         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27024         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27025         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27026         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27027         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27028         test input.
27029         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27030         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27031         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27032         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27033         that test input.
27034         (lrint_downward_test_data): Test for "inexact" exceptions.
27035         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27036         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27037         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27038         test input.
27039         (lrint_upward_test_data): Test for "inexact" exceptions.
27040         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27041         test input.
27042         (llrint_test_data): Test for "inexact" exceptions.
27043         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27044         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27045         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27046         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27047         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27048         (llrint_downward_test_data): Test for "inexact" exceptions.
27049         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27050         (llrint_upward_test_data): Test for "inexact" exceptions.
27051         (logb_test_data): Likewise.
27052         (logb_downward_test_data): Likewise.
27053         (nextafter_test_data): Likewise.
27054         (nexttoward_test_data): Likewise.
27055         (remainder_test_data): Likewise.
27056         (remquo_test_data): Likewise.
27057         (scalbn_test_data): Likewise.
27058         (scalbln_test_data): Likewise.
27059         (signbit_test_data): Likewise.
27060         (sqrt_test_data): Likewise.
27061         (significand_test_data): Likewise.
27063 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27065         [BZ #15424]
27066         * benchtests/bench-modf.c (struct args): Mark arg0 as
27067         volatile.
27068         * scripts/bench.pl: Mark members of struct args as volatile.
27070 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27072         [BZ # 15497]
27073         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27074         negative infinity on POWER6 or lower.
27075         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27077 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27079         [BZ #15442]
27080         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27081         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27082         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27083         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27084         (_FP_SETQNAN): New macro.
27085         (_FP_SETQNAN_SEMIRAW): Likewise.
27086         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27087         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27088         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27089         (FP_EXTEND): Use _FP_FRAC_SNANP.
27090         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27091         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27092         into account.
27093         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27094         New macro.
27095         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27096         Likewise.
27098 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27100         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27101         with DIVIDE_BY_ZERO_EXCEPTION.
27102         (gamma_test_data): Likewise.
27103         (lgamma_test_data): Likewise.
27104         (log_test_data): Likewise.
27105         (log10_test_data): Likewise.
27106         (log2_test_data): Likewise.
27107         (tgamma_test_data): Likewise.
27109         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27110         (acos_test_tonearest): Likewise.
27111         (acos_test_towardzero): Likewise.
27112         (acos_test_downward): Likewise.
27113         (acos_test_upward): Likewise.
27114         (acosh_test): Likewise.
27115         (asin_test): Likewise.
27116         (asin_test_tonearest): Likewise.
27117         (asin_test_towardzero): Likewise.
27118         (asin_test_downward): Likewise.
27119         (asin_test_upward): Likewise.
27120         (asinh_test): Likewise.
27121         (atan_test): Likewise.
27122         (atanh_test): Likewise.
27123         (atan2_test): Likewise.
27124         (cabs_test): Likewise.
27125         (cacos_test): Likewise.
27126         (cacosh_test): Likewise.
27127         (casin_test): Likewise.
27128         (casinh_test): Likewise.
27129         (catan_test): Likewise.
27130         (catanh_test): Likewise.
27131         (cbrt_test): Likewise.
27132         (ccos_test): Likewise.
27133         (ccosh_test): Likewise.
27134         (cexp_test): Likewise.
27135         (clog_test): Likewise.
27136         (clog10_test): Likewise.
27137         (cos_test): Likewise.
27138         (cos_test_tonearest): Likewise.
27139         (cos_test_towardzero): Likewise.
27140         (cos_test_downward): Likewise.
27141         (cos_test_upward): Likewise.
27142         (cosh_test): Likewise.
27143         (cosh_test_tonearest): Likewise.
27144         (cosh_test_towardzero): Likewise.
27145         (cosh_test_downward): Likewise.
27146         (cosh_test_upward): Likewise.
27147         (cpow_test): Likewise.
27148         (csin_test): Likewise.
27149         (csinh_test): Likewise.
27150         (csqrt_test): Likewise.
27151         (ctan_test): Likewise.
27152         (ctan_test_tonearest): Likewise.
27153         (ctan_test_towardzero): Likewise.
27154         (ctan_test_downward): Likewise.
27155         (ctan_test_upward): Likewise.
27156         (ctanh_test): Likewise.
27157         (ctanh_test_tonearest): Likewise.
27158         (ctanh_test_towardzero): Likewise.
27159         (ctanh_test_downward): Likewise.
27160         (ctanh_test_upward): Likewise.
27161         (erf_test): Likewise.
27162         (erfc_test): Likewise.
27163         (exp_test): Likewise.
27164         (exp_test_tonearest): Likewise.
27165         (exp_test_towardzero): Likewise.
27166         (exp_test_downward): Likewise.
27167         (exp_test_upward): Likewise.
27168         (exp10_test): Likewise.
27169         (exp2_test): Likewise.
27170         (expm1_test): Likewise.
27171         (fmod_test): Likewise.
27172         (gamma_test): Likewise.
27173         (hypot_test): Likewise.
27174         (j0_test): Likewise.
27175         (j1_test): Likewise.
27176         (jn_test): Likewise.
27177         (lgamma_test): Likewise.
27178         (log_test): Likewise.
27179         (log10_test): Likewise.
27180         (log1p_test): Likewise.
27181         (log2_test): Likewise.
27182         (logb_test_downward): Likewise.
27183         (pow_test): Likewise.
27184         (pow_test_tonearest): Likewise.
27185         (pow_test_towardzero): Likewise.
27186         (pow_test_downward): Likewise.
27187         (pow_test_upward): Likewise.
27188         (remainder_test): Likewise.
27189         (remquo_test): Likewise.
27190         (sin_test): Likewise.
27191         (sin_test_tonearest): Likewise.
27192         (sin_test_towardzero): Likewise.
27193         (sin_test_downward): Likewise.
27194         (sin_test_upward): Likewise.
27195         (sincos_test): Likewise.
27196         (sinh_test): Likewise.
27197         (sinh_test_tonearest): Likewise.
27198         (sinh_test_towardzero): Likewise.
27199         (sinh_test_downward): Likewise.
27200         (sinh_test_upward): Likewise.
27201         (sqrt_test): Likewise.
27202         (tan_test): Likewise.
27203         (tan_test_tonearest): Likewise.
27204         (tan_test_towardzero): Likewise.
27205         (tan_test_downward): Likewise.
27206         (tan_test_upward): Likewise.
27207         (tanh_test): Likewise.
27208         (tgamma_test): Likewise.
27209         (y0_test): Likewise.
27210         (y1_test): Likewise.
27211         (yn_test): Likewise.
27213         * math/gen-libm-test.pl (adjust_arg): Remove function.
27214         (special_function): Remove argument $in_func.  Only handle
27215         generating output for tables of tests, not inside functions.
27216         (parse_args): Likewise.
27217         (generate_testfile): Remove variable $in_func.  Update call to
27218         parse_args.
27219         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27220         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27221         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27222         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27223         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27224         (MAX_VALUE_INIT): Rename macro to max_value.
27225         (MIN_VALUE_INIT): Rename macro to min_value.
27226         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27227         (plus_zero): Remove variable.
27228         (minus_zero): Likewise.
27229         (plus_infty): Likewise.
27230         (minus_infty): Likewise.
27231         (qnan_value): Likewise.
27232         (max_value): Likewise.
27233         (min_value): Likewise.
27234         (min_subnorm_value): Likewise.
27236 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27238         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27239         uint64_t or uint32_t usage.
27240         * crypt/sha256-block.c: Likewise.
27241         * crypt/sha256-crypt.c: Likewise.
27242         * crypt/sha256.c: Likewise.
27243         * crypt/sha512-block.c: Likewise.
27244         * crypt/sha512-crypt.c: Likewise.
27245         * crypt/sha512.c: Likewise.
27246         * debug/backtrace-tst.c: Likewise.
27247         * debug/pcprofiledump.c: Likewise.
27248         * elf/cache.c: Likewise.
27249         * elf/dl-cache.c: Likewise.
27250         * elf/dl-misc.c: Likewise.
27251         * elf/dl-profile.c: Likewise.
27252         * elf/dl-support.c: Likewise.
27253         * elf/ldconfig.c: Likewise.
27254         * elf/sprof.c: Likewise.
27255         * iconv/dummy-repertoire.c: Likewise.
27256         * iconv/iconv_charmap.c: Likewise.
27257         * iconv/skeleton.c: Likewise.
27258         * iconvdata/8bit-generic.c: Likewise.
27259         * iconvdata/cp737.h: Likewise.
27260         * iconvdata/cp775.h: Likewise.
27261         * iconvdata/ibm1008.h: Likewise.
27262         * iconvdata/ibm1025.h: Likewise.
27263         * iconvdata/ibm1046.h: Likewise.
27264         * iconvdata/ibm1097.h: Likewise.
27265         * iconvdata/ibm1112.h: Likewise.
27266         * iconvdata/ibm1122.h: Likewise.
27267         * iconvdata/ibm1123.h: Likewise.
27268         * iconvdata/ibm1124.h: Likewise.
27269         * iconvdata/ibm1129.h: Likewise.
27270         * iconvdata/ibm1130.h: Likewise.
27271         * iconvdata/ibm1132.h: Likewise.
27272         * iconvdata/ibm1133.h: Likewise.
27273         * iconvdata/ibm1137.h: Likewise.
27274         * iconvdata/ibm1140.h: Likewise.
27275         * iconvdata/ibm1141.h: Likewise.
27276         * iconvdata/ibm1142.h: Likewise.
27277         * iconvdata/ibm1143.h: Likewise.
27278         * iconvdata/ibm1144.h: Likewise.
27279         * iconvdata/ibm1145.h: Likewise.
27280         * iconvdata/ibm1146.h: Likewise.
27281         * iconvdata/ibm1147.h: Likewise.
27282         * iconvdata/ibm1148.h: Likewise.
27283         * iconvdata/ibm1149.h: Likewise.
27284         * iconvdata/ibm1153.h: Likewise.
27285         * iconvdata/ibm1154.h: Likewise.
27286         * iconvdata/ibm1155.h: Likewise.
27287         * iconvdata/ibm1156.h: Likewise.
27288         * iconvdata/ibm1157.h: Likewise.
27289         * iconvdata/ibm1158.h: Likewise.
27290         * iconvdata/ibm1160.h: Likewise.
27291         * iconvdata/ibm1161.h: Likewise.
27292         * iconvdata/ibm1162.h: Likewise.
27293         * iconvdata/ibm1163.h: Likewise.
27294         * iconvdata/ibm1164.h: Likewise.
27295         * iconvdata/ibm1166.h: Likewise.
27296         * iconvdata/ibm1167.h: Likewise.
27297         * iconvdata/ibm12712.h: Likewise.
27298         * iconvdata/ibm1390.h: Likewise.
27299         * iconvdata/ibm1399.h: Likewise.
27300         * iconvdata/ibm16804.h: Likewise.
27301         * iconvdata/ibm4517.h: Likewise.
27302         * iconvdata/ibm4899.h: Likewise.
27303         * iconvdata/ibm4909.h: Likewise.
27304         * iconvdata/ibm4971.h: Likewise.
27305         * iconvdata/ibm5347.h: Likewise.
27306         * iconvdata/ibm803.h: Likewise.
27307         * iconvdata/ibm856.h: Likewise.
27308         * iconvdata/ibm901.h: Likewise.
27309         * iconvdata/ibm902.h: Likewise.
27310         * iconvdata/ibm9030.h: Likewise.
27311         * iconvdata/ibm9066.h: Likewise.
27312         * iconvdata/ibm921.h: Likewise.
27313         * iconvdata/ibm922.h: Likewise.
27314         * iconvdata/ibm9448.h: Likewise.
27315         * iconvdata/isiri-3342.h: Likewise.
27316         * iconvdata/jis0201.h: Likewise.
27317         * include/link.h: Likewise.
27318         * include/netdb.h: Likewise.
27319         * inet/check_native.c: Likewise.
27320         * inet/check_pf.c: Likewise.
27321         * inet/getipv4sourcefilter.c: Likewise.
27322         * inet/getnameinfo.c: Likewise.
27323         * inet/getsourcefilter.c: Likewise.
27324         * inet/htonl.c: Likewise.
27325         * inet/setipv4sourcefilter.c: Likewise.
27326         * inet/setsourcefilter.c: Likewise.
27327         * inet/test-inet6_opt.c: Likewise.
27328         * inet/tst-network.c: Likewise.
27329         * locale/C-collate.c: Likewise.
27330         * locale/C-ctype.c: Likewise.
27331         * locale/C-time.c: Likewise.
27332         * locale/C-translit.h: Likewise.
27333         * locale/loadarchive.c: Likewise.
27334         * locale/programs/3level.h: Likewise.
27335         * locale/programs/charmap.c: Likewise.
27336         * locale/programs/charmap.h: Likewise.
27337         * locale/programs/ld-address.c: Likewise.
27338         * locale/programs/ld-collate.c: Likewise.
27339         * locale/programs/ld-ctype.c: Likewise.
27340         * locale/programs/ld-identification.c: Likewise.
27341         * locale/programs/ld-measurement.c: Likewise.
27342         * locale/programs/ld-messages.c: Likewise.
27343         * locale/programs/ld-monetary.c: Likewise.
27344         * locale/programs/ld-name.c: Likewise.
27345         * locale/programs/ld-numeric.c: Likewise.
27346         * locale/programs/ld-paper.c: Likewise.
27347         * locale/programs/ld-telephone.c: Likewise.
27348         * locale/programs/ld-time.c: Likewise.
27349         * locale/programs/linereader.c: Likewise.
27350         * locale/programs/locale.c: Likewise.
27351         * locale/programs/locarchive.c: Likewise.
27352         * locale/programs/locfile.h: Likewise.
27353         * locale/programs/repertoire.c: Likewise.
27354         * locale/programs/simple-hash.c: Likewise.
27355         * locale/programs/simple-hash.h: Likewise.
27356         * malloc/memusage.c: Likewise.
27357         * malloc/memusagestat.c: Likewise.
27358         * nis/nis_defaults.c: Likewise.
27359         * nis/nis_hash.c: Likewise.
27360         * nis/nis_print.c: Likewise.
27361         * nis/nis_xdr.c: Likewise.
27362         * nscd/connections.c: Likewise.
27363         * nscd/hstcache.c: Likewise.
27364         * nscd/nscd_gethst_r.c: Likewise.
27365         * nscd/nscd_getserv_r.c: Likewise.
27366         * nscd/nscd_helper.c: Likewise.
27367         * nscd/servicescache.c: Likewise.
27368         * nss/makedb.c: Likewise.
27369         * nss/nss_db/db-XXX.c: Likewise.
27370         * nss/nss_db/db-initgroups.c: Likewise.
27371         * nss/nss_db/db-netgrp.c: Likewise.
27372         * nss/nss_files/files-network.c: Likewise.
27373         * nss/nss_files/files-parse.c: Likewise.
27374         * posix/bug-regex5.c: Likewise.
27375         * posix/fnmatch_loop.c: Likewise.
27376         * posix/regcomp.c: Likewise.
27377         * posix/regexec.c: Likewise.
27378         * posix/tst-rfc3484-2.c: Likewise.
27379         * posix/tst-rfc3484-3.c: Likewise.
27380         * posix/tst-rfc3484.c: Likewise.
27381         * resolv/nss_dns/dns-canon.c: Likewise.
27382         * resolv/nss_dns/dns-network.c: Likewise.
27383         * resolv/res_init.c: Likewise.
27384         * resolv/res_mkquery.c: Likewise.
27385         * resolv/tst-aton.c: Likewise.
27386         * stdlib/cxa_atexit.c: Likewise.
27387         * stdlib/cxa_finalize.c: Likewise.
27388         * stdlib/gen-fpioconst.c: Likewise.
27389         * stdlib/strtol_l.c: Likewise.
27390         * string/tst-endian.c: Likewise.
27391         * sunrpc/auth_des.c: Likewise.
27392         * sunrpc/clnt_udp.c: Likewise.
27393         * sunrpc/rtime.c: Likewise.
27394         * sunrpc/svcauth_des.c: Likewise.
27395         * sunrpc/xdr.c: Likewise.
27396         * sunrpc/xdr_intXX_t.c: Likewise.
27397         * sunrpc/xdr_rec.c: Likewise.
27398         * sysdeps/generic/ldconfig.h: Likewise.
27399         * sysdeps/generic/ldsodefs.h: Likewise.
27400         * sysdeps/generic/memusage.h: Likewise.
27401         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27402         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27403         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27404         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27405         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27406         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27407         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27408         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27409         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27410         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27411         * sysdeps/posix/getaddrinfo.c: Likewise.
27412         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27413         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27414         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27415         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27416         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27417         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27418         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27419         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27420         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27421         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27422         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27423         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27424         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27425         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27426         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27427         * sysdeps/x86_64/dl-tls.h: Likewise.
27428         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27429         * time/alt_digit.c: Likewise.
27430         * time/era.c: Likewise.
27431         * wcsmbs/tst-c16c32-1.c: Likewise.
27433 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27435         * math/libm-test.inc (struct test_sincos_data): New type.
27436         (RUN_TEST_LOOP_sincos): New macro.
27437         (sincos_test_data): New variable.
27438         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27440 2013-05-16  Richard Henderson  <rth@redhat.com>
27442         * math/atest-exp2.c (LIMB64): New macro.
27443         (CONSTSZ): New macro.
27444         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27445         (hexdig): Move ...
27446         (print_mpn_fp): ... to function scope.
27447         (read_mpn_hex): Remove.
27448         (get_log2): Remove.
27449         (exp2_mpn): Use mp_log2.
27450         (main): Use mp_exp1.
27452 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27454         * math/libm-test.inc: Remove comment about not testing "inexact"
27455         exceptions.
27456         (INEXACT_EXCEPTION): New macro.
27457         (NO_INEXACT_EXCEPTION): Likewise.
27458         (INVALID_EXCEPTION_OK): Update value.
27459         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27460         (OVERFLOW_EXCEPTION_OK): Likewise.
27461         (UNDERFLOW_EXCEPTION_OK): Likewise.
27462         (IGNORE_ZERO_INF_SIGN): Likewise.
27463         (ERRNO_UNCHANGED): Likewise.
27464         (ERRNO_EDOM): Likewise.
27465         (ERRNO_ERANGE): Likewise.
27466         (test_exceptions): Handle testing "inexact" exceptions.
27467         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27468         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27469         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27470         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27471         INEXACT_EXCEPTION.
27472         (rint_towardzero_test_data): Likewise.
27473         (rint_downward_test_data): Likewise.
27474         (rint_upward_test_data): Likewise.
27476         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27477         with OVERFLOW_EXCEPTION.
27478         (exp10_test_data): Likewise.
27479         (exp2_test_data): Likewise.
27480         (expm1_test_data): Likewise.
27481         (lgamma_test_data): Likewise.
27482         (pow_test_data): Likewise.
27483         (tgamma_test_data): Likewise.
27484         (yn_test_data): Remove duplicate test of overflow.
27486         * math/libm-test.inc (struct test_cc_c_data): New type.
27487         (RUN_TEST_LOOP_cc_c): New macro.
27488         (cpow_test_data): New variable.
27489         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27491         * math/libm-test.inc (struct test_f_L_data): New type.
27492         (RUN_TEST_LOOP_f_L): New macro.
27493         (llrint_test_data): New variable.
27494         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27495         (llrint_tonearest_test_data): New variable.
27496         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27497         (llrint_towardzero_test_data): New variable.
27498         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27499         (llrint_downward_test_data): New variable.
27500         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27501         (llrint_upward_test_data): New variable.
27502         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27503         (llround_test_data): New variable.
27504         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27506 2013-05-13  Peter Collingbourne  <pcc@google.com>
27508         * math/atest-exp2.c (get_log2): Remove const attribute.
27510 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27512         * math/libm-test.inc (struct test_f_l_data): New type.
27513         (RUN_TEST_LOOP_f_l): New macro.
27514         (lrint_test_data): New variable.
27515         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27516         (lrint_tonearest_test_data): New variable.
27517         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27518         (lrint_towardzero_test_data): New variable.
27519         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27520         (lrint_downward_test_data): New variable.
27521         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27522         (lrint_upward_test_data): New variable.
27523         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27524         (lround_test_data): New variable.
27525         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27527 2013-05-15  Peter Collingbourne  <pcc@google.com>
27529         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27530         (EXTRACT_WORDS64) Use where appropriate.
27531         (INSERT_WORDS64) Likewise.
27533         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27534         constraints with x constraints.
27535         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27537         * malloc/obstack.c (_obstack_compat): Add initializer.
27539 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27541         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27542         si_trapno and add si_addr_lsb to _sifields.sigfault.
27543         (si_trapno): Remove macro.
27544         (si_addr_lsb): Define new macro.
27545         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27547 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27549         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27550         instead of TEST_f_l.
27551         (llrint_test_tonearest): Likewise.
27552         (llrint_test_towardzero): Likewise.
27553         (llrint_test_downward): Likewise.
27554         (llrint_test_upward): Likewise.
27555         (llround_test): Likewise.
27557         * math/libm-test.inc (struct test_f_i_data): Add comment.
27558         (RUN_TEST_LOOP_f_b): New macro.
27559         (RUN_TEST_LOOP_f_b_tg): Likewise.
27560         (finite_test_data): New variable.
27561         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27562         (isfinite_test_data): New variable.
27563         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27564         (isinf_test_data): New variable.
27565         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27566         (isnan_test_data): New variable.
27567         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27568         (isnormal_test_data): New variable.
27569         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27570         (issignaling_test_data): New variable.
27571         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27572         (signbit_test_data): New variable.
27573         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27575         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27576         with INVALID_EXCEPTION.
27577         (acosh_test_data): Likewise.
27578         (asin_test_data): Likewise.
27579         (atanh_test_data): Likewise.
27580         (fmod_test_data): Likewise.
27581         (log_test_data): Likewise.
27582         (log10_test_data): Likewise.
27583         (log2_test_data): Likewise.
27584         (pow_test_data): Likewise.
27585         (sqrt_test_data): Likewise.
27586         (y0_test_data): Likewise.
27587         (y1_test_data): Likewise.
27588         (yn_test_data): Likewise.
27590         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27591         function contents.
27593         * math/libm-test.inc (struct test_ff_i_data): New type.
27594         (RUN_TEST_LOOP_ff_i_tg): New macro.
27595         (isgreater_test_data): New variable.
27596         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27597         (isgreaterequal_test_data): New variable.
27598         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27599         (isless_test_data): New variable.
27600         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27601         (islessequal_test_data): New variable.
27602         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27603         (islessgreater_test_data): New variable.
27604         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27605         (isunordered_test_data): New variable.
27606         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27608 2013-05-14  David S. Miller  <davem@davemloft.net>
27610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27612 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27614         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27616         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27617         extra_test to int.
27618         (struct test_f_i_data): Change type of max_ulp to int.
27620         * math/libm-test.inc (test_ffI_f1_data): New type.
27621         (RUN_TEST_LOOP_ffI_f1): New macro.
27622         (remquo_test_data): New variable.
27623         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27625         * setjmp/tst-setjmp-fp.c: New file.
27626         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27627         (link-libm): New variable.
27628         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27630         * math/libm-test.inc (struct test_f_i_data): New type.
27631         (RUN_TEST_LOOP_f_i): New macro.
27632         (RUN_TEST_LOOP_f_i_tg): Likewise.
27633         (fpclassify_test_data): New variable.
27634         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27635         (ilogb_test_data): New variable.
27636         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27638         * math/libm-test.inc (scalbln_test): Correct function name in END
27639         call.
27641         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27642         (RUN_TEST_LOOP_fI_f1): New macro.
27643         (frexp_test_data): New variable.
27644         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27646         * math/libm-test.inc (struct test_fF_f1_data): New type.
27647         (RUN_TEST_LOOP_fF_f1): New macro.
27648         (modf_test_data): New variable.
27649         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27651         * math/libm-test.inc (struct test_f_f1_data): New type.
27652         (RUN_TEST_LOOP_f_f1): New macro.
27653         (gamma_test_data): New variable.
27654         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27655         (lgamma_test_data): New variable.
27656         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27658 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27660         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27661         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27662         (main): Comment "tls" pseudo-hwcap.
27664 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27666         * math/libm-test.inc (struct test_fl_f_data): New type.
27667         (RUN_TEST_LOOP_fl_f): New variable.
27668         (scalbln_test_data): New variable.
27669         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27671         * math/libm-test.inc (struct test_fi_f_data): New type.
27672         (RUN_TEST_LOOP_fi_f): New macro.
27673         (ldexp_test_data): New variable.
27674         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27675         (scalbn_test_data): New variable.
27676         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27678         * math/libm-test.inc (struct test_c_f_data): New type.
27679         (RUN_TEST_LOOP_c_f): New macro.
27680         (cabs_test_data): New variable.
27681         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27682         (carg_test_data): New variable.
27683         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27684         (cimag_test_data): New variable.
27685         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27686         (creal_test_data): New variable.
27687         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27689         * math/libm-test.inc (struct test_if_f_data): New type.
27690         (RUN_TEST_LOOP_if_f): New macro.
27691         (jn_test_data): New variable.
27692         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27693         (yn_test_data): New variable.
27694         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27696         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27698 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27700         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27701         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27703 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27705         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27706         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27707         (bench-deps): Add bench-timing.h.
27708         * benchtests-bench-skeleton.c: Include bench-timing.h.
27709         (main): Use TIMING_* macros instead of clock_gettime.
27710         * benchtests/bench-timing.h: New file.
27712         [BZ #14582]
27713         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27714         Renamed from _LIB_VERSION.
27715         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27717 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27719         * math/libm-test.inc (struct test_fff_f_data): New type.
27720         (RUN_TEST_LOOP_fff_f): New macro.
27721         (fma_test_data): New variable.
27722         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27723         (fma_towardzero_test_data): New variable.
27724         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27725         (fma_downward_test_data): New variable.
27726         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27727         (fma_upward_test_data): New variable.
27728         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27730         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27731         (struct test_c_c_data): New type.
27732         (RUN_TEST_LOOP_c_c): New macro.
27733         (cacos_test_data): New variable.
27734         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27735         (cacosh_test_data): New variable.
27736         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27737         (casin_test_data): New variable.
27738         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27739         (casinh_test_data): New variable.
27740         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27741         (catan_test_data): New variable.
27742         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27743         (catanh_test_data): New variable.
27744         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27745         (ccos_test_data): New variable.
27746         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27747         (ccosh_test_data): New variable.
27748         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27749         (cexp_test_data): New variable.
27750         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27751         (clog_test_data): New variable.
27752         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27753         (clog10_test_data): New variable.
27754         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27755         (conj_test_data): New variable.
27756         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27757         (cproj_test_data): New variable.
27758         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27759         (csin_test_data): New variable.
27760         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27761         (csinh_test_data): New variable.
27762         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27763         (csqrt_test_data): New variable.
27764         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27765         (ctan_test_data): New variable.
27766         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27767         (ctan_tonearest_test_data): New variable.
27768         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27769         (ctan_towardzero_test_data): New variable.
27770         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27771         (ctan_downward_test_data): New variable.
27772         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27773         (ctan_upward_test_data): New variable.
27774         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27775         (ctanh_test_data): New variable.
27776         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27777         (ctanh_tonearest_test_data): New variable.
27778         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27779         (ctanh_towardzero_test_data): New variable.
27780         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27781         (ctanh_downward_test_data): New variable.
27782         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27783         (ctanh_upward_test_data): New variable.
27784         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27785         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27786         of BUILD_COMPLEX.
27788         * math/libm-test.inc (struct test_ff_f_data): New type.
27789         (struct test_ff_f_data_nexttoward): Likewise.
27790         (RUN_TEST_LOOP_2_f): New macro.
27791         (RUN_TEST_LOOP_ff_f): Likewise.
27792         (atan2_test_data): New variable.
27793         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27794         (copysign_test_data): New variable.
27795         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27796         (fdim_test_data): New variable.
27797         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27798         (fmax_test_data): New variable.
27799         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27800         (fmin_test_data): New variable.
27801         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27802         (fmod_test_data): New variable.
27803         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27804         (hypot_test_data): New variable.
27805         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27806         (nextafter_test_data): New variable.
27807         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27808         (nexttoward_test_data): New variable.
27809         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27810         (pow_test_data): New variable.
27811         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27812         (pow_tonearest_test_data): New variable.
27813         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27814         (pow_towardzero_test_data): New variable.
27815         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27816         (pow_downward_test_data): New variable.
27817         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27818         (pow_upward_test_data): New variable.
27819         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27820         (remainder_test_data): New variable.
27821         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27822         (scalb_test_data): New variable.
27823         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27824         * sysdeps/i386/fpu/libm-test-ulps: Update.
27826 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27828         * math/libm-test.inc (fma_test): Use max_value instead of local
27829         variable fltmax.
27830         (nextafter_test): Likewise.
27832         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27833         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27834         (acos_downward_test_data): New variable.
27835         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27836         (acos_upward_test_data): New variable.
27837         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27838         (acosh_test_data): New variable.
27839         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27840         (asin_test_data): New variable.
27841         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27842         (asin_tonearest_test_data): New variable.
27843         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27844         (asin_towardzero_test_data): New variable.
27845         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27846         (asin_downward_test_data): New variable.
27847         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27848         (asin_upward_test_data): New variable.
27849         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27850         (asinh_test_data): New variable.
27851         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27852         (atan_test_data): New variable.
27853         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27854         (atanh_test_data): New variable.
27855         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27856         (cbrt_test_data): New variable.
27857         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27858         (ceil_test_data): New variable.
27859         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27860         (cos_test_data): New variable.
27861         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27862         (cos_tonearest_test_data): New variable.
27863         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27864         (cos_towardzero_test_data): New variable.
27865         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27866         (cos_downward_test_data): New variable.
27867         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27868         (cos_upward_test_data): New variable.
27869         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27870         (cosh_test_data): New variable.
27871         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27872         (cosh_tonearest_test_data): New variable.
27873         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27874         (cosh_towardzero_test_data): New variable.
27875         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27876         (cosh_downward_test_data): New variable.
27877         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27878         (cosh_upward_test_data): New variable.
27879         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27880         (erf_test_data): New variable.
27881         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27882         (erfc_test_data): New variable.
27883         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27884         (exp_test_data): New variable.
27885         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27886         (exp_tonearest_test_data): New variable.
27887         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27888         (exp_towardzero_test_data): New variable.
27889         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27890         (exp_downward_test_data): New variable.
27891         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27892         (exp_upward_test_data): New variable.
27893         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27894         (exp10_test_data): New variable.
27895         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27896         (exp2_test_data): New variable.
27897         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27898         (expm1_test_data): New variable.
27899         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27900         (fabs_test_data): New variable.
27901         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27902         (floor_test_data): New variable.
27903         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27904         (j0_test_data): New variable.
27905         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27906         (j1_test_data): New variable.
27907         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27908         (log_test_data): New variable.
27909         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27910         (log10_test_data): New variable.
27911         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27912         (log1p_test_data): New variable.
27913         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27914         (log2_test_data): New variable.
27915         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27916         (logb_test_data): New variable.
27917         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27918         (logb_downward_test_data): New variable.
27919         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27920         (nearbyint_test_data): New variable.
27921         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27922         (rint_test_data): New variable.
27923         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27924         (rint_tonearest_test_data): New variable.
27925         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27926         (rint_towardzero_test_data): New variable.
27927         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27928         (rint_downward_test_data): New variable.
27929         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27930         (rint_upward_test_data): New variable.
27931         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27932         (round_test_data): New variable.
27933         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27934         (sin_test_data): New variable.
27935         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27936         (sin_tonearest_test_data): New variable.
27937         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27938         (sin_towardzero_test_data): New variable.
27939         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27940         (sin_downward_test_data): New variable.
27941         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27942         (sin_upward_test_data): New variable.
27943         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27944         (sinh_test_data): New variable.
27945         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27946         (sinh_tonearest_test_data): New variable.
27947         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27948         (sinh_towardzero_test_data): New variable.
27949         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27950         (sinh_downward_test_data): New variable.
27951         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27952         (sinh_upward_test_data): New variable.
27953         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27954         (sqrt_test_data): New variable.
27955         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27956         (tan_test_data): New variable.
27957         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27958         (tan_tonearest_test_data): New variable.
27959         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27960         (tan_towardzero_test_data): New variable.
27961         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27962         (tan_downward_test_data): New variable.
27963         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27964         (tan_upward_test_data): New variable.
27965         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27966         (tanh_test_data): New variable.
27967         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27968         (tgamma_test_data): New variable.
27969         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27970         (trunc_test_data): New variable.
27971         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27972         (y0_test_data): New variable.
27973         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27974         (y1_test_data): New variable.
27975         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27976         (significand_test_data): New variable.
27977         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27979 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27981         [BZ #12387]
27982         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27984 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27986         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27988 2013-05-10  Andreas Jaeger  <aj@suse.de>
27990         [BZ #15448]
27991         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27992         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27994 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27996         * math/gen-libm-test.pl (adjust_arg): New function.
27997         (special_functions): Handle generating output in both functions
27998         and arrays.
27999         (parse_args): Likewise.
28000         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28001         $in_func argument to parse_args.
28002         * math/libm-test.inc (struct test_f_f_data): New type.
28003         (IF_ROUND_INIT_): New macro.
28004         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28005         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28006         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28007         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28008         (ROUND_RESTORE_): Likewise.
28009         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28010         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28011         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28012         (ROUND_RESTORE_FE_UPWARD): Likewise.
28013         (RUN_TEST_LOOP_f_f): New macro.
28014         (acos_test_data): New variable.
28015         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28016         (acos_tonearest_test_data): New variable.
28017         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28019 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28021         * benchtests/bench-skeleton.c (startup): Fix coding style.
28023 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28025         [BZ #6809]
28026         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28027         negative infinity argument.
28028         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28029         negative infinity argument.
28030         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28031         negative infinity argument.
28032         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28033         domain errors.
28035 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28037         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28038         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28039         * iconv/iconv_prog.c (main): Likewise.
28040         * locale/programs/charmap-dir.c (charmap_readdir)
28041         (fopen_uncompressed): Likewise.
28042         * locale/programs/locfile.c (siblings_uncached)
28043         (write_locale_data): Use lstat64 instead of lstat.
28044         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28045         stat.
28047 2013-05-10  Andreas Jaeger  <aj@suse.de>
28049         [BZ #15395]
28050         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28051         localization.
28052         Include <locale.h>.
28054 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28056         * elf/dl-close.c (_dl_close_worker): Add comments.
28058 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28060         [BZ #15359]
28061         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28062         high part of pi/2.
28063         (__ieee754_rem_pio2l): Update comments.
28065         [BZ #15429]
28066         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28067         high part of pi/2.
28068         (__ieee754_rem_pio2l): Update comments.
28070         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28071         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28073         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28074         M_PI_4l.
28076         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28077         (M_PI_34_LOG10El): Likewise.
28078         (M_PI2_LOG10El): Likewise.
28079         (M_PI4_LOG10El): Likewise.
28080         (M_PI_LOG10El): Likewise.
28082 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28086 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28088         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28089         (MINUS_ZERO_INIT): Likewise.
28090         (PLUS_INFTY_INIT): Likewise.
28091         (MINUS_INFTY_INIT): Likewise.
28092         (QNAN_VALUE_INIT): Likewise.
28093         (MAX_VALUE_INIT): Likewise.
28094         (MIN_VALUE_INIT): Likewise.
28095         (MIN_SUBNORM_VALUE_INIT): Likewise.
28096         (plus_zero): Initialize with PLUS_ZERO_INIT.
28097         (minus_zero): Initialize with MINUS_ZERO_INIT.
28098         (plus_infty): Initialize with PLUS_INFTY_INIT.
28099         (minus_infty): Initialize with MINUS_INFTY_INIT.
28100         (qnan_value): Initialize with QNAN_VALUE_INIT.
28101         (max_value): Initialize with MAX_VALUE_INIT.
28102         (min_value): Initialize with MIN_VALUE_INIT.
28103         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28105         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28106         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28107         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28108         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28110         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28111         (RUN_TEST_2_f): Likewise.
28112         (RUN_TEST_ff_f): Likewise.
28113         (RUN_TEST_fi_f): Likewise.
28114         (RUN_TEST_fl_f): Likewise.
28115         (RUN_TEST_fff_f): Likewise.
28116         (RUN_TEST_c_f): Likewise.
28117         (RUN_TEST_f_f1): Likewise.
28118         (RUN_TEST_fF_f1): Likewise.
28119         (RUN_TEST_fI_f1): Likewise.
28120         (RUN_TEST_ffI_f1): Likewise.
28121         (RUN_TEST_c_c): Likewise.
28122         (RUN_TEST_cc_c): Likewise.
28123         (RUN_TEST_f_i): Likewise.
28124         (RUN_TEST_f_i_tg): Likewise.
28125         (RUN_TEST_ff_i_tg): Likewise.
28126         (RUN_TEST_f_b): Likewise.
28127         (RUN_TEST_f_b_tg): Likewise.
28128         (RUN_TEST_f_l): Likewise.
28129         (RUN_TEST_f_L): Likewise.
28130         (RUN_TEST_sincos): Likewise.
28131         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28132         whether to show exceptions.  Do not include ");\n" in return
28133         value.
28134         (special_functions): Output call to RUN_TEST_sincos instead of
28135         check_float calls.  Update calls to new_test.
28136         (parse_args): Output call to single RUN_TEST_* macro instead of
28137         check_* calls and other assignments.  Update calls to new_test.
28139         [BZ #2546]
28140         [BZ #2560]
28141         [BZ #5159]
28142         [BZ #15426]
28143         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28144         input to result for tgamma overflow.
28145         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28146         (gamma_coeff): New variable.
28147         (NCOEFF): New macro.
28148         (gamma_positive): New function.
28149         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28150         underflow here.  Use gamma_positive instead of exp (lgamma) for
28151         other arguments.
28152         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28153         (gamma_coeff): New variable.
28154         (NCOEFF): New macro.
28155         (gammaf_positive): New function.
28156         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28157         underflow here.  Use gamma_positive instead of exp (lgamma) for
28158         other arguments.
28159         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28160         (gamma_coeff): New variable.
28161         (NCOEFF): New macro.
28162         (gammal_positive): New function.
28163         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28164         underflow here.  Use gamma_positive instead of exp (lgamma) for
28165         other arguments.
28166         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28167         (gamma_coeff): New variable.
28168         (NCOEFF): New macro.
28169         (gammal_positive): New function.
28170         (__ieee754_gammal_r): Handle positive infinity, overflow and
28171         underflow here.  Handle NaN the same as positive infinity.  Remove
28172         check x < 0xffffffff for negative integers.  Use gamma_positive
28173         instead of exp (lgamma) for other arguments.
28174         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28175         (gamma_coeff): New variable.
28176         (NCOEFF): New macro.
28177         (gammal_positive): New function.
28178         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28179         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28180         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28181         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28182         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28183         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28184         * sysdeps/generic/math_private.h (__gamma_productf): New
28185         prototype.
28186         (__gamma_product): Likewise.
28187         (__gamma_productl): Likewise.
28188         * math/Makefile (libm-calls): Add gamma_product.
28189         * math/libm-test.inc (tgamma_test): Add more tests.
28190         * sysdeps/i386/fpu/libm-test-ulps: Update.
28191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28193 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28195         * benchtests/bench-skeleton.c (main): Preheat CPU.
28197 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28199         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28201 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28203         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28204         and _dl_skip_args_internal.
28206 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28208         * manual/message.texi (Message Translation): Talk about users.
28209         Message to key mapping impacts design.
28211 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28213         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28215         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28217         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28218         * sysdeps/wordsize-64/glob64.c: ... here.
28220         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28221         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28222         New macros.
28224         * debug/getlogin_r_chk.c: Moved to ...
28225         * login/getlogin_r_chk.c: ... here.
28226         * debug/Makefile (routines): Move getlogin_r_chk to ...
28227         * login/Makefile (routines): ... here.
28228         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28229         * login/Versions (libc: GLIBC_2.4): ... here.
28231         * io/poll.c (__poll): Renamed from poll.
28232         Add libc_hidden_def.
28233         (poll): Define as weak alias.
28235         * debug/ptsname_r_chk.c: Moved to ...
28236         * login/ptsname_r_chk.c: ... here.
28237         * debug/Makefile (routines): Move ptsname_r_chk to ...
28238         * login/Makefile (routines): ... here.
28239         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28240         * login/Versions (libc: GLIBC_2.4): ... here.
28242         * posix/getlogin.c: Moved to ...
28243         * login/getlogin.c: ... here.
28244         * posix/getlogin_r.c: Moved to ...
28245         * login/getlogin_r.c: ... here.
28246         * posix/getlogin_r.c: Moved to ...
28247         * login/getlogin_r.c: ... here.
28248         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28249         * login/Makefile (routines): ... here.
28250         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28251         * login/Versions (libc: GLIBC_2.0): ... here.
28253         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28254         (setrlimit): Define as weak alias.
28256         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28257         Call __ names for open, ftruncate, and close.
28258         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28259         (truncate): Define as weak alias.
28261 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28263         * math/gen-libm-test.pl (parse_args): Initialize x before each
28264         test of frexp, modf and remquo.
28266         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28267         test signgam value.
28269 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28271         [BZ #15418]
28272         [BZ #15419]
28273         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28274         internal tests.
28275         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28277 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28279         * elf/dl-writev.h: New file.
28280         * elf/dl-misc.c: Include it.
28281         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28282         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28284 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28286         * math/libm-test.inc (noXFails): Remove variable.
28287         (noXPasses): Likewise.
28288         (BUILD_COMPLEX_INT): Remove macro.
28289         (print_screen): Remove xfail argument.
28290         (print_screen_max_error): Likewise.
28291         (update_stats): Likewise.
28292         (print_max_error): Likewise.  Update calls to other affected
28293         functions.
28294         (print_complex_max_error): Likewise.
28295         (test_single_exception): Update calls to print_screen.
28296         (test_single_errno): Likewise.
28297         (check_float_internal): Remove xfail argument.  Update calls to
28298         other affected functions.
28299         (check_float): Likewise.
28300         (check_complex): Likewise.
28301         (check_int): Likewise.
28302         (check_long): Likewise.
28303         (check_bool): Likewise.
28304         (check_longlong): Likewise.
28305         (main): Don't print noXFails and noXPasses.
28306         * math/gen-libm-test.pl (top level): Don't mention expected
28307         failure handling in comment.
28308         (new_test): Don't handle expected failures.
28309         (parse_args): Don't mention expected failure handling in comment.
28310         (generate_testfile): Don't handle expected failures.
28311         (parse_ulps): Likewise.
28312         (print_ulps_file): Likewise.
28313         (get_failure): Remove function.
28314         (output_test): Don't handle expected failures.
28315         * make/README.libm-test: Don't mention expected failure handling.
28317         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28318         (minus_zero): Likewise.
28319         (plus_infty): Likewise.
28320         (minus_infty): Likewise.
28321         (qnan_value): Likewise.
28322         (max_value): Likewise.
28323         (min_value): Likewise.
28324         (min_subnorm_value): Likewise.
28325         (initialize): Do not initialize those variables dynamically.
28327 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28329         * io/open.c (__open_2): Moved to ...
28330         * io/open_2.c: ... this new file.
28331         * io/open64.c (__open64_2): Moved to ...
28332         * io/open64_2.c: ... this new file.
28333         * io/openat.c (__openat_2): Moved to ...
28334         * io/openat_2.c: ... this new file.
28335         * io/openat64.c (__openat64_2): Moved to ...
28336         * io/openat64_2.c: ... this new file.
28337         * io/Makefile (routines): Add them.
28338         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28339         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28340         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28341         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28342         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28343         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28344         (__openat64): Add hidden_ver.
28345         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28346         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28348         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28349         Separately conditionalize setting of GLRO(dl_sysinfo) so
28350         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28351         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28353 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28355         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28356         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28357         definition.
28358         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28359         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28360         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28361         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28362         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28364 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28366         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28367         test signgam value.
28369         * math/libm-test.inc (hypot_test): Do not use
28370         IGNORE_ZERO_INF_SIGN.
28372 2013-05-03  Andreas Jaeger  <aj@suse.de>
28374         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28375         Linux 3.9.
28376         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28377         (PF_MAX): Adjust for VSOCK change.
28379 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28383 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28385         [BZ #15264]
28386         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28387         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28388         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28390 2013-05-02  David S. Miller  <davem@davemloft.net>
28392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28394 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28396         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28398 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28400         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28402 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28404         [BZ #14952]
28405         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28406         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28407         Use __attribute__ ((__gnu_inline__)).
28408         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28409         Don't use __attribute__ ((__gnu_inline__)).
28411 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28413         [BZ #15423]
28414         * math/s_catan.c (__catan): Handle small real or imaginary part of
28415         input specially to avoid spurious underflow.
28416         * math/s_catanf.c (__catanf): Likewise.
28417         * math/s_catanh.c (__catanh): Likewise.
28418         * math/s_catanhf.c (__catanhf): Likewise.
28419         * math/s_catanhl.c (__catanhl): Likewise.
28420         * math/s_catanl.c (__catanl): Likewise.
28421         * math/libm-test.inc (catan_test): Add more tests.
28422         (catanh_test): Likewise.
28423         * sysdeps/i386/fpu/libm-test-ulps: Update.
28424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28426 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28430 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28432         [BZ #15416]
28433         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28434         accurately for denominator in atan2.
28435         * math/s_catanf.c (__catanf): Likewise.
28436         * math/s_catanh.c (__catanh): Likewise.
28437         * math/s_catanhf.c (__catanhf): Likewise.
28438         * math/s_catanhl.c (__catanhl): Likewise.
28439         * math/s_catanl.c (__catanl): Likewise.
28440         * math/libm-test.inc (catan_test): Add more tests.
28441         (catanh_test): Likewise.
28442         * sysdeps/i386/fpu/libm-test-ulps: Update.
28443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28445 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28447         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28449         * benchtests/Makefile (bench): Remove slow benchmarks.
28450         * benchtests/atan-inputs: Add slow benchmark inputs.
28451         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28452         (BENCH_FUNC): Accept variant offset.
28453         (VARIANT): Define.
28454         * benchtests/bench-skeleton.c (main): Run benchmark for each
28455         variant.
28456         * benchtests/cos-inputs: Add slow benchmark inputs.
28457         * benchtests/exp-inputs: Likewise.
28458         * benchtests/pow-inputs: Likewise.
28459         * benchtests/sin-inputs: Likewise.
28460         * benchtests/slowatan-inputs: Remove.
28461         * benchtests/slowatan.c: Remove.
28462         * benchtests/slowcos-inputs: Remove.
28463         * benchtests/slowcos.c: Remove.
28464         * benchtests/slowexp-inputs: Remove.
28465         * benchtests/slowexp.c: Remove.
28466         * benchtests/slowpow-inputs: Remove.
28467         * benchtests/slowpow.c: Remove.
28468         * benchtests/slowsin-inputs: Remove.
28469         * benchtests/slowsin.c: Remove.
28470         * benchtests/slowtan-inputs: Remove.
28471         * benchtests/slowtan.c: Remove.
28472         * benchtests/tan-inputs: Add slow benchmark inputs.
28473         * scripts/bench.pl: Parse comments and directives.
28475         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28476         in CPPFLAGS.
28477         ($(objpfx)bench-%.c): Remove *-ITER.
28478         * benchtests/bench-modf.c: Remove definition of ITER.
28479         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28480         (main): Loop for DURATION seconds instead of fixed number of
28481         iterations.
28482         * scripts/bench.pl: Don't expect iterations in parameters.
28484 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28486         * io/fchdir.c (__fchdir): Renamed from fchdir.
28487         (fchdir): Define as weak alias.
28489 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28491         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28492         (ERRNO_EDOM): Likewise.
28493         (ERRNO_ERANGE): Likewise.
28494         (noErrnoTests): New variable.
28495         (init_max_error): Set errno to 0.
28496         (test_single_errno): New function.
28497         (test_errno): Likewise.
28498         (check_float_internal): Call test_errno.  Set errno to 0.
28499         (check_complex): Refer to errno tests in comment.
28500         (check_int): Call test_errno.  Set errno to 0.
28501         (check_long): Likewise.
28502         (check_bool): Likewise.
28503         (check_longlong): Likewise.
28504         (cos_test): Use ERRNO_* flags for errno tests instead of
28505         check_int.
28506         (expm1_test): Likewise.
28507         (fmod_test): Likewise.
28508         (ilogb_test): Likewise.
28509         (lgamma_test): Likewise.
28510         (pow_test): Likewise.
28511         (remainder_test): Likewise.
28512         (sin_test): Likewise.
28513         (tan_test): Likewise.
28514         (yn_test): Likewise.
28515         (initialize): Set errno to 0.
28516         (main): Print number of errno tests.
28517         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28519 2013-04-29  Andreas Jaeger  <aj@suse.de>
28521         [BZ #15084]
28522         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28523         and RES_USEVC.
28525         [BZ #15085]
28526         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28527         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28528         unimplemented.
28530         [BZ #15380]
28531         * stdlib/random.c (__initstate): Return NULL if
28532         __initstate fails.
28534         [BZ #15086]
28535         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28536         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28537         RES_SNGLKUPREOP.
28539 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28543 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28545         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28546         of individual tests.
28547         (casin_test): Likewise.
28548         (casinh_test): Likewise.
28550 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28552         [BZ #15409]
28553         * math/s_catan.c (__catan): Handle arguments with large real or
28554         imaginary part separately without squaring.
28555         * math/s_catanf.c (__catanf): Likewise.
28556         * math/s_catanh.c (__catanh): Likewise.
28557         * math/s_catanhf.c (__catanhf): Likewise.
28558         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28559         and redefine.
28560         (__catanhl): Handle arguments with large real or imaginary part
28561         separately without squaring.
28562         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28563         and redefine.
28564         (__catanl): Handle arguments with large real or imaginary part
28565         separately without squaring.
28566         * math/libm-test.inc (catan_test): Add more tests.
28567         (catanh_test): Likewise.
28568         * sysdeps/i386/fpu/libm-test-ulps: Update.
28569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28571 2013-04-27  Andreas Jaeger  <aj@suse.de>
28573         [BZ #15007]
28574         * stdlib/stdlib.h: Update guards for qecvt.
28575         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28576         <stdlib.h>.
28578 2013-04-27  Allan McRae  <allan@archlinux.org>
28580         * sysdeps/i386/fpu/libm-test-ulps: Update.
28582 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28584         [BZ #15406]
28585         * math/s_catan.c: Include <float.h>.
28586         (__catan): Ensure underflow exception occurs for underflowed
28587         result.
28588         * math/s_catanf.c: Include <float.h>.
28589         (__catanf): Ensure underflow exception occurs for underflowed
28590         result.
28591         * math/s_catanh.c: Include <float.h>.
28592         (__catanh): Ensure underflow exception occurs for underflowed
28593         result.
28594         * math/s_catanhf.c: Include <float.h>.
28595         (__catanhf): Ensure underflow exception occurs for underflowed
28596         result.
28597         * math/s_catanhl.c: Include <float.h>.
28598         (__catanhl): Ensure underflow exception occurs for underflowed
28599         result.
28600         * math/s_catanl.c: Include <float.h>.
28601         (__catanl): Ensure underflow exception occurs for underflowed
28602         result.
28603         * math/libm-test.inc (catan_test): Add more tests.
28604         (catanh_test): Likewise.
28606         [BZ #15405]
28607         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28608         underflowed result.
28609         * math/s_ccoshf.c (__ccoshf): Likewise.
28610         * math/s_ccoshl.c (__ccoshl): Likewise.
28611         * math/s_csin.c (__csin): Likewise.
28612         * math/s_csinf.c (__csinf): Likewise.
28613         * math/s_csinh.c (__csinh): Likewise.
28614         * math/s_csinhf.c (__csinhf): Likewise.
28615         * math/s_csinhl.c (__csinhl): Likewise.
28616         * math/s_csinl.c (__csinl): Likewise.
28617         * math/libm-test.inc (ccos_test): Add more tests.
28618         (ccosh_test): Likewise.
28619         (csin_test): Likewise.
28620         (csinh_test): Likewise.
28622 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28624         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28625         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28626         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28627         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28628         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28629         powerpc/power5+/fpu folders.
28630         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28633 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28637 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28639         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28640         additions to variable.
28641         [$(config-machine) = x86_64] (modules-names): Likewise.
28642         ($(objpfx)tst-audit3): Remove dependency.
28643         ($(objpfx)tst-audit3.out): Likewise.
28644         ($(objpfx)tst-audit4): Likewise.
28645         ($(objpfx)tst-audit4.out): Likewise.
28646         ($(objpfx)tst-audit5): Likewise.
28647         ($(objpfx)tst-audit5.out): Likewise.
28648         ($(objpfx)tst-audit6): Likewise.
28649         ($(objpfx)tst-audit6.out): Likewise.
28650         ($(objpfx)tst-audit7): Likewise.
28651         ($(objpfx)tst-audit7.out): Likewise.
28652         (tst-audit3-ENV): Remove variable.
28653         (tst-audit4-ENV): Likewise.
28654         (tst-audit5-ENV): Likewise.
28655         (tst-audit6-ENV): Likewise.
28656         (tst-audit7-ENV): Likewise.
28657         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28658         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28659         addition to variable.
28660         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28661         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28662         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28663         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28664         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28665         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28666         tst-audit3, tst-audit4 and tst-audit5.
28667         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28668         tst-audit6 and tst-audit7.
28669         [$(subdir) = elf] (modules-names): Add audit modules for those
28670         tests.
28671         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28672         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28673         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28674         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28675         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28676         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28677         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28678         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28679         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28680         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28681         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28682         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28683         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28684         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28685         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28686         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28687         Likewise.
28688         [$(subdir) = elf && $(config-cflags-avx) = yes]
28689         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28690         [$(subdir) = elf && $(config-cflags-avx) = yes]
28691         (CFLAGS-tst-auditmod4a.c): Likewise.
28692         [$(subdir) = elf && $(config-cflags-avx) = yes]
28693         (CFLAGS-tst-auditmod4b.c): Likewise.
28694         [$(subdir) = elf && $(config-cflags-avx) = yes]
28695         (CFLAGS-tst-auditmod6b.c): Likewise.
28696         [$(subdir) = elf && $(config-cflags-avx) = yes]
28697         (CFLAGS-tst-auditmod6c.c): Likewise.
28698         [$(subdir) = elf && $(config-cflags-avx) = yes]
28699         (CFLAGS-tst-auditmod7b.c): Likewise.
28700         * elf/tst-audit3.c: Move to ...
28701         * sysdeps/x86_64/tst-audit3.c: ... here.
28702         * elf/tst-audit4.c: Move to ...
28703         * sysdeps/x86_64/tst-audit4.c: ... here.
28704         * elf/tst-audit5.c: Move to ...
28705         * sysdeps/x86_64/tst-audit5.c: ... here.
28706         * elf/tst-audit6.c: Move to ...
28707         * sysdeps/x86_64/tst-audit6.c: ... here.
28708         * elf/tst-audit7.c: Move to ...
28709         * sysdeps/x86_64/tst-audit7.c: ... here.
28710         * elf/tst-auditmod3a.c: Move to ...
28711         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28712         * elf/tst-auditmod3b.c: Move to ...
28713         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28714         * elf/tst-auditmod4a.c: Move to ...
28715         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28716         * elf/tst-auditmod4b.c: Move to ...
28717         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28718         * elf/tst-auditmod5a.c: Move to ...
28719         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28720         * elf/tst-auditmod5b.c: Move to ...
28721         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28722         * elf/tst-auditmod6a.c: Move to ...
28723         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28724         * elf/tst-auditmod6b.c: Move to ...
28725         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28726         * elf/tst-auditmod6c.c: Move to ...
28727         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28728         * elf/tst-auditmod7a.c: Move to ...
28729         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28730         * elf/tst-auditmod7b.c: Move to ...
28731         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28733 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28735         [BZ #15366]
28736         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28737         define unconditionally.
28738         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28739         define unconditionally.
28740         (INT8_C, INT16_C, etc.): Likewise.
28742 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28744         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28745         __ehdr_start with hidden visibility.
28747         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28749 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28751         * math/libm-test.inc (cos_test): Use accurate hex constants.
28752         (sincost_test): Likewise.
28754 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28756         * math/libm-test.inc (catan_test): Add more tests.
28757         (catanh_test): Likewise.
28759         * math/s_catanf.c (__catanf): Use suffixed floating-point
28760         constants.
28761         * math/s_catanhf.c (__catanhf): Likewise.
28762         * math/s_catanhl.c (__catanhl): Likewise.
28763         * math/s_catanl.c (__catanl): Likewise.
28765         [BZ #15394]
28766         * math/s_catan.c (__catan): Calculate imaginary part of result
28767         with log1p not log unless computing log of number close to 0.
28768         * math/s_catanf.c (__catanf): Likewise.
28769         * math/s_catanl.c (__catanl): Likewise.
28770         * math/s_catanh.c (__catanh): Calculate real part of result with
28771         log1p not log unless computing log of number close to 0.
28772         * math/s_catanhf.c (__catanhf): Likewise.
28773         * math/s_catanhl.c (__catanhl): Likewise.
28774         * math/libm-test.inc (catan_test): Add more tests.
28775         (catanh_test): Likewise.
28776         * sysdeps/i386/fpu/libm-test-ulps: Update.
28777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28779 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28781         * benchtests/Makefile: Mention files in which fast and slow
28782         paths of math functions are implemented.
28784 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28786         * sysdeps/posix/timespec_get.c: New file.
28788 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28790         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28791         POWER.
28792         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28793         for POWER.
28794         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28795         powerpc/power5/fpu folders.
28796         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28797         * benchtests/Makefile: Add modf testcase.
28798         * benchtests/bench-modf.c: New file: Benchmark test for mo
28800 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28802         [BZ #14888]
28803         * time/Makefile (tests): Add tst-strptime-whitespace.
28804         * time/strptime_l.c (get_number): Use ISSPACE.
28805         (__strptime_internal): Likewise.
28806         * time/tst-strptime-whitespace.c: New test case.
28808 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28810         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28811         member.
28812         (_nss_files_init): Set it here.
28814 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28816         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28817         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28818         unsigned.
28820 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28822         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28824 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28826         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28827         size just once.
28829 2013-04-21  David S. Miller  <davem@davemloft.net>
28831         * po/ru.po: Update Russion translation from translation project.
28833 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28835         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28836         and setfsgid.
28838 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28840         * configure.in: Remove i386 configure warning. Remove i386 case.
28841         * configure: Regenerate.
28842         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28843         Add example to error message.
28844         * sysdeps/i386/configure: Regenerate.
28846 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28848         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28849         slowtan.
28850         * benchtests/cos-inputs: New file.
28851         * benchtests/slowcos-inputs: New file.
28852         * benchtests/slowcos.c: New file.
28853         * benchtests/slowtan-inputs: New file.
28854         * benchtests/slowtan.c: New file.
28855         * benchtests/tan-inputs: New file.
28857 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28859         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28860         considered kosher.
28862 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28864         * benchtests/Makefile: Include cppflags-iterator.mk to add
28865         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28867         * Makefile.in (bench-clean): New target.
28868         * benchtests/Makefile (bench-clean): Likewise.
28870 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28872         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28874 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28876         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28878 2013-04-15  Andreas Schwab  <schwab@suse.de>
28880         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28881         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28882         * nscd/pwdcache.c (cache_addpw): Likewise.
28883         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28884         more than recsize.
28886 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28888         * benchtests/Makefile (bench): Write all output to
28889         bench-out.tmp together.
28891 2013-04-15  Andreas Schwab  <schwab@suse.de>
28893         * nscd/nscd.c (main): Don't fork again after closing files.
28895 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28897         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28899         * benchtests/Rules (bench-deps): Collect dependencies into a
28900         single variable.  Add Makefile to dependencies.
28901         ($(objpfx)bench-%.c): Depend on bench-deps.
28903 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28904             Xavier Roche  <roche+kml2@exalead.com>
28906         [BZ #15361]
28907         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28908         just that it's a file descriptor.
28909         * manual/llio.texi (Synchronizing AIO Operations): Update description
28910         for EBADF error from aio_fsync.
28912 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28914         * Rules (bench): Move target definition...
28915         * benchtests/Makefile: ... here.
28917 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28919         * math/libm-test.inc (cos_test): Fix PI/2 test.
28920         (sincos_test): Likewise.
28921         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28922         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28924 2013-04-11  Andreas Schwab  <schwab@suse.de>
28926         [BZ #13988]
28927         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28928         accept exponent character only when digits were seen.
28929         * stdio-common/Makefile (tests): Add bug26.
28930         * stdio-common/bug26.c: New file.
28932         [BZ #14293]
28933         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28934         non-freeable.
28936 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28938         * Makeconfig (rtld-prefix): Define built linker prefix.
28939         * Rules (run-bench): Use it.
28940         * math/Makefile (run-regen-ulps): Likewise.
28942         * Rules (bench): Remove eval.
28944 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28945             Roland McGrath  <roland@hack.frob.com>
28946             Ondrej Bilka  <neleai@seznam.cz>
28948         [BZ #15346]
28949         * time/getdate.c: Include ctype.h and alloca.h.
28950         (__getdate_r): Trim leading and trailing spaces of input.
28951         * time/tst-getdate.c (tests): Add tests with leading and
28952         trailing spaces.
28954 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28956         [BZ #14280]
28957         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28958         when computing value.
28960 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28962         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28963         Use testrun.sh to run libm tests.
28965         [BZ #15309]
28966         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28968 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28970         [BZ #15264]
28971         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28973 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28975         * Makefile.in (regen-ulps): New target.
28976         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28977         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28978         [ifneq (no,$(PERL)] (regen-ulps): New target.
28979         [ifeq (no,$(PERL)] (regen-ulps): New target.
28980         * math/libm-test.inc (ulps_file_name): Define.
28981         (output_dir): New variable.
28982         (options): Add "output-dir" option.
28983         (parse_opt): Handle 'o' case.
28984         (main): If output_dir is non-NULL use it as a prefix
28985         otherwise use "".
28986         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28988 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28990         [BZ #10060, #10062]
28991         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28992         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28993         fail configure if __sync_val_compare_and_swap is not inlined.
28994         * sysdeps/i386/configure: Regenerate.
28995         * configure.in: Build for i686 when configured for i386.
28996         * configure: Regenerate.
28997         * README: Remove i386 reference.
28999 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29001         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29002         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29004 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29006         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29007         (lmsnanval): New variables.
29008         (F): Add conversion tests.
29009         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29010         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29012         * stdio-common/tstdiomisc.c (F): Properly collect individual
29013         tests' results.
29015         [BZ #14686, #15336]
29016         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29017         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29018         Instead, use input NaN values or generate a qNaN by arithmetic
29019         operation.  Also fix bugs to comply with the standard.
29020         * math/libm-test.inc (remainder_test): Add more tests.
29022         [BZ #15335, #15342]
29023         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29025         input NaN values or generate a qNaN by arithmetic operation.
29027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29028         unreachable code.
29030         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29031         definitions.
29033 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29035         [BZ #14478]
29036         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29037         underflowed result.
29038         * math/s_cexpf.c (__cexpf): Likewise.
29039         * math/s_cexpl.c (__cexpl): Likewise.
29040         * math/libm-test.inc (cexp_test): Add more tests.
29042 2013-04-03  Andreas Schwab  <schwab@suse.de>
29044         [BZ #15330]
29045         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29046         order arrays from heap if bigger than alloca cutoff.
29048 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29050         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29051         (SNAN_TESTS_double): Refer to GCC PR56831.
29052         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29053         GCC PR56828.
29055 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29057         * Rules (bench): Move bench.out after the run is complete.
29059         * Rules (bench): Echo currently running benchmark.
29061         * benchtests/Makefile (bench): Add atan and slowatan.
29062         * benchtests/atan-inputs: New file.
29063         * benchtests/slowatan-inputs: New file.
29064         * benchtests/slowatan.c: New file.
29066         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29067         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29068         its value.
29070         [BZ #15305]
29071         * sysdeps/unix/sysv/linux/kernel-features.h
29072         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29073         __ASSUME_XFS_RESTRICTED_CHOWN.
29074         * sysdeps/unix/sysv/linux/pathconf.c
29075         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29076         Save and restore errno.
29078 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29080         [BZ #15327]
29081         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29082         arguments using __kernel_casinh.
29083         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29084         arguments using __kernel_casinhf.
29085         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29086         arguments using __kernel_casinhl.
29087         * math/libm-test.inc (cacosh_test): Add more tests.
29088         * sysdeps/i386/fpu/libm-test-ulps: Update.
29089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29091 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29093         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29094         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29096         * bench/Makefile (bench): Add sin and slowsin.
29097         * benchtests/sin-inputs: New file.
29098         * benchtests/slowsin-inputs: New file.
29099         * benchtests/slowsin.c: New file.
29101         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29102         (bench): Add slowexp and slowpow.
29103         (exp-ITER): Increase iterations.
29104         (pow-ITER): Likewise.
29105         * benchtests/exp-inputs: Change input.
29106         * benchtests/pow-inputs: Likewise.
29107         * benchtests/slowexp-inputs: New file.
29108         * benchtests/slowexp.c: New file.
29109         * benchtests/slowpow-inputs: New file.
29110         * benchtests/slowpow.c: New file.
29112 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29114         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29115         instructions.
29116         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29117         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29118         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29119         * benchtests/Makefile: Add rint benchtest.
29120         * benchtests/rint-inputs: Input for rint benchtest.
29122 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29124         * Versions.def (libm): Add GLIBC_2.18.
29125         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29126         hidden libm prototypes.
29127         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29128         * math/Makefile (libm-calls): Add s_issignaling.
29129         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29130         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29131         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29132         declaration.
29133         * math/math.h [__USE_GNU] (issignaling): New macro.
29134         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29135         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29136         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29137         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29138         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29139         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29140         * manual/arith.texi (issignaling): New section.
29141         * manual/libm-err-tab.pl (@all_functions): Update comment.
29142         * math/gen-libm-test.pl (parse_args): Apply special handling for
29143         issignaling.
29144         * math/libm-test.inc (print_float, issignaling_test): New
29145         functions.
29146         (check_float_internal): Add issignaling checks.
29147         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29148         default definition.
29149         * sysdeps/powerpc/math-tests.h: New file.
29150         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29151         tests.
29152         * math/test-snan.c (TEST_FUNC): Likewise.
29154 2013-03-30  David S. Miller  <davem@davemloft.net>
29156         * po/de.po: Update from translation team.
29158 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29160         [BZ #10357]
29161         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29162         imaginary part less than 1.0 and real part less than 0.5
29163         specially.
29164         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29165         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29166         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29167         (cacos_test): Add more tests.
29168         (casin_test): Likewise.
29169         (casinh_test): Likewise.
29170         * sysdeps/i386/fpu/libm-test-ulps: Update.
29171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29173 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29175         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29176         ONE with its value.
29178         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29179         (__pow_mp): Replace ONE and MONE with their values.
29180         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29181         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29182         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29183         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29184         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29185         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29187         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29189         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29190         (__pow_mp): Replace ZERO and MZERO with their values.
29191         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29192         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29193         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29195         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29196         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29197         (__sqr): Likewise.
29199         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29201         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29203 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29205         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29206         Declare with __attribute__ ((weak)).
29207         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29208         Call __call_tls_dtors only if it's not NULL.
29210 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29212         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29213         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29214         magic __ehdr_start linker symbol if it's defined.
29215         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29216         them up here if it was already done.
29218         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29219         (_dl_aux_init): Use const in cast when setting it.
29220         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29221         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29222         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29224         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29225         Declare them here.
29226         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29227         * csu/libc-tls.c: Nor here.
29228         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29230         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29231         (__libc_message): Never call vsyslog.
29233 2013-03-28  Alan Modra  <amodra@gmail.com>
29235         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29236         Define as empty.
29237         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29238         Likewise.
29240 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29242         [BZ #15214]
29243         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29244         underflow.
29245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29247 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29249         [BZ #15304]
29250         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29251         Don't add gid passed as argument.
29253         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29255 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29257         [BZ #15307]
29258         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29259         imaginary part between 1.0 and 1.5 and real part less than 0.5
29260         specially.
29261         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29262         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29263         * math/libm-test.inc (cacos_test): Add more tests.
29264         (casin_test): Likewise.
29265         (casinh_test): Likewise.
29266         * sysdeps/i386/fpu/libm-test-ulps: Update.
29267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29269 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29271         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29272         constants.
29273         (norm): Likewise.
29274         (denorm): Likewise.
29275         (__dbl_mp): Likewise.
29276         (add_magnitudes): Likewise.
29277         (sub_magnitudes): Likewise.
29278         (__add): Likewise.
29279         (__sub): Likewise.
29280         (__mul): Likewise.
29281         (__sqr): Likewise.
29282         (__inv): Likewise.
29283         (__dvd): Likewise.
29285         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29286         commented code.
29287         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29288         (__dubcos): Likewise.
29289         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29290         (__ieee754_acos): Likewise.
29291         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29292         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29293         (__exp1): Likewise.
29294         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29296         (log1): Likewise.
29297         (my_log2): Likewise.
29298         (checkint): Likewise.
29299         * sysdeps/ieee754/dbl-64/e_remainder.c
29300         (__ieee754_remainder): Likewise.
29301         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29302         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29303         (bsloww): Likewise.
29304         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29306         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29307         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29308         MANTISSA_STORE_T to store computations on mantissa.  Use
29309         macros for rounding and division.
29310         (denorm): Likewise.
29311         (__dbl_mp): Likewise.
29312         (add_magnitudes): Likewise.
29313         (sub_magnitudes): Likewise.
29314         (__mul): Likewise.
29315         (__sqr): Likewise.
29316         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29317         powers of two in terms of TWOPOW macro.
29318         (mp_no): Make type of mantissa as MANTISSA_T.
29319         [!RADIXI]: Define RADIXI.
29320         [!TWO52]: Define TWO52.
29321         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29323 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29325         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29326         llroundl symbol when building for PPC32.
29328 2013-03-24  Mark H Weaver  <mhw@netris.org>
29330         * manual/arith.texi (Normalization Functions): Fix prototypes for
29331         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29333 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29335         [BZ #13889]
29336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29337         high value to check if expl overflow.
29338         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29339         to check for underflow and overflow.
29340         * math/libm-test.inc: Add exp test.
29342 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29344         [BZ #11120]
29345         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29346         with NOT_IN_libc.
29348 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29350         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29351         symbol.
29353 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29355         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29356         wrap blocks consisting of several statements.
29358         * sysdeps/generic/math-tests.h: New file.
29359         * sysdeps/i386/fpu/math-tests.h: Likewise.
29360         * math/test-snan.c: Include it.
29361         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29363 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29365         [BZ #15285]
29366         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29367         (__ieee754_j0l): Do not improve calculations using cos of twice
29368         input for inputs above LDBL_MAX / 2.0L.
29369         (__ieee754_y0l): Likewise.
29370         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29371         (__ieee754_j1l): Do not improve calculations using cos of twice
29372         input for inputs above LDBL_MAX / 2.0L.
29373         (__ieee754_y1l): Likewise.
29374         * math/libm-test.inc (j0_test): Add another test.
29375         (j1_test): Likewise.
29376         (y0_test): Likewise.
29377         (y1_test): Likewise.
29378         * sysdeps/i386/fpu/libm-test-ulps: Update.
29380 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29382         * Rules ($(objpfx)bench-%.c): Include code from a C source
29383         file.
29385 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29387         [BZ #15287]
29388         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29389         imaginary part 1.0 and real part less than 0.5 specially.
29390         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29391         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29392         * math/libm-test.inc (cacos_test): Add more tests.
29393         (casin_test): Likewise.
29394         (casinh_test): Likewise.
29395         * sysdeps/i386/fpu/libm-test-ulps: Update.
29396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29398 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29400         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29401         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29403 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29405         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29406         * config.make.in (config-cflags-sse4): Remove variable.
29407         (config-cflags-avx): Likewise.
29408         (config-cflags-sse2avx): Likewise.
29409         (config-cflags-novzeroupper): Likewise.
29410         (config-asflags-i686): Likewise.
29411         (have-mfma4): Likewise.
29412         (have-as-vis3): Likewise.
29413         (MIG): Likewise.
29414         * configure.in (MIG): Do not AC_SUBST.
29415         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29416         (libc_cv_cc_sse4): Do not AC_SUBST.
29417         (libc_cv_cc_avx): Likewise.
29418         (libc_cv_cc_sse2avx): Likewise.
29419         (libc_cv_cc_novzeroupper): Likewise.
29420         (libc_cv_cc_fma4): Likewise.
29421         (libc_cv_as_i686): Likewise.
29422         (libc_cv_sparc_as_vis3): Likewise.
29423         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29424         LIBC_CONFIG_VAR.
29425         (config-asflags-i686): Likewise.
29426         (config-cflags-avx): Likewise.
29427         (config-cflags-sse2avx): Likewise.
29428         (have-mfma4): Likewise.
29429         (config-cflags-novzeroupper): Likewise.
29430         * sysdeps/mach/configure.in (MIG): Likewise.
29431         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29432         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29433         LIBC_CONFIG_VAR.
29434         (config-cflags-avx): Likewise.
29435         (config-cflags-sse2avx): Likewise.
29436         (have-mfma4): Likewise.
29437         (config-cflags-novzeroupper): Likewise.
29438         * configure: Regenerated.
29439         * sysdeps/i386/configure: Likewise.
29440         * sysdeps/mach/configure: Likewise.
29441         * sysdeps/sparc/configure: Likewise.
29442         * sysdeps/x86_64/configure: Likewise.
29444 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29446         [BZ #14812]
29447         * locale/programs/localedef.c (options): Put N_ translation marker
29448         on argument names, not just descriptions.
29450 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29452         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29454 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29456         [BZ #14176]
29457         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29459 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29461         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29462         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29463         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29464         [!BEFORE_ABORT] (before_abort): New function.
29465         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29466         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29467         (writev_for_fatal): New function.
29468         (WRITEV_FOR_FATAL): New macro; call that.
29469         (backtrace_and_maps): New function.
29470         (BEFORE_ABORT): New macro; call that.
29471         (struct str_list): Type removed.
29472         (__libc_message, __libc_fatal): Functions removed.
29473         Include <sysdeps/posix/libc_fatal.c> instead.
29475 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29477         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29478         constants.
29479         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29480         double constants.
29482 2013-03-19  Andreas Schwab  <schwab@suse.de>
29484         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29485         * sysdeps/gnu/configure: Regenerate.
29487         * configure.in: Substitute libc_cv_rtlddir.
29488         * configure: Regenerate.
29489         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29490         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29491         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29492         * elf/Makefile (install-others, CFLAGS-interp.c)
29493         (ldso_install, common-ldd-rewrite): Likewise.
29494         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29495         $(inst_slibdir)/$(rtld-installed-name).
29496         * scripts/rellns-sh: Add -p option.
29497         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29498         for source.
29500 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29502         * manual/nptl.texi: Renamed to ...
29503         * manual/threads.texi: ... this.
29504         * manual/Makefile (chapters): Update.
29506 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29508         [BZ #14812]
29509         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29510         on argument names, not just descriptions.
29511         * malloc/memusagestat.c (options): Likewise.
29512         * nss/getent.c (options): Likewise.
29514 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29516         [BZ #14812]
29517         * iconv/iconv_prog.c (options): Put N_ translation marker
29518         on argument names, not just descriptions.
29519         * iconv/iconvconfig.c (options): Likewise.
29521 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29523         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29524         implementation which is faster on all x86_64 architectures.
29525         Tested on AMD, Intel Nehalem, SNB, IVB.
29526         * sysdeps/x86_64/strnlen.S: Likewise.
29528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29529         Remove all multiarch strlen and strnlen versions.
29530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29531         Remove strlen and strnlen related parts.
29533         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29534         Inline strlen part.
29535         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29537         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29538         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29539         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29540         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29541         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29542         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29544 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29546         * manual/memory.texi (Malloc Tunable Parameters):
29547         Sort parameters alphabetically. Add comments for missing entries.
29549 2013-03-17  David S. Miller  <davem@davemloft.net>
29551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29553 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29555         [BZ #15283]
29556         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29557         for arguments at most half maximum finite value.
29558         * math/libm-test.inc (j0_test): Add more tests.
29559         (j1_test): Likewise.
29560         (y0_test): Likewise.
29561         (y1_test): Likewise.
29562         * sysdeps/i386/fpu/libm-test-ulps: Update.
29563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29565         [BZ #14155]
29566         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29567         1 / x and functions P and Q for arguments above 0x1p256L.
29568         (__ieee754_y0l): Likewise.
29569         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29570         (__ieee754_y1l): Likewise.
29571         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29572         (j1_test): Likewise.
29573         (y0_test): Likewise.
29574         (y1_test): Likewise.
29576 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29578         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29579         variable.
29581 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29583         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29584         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29585         zero since it's initialized to EXEC_PAGESIZE.
29587         * sysdeps/unix/sysv/linux/ldsodefs.h
29588         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29589         * sysdeps/generic/ldsodefs.h: ... here.
29591 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29593         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29595         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29596         math/test-snan.c.
29597         * math/test-snan.c: Renamed from
29598         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29599         * math/Makefile (tests): Add test-snan.
29600         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29601         test-powerpc-snan.
29603         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29604         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29605         functions.
29606         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29607         __builtin_nan family of functions.
29608         * math/libm-test.inc (initialize): Initialize qnan_value with
29609         __builtin_nan family of functions.
29610         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29611         Remove variables.
29612         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29613         Remove functions.
29614         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29615         storage class.  Initialize qNaN_var and sNaN_var with
29616         __builtin_nan and __builtin_nans families of functions,
29617         respectively.
29619         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29620         (sqrt_test): Remove duplicate test with qNaN input.
29621         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29622         (round_test, signbit_test, significand_test): Note missing +/-Inf
29623         as well as qNaN tests.
29625         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29626         qNaN_var.  Fix a few strings, too.
29627         * math/libm-test.inc (nan_value): Rename to qnan_value.
29628         * math/gen-libm-test.pl (%beautify): Adjust to that.
29629         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29630         * math/test-misc.c (main): Likewise.
29631         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29632         to __qnan_bytes, and __qnan_union, respectively.
29633         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29634         Likewise.
29635         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29636         and lqnanval, respectively.
29637         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29638         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29639         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29640         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29642         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29643         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29644         doubles.
29646         * math/test-misc.c (main): Fix copy'n'pastos.
29647         * misc/tst-efgcvt.c (special): Likewise.
29649         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29650         Remove declarations.
29652 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29654         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29655         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29656         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29657         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29659 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29661         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29662         macro to return vdso values correctly in IFUNC implementations.
29663         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29664         Optimization by using IFUNC.
29666 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29667             Richard Henderson  <rth@redhat.com>
29668             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29670         * Makefile.in (bench): New target.
29671         * NEWS: Mention the benchmark framework.
29672         * Rules (bench): Likewise.
29673         (binaries-bench): Generate binaries for functions to
29674         benchmark.
29675         * benchtests/Makefile: New makefile for benchmark tests.
29676         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29677         programs.
29678         * benchtests/exp-inputs: New input file for EXP function.
29679         * benchtests/pow-inputs: New input file for POW function.
29680         * scripts/bench.pl: New script to generate source files for
29681         benchmark programs.
29683 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29685         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29686         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29687         computations on mantissa.  Use macros for rounding and
29688         division.
29689         (denorm): Likewise.
29690         (__dbl_mp): Likewise.
29691         (add_magnitudes): Likewise.
29692         (sub_magnitudes): Likewise.
29693         (__mul): Likewise.
29694         (__sqr): Likewise.
29695         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29696         powers of two in terms of TWOPOW macro.
29697         (mp_no): Make type of mantissa as MANTISSA_T.
29698         [!RADIXI]: Define RADIXI.
29699         [!TWO52]: Define TWO52.
29700         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29702         * manual/nptl.texi (cindex): Modify threads to pthreads.
29704 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29706         * sysdeps/x86_64/preconfigure: Regenerated.
29708 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29710         [BZ #14155]
29711         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29712         0x1p28 and above.
29713         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29714         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29715         0x1p28 and above.
29716         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29717         * math/libm-test.inc (j0_test): Do not allow one spurious
29718         underflow exception.
29719         (y1_test): Likewise.
29721 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29723         * manual/Makefile (chapters): Add nptl.
29724         * manual/debug.texi (Debugging Support): Add link to Threads
29725         chapter.
29726         * manual/nptl.texi: New file.
29728         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29730 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29732         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29733         for non-NULL pointer before the memory validity test. Pointed
29734         out by Holger Brunck <holger.brunck@keymile.com>.
29736 2013-03-13  Andreas Schwab  <schwab@suse.de>
29738         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29739         instead of .os.
29741 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29743         * timezone/zic.c: Update from tzcode 2013b.
29745 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29747         * manual/install.texi (Configuring and compiling):
29748         Mention i686 and i586.
29749         * INSTALL: Regenerate.
29751 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29753         * sysdeps/init_array/elf-init.c: New file.
29754         * csu/elf-init.c
29755         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29756         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29758         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29759         __gmon_start__ as global, but as static with a .preinit_array pointer.
29760         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29761         * sysdeps/init_array/crti.S: New file, empty except for comments.
29762         * sysdeps/init_array/crtn.S: Likewise.
29764 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29766         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29767         definining bcopy.
29768         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29769         Remove Prefer_SSE_for_memop.
29770         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29771         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29772         HAS_PREFER_SSE_FOR_MEMOP.
29773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29774         memset-x86-64.
29775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29776         Remove bzero, memset ifunc support.
29777         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29778         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29779         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29780         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29782 2013-03-11  Andreas Schwab  <schwab@suse.de>
29784         [BZ #15234]
29785         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29786         by SHLIB_COMPAT.
29787         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29788         (GLIBC_2.16): Remove pthread_atfork.
29790 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29792         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29793         (ptestcases.h): Likewise.
29795 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29797         * Makeconfig ($(common-objpfx)config.status): Depend on
29798         sysdeps/*/preconfigure{,.in} too.
29800 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29802         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29803         (__free_hook): Use void * instead of __malloc_ptr_t.
29804         (__malloc_hook): Likewise.
29805         (__realloc_hook): Likewise.
29806         (__memalign_hook): Likewise.
29807         (__after_morecore_hook): Likewise.
29808         * malloc/arena.c (save_malloc_hook): Likewise.
29809         (save_free_hook): Likewise.
29810         * malloc/hooks.c (malloc_hook_ini): Likewise.
29811         (realloc_hook_ini): Likewise.
29812         (memalign_hook_ini): Likewise.
29813         * malloc/malloc.c (malloc_hook_ini): Likewise.
29814         (realloc_hook_ini): Likewise.
29815         (memalign_hook_ini): Likewise.
29816         (__free_hook): Likewise.
29817         (__malloc_hook): Likewise.
29818         (__realloc_hook): Likewise.
29819         (__memalign_hook): Likewise.
29820         (__libc_malloc): Likewise.
29821         (__libc_free): Likewise.
29822         (__libc_realloc): Likewise.
29823         (__libc_memalign): Likewise.
29824         (__libc_valloc): Likewise.
29825         (__libc_pvalloc): Likewise.
29826         (__libc_calloc): Likewise.
29827         (__posix_memalign): Likewise.
29828         * malloc/morecore.c (__sbrk): Likewise.
29829         (__default_morecore): Likewise.
29831         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29833         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29834         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29835         __malloc_ptrdiff_t.
29837         * malloc/malloc.h (__malloc_size_t): Remove macro.
29838         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29839         __malloc_size_t.
29840         (old_memalign_hook): Likewise.
29841         (old_realloc_hook): Likewise.
29842         (struct hdr): Likewise.
29843         (flood): Likewise.
29844         (mallochook): Likewise.
29845         (memalignhook): Likewise.
29846         (reallochook): Likewise.
29847         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29848         (tr_old_realloc_hook): Likewise.
29849         (tr_old_memalign_hook): Likewise.
29850         (tr_mallochook): Likewise.
29851         (tr_reallochook): Likewise.
29852         (tr_memalignhook): Likewise.
29854 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29856         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29857         default_ldbl_pack and using as default implementation.
29858         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29859         implementation.
29860         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29861         redundant definition.
29862         (ldbl_insert_mantissa): Likewise.
29863         (ldbl_canonicalize): Likewise.
29864         (ldbl_nearbyint): Likewise.
29865         (ldbl_pack): Rename to ldbl_pack_ppc.
29866         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29867         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29868         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29870 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29873         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29874         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29875         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29877         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29878         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29879         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29881 2013-03-07  Andreas Jaeger  <aj@suse.de>
29883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29884         bits/mman-linux.h.
29886 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29888         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29889         Include mpa.h and declare __MPEXP.
29890         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29891         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29892         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29893         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29894         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29895         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29896         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29898         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29899         (__slowpow): Use long double EXPL and LOGL functions to
29900         compute POW.
29901         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29902         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29903         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29904         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29905         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29906         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29909         intermediate variable to calculate exponent.
29910         (__sqr): Likewise.
29911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29912         Likewise.
29913         (__sqr): Likewise.
29915         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29916         [!NO__SQR]: Define __sqr.
29917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29918         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29919         sysdeps/ieee754/dbl-64/mpa.c.
29920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29922         [BZ #12723]
29923         * posix/Makefile (tests): Add tst-pathconf.
29924         * posix/tst-pathconf.c: New test case.
29925         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29926         _PC_PIPE_BUF.
29927         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29929 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29931         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29933 2013-03-06  Andreas Jaeger  <aj@suse.de>
29935         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29936         definition via __MAP_ANONYMOUS.
29938         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29939         it's not part of Linux headers.
29941         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29942         (MAP_HUGE_MASK): Define.
29944         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29945         Define.
29946         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29947         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29948         Define.
29949         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29950         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29951         Define.
29952         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29953         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29954         Define.
29955         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29957         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29958         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29959         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29960         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29961         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29962         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29964         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29965         Handle f2fs.
29967         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29968         Handle f2fs and efivarfs.
29970         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29971         f2fs.
29973         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29974         (EFIVARFS_MAGIC): Add.
29975         (F2FS_LINK_MAX): Add.
29977 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29979         * stdio-common/vfprintf.c: Replace __builtin_expect with
29980         __glibc_unlikely.
29982 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29984         [BZ #13550]
29985         * sysdeps/generic/bp-sym.h: Remove file.
29986         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29987         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29988         <bp-sym.h> and <bp-asm.h>.
29989         (__longjmp): Don't use BP_SYM.
29990         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29991         and <bp-asm.h>.
29992         (memcpy): Don't use BP_SYM.
29993         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29994         <bp-sym.h> and <bp-asm.h>.
29995         (memcpy): Don't use BP_SYM.
29996         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29997         <bp-asm.h>.
29998         (memcpy): Don't use BP_SYM.
29999         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30000         <bp-asm.h>.
30001         (memset): Don't use BP_SYM.
30002         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30003         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30004         (__bzero): Don't use BP_SYM.
30005         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30006         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30007         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30008         <bp-sym.h> and <bp-asm.h>.
30009         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30010         pointers.
30011         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30012         <bp-sym.h> and <bp-asm.h>.
30013         (memcpy): Don't use BP_SYM.
30014         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30015         <bp-sym.h> and <bp-asm.h>.
30016         (memset): Don't use BP_SYM.
30017         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30018         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30019         (__bzero): Don't use BP_SYM.
30020         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30021         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30022         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30023         <bp-sym.h> and <bp-asm.h>.
30024         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30025         pointers.
30026         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30027         <bp-sym.h> and <bp-asm.h>.
30028         (memcpy): Don't use BP_SYM.
30029         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30030         <bp-sym.h> and <bp-asm.h>.
30031         (memset): Don't use BP_SYM.
30032         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30033         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30034         (__bzero): Don't use BP_SYM.
30035         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30036         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30037         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30038         <bp-sym.h> and <bp-asm.h>.
30039         (__memchr): Don't use BP_SYM.
30040         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30041         <bp-sym.h> and <bp-asm.h>.
30042         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30043         pointers.
30044         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30045         <bp-sym.h> and <bp-asm.h>.
30046         (memcpy): Don't use BP_SYM.
30047         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30048         <bp-sym.h> and <bp-asm.h>.
30049         (__mempcpy): Don't use BP_SYM.
30050         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30051         <bp-sym.h> and <bp-asm.h>.
30052         (__memrchr): Don't use BP_SYM.
30053         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30054         <bp-sym.h> and <bp-asm.h>.
30055         (memset): Don't use BP_SYM.
30056         (__bzero): Likewise.
30057         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30058         <bp-sym.h> and <bp-asm.h>.
30059         (__rawmemchr): Don't use BP_SYM.
30060         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30061         <bp-sym.h> and <bp-asm.h>.
30062         (__STRCMP): Don't use BP_SYM.
30063         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30064         <bp-sym.h> and <bp-asm.h>.
30065         (strchr): Don't use BP_SYM.
30066         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30067         <bp-sym.h> and <bp-asm.h>.
30068         (__strchrnul): Don't use BP_SYM.
30069         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30070         <bp-sym.h> and <bp-asm.h>.
30071         (strlen): Don't use BP_SYM.
30072         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30073         <bp-sym.h> and <bp-asm.h>.
30074         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30075         pointers.
30076         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30077         <bp-sym.h> and <bp-asm.h>.
30078         (__strnlen): Don't use BP_SYM.
30079         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30080         <bp-sym.h> and <bp-asm.h>.
30081         (__GI__setjmp): Don't use BP_SYM.
30082         (_setjmp): Likewise.
30083         (__sigsetjmp): Likewise.
30084         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30085         (L(start_addresses)): Don't use BP_SYM.
30086         (_start): Likewise.
30087         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30088         <bp-asm.h>.
30089         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30090         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30091         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30092         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30093         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30094         <bp-asm.h>.
30095         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30096         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30097         about bounded pointers.
30098         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30099         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30100         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30101         <bp-asm.h>.
30102         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30103         about bounded pointers.  Remove GKM FIXME comments.
30104         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30105         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30106         <bp-asm.h>.
30107         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30108         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30109         Remove GKM FIXME comments.
30110         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30111         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30112         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30113         <bp-asm.h>.
30114         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30115         about bounded pointers.  Remove GKM FIXME comment.
30116         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30117         and <bp-asm.h>.
30118         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30119         pointers.
30120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30121         <bp-sym.h> and <bp-asm.h>.
30122         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30124         <bp-sym.h> and <bp-asm.h>.
30125         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30126         comment.
30128 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30130         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30131         call free(NULL).
30133 2013-03-05  David S. Miller  <davem@davemloft.net>
30135         * po/es.po: Update from translation team.
30137 2013-03-05  Andreas Jaeger  <aj@suse.de>
30139         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30140         <bits/mman-linux.h>.
30141         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30142         is fine.
30143         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30144         <bits/mman-linux.h> to end of file.
30145         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30146         is fine.
30147         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30148         <bits/mman-linux.h> to end of file.
30149         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30150         is fine.
30151         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30152         <bits/mman-linux.h> to end of file.
30154         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30155         (MCL_CURRENT, MCL_FUTURE): Define here.
30157 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30159         [BZ #15232]
30160         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30161         attribute_hidden.
30162         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30164 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30166         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30167         fourth parameter needed for rt_sigprocmask syscall.
30168         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30169         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30170         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30171         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30172         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30173         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30175 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30177         [BZ #13550]
30178         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30179         comment about bounded pointers.
30180         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30181         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30183 2013-03-04  Andreas Jaeger  <aj@suse.de>
30185         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30186         common definitions.
30188         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30189         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30190         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30191         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30192         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30193         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30195 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30197         [BZ #15055]
30198         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30199         __ieee754_sqrl instead of __sqrl.
30201 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30203         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30204         * sysdeps/powerpc/fpu_control.h: ... here.
30205         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30206         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30207         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30208         * sysdeps/powerpc/bits/mathinline.h: ... here.
30210 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30212         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30213         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30214         to just [NEED_DL_SYSINFO_DSO].
30215         * elf/dl-support.c: Likewise.
30216         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30217         * elf/rtld.c (dl_main): Likewise.
30218         * elf/setup-vdso.h (setup_vdso): Likewise.
30219         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30220         * sysdeps/unix/sysv/linux/dl-sysdep.c
30221         (_dl_discover_osversion): Likewise.
30223 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30225         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30226         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30228 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30230         * NEWS: Mention libm performance improvements and non-x86 PI
30231         futex support.
30233         * csu/libc-start.c (__pthread_initialize_minimal): Change
30234         function arguments.
30235         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30237 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30239         [BZ #13550]
30240         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30241         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30242         <bp-sym.h> and <bp-asm.h>.
30243         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30244         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30245         and <bp-asm.h>.
30246         (memcpy): Don't use BP_SYM.
30247         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30248         <bp-asm.h>.
30249         (__mpn_add_n): Don't use BP_SYM.
30250         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30251         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30252         and <bp-asm.h>.
30253         (__mpn_addmul_1): Don't use BP_SYM.
30254         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30255         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30256         <bp-sym.h>.
30257         (_setjmp): Don't use BP_SYM.
30258         (__novmx_setjmp): Likewise.
30259         (__GI__setjmp): Likewise.
30260         (__vmx_setjmp): Likewise.
30261         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30262         <bp-sym.h>.
30263         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30264         (__bzero): Don't use BP_SYM.
30265         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30266         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30267         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30268         <bp-sym.h> and <bp-asm.h>.
30269         (memcpy): Don't use BP_SYM.
30270         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30271         <bp-sym.h> and <bp-asm.h>.
30272         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30273         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30274         <bp-sym.h> and <bp-asm.h>.
30275         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30276         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30277         <bp-asm.h>.
30278         (__mpn_lshift): Don't use BP_SYM.
30279         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30280         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30281         <bp-asm.h>.
30282         (memset): Don't use BP_SYM.
30283         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30284         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30285         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30286         <bp-asm.h>.
30287         (__mpn_mul_1): Don't use BP_SYM.
30288         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30289         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30290         <bp-sym.h> and <bp-asm.h>.
30291         (memcmp): Don't use BP_SYM.
30292         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30293         <bp-sym.h> and <bp-asm.h>.
30294         (memcpy): Don't use BP_SYM.
30295         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30296         <bp-sym.h> and <bp-asm.h>.
30297         (memset): Don't use BP_SYM.
30298         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30299         <bp-sym.h> and <bp-asm.h>.
30300         (strncmp): Don't use BP_SYM.
30301         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30302         <bp-sym.h> and <bp-asm.h>.
30303         (memcpy): Don't use BP_SYM.
30304         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30305         <bp-sym.h> and <bp-asm.h>.
30306         (memset): Don't use BP_SYM.
30307         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30308         <bp-sym.h> and <bp-asm.h>.
30309         (__memchr): Don't use BP_SYM.
30310         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30311         <bp-sym.h> and <bp-asm.h>.
30312         (memcmp): Don't use BP_SYM.
30313         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30314         <bp-sym.h> and <bp-asm.h>.
30315         (memcpy): Don't use BP_SYM.
30316         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30317         <bp-sym.h> and <bp-asm.h>.
30318         (__mempcpy): Don't use BP_SYM.
30319         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30320         <bp-sym.h> and <bp-asm.h>.
30321         (__memrchr): Don't use BP_SYM.
30322         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30323         <bp-sym.h> and <bp-asm.h>.
30324         (memset): Don't use BP_SYM.
30325         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30326         <bp-sym.h> and <bp-asm.h>.
30327         (__rawmemchr): Don't use BP_SYM.
30328         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30329         <bp-sym.h> and <bp-asm.h>.
30330         (__STRCMP): Don't use BP_SYM.
30331         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30332         <bp-sym.h> and <bp-asm.h>.
30333         (strchr): Don't use BP_SYM.
30334         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30335         <bp-sym.h> and <bp-asm.h>.
30336         (__strchrnul): Don't use BP_SYM.
30337         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30338         <bp-sym.h> and <bp-asm.h>.
30339         (strlen): Don't use BP_SYM.
30340         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30341         <bp-sym.h> and <bp-asm.h>.
30342         (strncmp): Don't use BP_SYM.
30343         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30344         <bp-sym.h> and <bp-asm.h>.
30345         (__strnlen): Don't use BP_SYM.
30346         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30347         <bp-asm.h>.
30348         (__mpn_rshift): Don't use BP_SYM.
30349         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30350         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30351         <bp-sym.h> and <bp-asm.h>.
30352         (__sigsetjmp): Don't use BP_SYM.
30353         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30354         (L(start_addresses)): Don't use BP_SYM.
30355         (_start): Likewise.
30356         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30357         <bp-asm.h>.
30358         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30359         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30360         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30361         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30362         <bp-asm.h>.
30363         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30364         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30365         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30366         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30367         <bp-asm.h>.
30368         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30369         comments.
30370         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30371         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30372         <bp-asm.h>.
30373         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30374         FIXME comments.
30375         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30376         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30377         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30378         <bp-asm.h>.
30379         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30380         comment.
30381         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30382         and <bp-asm.h>.
30383         (strncmp): Don't use BP_SYM,
30384         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30385         <bp-asm.h>.
30386         (__mpn_sub_n): Don't use BP_SYM.
30387         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30388         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30389         and <bp-asm.h>.
30390         (__mpn_submul_1): Don't use BP_SYM.
30391         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30393         <bp-sym.h> and <bp-asm.h>.
30394         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30396         <bp-sym.h> and <bp-asm.h>.
30397         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30398         comment.
30400 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30402         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30403         Use ZK to minimize writes to Z.
30404         (sub_magnitudes): Simplify code a bit.
30405         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30406         Use ZK to minimize writes to Z.
30407         (sub_magnitudes): Simplify code a bit.
30409 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30411         * csu/gmon-start.c: Add special exception to license text.
30413 2013-02-27  Richard Henderson  <rth@redhat.com>
30415         * scripts/config.guess: Update from config.git.
30416         * scripts/config.sub: Likewise.
30418 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30420         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30422         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30424         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30426         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30428         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30430 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30432         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30433         [$(build-shared = yes].
30435 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30437         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30438         (__mul): Reduce iterations for calculating mantissa.
30440         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30441         MPTWO.
30442         (__mpranred): Likewise.
30444         [BZ #15160]
30445         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30446         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30448 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30450         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30451         Define __attribute__.
30453 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30455         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30456         unused.
30457         * posix/regex_internal.h (__attribute): Remove.
30458         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30459         (re_string_context_at): Likewise.
30460         (bitset_not): Use __attribute__ and mark function as possibly
30461         unused.
30462         (bitset_merge): Likewise.
30463         (bitset_mask): Likewise.
30464         (re_string_char_size_at): Likewise.
30465         (re_string_wchar_at): Likewise.
30466         (re_string_elem_size_at): Likewise.
30468 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30470         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30471         code.
30472         (cc32): Likewise.
30474         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30475         (__acr): Likewise.
30476         (__cpy): Likewise.
30477         (norm): Likewise.
30478         (denorm): Likewise.
30479         (__dbl_mp): Likewise.
30480         (add_magnitudes): Likewise.
30481         (sub_magnitudes): Likewise.
30482         (__mul): Likewise.
30483         (__inv): Likewise.
30485         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30486         style.
30488         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30489         style.
30491         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30492         code.
30494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30495         up changes with default code.
30496         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30497         Likewise.
30499 2013-02-24  Allan McRae  <allan@archlinux.org>
30501         * manual/socket.texi (The Internet Namespace): Order menu items
30502         to match that in the file.
30504         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30505         node listing of the info page menu.
30507 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30509         [BZ #13550]
30510         * sysdeps/i386/bp-asm.h: Remove file.
30511         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30512         (PARMS): Do not use macros from bp-asm.h.
30513         (S1): Likewise.
30514         (S2): Likewise.
30515         (SIZE): Likewise.
30516         (__mpn_add_n): Do not use BP_SYM
30517         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30518         "bp-asm.h".
30519         (PARMS): Do not use macros from bp-asm.h.
30520         (S1): Likewise.
30521         (SIZE): Likewise.
30522         (__mpn_addmul_1): Do not use BP_SYM
30523         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30524         "bp-asm.h".
30525         (PARMS): Do not use macros from bp-asm.h.
30526         (SIGMSK): Likewise.
30527         (_setjmp): Likewise.  Do not use BP_SYM.
30528         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30529         "bp-asm.h".
30530         (PARMS): Do not use macros from bp-asm.h.
30531         (SIGMSK): Likewise.
30532         (setjmp): Likewise.  Do not use BP_SYM.
30533         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30534         "bp-asm.h".
30535         (PARMS): Do not use macros from bp-asm.h.
30536         (__frexp): Do not use BP_SYM.
30537         (frexp): Likewise.
30538         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30539         "bp-asm.h".
30540         (PARMS): Do not use macros from bp-asm.h.
30541         (__frexpf): Do not use BP_SYM.
30542         (frexpf): Likewise.
30543         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30544         "bp-asm.h".
30545         (PARMS): Do not use macros from bp-asm.h.
30546         (__frexpl): Do not use BP_SYM.
30547         (frexpl): Likewise.
30548         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30549         "bp-asm.h".
30550         (PARMS): Do not use macros from bp-asm.h.
30551         (__remquo): Do not use BP_SYM.
30552         (remquo): Likewise.
30553         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30554         "bp-asm.h".
30555         (PARMS): Do not use macros from bp-asm.h.
30556         (__remquof): Do not use BP_SYM.
30557         (remquof): Likewise.
30558         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30559         "bp-asm.h".
30560         (PARMS): Do not use macros from bp-asm.h.
30561         (__remquol): Do not use BP_SYM.
30562         (remquol): Likewise.
30563         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30564         "bp-asm.h".
30565         (PARMS): Do not use macros from bp-asm.h.
30566         (DEST): Likewise.
30567         (SRC): Likewise.
30568         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30569         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30570         "bp-asm.h".
30571         (PARMS): Do not use macros from bp-asm.h.
30572         (strlen): Do not use BP_SYM.
30573         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30574         "bp-asm.h".
30575         (PARMS): Do not use macros from bp-asm.h.
30576         (S1): Likewise.
30577         (S2): Likewise.
30578         (SIZE): Likewise.
30579         (__mpn_add_n): Do not use BP_SYM.
30580         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30581         "bp-asm.h".
30582         (PARMS): Do not use macros from bp-asm.h.
30583         (S1): Likewise.
30584         (SIZE): Likewise.
30585         (__mpn_addmul_1): Do not use BP_SYM.
30586         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30587         weak_alias.
30588         (bzero): Likewise.
30589         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30590         "bp-asm.h".
30591         (PARMS): Do not use macros from bp-asm.h.
30592         (S): Likewise.
30593         (SIZE): Likewise.
30594         (__mpn_lshift): Do not use BP_SYM.
30595         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30596         "bp-asm.h".
30597         (PARMS): Do not use macros from bp-asm.h.
30598         (DEST): Likewise.
30599         (SRC): Likewise.
30600         (LEN): Likewise.
30601         (memcpy): Likewise.  Do not use BP_SYM.
30602         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30603         libc_hidden_def and weak_alias.
30604         (mempcpy): Do not use BP_SYM in weak_alias.
30605         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30606         "bp-asm.h".
30607         (PARMS): Do not use macros from bp-asm.h.
30608         (DEST): Likewise.
30609         (LEN): Likewise.
30610         [!BZERO_P] (CHR): Likewise.
30611         (memset): Likewise.  Do not use BP_SYM.
30612         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30613         "bp-asm.h".
30614         (PARMS): Do not use macros from bp-asm.h.
30615         (S1): Likewise.
30616         (SIZE): Likewise.
30617         (__mpn_mul_1): Do not use BP_SYM.
30618         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30619         "bp-asm.h".
30620         (PARMS): Do not use macros from bp-asm.h.
30621         (S): Likewise.
30622         (SIZE): Likewise.
30623         (__mpn_rshift): Do not use BP_SYM.
30624         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30625         "bp-asm.h".
30626         (PARMS): Do not use macros from bp-asm.h.
30627         (STR): Likewise.
30628         (CHR): Likewise.
30629         (strchr): Likewise.  Do not use BP_SYM.
30630         (index): Do not use BP_SYM in weak_alias.
30631         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30632         "bp-asm.h".
30633         (PARMS): Do not use macros from bp-asm.h.
30634         (DEST): Likewise.
30635         (SRC): Likewise.
30636         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30637         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30638         "bp-asm.h".
30639         (PARMS): Do not use macros from bp-asm.h.
30640         (strlen): Do not use BP_SYM.
30641         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30642         "bp-asm.h".
30643         (PARMS): Do not use macros from bp-asm.h.
30644         (S1): Likewise.
30645         (S2): Likewise.
30646         (SIZE): Likewise.
30647         (__mpn_sub_n): Do not use BP_SYM.
30648         * sysdeps/i386/i586/submul_1.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         (SIZE): Likewise.
30653         (__mpn_submul_1): Do not use BP_SYM.
30654         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30655         "bp-asm.h".
30656         (PARMS): Do not use macros from bp-asm.h.
30657         (S1): Likewise.
30658         (S2): Likewise.
30659         (SIZE): Likewise.
30660         (__mpn_add_n): Do not use BP_SYM.
30661         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30662         weak_alias.
30663         (bzero): Likewise.
30664         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30665         "bp-asm.h".
30666         (PARMS): Do not use macros from bp-asm.h.
30667         (BLK2): Likewise.
30668         (LEN): Likewise.
30669         (memcmp): Do not use BP_SYM.
30670         (bcmp): Do not use BP_SYM in weak_alias.
30671         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30672         "bp-asm.h".
30673         (PARMS): Do not use macros from bp-asm.h.
30674         (DEST): Likewise.
30675         (SRC): Likewise.
30676         (LEN): Likewise.
30677         (memcpy): Likewise.  Do not use BP_SYM.
30678         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30679         "bp-asm.h".
30680         (PARMS): Do not use macros from bp-asm.h.
30681         (DEST): Likewise.
30682         (SRC): Likewise.
30683         (LEN): Likewise.
30684         (memmove): Likewise.  Do not use BP_SYM.
30685         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30686         "bp-asm.h".
30687         (PARMS): Do not use macros from bp-asm.h.
30688         (DEST): Likewise.
30689         (SRC): Likewise.
30690         (LEN): Likewise.
30691         (__mempcpy): Likewise.  Do not use BP_SYM.
30692         (mempcpy): Do not use BP_SYM in weak_alias.
30693         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30694         "bp-asm.h".
30695         (PARMS): Do not use macros from bp-asm.h.
30696         (DEST): Likewise.
30697         (LEN): Likewise.
30698         [!BZERO_P] (CHR): Likewise.
30699         (memset): Likewise.  Do not use BP_SYM.
30700         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30701         "bp-asm.h".
30702         (PARMS): Do not use macros from bp-asm.h.
30703         (STR2): Likewise.
30704         (strcmp): Do not use BP_SYM.
30705         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30706         "bp-asm.h".
30707         (PARMS): Do not use macros from bp-asm.h.
30708         (STR): Likewise.
30709         (DELIM): Likewise.
30710         [USE_AS_STRTOK_R] (SAVE): Likewise.
30711         (FUNCTION): Likewise.  Do not use BP_SYM.
30712         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30713         aliases.
30714         (strtok_r): Likewise.
30715         (__GI___strtok_r): Likewise.
30716         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30717         (PARMS): Do not use macros from bp-asm.h.
30718         (S): Likewise.
30719         (SIZE): Likewise.
30720         (__mpn_lshift): Do not use BP_SYM.
30721         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30722         (PARMS): Do not use macros from bp-asm.h.
30723         (STR): Likewise.
30724         (CHR): Likewise.
30725         (__memchr): Do not use BP_SYM.
30726         (memchr): Do not use BP_SYM in weak_alias.
30727         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30728         (PARMS): Do not use macros from bp-asm.h.
30729         (BLK2): Likewise.
30730         (LEN): Likewise.
30731         (memcmp): Do not use BP_SYM.
30732         (bcmp): Do not use BP_SYM in weak_alias.
30733         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30734         (PARMS): Do not use macros from bp-asm.h.
30735         (S1): Likewise.
30736         (SIZE): Likewise.
30737         (__mpn_mul_1): Do not use BP_SYM.
30738         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30739         "bp-asm.h".
30740         (PARMS): Do not use macros from bp-asm.h.
30741         (STR): Likewise.
30742         (CHR): Likewise.
30743         (__rawmemchr): Do not use BP_SYM.
30744         (rawmemchr): Do not use BP_SYM in weak_alias.
30745         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30746         (PARMS): Do not use macros from bp-asm.h.
30747         (S): Likewise.
30748         (SIZE): Likewise.
30749         (__mpn_rshift): Do not use BP_SYM.
30750         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30751         (PARMS): Do not use macros from bp-asm.h.
30752         (SIGMSK): Likewise.
30753         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30754         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30755         (_start): Do not use BP_SYM.
30756         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30757         (PARMS): Do not use macros from bp-asm.h.
30758         (DEST): Likewise.
30759         (SRC): Likewise.
30760         (__stpcpy): Likewise.  Do not use BP_SYM.
30761         (stpcpy): Do not use BP_SYM in weak_alias.
30762         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30763         "bp-asm.h".
30764         (PARMS): Do not use macros from bp-asm.h.
30765         (DEST): Likewise.
30766         (SRC): Likewise.
30767         (LEN): Likewise.
30768         (__stpncpy): Likewise.  Do not use BP_SYM.
30769         (stpncpy): Do not use BP_SYM in weak_alias.
30770         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30771         (PARMS): Do not use macros from bp-asm.h.
30772         (STR): Likewise.
30773         (CHR): Likewise.
30774         (strchr): Likewise.  Do not use BP_SYM.
30775         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30776         "bp-asm.h".
30777         (PARMS): Do not use macros from bp-asm.h.
30778         (STR): Likewise.
30779         (CHR): Likewise.
30780         (__strchrnul): Likewise.  Do not use BP_SYM.
30781         (strchrnul): Do not use BP_SYM in weak_alias.
30782         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30783         "bp-asm.h".
30784         (PARMS): Do not use macros from bp-asm.h.
30785         (STOP): Likewise.
30786         (strcspn): Do not use BP_SYM.
30787         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
30792         (strpbrk): Likewise.  Do not use BP_SYM.
30793         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30794         "bp-asm.h".
30795         (PARMS): Do not use macros from bp-asm.h.
30796         (STR): Likewise.
30797         (CHR): Likewise.
30798         (strrchr): Likewise.  Do not use BP_SYM.
30799         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30800         (PARMS): Do not use macros from bp-asm.h.
30801         (SKIP): Likewise.
30802         (strspn): Do not use BP_SYM.
30803         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30804         (PARMS): Do not use macros from bp-asm.h.
30805         (STR): Likewise.
30806         (DELIM): Likewise.
30807         (SAVE): Likewise.
30808         (FUNCTION): Likewise.  Do not use BP_SYM.
30809         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30810         aliases.
30811         (strtok_r): Likewise.
30812         (__GI___strtok_r): Likewise.
30813         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30814         (PARMS): Do not use macros from bp-asm.h.
30815         (S1): Likewise.
30816         (S2): Likewise.
30817         (SIZE): Likewise.
30818         (__mpn_sub_n): Do not use BP_SYM.
30819         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30820         "bp-asm.h".
30821         (PARMS): Do not use macros from bp-asm.h.
30822         (S1): Likewise.
30823         (SIZE): Likewise.
30824         (__mpn_submul_1): Do not use BP_SYM.
30825         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30826         <bp-sym.h>.
30827         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30828         and <bp-asm.h>.
30829         (PARMS): Do not use macros from bp-asm.h.
30830         (FLAGS): Likewise.
30831         (PTID): Likewise.
30832         (TLS): Likewise.
30833         (CTID): Likewise.
30834         (__clone): Do not use BP_SYM.
30835         (clone): Do not use BP_SYM in weak_alias.
30836         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30837         and <bp-asm.h>.
30838         (PARMS): Do not use macros from bp-asm.h.
30839         (LEN): Likewise.
30840         (__mmap64): Do not use BP_SYM.
30841         (mmap64): Do not use BP_SYM in weak_alias.
30842         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30843         <bp-sym.h> and <bp-asm.h>.
30844         (PARMS): Do not use macros from bp-asm.h.
30845         (__posix_fadvise64_l64): Do not use BP_SYM.
30846         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30847         (PARMS): Do not use macros from bp-asm.h.
30848         (NSOPS): Likewise.
30849         (semtimedop): Do not use BP_SYM.
30850         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30851         and <bp-asm.h>.
30853 2013-02-21  Allan McRae  <allan@archlinux.org>
30855         * manual/message.texi (Charset conversion in gettext):
30856         Move @end statement to beginning of line.
30858 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30860         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30861         static.
30862         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30863         Likewise.
30865         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30866         (denorm): Likewise.
30867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30870 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30872         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30873         tail-call to the resolved function if pltexit isn't needed.
30875 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30877         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30878         or Y being zero as being unlikely.
30879         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30880         Likewise.
30882 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30884         * manual/nss.texi (System Databases and Name Service Switch):
30885         Remove frobnicate @pxref.
30887 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30889         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30890         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30892 2013-02-20  Petr Machata  <pmachata@redhat.com>
30894         * elf/elf.h (R_ARM_TARGET1): New macro.
30895         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30896         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30897         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30898         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30899         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30900         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30901         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30902         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30903         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30904         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30905         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30906         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30907         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30908         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30909         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30910         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30911         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30912         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30913         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30914         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30915         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30916         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30917         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30918         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30919         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30920         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30921         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30922         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30923         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30924         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30925         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30926         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30927         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30928         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30929         (R_ARM_THM_GOT_BREL12): Likewise.
30930         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30931         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30932         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30933         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30934         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30935         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30936         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30937         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30938         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30940 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30942         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30943         __attribute_used__ to __attribute__ ((unused)).
30945 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30947         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30948         powerpc mpa.c.
30949         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30950         comment formatting.
30951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30953 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30955         [BZ #13550]
30956         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30957         Remove macro.
30958         (ENTER): Remove both macro definitions.
30959         (LEAVE): Likewise.
30960         (CHECK_BOUNDS_LOW): Likewise.
30961         (CHECK_BOUNDS_HIGH): Likewise.
30962         (CHECK_BOUNDS_BOTH): Likewise.
30963         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30964         (RETURN_BOUNDED_POINTER): Likewise.
30965         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30966         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30967         (POP_ERRNO_LOCATION_RETURN): Likewise.
30968         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30969         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30970         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30971         macros.
30972         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30973         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30974         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30975         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30976         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30977         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30978         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30979         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30980         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30981         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30982         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30983         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30984         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30985         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30986         removed macros.
30987         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30988         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30989         macros.
30990         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30991         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30992         * sysdeps/i386/i586/memset.S (memset): Likewise.
30993         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30994         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30995         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30996         macros.
30997         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30998         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30999         Change uses of L(2) to L(out).
31000         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31001         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31002         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31003         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31004         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31005         removed macros.
31006         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31007         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31008         macros.
31009         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31010         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31011         (RETURN): Do not use macro LEAVE.
31012         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31013         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31014         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31015         * sysdeps/i386/i686/memset.S (memset): Likewise.
31016         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31017         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31018         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31019         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31020         Likewise.
31021         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31022         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31023         L(1_2) and L(1_3) into L(1).
31024         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31025         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31026         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31027         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31028         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31029         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31030         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31031         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31032         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31033         macros.
31034         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31035         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31036         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31037         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31038         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31039         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31040         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31041         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31042         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31043         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31044         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31045         * sysdeps/i386/strspn.S (strspn): Likewise.
31046         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31047         conditional code.
31048         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31049         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31050         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31051         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31052         L(1_3) into L(1_1).
31053         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31054         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31055         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31056         macros.
31057         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31059 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31061         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31062         macro.
31064 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31066         * math/atest-exp.c (exp_mpn): Remove ROUND.
31067         * math/atest-exp2.c (exp_mpn): Likewise.
31068         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31070         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31071         * stdlib/tst-tls-atexit-lib.c: Likewise.
31072         * stdlib/tst-tls-atexit.c: Likewise.
31074 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31076         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31077         and __attribute_alloc_size__.
31079 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31081         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31082         __attribute_alloc_size__.
31083         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31084         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31086 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31088         * include/programs/xmalloc.h: New file.
31089         * catgets/gencat.c: Include it.
31090         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31091         * elf/pldd.c: Likewise.
31092         * iconv/iconv_charmap.c: Likewise.
31093         * iconv/iconvconfig.c: Likewise.
31094         * iconv/strtab.c: Likewise.
31095         * locale/programs/locale.c: Likewise.
31096         * locale/programs/localedef.h: Likewise.
31097         * locale/programs/simple-hash.c: Likewise.
31098         * nscd/nscd.h: Likewise.
31099         * nss/makedb.c: Likewise.
31100         * sysdeps/generic/ldconfig.h: Likewise.
31102 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31104         * Versions.def: Add GLIBC_2.18.
31105         * include/link.h (struct link_map): New member l_tls_dtor_count.
31106         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31107         (__call_tls_dtors): Likewise.
31108         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31109         __cxa_thread_atexit_impl.
31110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31111         Likewise.
31112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31113         Likewise.
31114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31115         Likewise.
31116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31117         Likewise.
31118         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31120         Likewise.
31121         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31122         Likewise.
31123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31125         Likewise.
31126         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31127         (tests): Add test case tst-tls-atexit.
31128         (modules-names): Add shared library for tst-tls-atexit.
31129         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31130         (GLIBC_PRIVATE): Add __call_tls_dtors.
31131         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31132         for libstdc++.
31133         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31134         * stdlib/tst-tls-atexit.c: New test case.
31135         * stdlib/tst-tls-atexit-lib.c: New test case.
31137         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31139         * elf/Versions (ld): Add _dl_find_dso_for_object.
31140         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31141         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31142         (dl_open_worker): Use _dl_find_dso_for_object.
31143         * elf/dl-sym.c (do_sym): Likewise.
31144         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31146 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31148         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31149         Syntactic changes only.
31150         (_dl_runtime_profile): Do a tail-call to the resolved function.
31152 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31154         [BZ #13550]
31155         * sysdeps/x86_64/bp-asm.h: Remove file.
31156         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31157         <bp-sym.h> and <bp-asm.h>.
31158         (__clone): Do not use BP_SYM.
31159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31160         <bp-sym.h> and <bp-asm.h>.
31161         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31162         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31163         "bp-asm.h".
31164         (_setjmp): Do not use BP_SYM.
31165         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31166         "bp-asm.h".
31167         (setjmp): Do not use BP_SYM.
31168         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31169         libc_hidden_def.
31170         (mempcpy): Do not use BP_SYM in weak_alias.
31171         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31172         "bp-asm.h".
31173         (strchr): Do not use BP_SYM.
31174         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31175         "bp-asm.h".
31176         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31177         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31178         (_start): Do not use BP_SYM.
31179         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31180         "bp-asm.h".
31181         (strcat): Do not use BP_SYM.
31182         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31183         "bp-asm.h".
31184         (STRCMP): Do not use BP_SYM.
31185         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31186         "bp-asm.h".
31187         (STRCPY): Do not use BP_SYM.
31188         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31189         "bp-asm.h".
31190         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31191         "bp-asm.h".
31192         (FUNCTION): Do not use BP_SYM.
31193         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31194         weak_alias.
31195         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31197 2013-02-17  Andreas Jaeger  <aj@suse.de>
31199         * time/Versions: Sort entries.
31200         * string/Versions: Likewise.
31201         * resolv/Versions: Likewise.
31202         * posix/Versions: Likewise.
31203         * iconv/Versions: Likewise.
31204         * elf/Versions: Likewise.
31205         * wcsmbs/Versions: Likewise.
31207 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31209         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31210         loop termination condition.
31212         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31213         variable to calculate EZ.
31214         (__sqr): Likewise.
31216         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31217         the lower precision input.
31219 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31221         [BZ #13550]
31222         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31223         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31224         (run-via-rtld-prefix): Do not handle %-bp tests.
31225         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31226         (all-object-suffixes): Remove .ob.
31227         (bppfx): Remove variable.
31228         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31229         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31230         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31231         [$(build-bounded) = yes] (libtype.ob): Likewise.
31232         * Makerules (elide-routines.ob): Remove variable.
31233         (do-tests-clean): Do not handle *-bp.out.
31234         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31235         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31236         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31237         (tests): Do not include $(tests-bp.out).
31238         (xtests): Do not include $(xtests-bp.out).
31239         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31240         [$(build-bounded) = yes] ($(addprefix
31241         $(objpfx),$(binaries-bounded))): Remove rule.
31242         ($(objpfx)%-bp.out): Remove rule.
31243         * config.make.in (build-bounded): Remove variable.
31244         * crypt/Makefile [$(build-bounded) = yes]
31245         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31246         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31247         append to variable.
31248         [$(build-bounded) = yes] (install-lib): Likewise.
31249         [$(build-bounded) = yes] (generated): Likewise.
31250         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31251         Remove rule.
31252         * intl/Makefile [$(build-bounded) = yes]
31253         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31254         * math/Makefile [$(build-bounded) = yes]
31255         ($(tests:%=$(objpfx)%-bp): Likewise.
31256         * misc/Makefile [$(build-bounded) = yes]
31257         ($(objpfx)tst-tsearch-bp): Likewise.
31258         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31259         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31260         Remove dependency.
31261         * string/Makefile (o-objects.ob): Remove variable.
31262         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31263         (CFLAGS-.ob): Remove variable.
31264         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31265         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31266         both definitions of variable.
31267         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31268         (ASFLAGS-.ob): Remove variable.
31270 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31272         [BZ #13550]
31273         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31274         Remove __BOUNDED_POINTERS__ from condition.
31275         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31276         * string/bits/string2.h [!__NO_STRING_INLINES &&
31277         !__BOUNDED_POINTERS__]: Likewise.
31278         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31279         Likewise.
31280         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31281         Remove conditional code.
31282         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31283         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31284         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31285         condition.
31287         [BZ #13550]
31288         * csu/libc-start.c: Do not include <bp-sym.h>.
31289         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31290         * elf/dl-open.c: Do not include <bp-sym.h>.
31291         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31292         * math/fegetenv.c: Do not include <bp-sym.h>.
31293         (fegetenv): Do not use BP_SYM in versioned symbols.
31294         * nptl/sysdeps/pthread/bits/libc-lockP.h
31295         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31296         <bp-sym.h>.
31297         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31298         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31299         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31300         (__pthread_mutex_destroy): Likewise.
31301         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31302         (__pthread_mutex_lock): Likewise.
31303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31304         (__pthread_mutex_trylock): Likewise.
31305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31306         (__pthread_mutex_unlock): Likewise.
31307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31308         (__pthread_mutexattr_init): Likewise.
31309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31310         (__pthread_mutexattr_destroy): Likewise.
31311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31312         (__pthread_mutexattr_settype): Likewise.
31313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31314         (__pthread_rwlock_init): Likewise.
31315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31316         (__pthread_rwlock_destroy): Likewise.
31317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31318         (__pthread_rwlock_rdlock): Likewise.
31319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31320         (__pthread_rwlock_tryrdlock): Likewise.
31321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31322         (__pthread_rwlock_wrlock): Likewise.
31323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31324         (__pthread_rwlock_trywrlock): Likewise.
31325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31326         (__pthread_rwlock_unlock): Likewise.
31327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31328         (__pthread_key_create): Likewise.
31329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31330         (__pthread_setspecific): Likewise.
31331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31332         (__pthread_getspecific): Likewise.
31333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31334         Likewise.
31335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31336         (_pthread_cleanup_push_defer): Likewise.
31337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31338         (_pthread_cleanup_pop_restore): Likewise.
31339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31340         (pthread_setcancelstate): Likewise.
31341         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31342         <bp-sym.h>.
31343         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31344         (memchr): Do not use BP_SYM in weak_alias.
31345         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31346         (fegetenv): Do not use BP_SYM in versioned symbols.
31347         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31348         (fesetenv): Do not use BP_SYM in versioned symbols.
31349         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31350         (feupdateenv): Do not use BP_SYM in versioned symbols.
31351         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31352         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31353         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31354         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31355         (open64): Do not use BP_SYM in weak_alias.
31356         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31357         (fegetenv): Do not use BP_SYM in versioned symbols.
31358         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31359         (fesetenv): Do not use BP_SYM in versioned symbols.
31360         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31361         (feupdateenv): Do not use BP_SYM in versioned symbols.
31362         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31363         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31364         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31365         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31366         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31367         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31368         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31369         <bp-sym.h>.
31370         (__libc_start_main): Do not use BP_SYM.
31372 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31375         redundant return line.
31376         (norm): Likewise.
31377         (denorm): Likewise.
31378         (dbl_mp): Likewise.
31379         (sub_magnitudes): Likewise.
31380         (__add): Likewise.
31381         (__sub): Likewise.
31382         (__mul): Likewise.
31383         (__inv): Likewise.
31384         (__dvd): Likewise.
31385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31386         (norm): Likewise.
31387         (denorm): Likewise.
31388         (dbl_mp): Likewise.
31389         (sub_magnitudes): Likewise.
31390         (__add): Likewise.
31391         (__sub): Likewise.
31392         (__mul): Likewise.
31393         (__inv): Likewise.
31394         (__dvd): Likewise.
31396         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31397         instead of __mul.
31398         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31399         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31400         (cc32): Likewise.
31402         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31403         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31404         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31405         of __mul for squares.
31406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31407         function
31408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31409         Likewise.
31410         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31411         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31413 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31415         [BZ #13550]
31416         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31417         code.
31418         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31419         prototype or function definition.  Rename ubp_* variables and
31420         parameters.  Remove argv definitions conditional on
31421         [__BOUNDED_POINTERS__].
31422         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31423         * elf/dl-runtime.c (_dl_fixup): Likewise.
31424         * include/set-hooks.h (RUN_HOOK): Likewise.
31425         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31426         definition.
31427         * string/strcpy.c (strcpy): Do not use __unbounded.
31428         * sysdeps/generic/frame.h (struct layout): Likewise.
31429         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31430         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31431         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31432         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31433         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31434         (__backtrace): Likewise.
31435         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31436         use __ptrvalue.
31437         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31438         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31439         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31440         Likewise.
31441         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31442         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31443         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31444         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31445         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31446         Do not use __unbounded.
31447         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31448         Rename __unboundedrlimits parameter to rlimits in prototype.
31449         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31450         Do not use __unbounded.
31451         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31452         not use __ptrvalue.
31453         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31454         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31455         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31456         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31457         __ptrvalue or __unbounded.
31458         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31459         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31460         use __unbounded.
31461         (__new_msgctl): Do not use __ptrvalue.
31462         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31463         __unbounded.
31464         (__libc_msgrcv): Do not use __ptrvalue.
31465         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31466         startup_info): Do not use __unbounded.
31467         (__libc_start_main): Likewise.  Rename ubp_* variables and
31468         parameters.  Remove argv definitions conditional on
31469         [__BOUNDED_POINTERS__].
31470         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31471         __ptrvalue.
31472         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31473         use __unbounded.
31474         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31475         or __ptrvalue.
31476         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31477         use __unbounded.
31478         (__new_shmctl): Do not use __ptrvalue.
31479         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31480         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31481         Likewise.
31482         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31483         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31484         (__libc_sigaction): Likewise.
31485         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31486         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31487         Likewise.
31488         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31490 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31492         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31494         * string/mempcpy.c: Implement by calling memcpy.
31496 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31498         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31501         evaluation.
31503         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31504         values in the mantissa.
31506         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31507         minimize writes to Z.
31508         (sub_magnitudes): Simplify code a bit.
31510 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31512         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31513         from the message.  The linker prefixes all warnings with that already.
31515 2013-02-12  Andreas Schwab  <schwab@suse.de>
31517         [BZ #15078]
31518         * posix/regexec.c (extend_buffers): Add parameter min_len.
31519         (check_matching): Pass minimum needed length.
31520         (clean_state_log_if_needed): Likewise.
31521         (get_subexp): Likewise.
31522         * posix/Makefile (tests): Add bug-regex34.
31523         (bug-regex34-ENV): Define.
31524         * posix/bug-regex34.c: New file.
31526         [BZ #11561]
31527         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31528         elements compare against the byte sequence of it, not its name.
31529         * posix/Makefile (tests): Add bug-regex35.
31530         (bug-regex35-ENV): Define.
31531         * posix/bug-regex35.c: New file.
31533 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31535         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31536         comment.
31537         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31538         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31539         (CHECK_EOL): Add undef.
31541 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31543         * bits/stdlib-bsearch.h: New file.
31544         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31545         * stdlib/stdlib.h: Likewise.
31547 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31549         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31550         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31551         declaration.
31552         * manual/search.texi (Array Search Function): Add missing const in
31553         lfind prototype.
31554         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31555         declaration to use rlim_t.
31556         (Basic Scheduling Functions): Remove erroneous const from
31557         sched_getparam prototype.  Remove erroneous * from
31558         sched_get_priority_max and sched_get_priority_min prototypes.
31559         (Resource Usage): Fix summary @comment on vtimes to refer to
31560         sys/vtimes.h rather than vtimes.h.
31561         Add missing *s in vtimes prototype.
31562         (Limits on Resources): Fix ulimit prototype to return long int.
31563         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31564         prototypes to use long int rather than double.
31565         (BSD Random): Fix initstate and setstate to use char *, not void *.
31566         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31567         prototype to make second argument 'struct aiocb64 *const[]'.
31568         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31569         (Status of AIO Operations): Remove erroneous const in aio_return and
31570         aio_return64 prototypes.
31571         (Synchronizing I/O): Fix sync prototype to return void.
31572         * manual/startup.texi (Suboptions): Remove an erroneous const in
31573         getsubopt prototype.
31574         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31575         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31576         use size_t rather than int.
31577         (Scanning All Users): Likewise for getpwent_r.
31578         (Setting Groups): Add missing const to setgroups prototype.
31579         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31580         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31581         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31582         'const void *' rather than 'const char *'.
31583         (Host Address Functions): Likewise for inet_ntop.
31584         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31585         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31586         ssize_t for return value.
31587         (Sending Data): Likewise for send, sendto, sendmsg.
31588         (Socket Option Functions): Add a missing const in setsockopt prototype.
31589         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31590         use wchar_t for the argument.
31591         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31592         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31593         take no arguments.
31594         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31595         double/float/long double for second argument.
31596         Fix return types of significand, significandf, significandl.
31597         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31598         argument in fchmod prototype.
31599         (File Owner): Use uid_t and gid_t in fchown prototype.
31600         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31601         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31602         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31603         use 'const struct dirent **' as argument types to CMP function pointer
31604         argument.
31605         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31606         (File Times): Fix summary magic @comment for struct utimbuf and utime
31607         to refer to utime.h, not time.h.
31608         * manual/string.texi (Argz Functions): Add missing const in
31609         argz_extract and argz_next prototypes.
31610         (Finding Tokens in a String): Likewise for basename.
31611         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31612         (Copying and Concatenation): Fix typo in wmemmove prototype.
31613         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31614         (Signal Stack): Remove erroneous const in sigstack prototype.
31615         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31616         prototype.
31617         (Simple Calendar Time): Likewise for stime.
31618         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31619         prototype.
31620         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31621         say sys/sysctl.h instead.
31622         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31623         and vsyslog prototypes.
31625 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31627         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31628         Remove.
31630 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31632         * misc/sys/mman.h: Fix typo in mremap comment.
31634 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31636         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31637         the '\0' terminator.
31639 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31641         [BZ #13550]
31642         * debug/segfault.c: Don't include <bp-checks.h>.
31643         * sysdeps/generic/bp-checks.h: Remove file.
31644         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31645         (__GETDENTS): Don't use CHECK_N.
31646         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31647         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31648         (__getgroups): Don't use CHECK_N.
31649         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31650         (setgroups): Don't use CHECK_N.
31651         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31652         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31653         (__libc_msgrcv): Don't use CHECK_N.
31654         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31655         (__libc_msgsnd): Don't use CHECK_N.
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31657         <bp-checks.h>.
31658         (__libc_pread): Don't use CHECK_N.
31659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31660         include <bp-checks.h>.
31661         (__libc_pread64): Don't use CHECK_N.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31663         include <bp-checks.h>.
31664         (__libc_pwrite): Don't use CHECK_N.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31666         include <bp-checks.h>.
31667         (__libc_pwrite64): Don't use CHECK_N.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31669         <bp-checks.h>.
31670         (__libc_pread): Don't use CHECK_N.
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31672         include <bp-checks.h>.
31673         (__libc_pread64): Don't use CHECK_N.
31674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31675         include <bp-checks.h>.
31676         (__libc_pwrite): Don't use CHECK_N.
31677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31678         include <bp-checks.h>.
31679         (__libc_pwrite64): Don't use CHECK_N.
31680         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31681         (do_pread): Don't use CHECK_N.
31682         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31683         (do_pread64): Don't use CHECK_N.
31684         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31685         (do_pwrite): Don't use CHECK_N.
31686         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31687         (do_pwrite64): Don't use CHECK_N.
31688         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31689         (__libc_readv): Don't use CHECK_N.
31690         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31691         (semop): Don't use CHECK_N.
31692         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31693         <bp-checks.h>.
31694         (semtimedop): Don't use CHECK_N.
31695         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31696         (__libc_pread): Don't use CHECK_N.
31697         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31698         <bp-checks.h>.
31699         (__libc_pread64): Don't use CHECK_N.
31700         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31701         <bp-checks.h>.
31702         (__libc_pwrite): Don't use CHECK_N.
31703         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31704         <bp-checks.h>.
31705         (__libc_pwrite64): Don't use CHECK_N.
31706         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31707         <bp-checks.h>.
31708         (__libc_msgrcv): Don't use CHECK_N.
31709         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31710         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31711         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31712         (__libc_writev): Don't use CHECK_N.
31714 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31716         * string/strcpy.c: Removed unused variable.
31718         * Makeconfig (+sysdep-includes): Define with := rather than =.
31719         Use an existing include/ subdir of each sysdeps dir before it.
31721 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31723         * nscd/connection.c (register_traced_file): Comment function.
31724         [HAVE_INOTIFY] (union __inev): Define.
31725         [HAVE_INOTIFY] (inotify_check_files): New function.
31726         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31727         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31728         clear_db_cache.
31729         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31731 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31733         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31734         loaded if not already and that a failure is permanent.
31736 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31738         [BZ #15006]
31739         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31740         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31742 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31744         [BZ #13550]
31745         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31746         (CHECK_1_NULL_OK): Likewise.
31747         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31748         (__fxstat): Do not use CHECK_1.
31749         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31750         <bp-checks.h>.
31751         (___fxstat64): Do not use CHECK_1.
31752         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31753         <bp-checks.h>.
31754         (__fxstatat): Do not use CHECK_1.
31755         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31756         <bp-checks.h>.
31757         (__fxstatat64): Do not use CHECK_1.
31758         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31759         <bp-checks.h>.
31760         (__fxstat): Do not use CHECK_1.
31761         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31762         <bp-checks.h>.
31763         (__fxstatat): Do not use CHECK_1.
31764         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31765         <bp-checks.h>.
31766         (__getresgid): Do not use CHECK_1.
31767         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31768         <bp-checks.h>.
31769         (__getresuid): Do not use CHECK_1.
31770         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31771         <bp-checks.h>.
31772         (__lxstat): Do not use CHECK_1.
31773         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31774         <bp-checks.h>.
31775         (__old_msgctl): Do not use CHECK_1.
31776         (__new_msgctl): Likewise.
31777         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31778         <bp-checks.h>.
31779         (__new_setrlimit): Do not use CHECK_1.
31780         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31781         <bp-checks.h>.
31782         (__old_shmctl): Do not use CHECK_1.
31783         (__new_shmctl): Likewise.
31784         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31785         <bp-checks.h>.
31786         (__xstat): Do not use CHECK_1.
31787         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31788         (__lxstat): Do not use CHECK_1.
31789         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31790         <bp-checks.h>.
31791         (___lxstat64): Do not use CHECK_1.
31792         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31793         (__old_msgctl): Do not use CHECK_1.
31794         (__new_msgctl): Likewise.
31795         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31796         <bp-checks.h>.
31797         (__gettimeofday): Do not use CHECK_1.
31798         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31799         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31800         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31801         <bp-checks.h>.
31802         (__gettimeofday): Do not use CHECK_1.
31803         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31804         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31805         (__new_shmctl): Do not use CHECK_1.
31806         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31807         <bp-checks.h>.
31808         (do_sigtimedwait): Do not use CHECK_1.
31809         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31810         <bp-checks.h>.
31811         (do_sigwaitinfo): Do not use CHECK_1.
31812         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31813         <bp-checks.h>.
31814         (msgctl): Do not use CHECK_1.
31815         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31816         <bp-checks.h>.
31817         (shmctl): Do not use CHECK_1.
31818         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31819         (ustat): Do not use CHECK_1.
31820         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31821         <bp-checks.h>.
31822         (__fxstat): Do not use CHECK_1.
31823         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31824         <bp-checks.h>.
31825         (__fxstatat): Do not use CHECK_1.
31826         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31827         <bp-checks.h>.
31828         (__lxstat): Do not use CHECK_1.
31829         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31830         <bp-checks.h>.
31831         (__xstat): Do not use CHECK_1.
31832         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31833         (__xstat): Do not use CHECK_1.
31834         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31835         (___xstat64): Do not use CHECK_1.
31837         [BZ #13550]
31838         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31839         definitions.
31840         (CHECK_BOUNDS_HIGH): Likewise.
31841         * string/strcpy.c: Do not include <bp-checks.h>.
31842         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31844 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31846         * nscd/nscd-client.h (__nscd_drop_map_ref):
31847         Add __attribute__ ((unused)).
31848         * nis/nss-nisplus.h (niserr2nss): Likewise.
31850         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31851         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31853         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31854         Remove inline keyword.
31855         * include/rounding-mode.h (round_away): Likewise.
31856         * libio/wfileops.c (adjust_wide_data): Likewise.
31857         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31858         (__m128i_strloadu_tolower): Likewise.
31859         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31860         (__m128i_strloadu_tolower): Likewise.
31861         * time/mktime.c (ydhms_diff): Likewise.
31862         * locale/elem-hash.h (elem_hash): Likewise.
31863         * locale/setlocale.c (setdata): Likewise.
31864         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31865         (re_string_wchar_at): Likewise.
31866         (bitset_not, bitset_merge, bitset_mask): Likewise.
31867         [!(__GNUC__ > 3)] (inline): Remove macro.
31868         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31869         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31870         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31871         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31872         * string/memcmp.c (memcmp_bytes): Likewise.
31873         * locale/programs/locarchive.c (compute_hashval): Likewise.
31874         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31875         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31876         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31877         * nss/getent.c (print_rpc, print_protocols): Likewise.
31878         (print_passwd, print_group, print_aliases): Likewise.
31879         * nis/nss-nisplus.h (niserr2nss): Likewise.
31880         * nscd/connections.c (restart_p): Likewise.
31881         Change return type to bool.
31883 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31885         * Makeconfig (all-Depend-files): Add existing
31886         $(sorted-subdirs:=/Depend) files.
31887         (all-subdirs): Remove nss.
31888         * sysdeps/unix/inet/Subdirs: Add it here instead.
31889         * hesiod/Depend: New file.
31891         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31892         instead of calling alloca.
31894         * io/lseek.c (__lseek): Rename to __libc_lseek.
31895         Define __lseek as an alias.
31897         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31899 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31901         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31902         else clause and remove check for non-standard endianness.
31904 2013-02-04  David S. Miller  <davem@davemloft.net>
31906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31908 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31910         [BZ #13550]
31911         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31912         (__ubp_memchr): Remove prototype.
31913         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31914         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31915         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31916         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31917         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31918         Remove alias.
31919         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31920         (__ubp_memchr): Likewise.
31921         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31922         (__ubp_memchr): Likewise.
31923         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31924         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31925         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31926         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31927         CHECK_STRING.
31928         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31929         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31930         (__getcwd): Do not use CHECK_STRING.
31931         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31932         <bp-checks.h>.
31933         (__real_chown): Do not use CHECK_STRING.
31934         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31935         <bp-checks.h>.
31936         (fchownat): Do not use CHECK_STRING.
31937         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31938         CHECK_STRING.
31939         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31940         <bp-checks.h>.
31941         (__lchown): Do not use CHECK_STRING.
31942         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31943         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31944         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31945         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31947         include <bp-checks.h>.
31948         (truncate64): Do not use CHECK_STRING.
31949         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31950         <bp-checks.h>.
31951         (__real_chown): Do not use CHECK_STRING.
31952         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31953         <bp-checks.h>.
31954         (__lchown): Do not use CHECK_STRING.
31955         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31956         <bp-checks.h>.
31957         (__chown): Do not use CHECK_STRING.
31958         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31959         <bp-checks.h>.
31960         (truncate64): Do not use CHECK_STRING.
31961         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31962         Likewise.
31963         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31964         (__xmknod): Do not use CHECK_STRING.
31965         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31966         <bp-checks.h>.
31967         (__xmknodat): Do not use CHECK_STRING.
31968         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31969         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31971 2013-02-04  Andreas Schwab  <schwab@suse.de>
31973         [BZ #14142]
31974         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31975         * include/netdb.h: Likewise for h_errno.
31976         * elf/tst-stackguard1.c: Include <tls.h>.
31978 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31980         * elf/link.h (struct link_map): Extend the l_addr comment.
31981         * include/link.h (struct link_map): Likewise.
31983 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31985         [BZ #13550]
31986         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31987         (BOUNDED_1): Remove macro.
31988         * debug/backtrace.c: Don't include <bp-checks.h>.
31989         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31990         (__backtrace): Likewise.
31991         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31992         <bp-checks.h>.
31993         (__backtrace): Don't use BOUNDED_1.
31994         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31995         <bp-checks.h>.
31996         (__backtrace): Don't use BOUNDED_1.
31997         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31998         (__backtrace): Don't use BOUNDED_1.
31999         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32000         (shmat): Don't use BOUNDED_N.
32002 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32004         [BZ #13550]
32005         * sysdeps/generic/bp-start.h: Remove file.
32006         * csu/libc-start.c: Don't include <bp-start.h>.
32007         (LIBC_START_MAIN): Set up __environ directly instead of using
32008         INIT_ARGV_and_ENVIRON.
32009         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32010         <bp-start.h>.
32012         [BZ #13550]
32013         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32014         definitions.
32015         (CHECK_FCNTL): Likewise.
32016         (CHECK_N_PAGES): Likewise.
32018         [BZ #13550]
32019         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32020         definitions.
32021         (CHECK_SIGSET_NULL_OK): Likewise.
32022         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32023         <bp-checks.h>.
32024         (sigpending): Don't use CHECK_SIGSET.
32025         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32026         <bp-checks.h>.
32027         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32028         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32029         <bp-checks.h>.
32030         (do_sigsuspend): Don't use CHECK_SIGSET.
32031         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32032         use CHECK_SIGSET.
32033         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32034         (do_sigwait): Don't use CHECK_SIGSET.
32035         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32036         use CHECK_SIGSET.
32037         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32038         include <bp-checks.h>.
32039         (sigpending): Don't use CHECK_SIGSET.
32040         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32041         include <bp-checks.h>.
32042         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32043         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32044         <bp-checks.h>.
32045         (sigpending): Don't use CHECK_SIGSET.
32046         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32047         <bp-checks.h>.
32048         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32050         [BZ #13550]
32051         * sysdeps/generic/bp-semctl.h: Remove file.
32052         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32053         <bp-checks.h> and <bp-semctl.h>.
32054         (__old_semctl): Don't use CHECK_SEMCTL.
32055         (__new_semctl): Likewise.
32056         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32057         and <bp-semctl.h>.
32058         (__old_semctl): Don't use CHECK_SEMCTL.
32059         (__new_semctl): Likewise.
32060         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32061         <bp-checks.h> and <bp-semctl.h>.
32062         (__old_semctl): Don't use CHECK_SEMCTL.
32063         (__new_semctl): Likewise.
32064         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32065         <bp-checks.h> and <bp-semctl.h>.
32066         (semctl): Don't use CHECK_SEMCTL.
32068         [BZ #13550]
32069         * Makerules (elide-bp-thunks): Remove variable.
32070         (elide-routines.oS): Don't use $(elide-bp-thunks).
32071         (elide-routines.os): Likewise.
32072         (elide-routines.o): Likewise.
32073         (elide-routines.op): Likewise.
32074         (elide-routines.og): Likewise.
32075         (objects): Don't use $(bp-thunks).
32076         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32077         include.
32078         (common-generated): Do not add s-proto-bp.d.
32079         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32080         (int): Likewise.
32081         (typ): Likewise.
32082         Do not generate makefile rules for bounded-pointer thunks.
32083         * sysdeps/generic/bp-thunks.h: Remove file.
32084         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32085         * sysdeps/unix/s-proto-bp.S: Likewise.
32087         [BZ #15062]
32088         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32089         parts of result separately when argument is not close to line from
32090         -i to i and one part of argument is small.
32091         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32092         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32093         * math/libm-test.inc (cacos_test): Add more tests.
32094         (casin_test): Likewise.
32095         (casinh_test): Likewise.
32096         * sysdeps/i386/fpu/libm-test-ulps: Update.
32097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32099 2013-01-31  David S. Miller  <davem@davemloft.net>
32101         * po/de.po: Update from translation team.
32103 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32105         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32107 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32109         * configure.in (_AC_PROG_CC_C89): New definition.
32110         * configure: Regenerate.
32112         * configure.in (AC_PROG_CPP): New definition.
32113         * configure: Regenerate.
32115 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32117         * debug/tst-backtrace.h: New file.
32118         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32119         (ret): Remove variable.
32120         (x): Likewise.
32121         (FAIL): Remove macro.
32122         (NO_INLINE): Likewise.
32123         (fn1): Use match function instead of strstr.
32124         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32125         (ret): Remove variable.
32126         (x): Likewise.
32127         (FAIL): Remove macro.
32128         (NO_INLINE): Likewise.
32129         (fn): Use match function instead of strstr.
32130         * debug/tst-backtrace4.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.
32136         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32137         (ret): Remove variable.
32138         (x): Likewise.
32139         (FAIL): Remove macro.
32140         (NO_INLINE): Likewise.
32141         (handle_signal): Use match function instead of strstr.
32143 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32145         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32147 2013-01-23  David S. Miller  <davem@davemloft.net>
32149         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32150         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32151         argument of CAS if possible.
32152         * sysdeps/sparc/sparc64/bits/atomic.h
32153         (__arch_compare_and_exchange_val_32_acq): Likewise.
32154         (__arch_compare_and_exchange_val_64_acq): Likewise.
32156 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32158         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32159         * sysdeps/posix/ulimit.c: ... this.
32160         Include <limits.h>.
32161         * sysdeps/unix/bsd/ulimit.c: Remove file.
32163 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32165         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32166         (LDFLAGS-tst-array5): Likewise.
32168 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32170         [BZ #15036]
32171         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32172         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32173         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32174         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32176 2013-01-21  David S. Miller  <davem@davemloft.net>
32178         * sysdeps/sparc/backtrace.c: New file.
32179         * sysdeps/sparc/sparc32/backtrace.h: New file.
32180         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32181         * sysdeps/sparc/sparc64/backtrace.h: New file.
32182         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32183         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32184         -funwind-tables.
32186 2013-01-21  Andreas Schwab  <schwab@suse.de>
32188         [BZ #15020]
32189         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32190         closed its stdout.
32192 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32195         "mpa2.h".
32196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32198 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32199             Mark Mitchell  <mark@codesourcery.com>
32200             Tom de Vries  <tom@codesourcery.com>
32201             Paul Pluzhnikov  <ppluzhnikov@google.com>
32203         * debug/tst-backtrace2.c: New file.
32204         * debug/tst-backtrace3.c: Likewise.
32205         * debug/tst-backtrace4.c: Likewise.
32206         * debug/tst-backtrace5.c: Likewise.
32207         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32208         (CFLAGS-tst-backtrace3.c): Likewise.
32209         (CFLAGS-tst-backtrace4.c): Likewise.
32210         (CFLAGS-tst-backtrace5.c): Likewise.
32211         (LDFLAGS-tst-backtrace2): Likewise.
32212         (LDFLAGS-tst-backtrace3): Likewise.
32213         (LDFLAGS-tst-backtrace4): Likewise.
32214         (LDFLAGS-tst-backtrace5): Likewise.
32215         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32216         tst-backtrace4 and tst-backtrace5.
32218 2013-01-18  Anton Blanchard  <anton@samba.org>
32219             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32221         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32222         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32223         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32224         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32226         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32227         "+r" and remove output regs list as redundant.  Add explicit inline
32228         asm to specify register of return val to work around compiler codegen
32229         bug.  Remove (int) cast on return value.  Add return type parameter to
32230         use in macro so that this macro does not truncate return value for
32231         64-bit values.
32232         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32233         pass to INTERNAL_VSYSCALL_NCS.
32234         (INLINE_VSYSCALL): Add 'long int' as return type to
32235         INTERNAL_VSYSCALL_NCS macro invocation.
32236         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32237         INTERNAL_VSYSCALL_NCS macro invocation.
32238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32240 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32242         [BZ #14496]
32243         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32244         Fix application of SIMD FP exception mask.
32246         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32247         mp_no from a power of two.
32248         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32249         __mpexp_twomm1.  Use __pow_mp.
32251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32252         multiplication.
32254 2013-01-17  David S. Miller  <davem@davemloft.net>
32256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32258 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32260         [BZ #15023]
32261         * include/complex.h: Condition contents on [!_COMPLEX_H].
32262         (__kernel_casinhf): New prototype.
32263         (__kernel_casinh): Likewise.
32264         (__kernel_casinhl): Likewise.
32265         * math/Makefile (libm_calls): Add k_casinh.
32266         * math/k_casinh.c: New file.
32267         * math/k_casinhf.c: Likewise.
32268         * math/k_casinhl.c: Likewise.
32269         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32270         finite nonzero arguments.
32271         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32272         finite nonzero arguments.
32273         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32274         finite nonzero arguments.
32275         * math/s_casinh.c: Do not include <float.h>.
32276         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32277         * math/s_casinhf.c: Do not include <float.h>.
32278         (__casinhf): Move code for finite nonzero arguments to
32279         k_casinhf.c.
32280         * math/s_casinhl.c: Do not include <float.h>.
32281         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32282         redefine.
32283         (__casinhl): Move code for finite nonzero arguments to
32284         k_casinhl.c.
32285         * math/libm-test.inc (cacos_test): Add more tests.
32286         * sysdeps/i386/fpu/libm-test-ulps: Update.
32287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32289 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32291         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32292         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32293         [!HAVE_MREMAP]: Remove [defined linux] case.
32294         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32296 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32298         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32300 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32302         * elf/elf.h (R_386_SIZE32): New relocation.
32303         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32304         R_386_SIZE32.
32305         (elf_machine_rela): Likewise.
32306         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32307         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32309 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32311         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32312         (FP_FAST_FMA): Do not define.
32313         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32314         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32315         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32316         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32317         !_SOFT_FLOAT]: Likewise.
32318         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32319         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32320         value.
32321         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32322         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32323         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32324         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32325         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32326         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32327         file.
32329 2013-01-16  Andreas Schwab  <schwab@suse.de>
32331         [BZ #14327]
32332         * include/stdlib.h (__mktemp): Add declaration.
32333         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32334         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32336 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32338         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32339         definitions.
32340         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32341         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32342         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32343         definitions here.
32344         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32345         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32346         definitions.
32347         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32348         and ONE.
32349         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32350         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32351         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32352         definitions.
32353         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32354         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32355         definitions.
32356         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32358         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32360 2013-01-15  David S. Miller  <davem@davemloft.net>
32362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32363         trunc{,f} to libm-sysdep_routes.
32364         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32366         file.
32367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32369         file.
32370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32371         file.
32372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32374         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32375         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32376         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32377         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32378         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32379         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32382         nearbyint{,f} to libm-sysdep_routes.
32383         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32385         New file.
32386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32387         file.
32388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32389         New file.
32390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32391         file.
32392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32394         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32395         file.
32396         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32397         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32398         file.
32399         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32400         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32401         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32403         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32404         libc_feholdexcept and libc_fesetenv.
32406 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32408         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32410 2013-01-14  David S. Miller  <davem@davemloft.net>
32412         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32413         (SPARC_ASM_VIS2_IFUNC): Likewise.
32414         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32416         use of 'siam' instruction.
32417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32418         Likewise.
32419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32420         Likewise.
32421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32422         Likewise.
32423         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32425         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32428         file.
32429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32430         file.
32431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32432         file.
32433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32434         file.
32435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32437         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32440         new VIS2 routines.
32441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32444         Likewise.
32445         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32447         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32450         routines to libm-sysdep_routines.
32451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32454         fdim/fdimf to libm-sysdep_routines.
32455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32456         file.
32457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32459         file.
32460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32461         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32463         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32464         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32465         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32466         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32468 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32470         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32471         to optimize copies.
32473         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32474         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32475         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32478         local variable MPTWO.
32479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32480         Likewise.
32482 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32484         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32485         GLOB_NOESCAPE.
32487 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32489         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32491 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32493         * manual/pattern.texi (glob_t): Document gl_flags.
32494         (glob64_t): Likewise.
32496 2013-01-11  David S. Miller  <davem@davemloft.net>
32498         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32499         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32500         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32501         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32502         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32503         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32504         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32505         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32506         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32507         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32508         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32509         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32510         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32512         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32513         sparc V9 rather than using V8 code.
32514         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32515         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32517         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32518         Move to...
32519         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32520         Here.
32522 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32524         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32525         not in the main loop.
32526         * configure: Regenerated.
32528 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32530         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32531         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32532         to just #else.
32533         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32534         [!__GLIBC_HAVE_LONG_LONG] case.
32535         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32536         condition to just #else.
32537         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32538         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32539         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32540         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32541         unconditional.
32542         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32543         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32544         #elif condition to just #else.
32545         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32546         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32547         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32548         #elif condition to just #else.
32550 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32552         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32553         (EF_MIPS_ARCH_64): Fix value.
32554         (EF_MIPS_ARCH_32R2): New.
32555         (EF_MIPS_ARCH_64R2): New.
32557 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32559         * Makeconfig (+link-pie-before-libc): New.
32560         (+link-pie-after-libc): Likewise.
32561         (+link-pie-tests): Likewise.
32562         (+link-pie): Rewritten.
32563         (link-before-libc): Remove $(config-LDFLAGS).
32564         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32565         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32566         (config-LDFLAGS): Renamed to ...
32567         (rtld-LDFLAGS): This.
32568         (rtld-tests-LDFLAGS): New macro.
32569         (link-libc-rpath-link): Likewise.
32570         (link-libc-tests-rpath-link): Likewise.
32571         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32572         (link-libc): Prepand $(link-libc-rpath-link).
32573         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32574         (test-program-prefix): New macro.
32575         (test-via-rtld-prefix): Likewise.
32576         (test-program-cmd): Likewise.
32577         (host-test-program-cmd): Likewise.
32578         * Makefile ($(common-objpfx)testrun.sh): Replace
32579         $(run-program-prefix) with $(test-program-prefix).
32580         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32581         $(rtld-LDFLAGS).
32582         ($(common-objpfx)shlib.lds): Likewise.
32583         (build-module-helper): Likewise.
32584         ($(common-objpfx)format.lds): Likewise.
32585         * Rules (binaries-pie-tests): New.
32586         (binaries-pie-notests): Likewise.
32587         (binaries-pie): Rewritten.
32588         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32589         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32590         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32591         (make-test-out): Replace $(host-built-program-cmd) with
32592         $(host-test-program-cmd).
32593         * config.make.in (build-hardcoded-path-in-tests): New variable.
32594         * configure.in (--enable-hardcoded-path-in-tests): New configure
32595         option.
32596         (hardcoded_path_in_tests): New AC_SUBST.
32597         * configure: Regenerated.
32598         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32599         $(built-program-cmd) with $(test-program-cmd).
32600         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32601         (test_program_cmd): This.
32602         * elf/Makefile ($(objpfx)order.out): Run test with
32603         $(test-program-prefix).
32604         ($(objpfx)order2.out): Likewise.
32605         ($(objpfx)tst-initorder.out): Likewise.
32606         ($(objpfx)tst-initorder2.out): Likewise.
32607         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32608         $(test-program-cmd).
32609         ($(objpfx)tst-array1-static.out): Likewise.
32610         ($(objpfx)tst-array2.out): Likewise.
32611         ($(objpfx)tst-array3.out): Likewise.
32612         ($(objpfx)tst-array4.out): Likewise.
32613         ($(objpfx)tst-array5.out): Likewise.
32614         ($(objpfx)tst-array5-static.out): Likewise.
32615         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32616         $(test-program-cmd).
32617         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32618         $(run-program-prefix) with $(test-program-prefix).
32619         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32620         (test_program_prefix): This.
32621         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32622         $(run-program-prefix) with $(test-program-prefix).
32623         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32624         (test_program_prefix): This.
32625         * iconvdata/tst-tables.sh: Likewise.
32626         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32627         $(run-program-prefix) with $(test-program-prefix).
32628         ($(objpfx)tst-translit.out): Likewise.
32629         ($(objpfx)tst-gettext2.out): Likewise.
32630         ($(objpfx)tst-gettext4.out): Likewise.
32631         ($(objpfx)tst-gettext6.out): Likewise.
32632         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32633         (test_program_prefix): This.
32634         * intl/tst-gettext2.sh: Likewise.
32635         * intl/tst-gettext4.sh  Likewise.
32636         * intl/tst-gettext6.sh: Likewise.
32637         * intl/tst-translit.sh: Likewise.
32638         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32639         with $(test-program-cmd).
32640         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32641         $(run-program-prefix) with $(test-program-prefix).
32642         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32643         (test_program_prefix): This.
32644         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32645         $(run-program-prefix) with $(test-program-prefix).
32646         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32647         (test_program_prefix): This.
32648         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32649         * posix/Makefile ($(objpfx)globtest.out): Replace
32650         $(run-via-rtld-prefix) and $(test-wrapper) with
32651         $(test-program-prefix) and $(test-via-rtld-prefix).
32652         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32653         $(test-program-prefix).
32654         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32655         $(host-test-program-cmd).
32656         (tst-spawn-ARGS): Likewise.
32657         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32658         $(test-program-prefix).
32659         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32660         (test_via_rtld_prefix): This.
32661         (test_wrapper): Renamed to ...
32662         (test_program_prefix): This.
32663         (run_program_prefix): Replaced by test_program_prefix.
32664         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32665         (test_program_prefix): This.
32666         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32667         with $(host-test-program-cmd).
32668         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32669         $(run-program-prefix) with $(test-program-prefix).
32670         ($(objpfx)tst-printf.out): Likewise.
32671         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32672         $(test-program-cmd).
32673         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32674         (test_program_prefix): This.
32675         * stdio-common/tst-unbputc.sh: Likewise.
32676         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32677         $(run-program-prefix) with $(test-program-prefix).
32678         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32679         (test_program_prefix): This.
32680         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32681         $(built-program-cmd) with $(test-program-cmd).
32683 2013-01-11  Andreas Jaeger  <aj@suse.de>
32685         [BZ #15003]
32686         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32687         value. Sync with Linux 3.7.
32689 2013-01-10  David S. Miller  <davem@davemloft.net>
32691         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32692         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32693         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32695 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32697         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32698         never set.
32699         * configure: Regenerated.
32701 2013-01-10  David S. Miller  <davem@davemloft.net>
32703         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32704         sparc V9 rather than using V8 code.
32705         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32706         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32708 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32710         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32711         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32712         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32713         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32714         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32715         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32716         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32717         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32718         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32719         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32720         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32721         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32722         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32723         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32724         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32725         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32726         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32727         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32728         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32729         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32730         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32731         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32732         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32733         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32734         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32735         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32736         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32738 2013-01-10  David S. Miller  <davem@davemloft.net>
32740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32742 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32744         * posix/Makefile (tests-static): New variable.
32745         (tests): Add $(tests-static).
32746         (tst-exec-static-ARGS): New variable.
32747         (tst-spawn-static-ARGS): Likewise.
32748         * posix/tst-exec-static.c: New file.
32749         * posix/tst-spawn-static.c: Likewise.
32750         * posix/tst-exec.c: Support run directly.
32751         * posix/tst-spawn.c: Likewise.
32753 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32755         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32756         long.
32757         * math/bits/mathcalls.h (llrint): Likewise.
32758         (llround): Likewise.
32759         * stdlib/stdlib.h (struct drand48_data): Likewise.
32760         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32761         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32762         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32763         Likewise.
32764         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32765         Likewise.
32766         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32767         (elf_greg_t): Likewise.
32768         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32769         (__jmp_buf): Likewise.
32770         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32771         definitions.
32772         (llrint): Likewise, for all definitions.
32773         (llrintl): Likewise.
32775         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32776         Remove [__GNUC__] condition.
32777         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32778         condition to just [__USE_ISOC99].
32779         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32781 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32783         [BZ #14200]
32784         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32785         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32786         defined.
32787         (_POSIX_V6_ILP32_OFF32): Likewise.
32788         (_XBS5_ILP32_OFF32): Likewise.
32789         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32790         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32792 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32794         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32797         doubles __mpexp_twomm1.  Adjust usage.
32798         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32799         Remove.
32801 2013-01-10  Andreas Schwab  <schwab@suse.de>
32803         [BZ #14964]
32804         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32805         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32807 2013-01-09  David S. Miller  <davem@davemloft.net>
32809         [BZ #15003]
32810         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32811         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32812         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32813         (TCP_FASTOPEN): Define.
32814         (tcp_repair_opt): New structure.
32815         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32816         enum values.
32817         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32818         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32819         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32820         (tcp_cookie_transactions): New structure.
32822 2013-01-09  Anton Blanchard  <anton@samba.org>
32824         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32825         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32826         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32827         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32829 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32831         * include/features.h (__USE_ANSI): Remove.
32833 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32835         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32837         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32839 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32841         * sysdeps/s390/fpu/libm-test-ulps: Update.
32843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32845         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32846         (__acr): Likewise.
32847         (__cpy): Likewise.
32848         (norm): Likewise.
32849         (denorm): Likewise.
32850         (__mp_dbl): Likewise.
32851         (__dbl_mp): Likewise.
32852         (add_magnitudes): Likewise.
32853         (sub_magnitudes): Likewise.
32854         (__add): Likewise.
32855         (__sub): Likewise.
32856         (__mul): Likewise.
32857         (__inv): Likewise.
32858         (__dvd): Likewise.
32859         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32860         (__acr): Likewise.
32861         (__cpy): Likewise.
32862         (norm): Likewise.
32863         (denorm): Likewise.
32864         (__mp_dbl): Likewise.
32865         (__dbl_mp): Likewise.
32866         (add_magnitudes): Likewise.
32867         (sub_magnitudes): Likewise.
32868         (__add): Likewise.
32869         (__sub): Likewise.
32870         (__mul): Likewise.
32871         (__inv): Likewise.
32872         (__dvd): Likewise.
32873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32874         (__acr): Likewise.
32875         (__cpy): Likewise.
32876         (norm): Likewise.
32877         (denorm): Likewise.
32878         (__mp_dbl): Likewise.
32879         (__dbl_mp): Likewise.
32880         (add_magnitudes): Likewise.
32881         (sub_magnitudes): Likewise.
32882         (__add): Likewise.
32883         (__sub): Likewise.
32884         (__mul): Likewise.
32885         (__inv): Likewise.
32886         (__dvd): Likewise.
32888 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32890         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32891         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32892         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32893         2 && __USE_EXTERN_INLINES]: Likewise.
32895 2013-01-08  Andreas Jaeger  <aj@suse.de>
32897         [BZ# 14985]
32898         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32899         Remove.
32900         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32901         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32903 2013-01-07  Anton Blanchard  <anton@samba.org>
32905         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32906         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32907         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32908         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32909         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32910         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32911         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32912         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32914         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32915         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32916         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32917         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32918         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32919         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32920         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32922         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32923         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32924         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32925         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32926         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32927         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32928         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32929         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32930         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32931         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32932         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32933         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32934         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32935         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32937         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32938         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32939         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32940         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32941         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32942         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32943         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32944         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32945         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32946         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32947         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32949 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32951         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32952         (__MALLOC_PMT): Likewise.
32953         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32954         [__GNUC__], only on [_LIBC].
32955         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32956         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32957         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32958         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32959         forward declaration.
32960         (realloc_hook_ini): Likewise.
32961         (memalign_hook_ini): Likewise.
32962         (__libc_memalign): Do not use __MALLOC_PMT in variable
32963         declaration.
32964         (__libc_valloc): Likewise.
32965         (__libc_pvalloc): Likewise.
32966         (__libc_calloc): Likewise.
32967         (__posix_memalign): Likewise.
32969         [BZ #14996]
32970         * math/s_casinh.c: Include <float.h>.
32971         (__casinh): Do not do computation with squaring and square root
32972         for large arguments.
32973         * math/s_casinhf.c: Include <float.h>.
32974         (__casinhf): Do not do computation with squaring and square root
32975         for large arguments.
32976         * math/s_casinhl.c: Include <float.h>.
32977         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32978         (__casinhl): Do not do computation with squaring and square root
32979         for large arguments.
32980         * math/libm-test.inc (casin_test): Add more tests.
32981         (casinh_test): Likewise.
32982         * sysdeps/i386/fpu/libm-test-ulps: Update.
32983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32985 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32987         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32988         (__x86_64_raw_data_cache_size): Likewise.
32989         (__x86_64_data_cache_size_half): Likewise.
32990         (__x86_64_raw_data_cache_size_half): Likewise.
32991         (__x86_64_shared_cache_size): Likewise.
32992         (__x86_64_raw_shared_cache_size): Likewise.
32993         (__x86_64_shared_cache_size_half): Likewise.
32994         (__x86_64_raw_shared_cache_size_half): Likewise.
32995         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32996         to ...
32997         (__x86_data_cache_size): This.
32998         (__x86_64_raw_data_cache_size): Renamed to ...
32999         (__x86_raw_data_cache_size): This.
33000         (__x86_64_data_cache_size_half): Renamed to ...
33001         (__x86_data_cache_size_half): This.
33002         (__x86_64_raw_data_cache_size_half): Renamed to ...
33003         (__x86_raw_data_cache_size_half): This.
33004         (__x86_64_shared_cache_size): Renamed to ...
33005         (__x86_shared_cache_size): This.
33006         (__x86_64_raw_shared_cache_size): Renamed to ...
33007         (__x86_raw_shared_cache_size): This.
33008         (__x86_64_shared_cache_size_half): Renamed to ...
33009         (__x86_shared_cache_size_half): This.
33010         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33011         (__x86_raw_shared_cache_size_half): This.
33012         * sysdeps/x86_64/memcpy.S: Updated.
33013         * sysdeps/x86_64/memset.S: Likewise.
33014         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33015         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33016         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33018 2013-01-04  David S. Miller  <davem@davemloft.net>
33020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33022 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33024         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33025         1 to avoid redefinition warning.
33026         (__USE_GNU): Don't define.
33027         (init_signaling_nan): Protoize.
33029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33031 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33033         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33035         (__cpymn): Likewise.
33036         (norm): Remove commented code.
33037         (denorm): Likewise.
33038         (__mp_dbl): Likewise.
33039         (__inv): Likewise.
33040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33041         (__cpymn): Likewise.
33042         (norm): Remove commented code.
33043         (denorm): Likewise.
33044         (__mp_dbl): Likewise.
33045         (__inv): Likewise.
33047         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33048         mp_no value for 1.0 and 2.0.
33049         (norm): Use RADIXI instead of radixi.d.
33050         (denorm): Likewise.
33051         (__mul): Use 0.0 instead of zero.d.
33052         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33053         mp_no value for 1.0 and 2.0.
33054         (norm): Use RADIXI instead of radixi.d.
33055         (denorm): Likewise.
33056         (__mul): Use 0.0 instead of zero.d.
33058 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33060         [BZ #14994]
33061         * math/s_casinh.c (__casinh): Reduce finite argument to first
33062         quadrant then set signs of results at the end.
33063         * math/s_casinhf.c (__casinhf): Likewise.
33064         * math/s_casinhl.c (__casinhl): Likewise.
33065         * math/libm-test.inc (casin_test): Add more tests.
33066         (casinh_test): Likewise.
33067         * sysdeps/i386/fpu/libm-test-ulps: Update.
33068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33070 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33072         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33074         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33076         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33077         declarations.
33078         (denorm): Likewise.
33079         (__mp_dbl): Likewise.
33080         (__inv): Likewise.
33082         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33083         and adjust the header comment.
33085         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33086         variable name from declaration.
33088 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33090         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33091         Initialize COMMON_CPUID_INDEX_7 element.
33092         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33093         (CPUID_RTM): Likewise.
33094         (HAS_RTM): Likewise.
33095         (COMMON_CPUID_INDEX_7): New enum.
33097 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33099         [BZ #14981]
33100         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33101         size is zero, record memory as freed.
33103 2013-01-03  Andreas Jaeger  <aj@suse.de>
33105         * po/ia.po: Add new Interlingua translation.
33107 2012-01-03  Allan McRae  <allan@archlinux.org>
33109         * locale/programs/localedef.c: Fix description of '--posix' flag.
33111 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33113         * NEWS: Update dates in second copyright notice.
33114         * README: Update copyright dates in example.
33115         * manual/libc.texinfo: Update copyright dates.
33116         * scripts/test-installation.pl: Update copyright date in --version
33117         output.
33119         * hurd/ctty-input.c: Fix copyright notice formatting.
33120         * hurd/ctty-output.c: Likewise.
33121         * hurd/dtable.c: Likewise.
33122         * hurd/hurd-raise.c: Likewise.
33123         * hurd/hurdprio.c: Likewise.
33124         * hurd/msgportdemux.c: Likewise.
33125         * misc/sys/file.h: Likewise.
33126         * misc/sys/ioctl.h: Likewise.
33127         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33128         * sysdeps/mach/hurd/chdir.c: Likewise.
33129         * sysdeps/mach/hurd/fchdir.c: Likewise.
33130         * sysdeps/mach/hurd/rename.c: Likewise.
33131         * sysdeps/mach/hurd/rmdir.c: Likewise.
33132         * sysdeps/mach/hurd/seekdir.c: Likewise.
33133         * sysdeps/mach/hurd/setsid.c: Likewise.
33134         * sysdeps/posix/wait3.c: Likewise.
33136         * All files with FSF copyright notices: Update copyright dates
33137         using scripts/update-copyrights.
33138         * intl/plural.c: Regenerated.
33139         * locale/programs/charmap-kw.h: Likewise.
33140         * locale/programs/locfile-kw.h: Likewise.
33142 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33144         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33145         four values.
33147         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33148         calculation loop and add branch prediction.
33150         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33151         check access beyond bounds of m1np.
33153         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33154         MPTWO.
33155         (__inv): Remove local variable MPTWO to use the global
33156         constant.
33157         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33158         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33159         variable MPTWO.
33160         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33161         MP3HALFS static const.
33163 2013-01-01  David S. Miller  <davem@davemloft.net>
33165         * po/ca.po: Update from translation team.
33167 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33169         * scripts/update-copyrights: New file.
33170         * Makeconfig: Reformat copyright notice.
33171         * ctype/ctype.h: Likewise.
33172         * debug/swprintf_chk.c: Likewise.
33173         * elf/dl-cache.c: Likewise.
33174         * elf/dl-debug.c: Likewise.
33175         * elf/dl-object.c: Likewise.
33176         * grp/initgroups.c: Likewise.
33177         * hurd/Makefile: Likewise.
33178         * hurd/hurd/signal.h: Likewise.
33179         * hurd/hurdfault.c: Likewise.
33180         * hurd/hurdioctl.c: Likewise.
33181         * hurd/hurdlookup.c: Likewise.
33182         * hurd/intr-msg.c: Likewise.
33183         * iconv/gconv_open.c: Likewise.
33184         * libio/swprintf.c: Likewise.
33185         * locale/lc-ctype.c: Likewise.
33186         * locale/nl_langinfo.c: Likewise.
33187         * mach/Machrules: Likewise.
33188         * mach/Makefile: Likewise.
33189         * malloc/obstack.h: Likewise.
33190         * manual/Makefile: Likewise.
33191         * manual/tsort.awk: Likewise.
33192         * misc/bits/stab.def: Likewise.
33193         * nis/nis_print_group_entry.c: Likewise.
33194         * nis/nis_table.c: Likewise.
33195         * nis/nss_compat/compat-pwd.c: Likewise.
33196         * nis/nss_compat/compat-spwd.c: Likewise.
33197         * po/Makefile: Likewise.
33198         * posix/fnmatch.c: Likewise.
33199         * posix/regex.h: Likewise.
33200         * resolv/Makefile: Likewise.
33201         * resolv/nss_dns/dns-network.c: Likewise.
33202         * resolv/res_hconf.c: Likewise.
33203         * scripts/gen-sorted.awk: Likewise.
33204         * soft-fp/soft-fp.h: Likewise.
33205         * stdio-common/printf.h: Likewise.
33206         * stdlib/monetary.h: Likewise.
33207         * stdlib/random.c: Likewise.
33208         * stdlib/random_r.c: Likewise.
33209         * sysdeps/generic/Makefile: Likewise.
33210         * sysdeps/gnu/Makefile: Likewise.
33211         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33212         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33213         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33214         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33215         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33218         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33219         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33220         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33221         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33222         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33223         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33224         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33225         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33226         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33227         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33228         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33229         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33230         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33231         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33232         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33233         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33234         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33235         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33236         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33237         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33238         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33239         * sysdeps/mach/hurd/errnos.awk: Likewise.
33240         * sysdeps/mach/hurd/fork.c: Likewise.
33241         * sysdeps/mach/hurd/getcwd.c: Likewise.
33242         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33243         * sysdeps/mach/hurd/mmap.c: Likewise.
33244         * sysdeps/mach/hurd/utimes.c: Likewise.
33245         * sysdeps/mach/hurd/xmknod.c: Likewise.
33246         * sysdeps/posix/profil.c: Likewise.
33247         * sysdeps/posix/readdir_r.c: Likewise.
33248         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33249         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33250         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33251         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33253         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33254         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33255         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33257         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33258         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33259         * sysdeps/pthread/lio_listio.c: Likewise.
33260         * sysdeps/sparc/dl-procinfo.h: Likewise.
33261         * sysdeps/unix/i386/sysdep.S: Likewise.
33262         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33263         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33264         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33265         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33267         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33268         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33269         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33270         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33271         * sysdeps/wordsize-32/divdi3.c: Likewise.
33272         * time/sys/time.h: Likewise.
33273         * wcsmbs/Makefile: Likewise.
33275 2013-01-01  David S. Miller  <davem@davemloft.net>
33277         * po/fr.po: Update from translation team.
33279         * catgets/gencat.c: Update copyright year.
33280         * csu/version.c: Likewise.
33281         * debug/catchsegv.sh: Likewise.
33282         * debug/pcprofiledump.c: Likewise.
33283         * debug/xtrace.sh: Likewise.
33284         * elf/ldconfig.c: Likewise.
33285         * elf/ldd.bash.in: Likewise.
33286         * elf/pldd.c: Likewise.
33287         * elf/sotruss.ksh: Likewise.
33288         * elf/sprof.c: Likewise.
33289         * iconv/iconv_prog.c: Likewise.
33290         * iconv/iconvconfig.c: Likewise.
33291         * locale/programs/locale.c: Likewise.
33292         * locale/programs/localedef.c: Likewise.
33293         * login/programs/pt_chown.c: Likewise.
33294         * malloc/memusage.sh: Likewise.
33295         * malloc/memusagestat.c: Likewise.
33296         * malloc/mtrace.pl: Likewise.
33297         * nscd/nscd.c: Likewise.
33298         * nss/getent.c: Likewise.
33299         * nss/makedb.c: Likewise.
33300         * posix/getconf.c: Likewise.
33302 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33304         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33305         numbers.
33307 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33309         * math/bits/mathcalls.h (modf): Use __nonnull.
33311 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33313         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33314         (split): Use macro CN instead of the bare value.
33315         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33316         could be used.
33317         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33318         instead of the bare value.
33319         (power1): Likewise.
33321 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33323         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33324         __ATAN_TWOM.
33325         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33327         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33328         their values.
33329         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33330         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33331         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33332         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33334 2012-12-28  Andreas Jaeger  <aj@suse.de>
33336         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33337         values are from Linux 3.7.
33339         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33340         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33342 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33344         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33345         TRUE case.
33347         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33348         (norm): Likewise.
33349         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33350         variables with preprocessor constants.
33351         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33352         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33353         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33355 2012-12-27  Bruno Haible  <bruno@clisp.org>
33357         [BZ #14317]
33358         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33359         only if needed.
33361 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33364         and use variable directly.
33365         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33367         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33368         MPONE.
33369         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33371         variable MPONE.
33372         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33373         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33374         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33375         include directive.  Remove local variable MPONE.
33376         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33377         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33378         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33380 2012-12-25  David S. Miller  <davem@davemloft.net>
33382         * version.h (RELEASE): Set to "development".
33383         (VERSION): Set to "2.17.90".
33384         * NEWS: Add 2.18 section.
33386 2012-12-21  David S. Miller  <davem@davemloft.net>
33388         * po/hr.po: Update from translation team.
33390 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33392         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33394 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33396         * NEWS:  Mention new memcpy for MIPS.
33398 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33400         * manual/contrib.texi (Contributors): Spelling correction.
33402 2012-12-15  David S. Miller  <davem@davemloft.net>
33404         * po/ru.po: Update from translation team.
33406 2012-12-13  David S. Miller  <davem@davemloft.net>
33408         * NEWS: Mention IFUNC testsuite enhancements.
33410         * po/pl.po: Update from translation team.
33411         * po/bg.po: Likewise.
33413         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33414         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33416 2012-12-11  David S. Miller  <davem@davemloft.net>
33418         * po/sv.po: Update from translation team.
33420         * po/vi.po: Update from translation team.
33422         * po/cs.po: Update from translation team.
33424         * po/de.po: Update from translation team.
33425         * po/eo.po: Likewise.
33426         * po/nl.po: Likewise.
33428 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33430         [BZ #14246]
33431         * manual/argp.texi (Argp Helper Functions): Move node to follow
33432         Argp Parsing State.
33434         [BZ #14872]
33435         * manual/conf.texi (Limits on File System Capacity): Mention if
33436         terminating null is included in the max size.
33438 2012-12-10  Andreas Jaeger  <aj@suse.de>
33440         * po/cs.po: Update from translation team.
33442 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33444         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33445         void pointer and cast to uintptr_t.
33446         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33447         path.
33448         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33449         * sysdeps/s390/s390-64/memset.S: Likewise.
33451 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33453         [BZ #14833]
33454         * menual/message.texi (Message Translation): Fix typos.
33455         (Helper programs for gettext): Likewise.
33457 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33459         [BZ #14898]
33460         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33461         Change to -1.
33463 2012-12-07  David S. Miller  <davem@davemloft.net>
33465         * po/libc.pot: Update.
33467 2012-12-07  Richard Henderson  <rth@redhat.com>
33469         [BZ #10114]
33470         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33471         normal/normal case to before the switch.
33472         (_FP_DIV): Likewise.
33474 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33475             Mike Frysinger  <vapier@gentoo.org>
33477         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33478         check for __NR_fadvise64_64.
33480 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33482         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33483         0, not just to plain "0" as a statement.
33484         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33485         with cw.
33487 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33489         * NEWS: Use sourceware.org in Bugzilla URL.
33491 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33494         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33496         * stdio-common/tst-put-error.c (do_test): Add newline to the
33497         padded test to ensure flush.
33499 2012-12-05  Jeff Law  <law@redhat.com>
33501         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33503 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33505         * README: Don't refer to ports add-on as distributed separately.
33506         Mention AArch64 in list of systems supported in the ports add-on.
33508         * LICENSES: Add more non-FSF copyright and license notices.
33510         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33511         ((unused)).
33513         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33515         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33516         10000 as width of padded output.
33518 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33520         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33522         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33523         variable LX with __attribute__ ((unused)).
33524         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33525         Likewise.
33526         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33527         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33528         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33529         with __attribute__ ((unused)).
33531 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33533         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33535 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33537         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33538         (CFLAGS-nldbl-acos.c): New variable.
33539         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33540         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33541         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33542         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33543         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33544         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33545         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33546         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33547         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33548         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33549         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33550         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33551         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33552         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33553         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33554         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33555         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33556         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33557         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33558         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33559         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33560         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33561         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33562         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33563         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33564         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33565         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33566         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33567         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33568         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33569         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33570         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33571         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33572         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33573         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33574         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33575         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33576         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33577         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33578         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33579         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33580         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33581         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33582         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33583         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33584         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33585         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33586         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33587         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33588         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33589         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33590         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33591         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33592         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33593         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33594         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33595         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33596         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33597         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33598         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33599         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33600         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33601         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33602         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33603         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33604         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33605         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33606         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33607         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33608         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33609         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33610         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33611         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33612         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33613         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33614         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33615         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33616         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33617         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33618         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33619         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33620         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33621         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33622         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33623         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33624         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33625         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33626         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33627         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33628         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33629         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33630         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33631         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33632         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33633         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33634         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33635         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33638         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33640         [BZ #14914]
33641         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33642         whole low double instead of just low 47 bits when splitting values
33643         into two parts.
33645 2012-12-03  Allan McRae  <allan@archlinux.org>
33647         * manual/stdio.texi (Predefined Printf Handlers): Remove
33648         @hsep and @vsep usage.
33650 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33652         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33653         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33655 2012-12-03  Jeff Law  <law@redhat.com>
33657         * time/sys/time.h (settimeofday): Do not mark TV argument
33658         as __nonnull.
33660 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33662         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33663         when currently writing and seek to current position when not.
33664         * libio/Makefile (tests): Remove bug-fclose1.
33665         * libio/bug-fclose1.c: Delete.
33667 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33669         * manual/arith.texi (feenableexcept): Fix typo.
33670         (fedisableexcept): Likewise.
33672 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33674         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33675         second, differently-typed declaration, rather than a cast.
33677 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33679         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33680         * include/rpc/svc.h: ... here.
33682 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33684         [BZ #13013]
33685         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33686         depending n and resplen2 to catch cases where answer
33687         equals answerp2.
33689 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33691         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33692         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33694 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33696         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33698 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33700         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33702 2012-11-28  Jeff Law  <law@redhat.com>
33704         [BZ #13761]
33705         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33706         dataset_temporary.  Track alloca usage into alloca_used.
33707         If dataset is large allocate and release it via malloc/free.
33709 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33711         [BZ #14197]
33712         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33714 2012-11-28  David S. Miller  <davem@davemloft.net>
33716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33718 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33720         [BZ #14803]
33721         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33722         of pi/2 rounded to nearest to 64 bits.
33723         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33724         nearest to 64 bits.
33725         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33726         bits.
33728 2012-11-28  Jeff Law <law@redhat.com>
33729             Martin Osvald <mosvald@redhat.com>
33731         [BZ #14889]
33732         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33733         * sunrpc/svc.c: Include time.h.
33734         (__svc_accept_failed): New function.
33735         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33736         any reason other than EINTR, call __svc_accept_failed.
33737         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33738         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33740 2012-11-28  Andreas Schwab  <schwab@suse.de>
33742         * scripts/abilist.awk: Also handle indirect functions in .opd
33743         section.
33745 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33747         [BZ #13881]
33748         * sysdeps/x86/fpu/powl_helper.c: New file.
33749         * sysdeps/x86/fpu/Makefile: Likewise.
33750         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33751         (p3): New object.
33752         (__ieee754_powl): Use __powl_helper for finite arguments except
33753         integer exponents below 8.
33754         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33755         (p3): New object.
33756         (__ieee754_powl): Use __powl_helper for finite arguments except
33757         integer exponents below 8.
33758         * math/libm-test.inc (pow_test): Add more tests and enable some
33759         previously disabled tests.
33760         * sysdeps/i386/fpu/libm-test-ulps: Update.
33761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33763 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33764             Carlos O'Donell  <carlos_odonell@mentor.com>
33766         * nss/makedb.c (is_prime): Assert that input is odd and greater
33767         than 4.  Note that fact in a comment too.
33768         (next_prime): Add 4 to input.
33770 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33772         [BZ #11741]
33773         * libio/Makefile (tests): Add test case tst-fwrite-error.
33774         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33775         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33776         * libio/tst-fwrite-error.c: New test case.
33778 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33780         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33781         before casting to void *.
33782         * include/libc-internal.h (__pointer_type): New macro.
33783         (__integer_if_pointer_type_sub): Likewise.
33784         (__integer_if_pointer_type): Likewise.
33785         (cast_to_integer): Likewise.
33786         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33787         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33788         before casting to atomic64_t.
33789         (atomic_exchange_acq): Likewise.
33790         (__arch_exchange_and_add_body): Likewise.
33791         (__arch_add_body): Likewise.
33792         (atomic_add_negative): Likewise.
33793         (atomic_add_zero): Likewise.
33795 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33797         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33798         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33799         (add_fdes): Likewise.
33800         (linear_search_fdes): Likewise.
33801         (binary_search_unencoded_fdes): Likewise.
33803 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33805         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33807 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33809         * configure.in: Autodetect C++ header directories.
33810         * configure: Regenerated.
33812 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33814         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33816 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33820 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33822         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33823         LDBL_MANT_DIG == 106]: Disable some tests.
33824         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33825         Likewise.
33826         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33827         Likewise.
33829         [BZ #14871]
33830         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33831         input for small inputs.  Return +/- pi/2 for large inputs.
33832         * math/libm-test.inc (atan_test): Add more tests.
33834         * sysdeps/generic/unwind-dw2-fde-glibc.c
33835         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33836         __attribute__ ((unused)).
33838         [BZ #14645]
33839         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33840         x * y if x and y are nonzero and z is zero.
33842         [BZ #14811]
33843         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33844         nonzero exponents with absolute value below 0x1p-117 to +/-
33845         0x1p-117.
33847         [BZ #14869]
33848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33849         up arguments below 2**-450, not just those below 2**-500.
33850         * math/libm-test.inc (hypot_test): Add another test.
33852         [BZ #14868]
33853         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33854         Return a+b for ratio over 2**120, not 2**60.
33855         * math/libm-test.inc (hypot_test): Add another test.
33857         * math/libm-test.inc (clog_test): Use
33858         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33859         (clog10_test): Likewise.
33861         [BZ #6778]
33862         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33864 2012-11-22  Andreas Schwab  <schwab@suse.de>
33866         * sysdeps/i386/fpu/libm-test-ulps: Update.
33868 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33870         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33871         printf output with newline.
33873 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33875         [BZ #14865]
33876         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33877         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33878         -z nodlopen, -z initfirst and -z execstack support.
33879         * configure: Regenerated.
33881         * elf/elf.h (DF_1_NODIRECT): New macro.
33882         (DF_1_IGNMULDEF): Likewise.
33883         (DF_1_NOKSYMS): Likewise.
33884         (DF_1_NOHDR): Likewise.
33885         (DF_1_EDITED): Likewise.
33886         (DF_1_NORELOC): Likewise.
33887         (DF_1_SYMINTPOSE): Likewise.
33888         (DF_1_GLOBAUDIT): Likewise.
33889         (DF_1_SINGLETON): Likewise.
33890         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33891         DT_1_SUPPORTED_MASK bits.
33892         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33894 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33896         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33898 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33900         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33901         macro.
33903         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33904         (sendmmsg): Move declarations...
33905         * socket/sys/socket.h: ... here.
33906         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33907         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33908         include it from...
33909         * socket/recvmmsg.c: ... this new file.
33910         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33911         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33912         definition of __sendmmsg hidden.
33913         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33914         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33915         Move ENOSYS stub into and include it from...
33916         * socket/sendmmsg.c: ... this new file.
33917         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33918         (sysdep_routines): Move recvmmsg and sendmmsg...
33919         * socket/Makefile (routines): ... here.
33920         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33921         (GLIBC_PRIVATE): Add __sendmmsg.
33922         * include/sys/socket.h (__sendmmsg): Add declarations.
33923         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33924         sendmmsg.
33926 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33928         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33929         variable I1 with __attribute__ ((unused)).
33930         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33932 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33934         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33935         DUMMY variables with __attribute__ ((unused)).
33937         * bits/byteswap.h: Include <bits/types.h>.
33938         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33940 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33942         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33943         string_t.  Do not manually set errno.
33944         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33945         length with __strnlen.  Make sure to both set errno and return it on
33946         failure.
33948 2012-11-19  David S. Miller  <davem@davemloft.net>
33950         With help from Joseph Myers.
33951         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33952         very large arguments properly.
33953         * math/libm-test.inc (atan_test): New tests.
33954         (atan2_test): New tests.
33955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33956         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33958 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33960         [BZ #14856]
33961         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33962         Define to 3.
33964         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33965         [POSIX] (EADDRNOTAVAIL): Likewise.
33966         [POSIX] (EAFNOSUPPORT): Likewise.
33967         [POSIX] (EALREADY): Likewise.
33968         [POSIX] (ECONNABORTED): Likewise.
33969         [POSIX] (ECONNREFUSED): Likewise.
33970         [POSIX] (ECONNRESET): Likewise.
33971         [POSIX] (EDESTADDRREQ): Likewise.
33972         [POSIX] (EDQUOT): Likewise.
33973         [POSIX] (EHOSTUNREACH): Likewise.
33974         [POSIX] (EIDRM): Likewise.
33975         [POSIX] (EISCONN): Likewise.
33976         [POSIX] (ELOOP): Likewise.
33977         [POSIX] (EMULTIHOP): Likewise.
33978         [POSIX] (ENETDOWN): Likewise.
33979         [POSIX] (ENETUNREACH): Likewise.
33980         [POSIX] (ENOBUFS): Likewise.
33981         [POSIX] (ENODATA): Likewise.
33982         [POSIX] (ENOLINK): Likewise.
33983         [POSIX] (ENOMSG): Likewise.
33984         [POSIX] (ENOPROTOOPT): Likewise.
33985         [POSIX] (ENOSR): Likewise.
33986         [POSIX] (ENOSTR): Likewise.
33987         [POSIX] (ENOTCONN): Likewise.
33988         [POSIX] (ENOTSOCK): Likewise.
33989         [POSIX] (EOPNOTSUPP): Likewise.
33990         [POSIX] (EOVERFLOW): Likewise.
33991         [POSIX] (EPROTO): Likewise.
33992         [POSIX] (EPROTONOSUPPORT): Likewise.
33993         [POSIX] (EPROTOTYPE): Likewise.
33994         [POSIX] (ESTALE): Likewise.
33995         [POSIX] (ETIME): Likewise.
33996         [POSIX] (ETXTBSY): Likewise.
33997         [POSIX] (EWOULDBLOCK): Likewise.
33998         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33999         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34000         [POSIX] (SEEK_CUR): Likewise.
34001         [POSIX] (SEEK_END): Likewise.
34002         [POSIX || UNIX98] (mode_t): Do not require.
34003         [POSIX] (off_t): Likewise.
34004         [POSIX] (pid_t): Likewise.
34005         [POSIX] (sys/stat.h): Do not allow header.
34006         [POSIX] (unistd.h): Likewise.
34007         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34008         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34009         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34010         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34011         require.
34012         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34013         sigevent): Specify elements.
34014         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34015         entry.
34016         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34017         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34019         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34020         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34021         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34022         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34023         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34024         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34025         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34026         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34027         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34028         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34029         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34030         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34031         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34032         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34033         Likewise.
34034         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34035         Likewise.
34036         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34037         Likewise.
34038         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34039         Likewise.
34040         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34041         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34042         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34043         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34044         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34045         Specify lower bound on value.
34046         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34047         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34048         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34049         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34050         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34051         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34052         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34053         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34054         value.
34055         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34056         as optional.
34057         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34058         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34059         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34060         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34061         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34062         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34063         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34064         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34065         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34066         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34067         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34068         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34069         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34070         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34071         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34072         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34073         entry.
34074         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34075         optional.
34076         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34077         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34078         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34079         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34080         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34081         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34082         Likewise.
34083         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34084         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34085         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34086         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34087         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34088         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34089         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34090         as optional.
34091         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34092         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34093         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34094         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34095         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34096         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34097         specify as optional.
34098         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34099         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34100         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34101         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34102         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34103         [XPG3] (NL_LANGMAX): Likewise.
34104         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34105         [POSIX || XPG3] (NL_NMAX): Likewise.
34106         [POSIX || XPG3] (NL_SETMAX): Likewise.
34107         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34108         [XPG3] (NZERO): Likewise.
34109         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34110         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34111         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34112         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34113         (REG_ERANGE): Expect.
34114         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34115         optional-constant.
34116         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34117         Use (void) in prototype.
34118         [POSIX] (*_t): Allow.
34119         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34120         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34121         (WRDE_BADVAL): Expect.
34123         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34124         expect.
34125         [XPG3 || XPG4] (O_RSYNC): Likewise.
34126         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34127         Likewise.
34128         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34129         [XPG3 || XPG4] (sigqueue): Likewise.
34130         [XPG3 || XPG4] (sigtimedwait): Likewise.
34131         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34132         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34133         [XPG3 || XPG4] (vsnprintf): Likewise.
34134         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34135         Likewise.
34136         [XPG3 || XPG4] (blksize_t): Likewise.
34137         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34138         Likewise.
34139         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34140         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34141         [XPG3 || XPG4] (struct itimerspec): Likewise.
34142         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34143         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34144         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34145         [XPG3 || XPG4] (clockid_t): Likewise.
34146         [XPG3 || XPG4] (timer_t): Likewise.
34147         [XPG3 || XPG4] (clock_getres): Likewise.
34148         [XPG3 || XPG4] (clock_gettime): Likewise.
34149         [XPG3 || XPG4] (clock_settime): Likewise.
34150         [XPG3 || XPG4] (nanosleep): Likewise.
34151         [XPG3 || XPG4] (timer_create): Likewise.
34152         [XPG3 || XPG4] (timer_delete): Likewise.
34153         [XPG3 || XPG4] (timer_gettime): Likewise.
34154         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34155         [XPG3 || XPG4] (timer_settime): Likewise.
34156         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34157         [XPG3 || XPG4] (getlogin_r): Likewise.
34158         [XPG3 || XPG4] (pread): Likewise.
34159         [XPG3 || XPG4] (pthread_atfork): Likewise.
34160         [XPG3 || XPG4] (pwrite): Likewise.
34162         [BZ #14835]
34163         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34164         <bits/siginfo.h>.
34166 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34168         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34169         finalizing MALLSTREAM.
34171         * sysdeps/mach/hurd/syncfs.c: New file.
34173 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34175         [BZ #14719]
34176         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34177         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34178         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34179         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34180         (_nss_dns_gethostbyname4_r): Likewise.
34181         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34182         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34184 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34186         [BZ #13763]
34187         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34189 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34191         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34192         * elf/cache.c (print_entry): Print ",AArch64" for
34193         FLAG_AARCH64_LIB64
34195         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34196         * elf/cache.c (print_entry): Print ",hard-float" for
34197         FLAG_ARM_LIBHF.
34199 2012-11-18  David S. Miller  <davem@davemloft.net>
34201         With help from Joseph Myers.
34202         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34203         cutoff to 2**-13.
34204         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34205         cutoff to 2**-25.
34206         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34207         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34208         small.
34209         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34210         * math/libm-test.inc (y0_test): New tests.
34211         (y1_test): New tests.
34212         * sysdeps/i386/fpu/libm-test-ulps: Update.
34213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34216 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34218         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34219         64-bit targets.
34220         * configure: Regenerated.
34222 2012-11-17  David S. Miller  <davem@davemloft.net>
34224         [BZ #14811]
34225         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34226         nonzero exponents with absolute value below 0x1p-128 to +/-
34227         0x1p-128.
34229 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34231         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34233         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34235         * posix/getconf-speclist.c: New file.
34236         * posix/posix-envs.def: Likewise.
34237         * posix/confstr.c (START_ENV_GROUP): New macro.
34238         (END_ENV_GROUP): Likewise.
34239         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34240         (KNOWN_PRESENT_ENV_STRING): Likewise.
34241         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34242         (UNKNOWN_ENVIRONMENT): Likewise.
34243         (confstr): Include posix-envs.def instead of handling
34244         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34245         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34246         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34247         (END_ENV_GROUP): Likewise.
34248         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34249         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34250         (UNKNOWN_ENVIRONMENT): Likewise.
34251         (__sysconf): Include posix-envs.def instead of handling associated
34252         cases directly here.
34253         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34254         preprocessing getconf-speclist.c rather than running getconf or
34255         generating empty file.
34257 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34259         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34261 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34263         [BZ #14672]
34264         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34266 2012-11-16  David S. Miller  <davem@davemloft.net>
34268         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34269         smaller than LDBL_EPSILON/2.0L, just return xm1.
34271 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34273         * elf/tst-array1.c (init): Set constructor priority to 1000.
34274         (fini): Set destructor priority to 1000.
34275         * elf/tst-array2dep.c: Likewise.
34277 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34279         [BZ #11741]
34280         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34281         (_IO_new_file_xsputn): Also return EOF if none of the input
34282         data was written when overflow failed.
34283         * libio/iopadn.c (_IO_padn): Likewise.
34284         * libio/iowpadn.c (_IO_wpadn): Likewise.
34285         * stdio-common/tst-put-error.c: Add copyright notice.
34286         (do_test): Add case for printing padded string.
34287         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34288         _IO_padn returned error.
34289         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34290         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34291         return EOF.
34293 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34295         * libio/libioP.h: Add comment note that the references to C++
34296         bits are now obsolete.
34298 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34300         * math/libm-test.inc (check_complex): Use asprintf.
34302 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34304         * debug/pcprofiledump.c (print_version): Update copyright year.
34305         * malloc/memusagestat.c (print_version): Likewise.
34307 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34309         [BZ #14831]
34310         * elf/Makefile (tests): Add tst-audit8.
34311         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34312         ($(objpfx)tst-audit8.out): New target.
34313         (tst-audit8-ENV): New variable.
34314         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34315         audit if l_reloc_result is NULL.
34316         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34317         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34318         * elf/tst-audit8.c: New file.
34320 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34322         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34323         * misc/Makefile (CFLAGS-select.c): Define.
34324         * posix/Makefile (CFLAGS-pause.c): Define.
34326 2012-11-13  David S. Miller  <davem@davemloft.net>
34328         * crypt/Makefile: Move test targets after toplevel Rules
34329         inclusion.  Grab any necessary sysdep routines when linking.
34330         * crypt/md5.c (md5_process_block): Remove define, we will always
34331         name it __md5_process_block.
34332         (md5_finish_ctx): Update md5_process_block call.
34333         (md5_stream): Likewise.
34334         (md5_process_bytes): Likewise.
34335         (md5_process_block): Rename to __md5_process_block and move to ...
34336         * crypt/md5-block.c: ... here.
34337         * crypt/sha256.c (sha256_process_block): Move to ...
34338         * crypt/sha256-block.c: ... here.
34339         * crypt/sha512.c (sha512_process_block): Move to ...
34340         * crypt/sha512-block.c: ... here.
34341         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34342         path.
34343         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34344         * sysdeps/sparc/sparc64/multiarch/Makefile
34345         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34346         crypt subdir.
34347         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34348         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34349         multiarch changes.
34350         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34351         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34352         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34353         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34354         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34355         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34356         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34357         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34358         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34359         file.
34360         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34361         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34362         file.
34363         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34365 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34367         * timezone/tzselect.ksh: Update from tzcode git revision
34368         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34369         * timezone/zdump.c: Likewise.
34370         * timezone/zic.c: Likewise.
34371         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34372         in TZVERSION setting, not $(PKGVERSION).
34373         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34374         REPORT_BUGS_TO settings.
34376         [BZ #14838]
34377         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34378         macro.
34380 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34382         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34383         detection to immediately after _FP_ROUND().
34384         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34385         bits are 0.
34387 2012-11-11  David S. Miller  <davem@davemloft.net>
34389         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34390         inttypes.h
34391         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34392         __close rather than their public counterparts.
34394 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34396         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34397         file.
34398         [UNIX98] (sem_timedwait): Do not expect.
34399         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34400         [XPG4 || UNIX98] (sockatmark): Do not expect.
34401         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34402         (clock_getcpuclockid): Do not expect.
34403         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34404         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34405         Do not expect.
34406         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34407         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34408         [UNIX98] (vwscanf): Likewise.
34409         [UNIX98] (vswscanf): Likewise.
34411 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34413         * timezone/version.h: Remove file.
34414         * timezone/README: Do not refer to version.h.
34415         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34416         $(objpfx)version.h.
34417         ($(objpfx)zdump.o): Likewise.
34418         ($(objpfx)version.h): New target.
34420         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34421         2012i.
34422         * timezone/README: Don't mention modification to tzselect.ksh.
34423         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34424         work on unmodified tzselect.ksh.  Substitute version numbers in
34425         tzselect.ksh.
34427         * Makefile (format-me): Remove.
34428         (INSTALL): Adjust indentation.  Use commands directly instead of
34429         using $(format-me).
34431         * aclocal.m4 (ACX_PKGVERSION): New macro.
34432         (ACX_BUGURL): Likewise.
34433         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34434         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34435         (REPORT_BUGS_TO): Likewise.
34436         * configure: Regenerated.
34437         * config.h.in (PKGVERSION): New macro.
34438         (REPORT_BUGS_TO): Likewise.
34439         * config.make.in (PKGVERSION): New variable.
34440         (PKGVERSION_TEXI): Likewise.
34441         (REPORT_BUGS_TO): Likewise.
34442         (REPORT_BUGS_TEXI): Likewise.
34443         * Makefile (format-me): Use -I$(common-objpfx)manual.
34444         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34445         ($(common-objpfx)manual/%): New target.
34446         (manual/%): Remove target.
34447         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34448         (print_version): Use PKGVERSION.
34449         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34450         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34451         and REPORT_BUGS_TO.
34452         ($(objpfx)xtrace): Likewise.
34453         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34454         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34455         (print_version): Use PKGVERSION.
34456         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34457         (do_version): Use PKGVERSION.
34458         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34459         REPORT_BUGS_TO.
34460         (common-ldd-rewrite): Likewise.
34461         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34462         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34463         (print_version): Use PKGVERSION.
34464         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34465         * elf/pldd.c (argp_program_bug_address): Remove variable.
34466         (more_help): New function.
34467         (argp): Use more_help.
34468         (print_version): Use PKGVERSION.
34469         * elf/sln.c (main): Use PKGVERSION.
34470         (usage): Use REPORT_BUGS_TO.
34471         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34472         (top level): Use PKGVERSION.
34473         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34474         (print_version): Use PKGVERSION.
34475         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34476         (print_version): Use PKGVERSION.
34477         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34478         (print_version): Use PKGVERSION.
34479         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34480         (print_version): Use PKGVERSION.
34481         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34482         (print_version): Use PKGVERSION.
34483         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34484         (print_version): Use PKGVERSION.
34485         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34486         and BUGURL.
34487         ($(objpfx)memusage): Likewise.
34488         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34489         (do_version): Use PKGVERSION.
34490         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34491         (print_version): Use PKGVERSION.
34492         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34493         ($PKGVERSION): New variable.
34494         ($REPORT_BUGS_TO): Likewise.
34495         (usage): Use $REPORT_BUGS_TO.
34496         (top level): Use $PKGVERSION.
34497         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34498         ($(objpfx)pkgvers.texi): New rule.
34499         ($(objpfx)stamp-pkgvers): Likewise.
34500         * manual/install.texi: Include pkgvers.texi.
34501         (--with-pkgversion): Document new configure option.
34502         (--with-bugurl): Likewise.
34503         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34504         than necessarily for this particular distribution.  Use
34505         REPORT_BUGS_TO for where to report bugs.
34506         * INSTALL: Regenerated.
34507         * manual/libc.texinfo: Include pkgvers.texi.
34508         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34509         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34510         (print_version): Use PKGVERSION.
34511         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34512         (print_version): Use PKGVERSION.
34513         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34514         (print_version): Use PKGVERSION.
34515         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34516         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34517         macro.
34518         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34519         (print_version): Use PKGVERSION.
34520         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34521         (print_version): Use PKGVERSION.
34522         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34523         and PKGVERSION.
34525         * timezone/checktab.awk: Update from tzcode 2012i.
34526         * timezone/ialloc.c: Likewise.
34527         * timezone/private.h: Likewise.
34528         * timezone/scheck.c: Likewise.
34529         * timezone/tzfile.h: Likewise.
34530         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34531         (TZVERSION): Hardcode tzcode version number.
34532         * timezone/zdump.c: Update from tzcode 2012i.
34533         * timezone/zic.c: Likewise.
34534         * timezone/version.h: New file.
34535         * timezone/README: Describe version.h.  Update upstream location.
34537         [BZ #14824]
34538         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34539         (mktemp): Enable declaration.
34540         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34541         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34544         Likewise.
34545         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34546         Likewise.
34547         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34548         Likewise.
34549         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34550         Likewise.
34551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34552         Likewise.
34553         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34554         Likewise.
34556         [BZ #14821]
34557         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34558         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34559         for copies of such integer values.
34560         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34561         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34563 2012-11-09  Andreas Jaeger  <aj@suse.de>
34565         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34566         definitions and declarations that are provided by
34567         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34569 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34571         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34572         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34573         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34574         definition.
34576 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34578         * elf/elf.h: Update comment before AArch64 relocations.
34580 2012-11-07  David S. Miller  <davem@davemloft.net>
34582         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34583         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34584         (__start_context): Declare.
34585         (__makecontext_ret): Delete.
34586         (__makecontext): Hook up __start_context instead of
34587         __makecontext_ret.
34588         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34589         (sysdep_routines): Add __start_context when in stdlib.
34591 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34593         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34594         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34595         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34596         hardcoded "nm".
34597         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34598         (READELF): New variable.  Use it instead of hardcoded "readelf".
34600 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34602         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34603         * sysdeps/x86/Makefile: Here.
34604         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34605         * sysdeps/x86/tst-xmmymm.sh: This.
34607 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34609         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34610         expectations.
34611         [UNIX98] (pthread_barrier_t): Do not expect.
34612         [UNIX98] (pthread_barrierattr_t): Likewise.
34613         [UNIX98] (pthread_spinlock_t): Likewise.
34614         [UNIX98] (pthread_barrier_destroy): Likewise.
34615         [UNIX98] (pthread_barrier_init): Likewise.
34616         [UNIX98] (pthread_barrier_wait): Likewise.
34617         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34618         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34619         [UNIX98] (pthread_barrierattr_init): Likewise.
34620         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34621         [UNIX98] (pthread_getcpuclockid): Likewise.
34622         [UNIX98] (pthread_mutex_timedlock): Likewise.
34623         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34624         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34625         [UNIX98] (pthread_sigmask): Likewise.
34626         [UNIX98] (pthread_spin_destroy): Likewise.
34627         [UNIX98] (pthread_spin_init): Likewise.
34628         [UNIX98] (pthread_spin_lock): Likewise.
34629         [UNIX98] (pthread_spin_trylock): Likewise.
34630         [UNIX98] (pthread_spin_unlock): Likewise.
34631         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34632         Do not expect.
34633         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34634         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34635         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34636         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34637         [XPG3 || XPG4] (pthread_key_t): Likewise.
34638         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34639         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34640         [XPG3 || XPG4] (pthread_once_t): Likewise.
34641         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34642         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34643         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34644         [XPG3 || XPG4] (pthread_t): Likewise.
34646         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34647         not expect.
34648         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34650         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34651         Change function return type to int.
34653         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34654         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34655         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34656         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34657         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34658         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34659         [!POSIX] (posix_madvise): Likewise.
34660         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34661         && !UNIX98].
34662         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34663         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34664         (mode_t): Likewise.
34665         (posix_mem_offset): Likewise.
34666         (posix_typed_mem_get_info): Likewise.
34667         (posix_typed_mem_open): Likewise.
34669         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34670         Change condition to [XOPEN2K8].
34672         * conform/conformtest.pl: Preprocess allow-header data with -x c
34673         instead of from stdin.
34674         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34675         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34676         [C99-based standards] (cerfc): Likewise.
34677         [C99-based standards] (cexp2): Likewise.
34678         [C99-based standards] (cexpm1): Likewise.
34679         [C99-based standards] (clog10): Likewise.
34680         [C99-based standards] (clog1p): Likewise.
34681         [C99-based standards] (clog2): Likewise.
34682         [C99-based standards] (clgamma): Likewise.
34683         [C99-based standards] (ctgamma): Likewise.
34684         [C99-based standards] (cerff): Likewise.
34685         [C99-based standards] (cerfcf): Likewise.
34686         [C99-based standards] (cexp2f): Likewise.
34687         [C99-based standards] (cexpm1f): Likewise.
34688         [C99-based standards] (clog10f): Likewise.
34689         [C99-based standards] (clog1pf): Likewise.
34690         [C99-based standards] (clog2f): Likewise.
34691         [C99-based standards] (clgammaf): Likewise.
34692         [C99-based standards] (ctgammaf): Likewise.
34693         [C99-based standards] (cerfl): Likewise.
34694         [C99-based standards] (cerfcl): Likewise.
34695         [C99-based standards] (cexp2l): Likewise.
34696         [C99-based standards] (cexpm1l): Likewise.
34697         [C99-based standards] (clog10l): Likewise.
34698         [C99-based standards] (clog1pl): Likewise.
34699         [C99-based standards] (clog2l): Likewise.
34700         [C99-based standards] (clgammal): Likewise.
34701         [C99-based standards] (ctgammal): Likewise.
34702         * conform/data/inttypes.h-data [C99-based standards]: Include
34703         stdint.h-data.  Remove all expectations for stdint.h contents.
34704         [C99-based standards] (PRI*): Do not allow.
34705         [C99-based standards] (SCN*): Likewise.
34706         [C99-based standards] (*_t): Likewise.
34707         [C99-based-standards] (PRId8): Expect macro.
34708         [C99-based-standards] (PRIi8): Likewise.
34709         [C99-based-standards] (PRIo8): Likewise.
34710         [C99-based-standards] (PRIu8): Likewise.
34711         [C99-based-standards] (PRIx8): Likewise.
34712         [C99-based-standards] (PRIX8): Likewise.
34713         [C99-based-standards] (SCNd8): Likewise.
34714         [C99-based-standards] (SCNi8): Likewise.
34715         [C99-based-standards] (SCNo8): Likewise.
34716         [C99-based-standards] (SCNu8): Likewise.
34717         [C99-based-standards] (SCNx8): Likewise.
34718         [C99-based-standards] (PRIdLEAST8): Likewise.
34719         [C99-based-standards] (PRIiLEAST8): Likewise.
34720         [C99-based-standards] (PRIoLEAST8): Likewise.
34721         [C99-based-standards] (PRIuLEAST8): Likewise.
34722         [C99-based-standards] (PRIxLEAST8): Likewise.
34723         [C99-based-standards] (PRIXLEAST8): Likewise.
34724         [C99-based-standards] (SCNdLEAST8): Likewise.
34725         [C99-based-standards] (SCNiLEAST8): Likewise.
34726         [C99-based-standards] (SCNoLEAST8): Likewise.
34727         [C99-based-standards] (SCNuLEAST8): Likewise.
34728         [C99-based-standards] (SCNxLEAST8): Likewise.
34729         [C99-based-standards] (PRIdFAST8): Likewise.
34730         [C99-based-standards] (PRIiFAST8): Likewise.
34731         [C99-based-standards] (PRIoFAST8): Likewise.
34732         [C99-based-standards] (PRIuFAST8): Likewise.
34733         [C99-based-standards] (PRIxFAST8): Likewise.
34734         [C99-based-standards] (PRIXFAST8): Likewise.
34735         [C99-based-standards] (SCNdFAST8): Likewise.
34736         [C99-based-standards] (SCNiFAST8): Likewise.
34737         [C99-based-standards] (SCNoFAST8): Likewise.
34738         [C99-based-standards] (SCNuFAST8): Likewise.
34739         [C99-based-standards] (SCNxFAST8): Likewise.
34740         [C99-based-standards] (PRId16): Likewise.
34741         [C99-based-standards] (PRIi16): Likewise.
34742         [C99-based-standards] (PRIo16): Likewise.
34743         [C99-based-standards] (PRIu16): Likewise.
34744         [C99-based-standards] (PRIx16): Likewise.
34745         [C99-based-standards] (PRIX16): Likewise.
34746         [C99-based-standards] (SCNd16): Likewise.
34747         [C99-based-standards] (SCNi16): Likewise.
34748         [C99-based-standards] (SCNo16): Likewise.
34749         [C99-based-standards] (SCNu16): Likewise.
34750         [C99-based-standards] (SCNx16): Likewise.
34751         [C99-based-standards] (PRIdLEAST16): Likewise.
34752         [C99-based-standards] (PRIiLEAST16): Likewise.
34753         [C99-based-standards] (PRIoLEAST16): Likewise.
34754         [C99-based-standards] (PRIuLEAST16): Likewise.
34755         [C99-based-standards] (PRIxLEAST16): Likewise.
34756         [C99-based-standards] (PRIXLEAST16): Likewise.
34757         [C99-based-standards] (SCNdLEAST16): Likewise.
34758         [C99-based-standards] (SCNiLEAST16): Likewise.
34759         [C99-based-standards] (SCNoLEAST16): Likewise.
34760         [C99-based-standards] (SCNuLEAST16): Likewise.
34761         [C99-based-standards] (SCNxLEAST16): Likewise.
34762         [C99-based-standards] (PRIdFAST16): Likewise.
34763         [C99-based-standards] (PRIiFAST16): Likewise.
34764         [C99-based-standards] (PRIoFAST16): Likewise.
34765         [C99-based-standards] (PRIuFAST16): Likewise.
34766         [C99-based-standards] (PRIxFAST16): Likewise.
34767         [C99-based-standards] (PRIXFAST16): Likewise.
34768         [C99-based-standards] (SCNdFAST16): Likewise.
34769         [C99-based-standards] (SCNiFAST16): Likewise.
34770         [C99-based-standards] (SCNoFAST16): Likewise.
34771         [C99-based-standards] (SCNuFAST16): Likewise.
34772         [C99-based-standards] (SCNxFAST16): Likewise.
34773         [C99-based-standards] (PRId32): Likewise.
34774         [C99-based-standards] (PRIi32): Likewise.
34775         [C99-based-standards] (PRIo32): Likewise.
34776         [C99-based-standards] (PRIu32): Likewise.
34777         [C99-based-standards] (PRIx32): Likewise.
34778         [C99-based-standards] (PRIX32): Likewise.
34779         [C99-based-standards] (SCNd32): Likewise.
34780         [C99-based-standards] (SCNi32): Likewise.
34781         [C99-based-standards] (SCNo32): Likewise.
34782         [C99-based-standards] (SCNu32): Likewise.
34783         [C99-based-standards] (SCNx32): Likewise.
34784         [C99-based-standards] (PRIdLEAST32): Likewise.
34785         [C99-based-standards] (PRIiLEAST32): Likewise.
34786         [C99-based-standards] (PRIoLEAST32): Likewise.
34787         [C99-based-standards] (PRIuLEAST32): Likewise.
34788         [C99-based-standards] (PRIxLEAST32): Likewise.
34789         [C99-based-standards] (PRIXLEAST32): Likewise.
34790         [C99-based-standards] (SCNdLEAST32): Likewise.
34791         [C99-based-standards] (SCNiLEAST32): Likewise.
34792         [C99-based-standards] (SCNoLEAST32): Likewise.
34793         [C99-based-standards] (SCNuLEAST32): Likewise.
34794         [C99-based-standards] (SCNxLEAST32): Likewise.
34795         [C99-based-standards] (PRIdFAST32): Likewise.
34796         [C99-based-standards] (PRIiFAST32): Likewise.
34797         [C99-based-standards] (PRIoFAST32): Likewise.
34798         [C99-based-standards] (PRIuFAST32): Likewise.
34799         [C99-based-standards] (PRIxFAST32): Likewise.
34800         [C99-based-standards] (PRIXFAST32): Likewise.
34801         [C99-based-standards] (SCNdFAST32): Likewise.
34802         [C99-based-standards] (SCNiFAST32): Likewise.
34803         [C99-based-standards] (SCNoFAST32): Likewise.
34804         [C99-based-standards] (SCNuFAST32): Likewise.
34805         [C99-based-standards] (SCNxFAST32): Likewise.
34806         [C99-based-standards] (PRId64): Likewise.
34807         [C99-based-standards] (PRIi64): Likewise.
34808         [C99-based-standards] (PRIo64): Likewise.
34809         [C99-based-standards] (PRIu64): Likewise.
34810         [C99-based-standards] (PRIx64): Likewise.
34811         [C99-based-standards] (PRIX64): Likewise.
34812         [C99-based-standards] (SCNd64): Likewise.
34813         [C99-based-standards] (SCNi64): Likewise.
34814         [C99-based-standards] (SCNo64): Likewise.
34815         [C99-based-standards] (SCNu64): Likewise.
34816         [C99-based-standards] (SCNx64): Likewise.
34817         [C99-based-standards] (PRIdLEAST64): Likewise.
34818         [C99-based-standards] (PRIiLEAST64): Likewise.
34819         [C99-based-standards] (PRIoLEAST64): Likewise.
34820         [C99-based-standards] (PRIuLEAST64): Likewise.
34821         [C99-based-standards] (PRIxLEAST64): Likewise.
34822         [C99-based-standards] (PRIXLEAST64): Likewise.
34823         [C99-based-standards] (SCNdLEAST64): Likewise.
34824         [C99-based-standards] (SCNiLEAST64): Likewise.
34825         [C99-based-standards] (SCNoLEAST64): Likewise.
34826         [C99-based-standards] (SCNuLEAST64): Likewise.
34827         [C99-based-standards] (SCNxLEAST64): Likewise.
34828         [C99-based-standards] (PRIdFAST64): Likewise.
34829         [C99-based-standards] (PRIiFAST64): Likewise.
34830         [C99-based-standards] (PRIoFAST64): Likewise.
34831         [C99-based-standards] (PRIuFAST64): Likewise.
34832         [C99-based-standards] (PRIxFAST64): Likewise.
34833         [C99-based-standards] (PRIXFAST64): Likewise.
34834         [C99-based-standards] (SCNdFAST64): Likewise.
34835         [C99-based-standards] (SCNiFAST64): Likewise.
34836         [C99-based-standards] (SCNoFAST64): Likewise.
34837         [C99-based-standards] (SCNuFAST64): Likewise.
34838         [C99-based-standards] (SCNxFAST64): Likewise.
34839         [C99-based-standards] (PRIdMAX): Likewise.
34840         [C99-based-standards] (PRIiMAX): Likewise.
34841         [C99-based-standards] (PRIoMAX): Likewise.
34842         [C99-based-standards] (PRIuMAX): Likewise.
34843         [C99-based-standards] (PRIxMAX): Likewise.
34844         [C99-based-standards] (PRIXMAX): Likewise.
34845         [C99-based-standards] (SCNdMAX): Likewise.
34846         [C99-based-standards] (SCNiMAX): Likewise.
34847         [C99-based-standards] (SCNoMAX): Likewise.
34848         [C99-based-standards] (SCNuMAX): Likewise.
34849         [C99-based-standards] (SCNxMAX): Likewise.
34850         [C99-based-standards] (PRIdPTR): Likewise.
34851         [C99-based-standards] (PRIiPTR): Likewise.
34852         [C99-based-standards] (PRIoPTR): Likewise.
34853         [C99-based-standards] (PRIuPTR): Likewise.
34854         [C99-based-standards] (PRIxPTR): Likewise.
34855         [C99-based-standards] (PRIXPTR): Likewise.
34856         [C99-based-standards] (SCNdPTR): Likewise.
34857         [C99-based-standards] (SCNiPTR): Likewise.
34858         [C99-based-standards] (SCNoPTR): Likewise.
34859         [C99-based-standards] (SCNuPTR): Likewise.
34860         [C99-based-standards] (SCNxPTR): Likewise.
34861         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34862         allow.
34863         * conform/data/stdint.h-data: Update comments to clarify
34864         requirements.
34865         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34866         type.
34867         [C99-based standards] (INT8_MAX): Likewise.
34868         [C99-based standards] (INT16_MIN): Likewise.
34869         [C99-based standards] (INT16_MAX): Likewise.
34870         [C99-based standards] (INT32_MIN): Likewise.
34871         [C99-based standards] (INT32_MAX): Likewise.
34872         [C99-based standards] (INT64_MIN): Likewise.
34873         [C99-based standards] (INT64_MAX): Likewise.
34874         [C99-based standards] (UINT8_MAX): Likewise.
34875         [C99-based standards] (UINT16_MAX): Likewise.
34876         [C99-based standards] (UINT32_MAX): Likewise.
34877         [C99-based standards] (UINT64_MAX): Likewise.
34878         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34879         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34880         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34881         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34882         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34883         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34884         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34885         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34886         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34887         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34888         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34889         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34890         [C99-based standards] (INT_FAST8_MIN): Likewise.
34891         [C99-based standards] (INT_FAST8_MAX): Likewise.
34892         [C99-based standards] (INT_FAST16_MIN): Likewise.
34893         [C99-based standards] (INT_FAST16_MAX): Likewise.
34894         [C99-based standards] (INT_FAST32_MIN): Likewise.
34895         [C99-based standards] (INT_FAST32_MAX): Likewise.
34896         [C99-based standards] (INT_FAST64_MIN): Likewise.
34897         [C99-based standards] (INT_FAST64_MAX): Likewise.
34898         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34899         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34900         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34901         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34902         [C99-based standards] (INTPTR_MIN): Likewise.
34903         [C99-based standards] (INTPTR_MAX): Likewise.
34904         [C99-based standards] (UINTPTR_MAX): Likewise.
34905         [C99-based standards] (INTMAX_MIN): Likewise.
34906         [C99-based standards] (INTMAX_MAX): Likewise.
34907         [C99-based standards] (UINTMAX_MAX): Likewise.
34908         [C99-based standards] (PTRDIFF_MIN): Likewise.
34909         [C99-based standards] (PTRDIFF_MAX): Likewise.
34910         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34911         [C99-based standards] (SIZE_MAX): Likewise.
34912         [C99-based standards] (WCHAR_MAX): Likewise.
34913         [C99-based standards] (WINT_MAX): Likewise.
34914         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34915         constraint on value.
34916         [C99-based standards] (WCHAR_MIN): Likewise.
34917         [C99-based standards] (WINT_MIN): Likewise.
34918         [C99-based standards] (*_t): Allow.
34919         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34920         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34921         Include math.h-data and complex.h-data.  Remove all expectations
34922         of math.h and complex.h contents.
34923         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34924         at end of line.
34925         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34926         (struct tm): Expect tag.
34927         [C99-based-standards] (wcstof): Expect function.
34928         [C99-based-standards] (wcstold): Likewise.
34929         [C99-based-standards] (wcstoll): Likewise.
34930         [C99-based-standards] (wcstoull): Likewise.
34931         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34932         macro-int-constant.  Specify type.
34933         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34934         constraint on value.
34935         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34936         Specify type.
34937         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34938         Specify value.
34939         [ISO C standards]: Do not allow headers.
34940         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34941         wcs[abcdefghijklmnopqrstuvwxyz]*.
34942         [ISO C standards] (*_t): Do not allow.
34943         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34944         Expect function.
34945         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34946         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34947         Specify type.
34948         [ISO C standards]: Do not allow headers.
34949         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34950         is[abcdefghijklmnopqrstuvwxyz]*.
34951         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34952         to[abcdefghijklmnopqrstuvwxyz]*.
34953         [ISO C standards] (*_t): Do not allow.
34954         * conform/data/stdalign.h-data: New file.
34955         * conform/data/stdbool.h-data: Likewise.
34956         * conform/data/stdnoreturn.h-data: Likewise.
34958 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34960         [BZ #14815]
34961         * manual/filesys.texi (Directory Entries): Typo fix.
34962         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34964 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34966         * elf/elf.h (EM_AARCH64): New macro.
34967         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34968         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34969         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34970         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34971         (R_AARCH64_TLSDESC): Likewise.
34972         (NT_ARM_TLS): Likewise.
34973         (NT_ARM_HW_BREAK): Likewise.
34974         (NT_ARM_HW_WATCH): Likewise.
34976 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34978         [BZ #14811]
34979         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34980         (__ieee754_powl): Saturate nonzero exponents with absolute value
34981         below 0x1p-79 to +/- 0x1p-79.
34982         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34983         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34984         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34985         nonzero exponents with absolute value below 0x1p-32 to +/-
34986         0x1p-32.
34987         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34988         (__ieee754_powl): Saturate nonzero exponents with absolute value
34989         below 0x1p-79 to +/- 0x1p-79.
34990         * math/libm-test.inc (pow_test): Add more tests.
34992 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34994         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34995         _dl_s390_cap_flags with kernel. Increase string length.
34996         (_dl_s390_platforms): Add z196 and zEC12.
34998 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35000         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35001         Change XOPEN21K to XOPEN2K.
35003 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35005         * string/memmove.c: Use memcpy when possible.
35007 2012-11-06  Andreas Jaeger  <aj@suse.de>
35009         * po/eo.po: Update from translation team.
35011 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35013         [BZ #14793]
35014         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35015         exponent and small x and y exponents, scale x or y up.  Increase
35016         by 2 the exponent used in scaling up.
35017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35019         * math/libm-test.inc (fma_test): Add more tests.
35020         (fma_test_towardzero): Likewise.
35021         (fma_test_downward): Likewise.
35022         (fma_test_upward): Likewise.
35024 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35026         [BZ #14805]
35027         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35028         fenv_t *.
35030         [BZ #14801]
35031         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35032         namespace for names of struct fields.
35033         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35034         fenv_t fields.
35035         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35036         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35038 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35040         [BZ #3665]
35041         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35043 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35045         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35046         PTR_DEMANGLE.
35048         [BZ #5246]
35049         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35050         PTR_DEMANGLE.
35052 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35054         [BZ #14797]
35055         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35056         definitely overflow as x * y not x * y + z.
35057         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35058         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35059         * math/libm-test.inc (fma_test): Add more tests.
35060         (fma_test_towardzero): Likewise.
35061         (fma_test_downward): Likewise.
35062         (fma_test_upward): Likewise.
35064 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35066         [BZ #157]
35068         * include/stub-tag.h: Remove file.
35069         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35070         '#include' of it.
35071         * manual/maint.texi (Porting): Don't reference it.
35072         * Makerules ($(objpfx)stubs): Likewise.
35073         * dirent/closedir.c: Don't include <stub-tag.h>.
35074         * dirent/dirfd.c: Likewise.
35075         * dirent/fdopendir.c: Likewise.
35076         * dirent/getdents.c: Likewise.
35077         * dirent/getdents64.c: Likewise.
35078         * dirent/opendir.c: Likewise.
35079         * dirent/readdir.c: Likewise.
35080         * dirent/readdir64.c: Likewise.
35081         * dirent/readdir64_r.c: Likewise.
35082         * dirent/readdir_r.c: Likewise.
35083         * dirent/rewinddir.c: Likewise.
35084         * dirent/seekdir.c: Likewise.
35085         * dirent/telldir.c: Likewise.
35086         * gmon/profil.c: Likewise.
35087         * grp/setgroups.c: Likewise.
35088         * inet/if_index.c: Likewise.
35089         * io/access.c: Likewise.
35090         * io/chdir.c: Likewise.
35091         * io/chmod.c: Likewise.
35092         * io/chown.c: Likewise.
35093         * io/close.c: Likewise.
35094         * io/dup.c: Likewise.
35095         * io/dup2.c: Likewise.
35096         * io/dup3.c: Likewise.
35097         * io/euidaccess.c: Likewise.
35098         * io/faccessat.c: Likewise.
35099         * io/fchdir.c: Likewise.
35100         * io/fchmod.c: Likewise.
35101         * io/fchmodat.c: Likewise.
35102         * io/fchown.c: Likewise.
35103         * io/fchownat.c: Likewise.
35104         * io/fcntl.c: Likewise.
35105         * io/flock.c: Likewise.
35106         * io/fstatfs.c: Likewise.
35107         * io/fstatfs64.c: Likewise.
35108         * io/fstatvfs.c: Likewise.
35109         * io/fstatvfs64.c: Likewise.
35110         * io/futimens.c: Likewise.
35111         * io/fxstat.c: Likewise.
35112         * io/fxstat64.c: Likewise.
35113         * io/fxstatat.c: Likewise.
35114         * io/fxstatat64.c: Likewise.
35115         * io/getcwd.c: Likewise.
35116         * io/isatty.c: Likewise.
35117         * io/lchmod.c: Likewise.
35118         * io/lchown.c: Likewise.
35119         * io/link.c: Likewise.
35120         * io/linkat.c: Likewise.
35121         * io/lseek.c: Likewise.
35122         * io/lseek64.c: Likewise.
35123         * io/lxstat64.c: Likewise.
35124         * io/mkdir.c: Likewise.
35125         * io/mkdirat.c: Likewise.
35126         * io/mkfifo.c: Likewise.
35127         * io/mkfifoat.c: Likewise.
35128         * io/open.c: Likewise.
35129         * io/open64.c: Likewise.
35130         * io/openat.c: Likewise.
35131         * io/openat64.c: Likewise.
35132         * io/pipe.c: Likewise.
35133         * io/pipe2.c: Likewise.
35134         * io/poll.c: Likewise.
35135         * io/posix_fadvise.c: Likewise.
35136         * io/posix_fadvise64.c: Likewise.
35137         * io/posix_fallocate.c: Likewise.
35138         * io/posix_fallocate64.c: Likewise.
35139         * io/read.c: Likewise.
35140         * io/readlink.c: Likewise.
35141         * io/readlinkat.c: Likewise.
35142         * io/rmdir.c: Likewise.
35143         * io/sendfile.c: Likewise.
35144         * io/sendfile64.c: Likewise.
35145         * io/statfs.c: Likewise.
35146         * io/statfs64.c: Likewise.
35147         * io/statvfs.c: Likewise.
35148         * io/statvfs64.c: Likewise.
35149         * io/symlink.c: Likewise.
35150         * io/symlinkat.c: Likewise.
35151         * io/ttyname.c: Likewise.
35152         * io/ttyname_r.c: Likewise.
35153         * io/umask.c: Likewise.
35154         * io/unlink.c: Likewise.
35155         * io/unlinkat.c: Likewise.
35156         * io/utime.c: Likewise.
35157         * io/utimensat.c: Likewise.
35158         * io/write.c: Likewise.
35159         * io/xmknod.c: Likewise.
35160         * io/xmknodat.c: Likewise.
35161         * io/xstat.c: Likewise.
35162         * io/xstat64.c: Likewise.
35163         * login/getpt.c: Likewise.
35164         * login/grantpt.c: Likewise.
35165         * login/unlockpt.c: Likewise.
35166         * math/e_acoshl.c: Likewise.
35167         * math/e_acosl.c: Likewise.
35168         * math/e_asinl.c: Likewise.
35169         * math/e_atan2l.c: Likewise.
35170         * math/e_atanhl.c: Likewise.
35171         * math/e_coshl.c: Likewise.
35172         * math/e_expl.c: Likewise.
35173         * math/e_fmodl.c: Likewise.
35174         * math/e_gammal_r.c: Likewise.
35175         * math/e_hypotl.c: Likewise.
35176         * math/e_j0l.c: Likewise.
35177         * math/e_j1l.c: Likewise.
35178         * math/e_jnl.c: Likewise.
35179         * math/e_lgammal_r.c: Likewise.
35180         * math/e_log10l.c: Likewise.
35181         * math/e_log2l.c: Likewise.
35182         * math/e_logl.c: Likewise.
35183         * math/e_powl.c: Likewise.
35184         * math/e_rem_pio2l.c: Likewise.
35185         * math/e_sinhl.c: Likewise.
35186         * math/e_sqrtl.c: Likewise.
35187         * math/fclrexcpt.c: Likewise.
35188         * math/fedisblxcpt.c: Likewise.
35189         * math/feenablxcpt.c: Likewise.
35190         * math/fegetenv.c: Likewise.
35191         * math/fegetexcept.c: Likewise.
35192         * math/fegetround.c: Likewise.
35193         * math/feholdexcpt.c: Likewise.
35194         * math/fesetenv.c: Likewise.
35195         * math/fesetround.c: Likewise.
35196         * math/feupdateenv.c: Likewise.
35197         * math/fgetexcptflg.c: Likewise.
35198         * math/fraiseexcpt.c: Likewise.
35199         * math/fsetexcptflg.c: Likewise.
35200         * math/ftestexcept.c: Likewise.
35201         * math/k_cosl.c: Likewise.
35202         * math/k_rem_pio2l.c: Likewise.
35203         * math/k_sinl.c: Likewise.
35204         * math/k_tanl.c: Likewise.
35205         * math/s_asinhl.c: Likewise.
35206         * math/s_atanl.c: Likewise.
35207         * math/s_cbrtl.c: Likewise.
35208         * math/s_erfl.c: Likewise.
35209         * math/s_expm1l.c: Likewise.
35210         * math/s_log1pl.c: Likewise.
35211         * math/s_tanhl.c: Likewise.
35212         * misc/acct.c: Likewise.
35213         * misc/brk.c: Likewise.
35214         * misc/chflags.c: Likewise.
35215         * misc/chroot.c: Likewise.
35216         * misc/fchflags.c: Likewise.
35217         * misc/fgetxattr.c: Likewise.
35218         * misc/flistxattr.c: Likewise.
35219         * misc/fremovexattr.c: Likewise.
35220         * misc/fsetxattr.c: Likewise.
35221         * misc/fsync.c: Likewise.
35222         * misc/ftruncate.c: Likewise.
35223         * misc/futimes.c: Likewise.
35224         * misc/futimesat.c: Likewise.
35225         * misc/getdomain.c: Likewise.
35226         * misc/getdtsz.c: Likewise.
35227         * misc/gethostid.c: Likewise.
35228         * misc/gethostname.c: Likewise.
35229         * misc/getloadavg.c: Likewise.
35230         * misc/getpagesize.c: Likewise.
35231         * misc/getsysstats.c: Likewise.
35232         * misc/getxattr.c: Likewise.
35233         * misc/gtty.c: Likewise.
35234         * misc/ioctl.c: Likewise.
35235         * misc/lgetxattr.c: Likewise.
35236         * misc/listxattr.c: Likewise.
35237         * misc/llistxattr.c: Likewise.
35238         * misc/lremovexattr.c: Likewise.
35239         * misc/lsetxattr.c: Likewise.
35240         * misc/lutimes.c: Likewise.
35241         * misc/madvise.c: Likewise.
35242         * misc/mincore.c: Likewise.
35243         * misc/mlock.c: Likewise.
35244         * misc/mlockall.c: Likewise.
35245         * misc/mmap.c: Likewise.
35246         * misc/mprotect.c: Likewise.
35247         * misc/msync.c: Likewise.
35248         * misc/munlock.c: Likewise.
35249         * misc/munlockall.c: Likewise.
35250         * misc/munmap.c: Likewise.
35251         * misc/preadv.c: Likewise.
35252         * misc/preadv64.c: Likewise.
35253         * misc/ptrace.c: Likewise.
35254         * misc/pwritev.c: Likewise.
35255         * misc/pwritev64.c: Likewise.
35256         * misc/readv.c: Likewise.
35257         * misc/reboot.c: Likewise.
35258         * misc/remap_file_pages.c: Likewise.
35259         * misc/removexattr.c: Likewise.
35260         * misc/revoke.c: Likewise.
35261         * misc/select.c: Likewise.
35262         * misc/setdomain.c: Likewise.
35263         * misc/setegid.c: Likewise.
35264         * misc/seteuid.c: Likewise.
35265         * misc/sethostid.c: Likewise.
35266         * misc/sethostname.c: Likewise.
35267         * misc/setregid.c: Likewise.
35268         * misc/setreuid.c: Likewise.
35269         * misc/setxattr.c: Likewise.
35270         * misc/sstk.c: Likewise.
35271         * misc/stty.c: Likewise.
35272         * misc/swapoff.c: Likewise.
35273         * misc/swapon.c: Likewise.
35274         * misc/sync.c: Likewise.
35275         * misc/syncfs.c: Likewise.
35276         * misc/syscall.c: Likewise.
35277         * misc/truncate.c: Likewise.
35278         * misc/ualarm.c: Likewise.
35279         * misc/usleep.c: Likewise.
35280         * misc/ustat.c: Likewise.
35281         * misc/utimes.c: Likewise.
35282         * misc/vhangup.c: Likewise.
35283         * misc/writev.c: Likewise.
35284         * posix/_exit.c: Likewise.
35285         * posix/alarm.c: Likewise.
35286         * posix/execve.c: Likewise.
35287         * posix/fexecve.c: Likewise.
35288         * posix/fork.c: Likewise.
35289         * posix/fpathconf.c: Likewise.
35290         * posix/getaddrinfo.c: Likewise.
35291         * posix/getegid.c: Likewise.
35292         * posix/geteuid.c: Likewise.
35293         * posix/getgid.c: Likewise.
35294         * posix/getgroups.c: Likewise.
35295         * posix/getlogin.c: Likewise.
35296         * posix/getlogin_r.c: Likewise.
35297         * posix/getpgid.c: Likewise.
35298         * posix/getpid.c: Likewise.
35299         * posix/getppid.c: Likewise.
35300         * posix/getresgid.c: Likewise.
35301         * posix/getresuid.c: Likewise.
35302         * posix/getsid.c: Likewise.
35303         * posix/getuid.c: Likewise.
35304         * posix/glob64.c: Likewise.
35305         * posix/nanosleep.c: Likewise.
35306         * posix/pathconf.c: Likewise.
35307         * posix/pause.c: Likewise.
35308         * posix/posix_madvise.c: Likewise.
35309         * posix/pread.c: Likewise.
35310         * posix/pread64.c: Likewise.
35311         * posix/pwrite.c: Likewise.
35312         * posix/pwrite64.c: Likewise.
35313         * posix/sched_getaffinity.c: Likewise.
35314         * posix/sched_getp.c: Likewise.
35315         * posix/sched_gets.c: Likewise.
35316         * posix/sched_primax.c: Likewise.
35317         * posix/sched_primin.c: Likewise.
35318         * posix/sched_rr_gi.c: Likewise.
35319         * posix/sched_setaffinity.c: Likewise.
35320         * posix/sched_setp.c: Likewise.
35321         * posix/sched_sets.c: Likewise.
35322         * posix/sched_yield.c: Likewise.
35323         * posix/setgid.c: Likewise.
35324         * posix/setlogin.c: Likewise.
35325         * posix/setpgid.c: Likewise.
35326         * posix/setresgid.c: Likewise.
35327         * posix/setresuid.c: Likewise.
35328         * posix/setsid.c: Likewise.
35329         * posix/setuid.c: Likewise.
35330         * posix/sleep.c: Likewise.
35331         * posix/spawni.c: Likewise.
35332         * posix/sysconf.c: Likewise.
35333         * posix/times.c: Likewise.
35334         * posix/wait.c: Likewise.
35335         * posix/wait3.c: Likewise.
35336         * posix/wait4.c: Likewise.
35337         * posix/waitpid.c: Likewise.
35338         * resolv/gai_sigqueue.c: Likewise.
35339         * resource/getpriority.c: Likewise.
35340         * resource/getrlimit.c: Likewise.
35341         * resource/getrusage.c: Likewise.
35342         * resource/nice.c: Likewise.
35343         * resource/setpriority.c: Likewise.
35344         * resource/setrlimit.c: Likewise.
35345         * resource/ulimit.c: Likewise.
35346         * rt/aio_cancel.c: Likewise.
35347         * rt/aio_fsync.c: Likewise.
35348         * rt/aio_read.c: Likewise.
35349         * rt/aio_sigqueue.c: Likewise.
35350         * rt/aio_suspend.c: Likewise.
35351         * rt/aio_write.c: Likewise.
35352         * rt/clock_getres.c: Likewise.
35353         * rt/clock_gettime.c: Likewise.
35354         * rt/clock_nanosleep.c: Likewise.
35355         * rt/clock_settime.c: Likewise.
35356         * rt/lio_listio.c: Likewise.
35357         * rt/mq_close.c: Likewise.
35358         * rt/mq_getattr.c: Likewise.
35359         * rt/mq_notify.c: Likewise.
35360         * rt/mq_open.c: Likewise.
35361         * rt/mq_receive.c: Likewise.
35362         * rt/mq_send.c: Likewise.
35363         * rt/mq_setattr.c: Likewise.
35364         * rt/mq_timedreceive.c: Likewise.
35365         * rt/mq_timedsend.c: Likewise.
35366         * rt/mq_unlink.c: Likewise.
35367         * rt/shm_open.c: Likewise.
35368         * rt/shm_unlink.c: Likewise.
35369         * rt/timer_create.c: Likewise.
35370         * rt/timer_delete.c: Likewise.
35371         * rt/timer_getoverr.c: Likewise.
35372         * rt/timer_gettime.c: Likewise.
35373         * rt/timer_settime.c: Likewise.
35374         * setjmp/__longjmp.c: Likewise.
35375         * setjmp/setjmp.c: Likewise.
35376         * signal/kill.c: Likewise.
35377         * signal/killpg.c: Likewise.
35378         * signal/raise.c: Likewise.
35379         * signal/sigaction.c: Likewise.
35380         * signal/sigaltstack.c: Likewise.
35381         * signal/sigblock.c: Likewise.
35382         * signal/sigignore.c: Likewise.
35383         * signal/sigintr.c: Likewise.
35384         * signal/signal.c: Likewise.
35385         * signal/sigpause.c: Likewise.
35386         * signal/sigpending.c: Likewise.
35387         * signal/sigqueue.c: Likewise.
35388         * signal/sigreturn.c: Likewise.
35389         * signal/sigset.c: Likewise.
35390         * signal/sigsetmask.c: Likewise.
35391         * signal/sigstack.c: Likewise.
35392         * signal/sigsuspend.c: Likewise.
35393         * signal/sigtimedwait.c: Likewise.
35394         * signal/sigvec.c: Likewise.
35395         * signal/sigwait.c: Likewise.
35396         * signal/sigwaitinfo.c: Likewise.
35397         * signal/sysv_signal.c: Likewise.
35398         * socket/accept.c: Likewise.
35399         * socket/accept4.c: Likewise.
35400         * socket/bind.c: Likewise.
35401         * socket/connect.c: Likewise.
35402         * socket/getpeername.c: Likewise.
35403         * socket/getsockname.c: Likewise.
35404         * socket/getsockopt.c: Likewise.
35405         * socket/isfdtype.c: Likewise.
35406         * socket/listen.c: Likewise.
35407         * socket/recv.c: Likewise.
35408         * socket/recvfrom.c: Likewise.
35409         * socket/recvmsg.c: Likewise.
35410         * socket/send.c: Likewise.
35411         * socket/sendmsg.c: Likewise.
35412         * socket/sendto.c: Likewise.
35413         * socket/setsockopt.c: Likewise.
35414         * socket/shutdown.c: Likewise.
35415         * socket/sockatmark.c: Likewise.
35416         * socket/socket.c: Likewise.
35417         * socket/socketpair.c: Likewise.
35418         * stdio-common/ctermid.c: Likewise.
35419         * stdio-common/cuserid.c: Likewise.
35420         * stdio-common/remove.c: Likewise.
35421         * stdio-common/rename.c: Likewise.
35422         * stdio-common/renameat.c: Likewise.
35423         * stdio-common/tempname.c: Likewise.
35424         * stdlib/getcontext.c: Likewise.
35425         * stdlib/makecontext.c: Likewise.
35426         * stdlib/setcontext.c: Likewise.
35427         * stdlib/swapcontext.c: Likewise.
35428         * stdlib/system.c: Likewise.
35429         * streams/fattach.c: Likewise.
35430         * streams/fdetach.c: Likewise.
35431         * streams/getmsg.c: Likewise.
35432         * streams/getpmsg.c: Likewise.
35433         * streams/putmsg.c: Likewise.
35434         * streams/putpmsg.c: Likewise.
35435         * sysdeps/unix/bsd/getpt.c: Likewise.
35436         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35437         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35438         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35440         Likewise.
35441         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35442         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35443         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35444         * sysvipc/msgctl.c: Likewise.
35445         * sysvipc/msgget.c: Likewise.
35446         * sysvipc/msgrcv.c: Likewise.
35447         * sysvipc/msgsnd.c: Likewise.
35448         * sysvipc/semctl.c: Likewise.
35449         * sysvipc/semget.c: Likewise.
35450         * sysvipc/semop.c: Likewise.
35451         * sysvipc/semtimedop.c: Likewise.
35452         * sysvipc/shmat.c: Likewise.
35453         * sysvipc/shmctl.c: Likewise.
35454         * sysvipc/shmdt.c: Likewise.
35455         * sysvipc/shmget.c: Likewise.
35456         * termios/tcdrain.c: Likewise.
35457         * termios/tcflow.c: Likewise.
35458         * termios/tcflush.c: Likewise.
35459         * termios/tcgetattr.c: Likewise.
35460         * termios/tcgetpgrp.c: Likewise.
35461         * termios/tcsendbrk.c: Likewise.
35462         * termios/tcsetattr.c: Likewise.
35463         * termios/tcsetpgrp.c: Likewise.
35464         * time/adjtime.c: Likewise.
35465         * time/clock.c: Likewise.
35466         * time/getitimer.c: Likewise.
35467         * time/gettimeofday.c: Likewise.
35468         * time/setitimer.c: Likewise.
35469         * time/settimeofday.c: Likewise.
35470         * time/stime.c: Likewise.
35471         * time/time.c: Likewise.
35473 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35475         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35476         /usr/old/bin.
35478         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35479         instead of spaces.
35480         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35482 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35484         [BZ #14796]
35485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35486         FE_TONEAREST before applying Dekker multiplication and Knuth
35487         addition.  Clear inexact exceptions and check for exact zero
35488         results afterwards.
35489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35490         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35492         * math/libm-test.inc (fma_test): Add more tests.
35493         (fma_test_towardzero): Likewise.
35494         (fma_test_downward): Likewise.
35495         (fma_test_upward): Likewise.
35496         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35497         function.
35498         (libc_fesetround): New macro.
35499         (libc_fesetroundf): Likewise.
35500         (libc_fesetroundl): Likewise.
35501         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35502         function.
35503         (libc_fesetround_387): Likewise.
35504         (libc_fesetroundf): New macro.
35505         (libc_fesetround): Likewise.
35506         (libc_fesetroundl): Likewise.
35507         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35508         function.
35509         (libc_fesetroundf): New macro.
35510         (libc_fesetround): Likewise.
35511         (libc_fesetroundl): Likewise.
35512         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35513         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35514         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35515         libm_hidden_ver.
35516         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35517         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35518         libm_hidden_def.
35519         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35520         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35521         libm_hidden_ver.
35522         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35523         libm_hidden_def.
35525         [BZ #3439]
35526         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35527         integer constant usable in #if and use that to give value to enum
35528         constant.
35529         (FE_DIVBYZERO): Likewise.
35530         (FE_UNDERFLOW): Likewise.
35531         (FE_OVERFLOW): Likewise.
35532         (FE_INVALID): Likewise.
35533         (FE_INVALID_SNAN): Likewise.
35534         (FE_INVALID_ISI): Likewise.
35535         (FE_INVALID_IDI): Likewise.
35536         (FE_INVALID_ZDZ): Likewise.
35537         (FE_INVALID_IMZ): Likewise.
35538         (FE_INVALID_COMPARE): Likewise.
35539         (FE_INVALID_SOFTWARE): Likewise.
35540         (FE_INVALID_SQRT): Likewise.
35541         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35542         (FE_TONEAREST): Likewise.
35543         (FE_TOWARDZERO): Likewise.
35544         (FE_UPWARD): Likewise.
35545         (FE_DOWNWARD): Likewise.
35546         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35547         (FE_DIVBYZERO): Likewise.
35548         (FE_OVERFLOW): Likewise.
35549         (FE_UNDERFLOW): Likewise.
35550         (FE_INEXACT): Likewise.
35551         (FE_TONEAREST): Likewise.
35552         (FE_DOWNWARD): Likewise.
35553         (FE_UPWARD): Likewise.
35554         (FE_TOWARDZERO): Likewise.
35555         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35556         (FE_UNDERFLOW): Likewise.
35557         (FE_OVERFLOW): Likewise.
35558         (FE_DIVBYZERO): Likewise.
35559         (FE_INVALID): Likewise.
35560         (FE_TONEAREST): Likewise.
35561         (FE_TOWARDZERO): Likewise.
35562         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35563         (FE_OVERFLOW): Likewise.
35564         (FE_UNDERFLOW): Likewise.
35565         (FE_DIVBYZERO): Likewise.
35566         (FE_INEXACT): Likewise.
35567         (FE_TONEAREST): Likewise.
35568         (FE_TOWARDZERO): Likewise.
35569         (FE_UPWARD): Likewise.
35570         (FE_DOWNWARD): Likewise.
35571         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35572         (FE_DIVBYZERO): Likewise.
35573         (FE_OVERFLOW): Likewise.
35574         (FE_UNDERFLOW): Likewise.
35575         (FE_INEXACT): Likewise.
35576         (FE_TONEAREST): Likewise.
35577         (FE_DOWNWARD): Likewise.
35578         (FE_UPWARD): Likewise.
35579         (FE_TOWARDZERO): Likewise.
35581 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35583         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35585 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35587         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35588         commands.  Quote $PWD.
35589         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35590         -x" by "export".
35591         (remove_newlines): Remove.
35593 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35595         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35596         * stdlib/stdlib.h (atof): Moved to ...
35597         * include/bits/stdlib-float.h: Here.  New file.
35598         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35599         * stdlib/bits/stdlib-float.h: New file.
35600         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35601         -mno-sse -mno-mmx.
35602         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35603         <xmmintrin.h>.
35605 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35607         * conform/conformtest.pl (@headers): Add fenv.h.
35608         * conform/data/fenv.h-data: New file.
35609         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35610         include of <math/fenv.h>.
35612         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35613         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35614         && !UNIX98].  Enables tests for XOPEN2K8.
35615         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35616         POSIX2008]: Likewise.
35618         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35619         (struct rusage): Do not expect type or its members.
35621         [BZ #3439]
35622         * math/math.h (FP_NAN): Define macro to integer constant usable in
35623         #if and use that to give value to enum constant.
35624         (FP_INFINITE): Likewise.
35625         (FP_ZERO): Likewise.
35626         (FP_SUBNORMAL): Likewise.
35627         (FP_NORMAL): Likewise.
35629 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35631         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35632         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35633         arguments.
35635 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35637         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35638         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35639         autoconf-time if not.
35640         * configure.in: Remove AC_PREREQ.
35642 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35644         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35645         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35646         of the internal implementation.
35648 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35650         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35651         except include of <misc/sys/syslog.h>.
35653 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35656         function returns with a NULL context exit with zero.
35658 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35660         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35662 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35664         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35665         (run_program_cmd): This.
35666         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35667         (tst_langinfo): New variable.  Use it.
35669 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35671         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35672         floating point opcodes.
35674 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35676         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35677         variable.
35679         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35681         * sysdeps/mach/hurd/powerpc: Remove directory.
35682         * sysdeps/mach/powerpc: Likewise.
35684 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35686         * scripts/check-local-headers.sh: Ignore c++ headers.
35688 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35690         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35691         __libc_cleanup_region_start argument.
35693 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35695         [BZ #14784]
35696         [BZ #14785]
35697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35698         x * y using scaling, not as x * y + z.
35699         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35700         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35701         * math/libm-test.inc (fma_test): Add more tests.
35702         (fma_test_towardzero): Likewise.
35703         (fma_test_downward): Likewise.
35704         (fma_test_upward): Likewise.
35706 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35708         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35710 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35712         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35713         New variable.
35715 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35717         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35719 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35722         Fix sort order.
35723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35724         Likewise.
35726 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35729         Fix the order of the list for glibc 2.17.
35730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35731         Likewise.
35733 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35737 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35739         [BZ #14610]
35740         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35741         for low part of x being zero before using __atanl (y).
35742         * math/libm-test.inc (atan2_test): Add another test.
35744         * manual/install.texi (Configuring and compiling): Document
35745         general use of test-wrapper and test-wrapper-env.
35746         * INSTALL: Regenerated.
35748         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35749         (__fma): Do not extract and scale down low bits on after-rounding
35750         systems when result rounded to normal precision would have normal
35751         exponent.
35752         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35753         (__fmal): Do not extract and scale down low bits on after-rounding
35754         systems when result rounded to normal precision would have normal
35755         exponent.
35756         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35757         (__fmal): Do not extract and scale down low bits on after-rounding
35758         systems when result rounded to normal precision would have normal
35759         exponent.
35760         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35761         macro.
35762         (fma_test): Add more tests.
35763         (fma_test_towardzero): Likewise.
35764         (fma_test_downward): Likewise.
35765         (fma_test_upward): Likewise.
35767 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35769         * sysdeps/i386/tininess.h: Renamed to ...
35770         * sysdeps/x86/tininess.h: This.
35771         * sysdeps/x86_64/tininess.h: Removed.
35773 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35775         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35776         input.  Use $(build-program-cmd).
35777         ($(objpfx)tst-array1-static.out): Likewise.
35778         ($(objpfx)tst-array2.out): Likewise.
35779         ($(objpfx)tst-array3.out): Likewise.
35780         ($(objpfx)tst-array4.out): Likewise.
35781         ($(objpfx)tst-array5.out): Likewise.
35782         ($(objpfx)tst-array5-static.out): Likewise.
35784 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35786         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35787         if defined.
35789         * nss/nsswitch.h (nss_interface_function): Provide new
35790         macro for use with NSS functions.
35791         * grp/initgroups.c: Use new macro.
35792         * nss/getXXbyYY.c: Likewise.
35793         * nss/getXXbyYY_r.c: Likewise.
35794         * nss/getXXent.c: Likewise.
35795         * nss/getXXent_r.c: Likewise.
35796         * sysdeps/posix/getaddrinfo.c: Likewise.
35798 2012-10-30  Andreas Jaeger  <aj@suse.de>
35800         * po/ru.po: Update Russion translation from translation project.
35802 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35804         [BZ #14152]
35805         [BZ #14783]
35806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35807         result and shift together with sticky bit instead of replicating
35808         round-to-nearest rounding.
35809         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35811         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35812         missing underflow exceptions.
35813         (fma_test_towardzero): Add more tests.
35814         (fma_test_downward): Likewise.
35815         (fma_test_upward): Likewise.
35817         [BZ #14047]
35818         * sysdeps/generic/tininess.h: New file.
35819         * sysdeps/i386/tininess.h: Likewise.
35820         * sysdeps/sh/tininess.h: Likewise.
35821         * sysdeps/x86_64/tininess.h: Likewise.
35822         * stdlib/tst-strtod-underflow.c: Likewise.
35823         * stdlib/tst-tininess.c: Likewise.
35824         * stdlib/strtod_l.c: Include <tininess.h>.
35825         (round_and_return): Do not set errno for exact underflow cases.
35826         Force an underflow exception when setting errno for underflow.
35827         Determine underflow based on rounding to normal precision if
35828         TININESS_AFTER_ROUNDING.
35829         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35830         ERANGE for exact underflow cases.
35831         * stdlib/Makefile (tests): Add tst-tininess and
35832         tst-strtod-underflow.
35833         ($(objpfx)tst-tininess): Use $(link-libm).
35834         ($(objpfx)tst-strtod-underflow): Likewise.
35836 2012-10-30  Andreas Jaeger  <aj@suse.de>
35838         [BZ#14767]
35839         * elf/Makefile (tests): Remove conditional for have-initfini-array
35840         since this is now always required and the variable does not exist
35841         anymore.
35842         (tests-static): Likewise.
35843         (modules-names): Likewise.
35845         * po/eo.po: Add Esperanto translation from translation project.
35847         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35848         merged with constructor/destructor.
35849         (init_array): Likewise.
35850         * elf/tst-array2dep.c (fini_array): Likewise.
35851         (init_array): Likewise.
35853 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35855         * manual/message.texi: Delete @cartouche tags.
35857 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35859         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35860         EOPNOTSUPP.
35861         * sysdeps/mach/hurd/fsync.c: Likewise.
35863         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35864         [_POSIX_REALTIME_SIGNALS]: Change condition to
35865         [_POSIX_REALTIME_SIGNALS > 0].
35867 2012-10-27  Andreas Jaeger  <aj@suse.de>
35869         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35870         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35871         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35872         [__WORDSIZE != 64]: Likewise.
35874 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35876         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35877         *  iconvdata/tst-tables.sh: Likewise.
35879 2012-10-25  David S. Miller  <davem@davemloft.net>
35881         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35882         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35883         of strtoull.
35885         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35886         ifunc-impl-list.c
35887         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35888         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35889         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35890         file.
35892 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35894         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35895         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35896         __getdirentries.
35898 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35899             Jim Blandy  <jimb@codesourcery.com>
35901         * scripts/cross-test-ssh.sh: New file.
35902         * manual/install.texi (Configuring and compiling): Document use of
35903         cross-test-ssh.sh.
35904         * INSTALL: Regenerated.
35906 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35908         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35909         EOPNOTSUPP.
35911 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35913         * Makeconfig (run-program-prefix): Fix comment.
35915 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35916             Jim Blandy  <jimb@codesourcery.com>
35918         * Makeconfig (test-wrapper): New variable,
35919         (test-wrapper-env): Likewise.
35920         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35921         (run-built-tests): Define to yes.
35922         (run-program-prefix): Use $(test-wrapper).
35923         (built-program-cmd): Likewise.
35924         * Rules (make-test-out): Use $(test-wrapper-env) and
35925         $(host-built-program-cmd).
35926         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35927         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35928         tst-pathopt.sh.
35929         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35930         $(test-wrapper-env) to tst-rtld-load-self.sh.
35931         ($(objpfx)order2.out): Use $(test-wrapper).
35932         ($(objpfx)tst-initorder.out): Likewise.
35933         ($(objpfx)tst-initorder2.out): Likewise.
35934         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35935         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35936         (test_wrapper_env): New variable.  Use it to run ld.so.
35937         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35938         Use it to run ld.so.
35939         (test_wrapper_env): Likewise.
35940         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35941         $(test-wrapper) to run-iconv-test.sh.
35942         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35943         (ICONV): Use $test_wrapper.
35944         * posix/Makefile ($(objpfx)globtest.out): Pass
35945         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35946         globtest.sh, not $(run-program-prefix).
35947         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35948         (test_wrapper): Likewise.
35949         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35950         set together with run_via_rtld_prefix.
35951         (run_program_prefix): Define in terms of test_wrapper and
35952         run_via_rtld_prefix.
35954 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35956         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35957         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35958         Targets removed.
35960         [BZ #14743]
35961         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35962         Declare __clock_getres, __clock_gettime, __clock_settime,
35963         __clock_nanosleep, and __clock_getcpuclockid.
35964         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35965         Remove librt_hidden_def (clock_gettime).
35966         * sysdeps/unix/clock_gettime.c: Likewise.
35967         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35968         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35969         * rt/clock_getres.c: Define __clock_getres as an alias.
35970         * sysdeps/posix/clock_getres.c: Likewise.
35971         * rt/clock_settime.c: Define __clock_settime as an alias.
35972         * sysdeps/unix/clock_settime.c: Likewise.
35973         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35974         * sysdeps/unix/clock_nanosleep.c: Likewise.
35975         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35976         * rt/clock-compat.c: New file.
35977         * rt/Makefile (librt-routines): Add clock-compat and move
35978         $(clock-routines) to ...
35979         (routines): ... here, new variable.
35980         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35981         Don't add get_clockfreq here.
35982         * rt/Versions (libc: GLIBC_2.17): New version set.
35983         Add clock_* symbols here.
35984         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35985         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35986         (GLIBC_2.17): Add clock_* symbols.
35987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35989         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35991         Likewise.
35992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35993         Likewise.
35994         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35998         * NEWS: Mention the move.
36000         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36001         Use __open, __read, __close rather than their public counterparts.
36002         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36003         (__get_clockfreq_via_cpuinfo): Likewise.
36004         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36005         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36007         * config.h.in (HAVE_IFUNC): New #undef.
36008         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36009         was successful.
36010         * configure: Regenerated.
36012 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36014         * configure.in: Move READELF check to start of file.
36015         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36016         libc_cv_asm_gnu_indirect_function in the process.
36017         * configure: Regenerated.
36019 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36021         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36022         send the output to /dev/null.
36023         (libc_cv_cc_with_libunwind): Likewise.
36024         (libc_cv_as_noexecstack): Likewise.
36025         * configure: Regenerate.
36027 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36029         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36031         * posix/globtest.sh (TMPDIR): Do not set.
36032         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36033         (testout): Likewise.
36035 2012-10-24  Andreas Jaeger  <aj@suse.de>
36037         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36038         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36039         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36040         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36041         posix_fadvise64, posix_fallocate64.
36043         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36044         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36045         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36046         Likewise.
36047         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36048         Likewise.
36049         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36051         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36052         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36053         <bits/fcntl-linux.h>.
36054         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36056         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36057         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36058         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36059         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36060         [__WORDSIZE != 64]: Likewise.
36062 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36064         * Makeconfig (run-built-tests): New variable.
36065         * Rules [$(cross-compiling) = yes]: Change condition to
36066         [$(run-built-tests) = no].
36067         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36068         to [$(run-built-tests) = yes].
36069         * elf/Makefile [$(cross-compiling) = no]: Likewise
36070         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36071         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36072         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36073         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36074         * io/Makefile [$(cross-compiling) = no]: Likewise.
36075         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36076         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36077         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36078         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36079         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36080         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36081         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36082         * string/Makefile [$(cross-compiling) = no]: Likewise.
36084         * posix/Makefile ($(objpfx)globtest.out): Pass
36085         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36086         $(rtld-installed-name).
36087         * posix/globtest.sh (elf_objpfx): Remove variable.
36088         (rtld_installed_name): Likewise.
36089         (library_path): Likewise.
36090         (run_program_prefix): New variable.  Use for running globtest
36091         binary.
36093 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36094             Joseph Myers  <joseph@codesourcery.com>
36096         * Makeconfig (host-built-program-cmd): New variable.
36097         * elf/Makefile (tst-stackguard1-ARGS): Use
36098         $(host-built-program-cmd).
36099         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36100         (tst-spawn-ARGS): Likewise.
36101         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36103 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36104             Jim Blandy  <jimb@codesourcery.com>
36106         * Makeconfig (run-via-rtld-prefix): New variable.
36107         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36108         (built-program-cmd): Likewise.
36110 2012-10-22  Andreas Jaeger  <aj@suse.de>
36112         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36113         __O_RSYNC if it exists, otherwise to O_SYNC.
36115 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36116             Joseph Myers  <joseph@codesourcery.com>
36118         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36119         /dev/null.
36120         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36121         from /dev/null
36122         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36123         /dev/null.
36125 2012-10-22  Andreas Jaeger  <aj@suse.de>
36127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36128         Define always.
36129         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36132         bits/fcntl-linux.h.
36134         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36135         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36137         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36138         to __O_LARGEFILE.
36139         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36140         to __O_LARGEFILE.
36142 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36143             Joseph Myers  <joseph@codesourcery.com>
36145         * config.make.in (NM): New variable.
36147 2012-10-21  Andreas Jaeger  <aj@suse.de>
36149         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36150         definitions and declarations that are provided by
36151         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36153 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36155         [BZ #14683]
36156         * elf/Makefile (tests-static): Add tst-leaks1-static.
36157         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36158         ($(objpfx)tst-leaks1-static): New rule.
36159         ($(objpfx)tst-leaks1-static-mem): Likewise.
36160         (tst-leaks1-static-ENV): New macro.
36161         * elf/dl-open.c (dl_open_worker): Check the main application
36162         only if SHARED is defined.
36163         * elf/tst-leaks1-static.c: New file.
36165 2012-10-20  Andreas Jaeger  <aj@suse.de>
36167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36168         generic values for Linux.
36169         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36170         and declarations that are provided by <bits/fcntl-linux.h> and
36171         include <bits/fcntl-linux.h>.
36172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36173         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36175 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36177         * io/fcntl.h: Move include of <bits/types.h> to the top and
36178         include it unconditionally.
36180 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36182         * wcsmbs/Makefile (tests-ifunc): New variable.
36183         (tests): Add $(tests-ifunc).
36184         * wcsmbs/test-wcschr-ifunc.c: New file.
36185         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36186         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36187         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36188         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36189         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36191         * string/Makefile (tests-ifunc): New variable.
36192         (tests): Add $(tests-ifunc).
36193         * string/test-memccpy.c (TEST_NAME): New macro.
36194         * string/test-memchr.c (TEST_NAME): Likewise.
36195         * string/test-memcmp.c (TEST_NAME): Likewise.
36196         * string/test-memcpy.c (TEST_NAME): Likewise.
36197         * string/test-memmem.c (TEST_NAME): Likewise.
36198         * string/test-memmove.c (TEST_NAME): Likewise.
36199         * string/test-memset.c (TEST_NAME): Likewise.
36200         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36201         * string/test-stpcpy.c (TEST_NAME): Likewise.
36202         * string/test-stpncpy.c (TEST_NAME): Likewise.
36203         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36204         * string/test-strcasestr.c (TEST_NAME): Likewise.
36205         * string/test-strcat.c (TEST_NAME): Likewise.
36206         * string/test-strchr.c (TEST_NAME): Likewise.
36207         * string/test-strcmp.c(TEST_NAME): Likewise.
36208         * string/test-strcpy.c (TEST_NAME): Likewise.
36209         * string/test-strcspn.c (TEST_NAME): Likewise.
36210         * string/test-strlen.c (TEST_NAME): Likewise.
36211         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36212         * string/test-strncmp.c (TEST_NAME): Likewise.
36213         * string/test-strncpy.c (TEST_NAME): Likewise.
36214         * string/test-strnlen.c (TEST_NAME): Likewise.
36215         * string/test-strpbrk.c (TEST_NAME): Likewise.
36216         * string/test-strrchr.c (TEST_NAME): Likewise.
36217         * string/test-strspn.c (TEST_NAME): Likewise.
36218         * string/test-strstr.c (TEST_NAME): Likewise.
36219         * string/test-bcopy-ifunc.c: New file.
36220         * string/test-bzero-ifunc.c: Likewise.
36221         * string/test-memccpy-ifunc.c: Likewise.
36222         * string/test-memchr-ifunc.c: Likewise.
36223         * string/test-memcmp-ifunc.c: Likewise.
36224         * string/test-memcpy-ifunc.c: Likewise.
36225         * string/test-memmem-ifunc.c: Likewise.
36226         * string/test-memmove-ifunc.c: Likewise.
36227         * string/test-mempcpy-ifunc.c: Likewise.
36228         * string/test-memset-ifunc.c: Likewise.
36229         * string/test-rawmemchr-ifunc.c: Likewise.
36230         * string/test-stpcpy-ifunc.c: Likewise.
36231         * string/test-stpncpy-ifunc.c: Likewise.
36232         * string/test-strcasecmp-ifunc.c: Likewise.
36233         * string/test-strcasestr-ifunc.c: Likewise.
36234         * string/test-strcat-ifunc.c: Likewise.
36235         * string/test-strchr-ifunc.c: Likewise.
36236         * string/test-strchrnul-ifunc.c: Likewise.
36237         * string/test-strcmp-ifunc.c: Likewise.
36238         * string/test-strcpy-ifunc.c: Likewise.
36239         * string/test-strcspn-ifunc.c: Likewise.
36240         * string/test-strlen-ifunc.c: Likewise.
36241         * string/test-strncasecmp-ifunc.c: Likewise.
36242         * string/test-strncat-ifunc.c: Likewise.
36243         * string/test-strncmp-ifunc.c: Likewise.
36244         * string/test-strncpy-ifunc.c: Likewise.
36245         * string/test-strnlen-ifunc.c: Likewise.
36246         * string/test-strpbrk-ifunc.c: Likewise.
36247         * string/test-strrchr-ifunc.c: Likewise.
36248         * string/test-strspn-ifunc.c: Likewise.
36249         * string/test-strstr-ifunc.c: Likewise.
36251         * debug/Makefile (tests-ifunc): New variable.
36252         (tests): Add $(tests-ifunc).
36253         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36254         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36255         * debug/test-stpcpy_chk-ifunc.c: New file.
36256         * debug/test-strcpy_chk-ifunc.c: Likewise.
36258 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36260         [BZ #13601]
36261         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36262         header is not read in.
36264 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36266         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36267         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36268         directly.  Pass built executable to script as
36269         $(built-program-cmd).
36270         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36271         $testprogram without using LD_LIBRARY_PATH and $ldso.
36273         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36274         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36275         $(rtld-installed-name).
36276         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36277         (rtld_installed_name): Likewise.
36278         (library_path): Likewise.
36279         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36280         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36281         $(run-program-prefix) to tst-tables.sh.
36282         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36283         it to run tst-table-from and tst-table-to.
36284         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36285         Pass it to tst-table.sh.
36286         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36287         $(run-program-prefix) to tst-gettext.sh.
36288         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36289         tst-translit.sh.
36290         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36291         tst-gettext2.sh.
36292         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36293         to run tst-gettext.
36294         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36295         to run tst-gettext2.
36296         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36297         to run tst-translit.
36298         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36299         $(run-program-prefix) to tst-mtrace.sh.
36300         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36301         to run tst-mtrace.
36302         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36303         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36304         $(rtld-installed-name).
36305         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36306         (rtld_installed_name): Likewise.
36307         (run_program_prefix): New variable.  Use it to run wordexp-test.
36309         * Makeconfig (ARCH): Remove all definitions.
36310         (machine): Likewise.
36311         [ARCH]: Remove conditional code.
36312         [!objdir]: Give error.
36313         [!objdir] (objpfx): Remove.
36314         [!objdir] (common-objpfx): Likewise.
36315         [!objdir] (common-objdir): Likewise.
36316         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36317         AC_CONFIG_FILES call.
36318         * configure: Regenerated.
36320         [BZ #13888]
36321         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36322         or TMPDIR.
36323         (testout): Likewise.
36325         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36326         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36327         $(rtld-installed-name).
36328         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36329         (rtld_installed_name): Likwise.
36330         (runit): Remove function.
36331         (run_getconf): New variable,  Use it for running getconf binary.
36333 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36335         [BZ #14716]
36336         * string/test-memmem.c (check_result): New function.
36337         (do_one_test): Use it.
36338         (check1): New function.
36339         (test_main): Use it.
36341 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36343         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36345 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36347         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36348         (_G_LSEEK64): Likewise.
36349         (_G_MMAP64): Likewise.
36350         (_G_FSTAT64): Likewise.
36351         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36352         (_G_LSEEK64): Likewise.
36353         (_G_MMAP64): Likewise.
36354         (_G_FSTAT64): Likewise.
36355         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36356         unconditional.  Call __mmap64 directly.
36357         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36358         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36359         __lseek64 directly.
36360         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36361         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36362         __mmap64 directly.
36363         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36364         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36365         __lseek64 directly.
36366         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36367         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36368         __lseek64 directly.
36369         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36370         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36371         __lseek64 directly.
36372         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36373         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36374         __fxstat64 directly.
36375         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36376         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36377         unconditional.
36378         (freopen64) [!_G_OPEN64]: Remove conditional code.
36379         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36380         unconditional.
36381         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36382         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36383         unconditional.
36384         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36385         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36386         unconditional.
36387         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36388         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36389         unconditional.
36390         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36391         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36392         unconditional.
36393         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36394         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36395         unconditional.
36396         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36397         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36398         unconditional.
36399         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36401 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36403         [BZ #12140]
36404         * manual/memory.texi (Malloc Tunable Parameters): Add note
36405         about free list pointers overwriting some perturb bytes.
36406         Wording suggested by Roland McGrath.
36408 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36410         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36411         (lgamma_test): Likewise.
36412         (tgamma_test): Likewise.
36414 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36416         [BZ #14700]
36417         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36418         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36420 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36422         * NEWS: Mention BZ #14716.
36423         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36424         when removing AVAILABLE1_USES_J macro.
36426 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36428         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36429         (__bswap_64): __uint64_t for unsigned 64-bit int.
36431 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36433         * include/string.h (memmem): Declare libc hidden alias.
36434         * string/memmem.c (memmem): Define libc hidden alias.
36435         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36436         __read, __close instead of open, read, close.
36438 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36441         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36442         global and hidden.
36443         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36444         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36445         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36446         Likewise.
36447         (__rawmemchr_sse2): Likewise.
36448         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36449         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36450         (__strchr_sse2): Likewise.
36451         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36452         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36453         (__strcasecmp_sse2): Likewise.
36454         (__strncasecmp_sse2): Likewise.
36455         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36456         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36457         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36458         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36459         (__strrchr_sse2): Likewise.
36460         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36461         ifunc-impl-list.c.
36462         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36463         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36464         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36465         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36466         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36467         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36468         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36469         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36470         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36471         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36472         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36473         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36474         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36475         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36476         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36477         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36478         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36479         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36480         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36481         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36482         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36483         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36484         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36485         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36486         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36487         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36488         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36489         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36490         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36491         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36493         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36494         global and hidden.
36495         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36496         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36497         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36498         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36499         Likewise.
36500         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36501         Likewise.
36502         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36503         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36504         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36505         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36506         ifunc-impl-list.c.
36507         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36508         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36509         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36510         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36511         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36512         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36513         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36514         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36515         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36516         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36517         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36518         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36519         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36520         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36521         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36522         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36523         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36524         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36525         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36526         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36527         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36528         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36529         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36530         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36531         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36532         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36533         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36534         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36535         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36536         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36537         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36538         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36539         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36540         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36541         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36542         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36543         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36544         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36545         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36546         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36547         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36549         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36550         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36551         * include/ifunc-impl-list.h: New file.
36552         * misc/ifunc-impl-list.c: Likewise.
36553         * misc/Makefile (routines): Add ifunc-impl-list.
36554         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36555         * string/test-string.h: Include <ifunc-impl-list.h>.
36556         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36557         TEST_NAME]: New variables.
36558         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36559         are defined.
36560         (test_init): Call __libc_ifunc_impl_list to initialize
36561         func_list if TEST_IFUNC and TEST_NAME are defined.
36563         * string/Makefile (strop-tests): Add bcopy and bzero.
36564         * string/test-bcopy.c: New file.
36565         * string/test-bzero.c: Likewise.
36566         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36567         defined.
36568         * string/test-memset.c: Support bzero test if TEST_BZERO is
36569         defined.
36570         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36571         __libc_memmove.
36572         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36573         __libc_memset.
36574         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36575         of memset.
36577 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36579         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36580         * configure: Regenerated.
36582         * Makeconfig (+link-static-before-libc): Don't include
36583         $(link-static-libc).
36585         * libio/libio.h (_IO_pos_t): Remove.
36587 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36589         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36590         McGrath.
36592 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36594         * crypt/crypt-entry.c: Include fips-private.h.
36595         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36596         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36597         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36598         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36600 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36602         * crypt/crypt-private.h: Include stdbool.h.
36603         (_ufc_setup_salt_r): Return bool.
36604         * crypt/crypt-entry.c: Include errno.h.
36605         (__crypt_r): Return NULL with EINVAL for bad salt.
36606         * crypt/crypt_util.c (bad_for_salt): New.
36607         (_ufc_setup_salt_r): Check that salt is long enough and within
36608         the specified alphabet.
36609         * crypt/badsalttest.c: New file.
36610         * crypt/Makefile (tests): Add it.
36611         ($(objpfx)badsalttest): New.
36613 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36615         * NEWS: Add entry for BZ #14602.
36617 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36619         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36620         type-generic.
36621         * math/libm-test.inc: Update comment listing what functions and
36622         macros are tested.
36623         (isgreater_test): New function.
36624         (isgreaterequal_test): Likewise.
36625         (isless_test): Likewise.
36626         (islessequal_test): Likewise.
36627         (islessgreater_test): Likewise.
36628         (isunordered_test): Likewise.
36629         (main): Call the new functions.
36631 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36633         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36634         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36635         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36636         * sysdeps/i386/configure: Regenerated.
36637         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36638         * sysdeps/mach/configure: Regenerated.
36639         * sysdeps/mach/hurd/configure: Regenerated.
36640         * sysdeps/powerpc/configure: Regenerated.
36641         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36642         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36643         * sysdeps/s390/s390-32/configure: Regenerated.
36644         * sysdeps/s390/s390-64/configure: Regenerated.
36645         * sysdeps/sh/configure: Regenerated.
36646         * sysdeps/sparc/configure: Regenerated.
36647         * sysdeps/unix/sysv/linux/configure: Regenerated.
36648         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36649         * sysdeps/x86_64/configure: Regenerated.
36651         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36652         defined.  Don't check if MAP is NULL.
36654 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36656         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36657         (_G_stat64): Likewise.
36658         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36659         (_G_stat64): Likewise.
36660         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36661         instead of struct _G_stat64.
36662         * libio/fileops.c (mmap_remap_check): Likewise.
36663         (decide_maybe_mmap): Likewise.
36664         (_IO_new_file_seekoff): Likewise.
36665         (_IO_file_stat): Likewise.
36666         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36667         _G_off64_t.
36668         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36669         instead of struct _G_stat64.
36670         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36672 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36674         [BZ #14602]
36675         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36676         Replace with ...
36677         (CHECK_EOL): New macro.
36678         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36679         CHECK_EOL.
36680         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36681         Replace with CHECK_EOL.
36682         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36683         Replace with CHECK_EOL.
36685 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36687         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36688         type-generic.
36689         * math/libm-test.inc: Update comment listing what functions and
36690         macros are tested.
36691         (finite_test): New function.
36692         (isinf_test): Likewise.
36693         (isnan_test): Likewise.
36694         (fpclassify_test): Test subnormal input.
36695         (isfinite_test): Likewise.
36696         (isnormal_test): Likewise.
36697         (main): Call the new functions.
36699 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36701         [BZ #14660]
36702         * Makerules (%.dynsym): Force C locale when running
36703         $(OBJDUMP) --dynamic-syms.
36705 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36707         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36708         <stdint.h>.
36710 2012-10-06  David S. Miller  <davem@davemloft.net>
36712         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36713         upper 32-bits of the length value in %o2 since we use branch-on-register
36714         tests which consider the entire 64-bit register.
36716 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36718         * string/test-strstr.c (check2): Add a test for page boundary.
36720 2012-10-05  David S. Miller  <davem@davemloft.net>
36722         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36723         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36724         file.
36725         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36726         sysdep_routines.
36727         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36728         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36729         and bzero when HWCAP_SPARC_CRYPTO is present.
36731 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36733         [BZ #14602]
36734         * string/test-strstr.c (check2): New function.
36735         (test_main): Call check2.
36737         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36738         and bug-strchr1.
36739         * string/bug-strcasestr1.c (do_test): Moved to ...
36740         * string/test-strcasestr.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-strchr1.c (do_test): Moved to ...
36746         * string/test-strchr.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-strstr1.c (main): Moved to ...
36752         * string/test-strstr.c (check1): Here.  New function.
36753         (do_one_test): Break out result checking code into ...
36754         (check_result): This.  New function.
36755         (do_one_test): Call check_result.
36756         (test_main): Call check1.
36757         * string/bug-strcasestr1.c: Removed.
36758         * string/bug-strchr1.c: Likewise.
36759         * string/bug-strstr1.c: Likewise.
36761         * elf/Makefile (dl-routines): Add hwcaps.
36762         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36763         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36764         (_dl_important_hwcaps): Moved to ...
36765         * elf/dl-hwcaps.c: Here.  New file.
36766         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36768         [BZ #14557]
36769         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36770         if IS_IN_rtld isn't defined.
36772         * elf/dl-support.c (_dl_sysinfo_map): New.
36773         Include "get-dynamic-info.h" and "setup-vdso.h".
36774         (_dl_non_dynamic_init): Call setup_vdso.
36775         * elf/dynamic-link.h: Don't include <assert.h>.
36776         (elf_get_dynamic_info): Moved to ...
36777         * elf/get-dynamic-info.h: Here.  New file.
36778         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36779         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36780         * elf/setup-vdso.h: Here.  New file.
36781         * elf/rtld.c: Include "setup-vdso.h".
36782         (dl_main): Call setup_vdso.
36784 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36786         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36787         creal in comment listing functions tested.  List finite, isinf,
36788         isnan, isless, islessequal, isgreater, isgreaterequal,
36789         islessgreater, isunordered, lgamma_r and pow10 as functions and
36790         macros not tested.  Mention which functions not tested are aliases
36791         for other functions.  Fix typo.  Note that signs of NaNs are not
36792         tested.
36794         * scripts/config.guess: Update from config.git.
36795         * scripts/config.sub: Likewise.
36797 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36799         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36800         * misc/madvise.c (madvise): Renamed to __madvise.
36801         Make madvise a weak alias.
36802         * include/sys/mman.h: Declare __madvise.
36803         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36804         * sysdeps/unix/syscalls.list
36805         (madvise): Make __madvise the strong name, and madvise a weak alias.
36806         * sysdeps/unix/sysv/linux/syscalls.list
36807         (madvise, mmap): Remove redundant entries.
36808         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36809         * malloc/malloc.c (mtrim): Likewise.
36810         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36812 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36814         * sysdeps/mach/hurd/dl-cache.c: File removed.
36815         * config.h.in (USE_LDCONFIG): New #undef.
36816         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36817         * configure: Regenerated.
36818         * elf/Makefile (dl-routines): Add dl-cache only under
36819         [$(use-ldconfig) = yes].
36820         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36821         cache on [USE_LDCONFIG].
36822         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36823         [USE_LDCONFIG].
36824         * elf/rtld.c (dl_main): Likewise.
36826 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36828         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36829         _SC_LEVEL4_CACHE_LINESIZE.
36831 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36833         * sysdeps/unix/bsd/confstr.h: File removed.
36835 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36837         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36838         sys/sdt-config.h.
36840 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36842         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36843         Make 'mapoff' field ElfW(Off) rather than off_t.
36845 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36847         * nscd/Makefile: Remove nscd-cflags and all its users.
36848         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36849         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36851         [BZ #10631]
36852         * malloc.c (malloc_printerr): Clarify error message.
36854 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36856         [BZ #14648]
36857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36858         Set bit_FMA_Usable if FMA is supported.
36859         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36860         macro.
36861         (bit_FMA4_Usable): Updated.
36862         (index_FMA_Usable): New macro.
36863         (CPUID_FMA): Likewise
36864         (HAS_FMA): Defined with bit_FMA_Usable.
36866 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36868         * bits/types.h (__swblk_t): Type removed.
36869         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36870         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36871         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36872         (__SWBLK_T_TYPE): Likewise.
36873         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36874         (__SWBLK_T_TYPE): Likewise.
36875         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36876         (__SWBLK_T_TYPE): Likewise.
36877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36878         (__SWBLK_T_TYPE): Likewise.
36880 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36881             Honza Horak <hhorak@redhat.com>
36883         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36884         (xdr_mapname): Use YPMAXMAP as maxsize.
36885         (xdr_peername): Use YPMAXPEER as maxsize.
36886         (xdr_keydat): Use YPAXRECORD as maxsize.
36887         (xdr_valdat): Use YPMAXRECORD as maxsize.
36889 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36891         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36893         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36894         * csu/init-first.c: ... here.
36895         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36896         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36897         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36898         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36899         * sysdeps/i386/init-first.c: File removed.
36900         * sysdeps/sh/init-first.c: File removed.
36902 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36904         [BZ #14645]
36905         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36906         if x * y might underflow to zero and z is zero.
36907         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36908         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36909         * math/libm-test.inc (min_subnorm_value): New variable.
36910         (fma_test): Add more tests.
36911         (fma_test_towardzero): Likewise.
36912         (fma_test_downward): Likewise
36913         (fma_test_upward): Likewise.
36914         (initialize): Set min_subnorm_value.
36916 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36918         [BZ #14638]
36919         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36920         0 + 0.
36921         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36922         mode for addition resulting in exact zero.
36923         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36925         exact 0 + 0.
36926         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36927         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36928         * math/libm-test.inc (fma_test): Add more tests.
36929         (fma_test_towardzero): New function.
36930         (fma_test_downward): Likewise.
36931         (fma_test_upward): Likewise.
36932         (main): Call the new functions.
36934 2012-09-28  David S. Miller  <davem@davemloft.net>
36936         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36938 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36940         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36941         instead of SIGALRM.
36943         * sysdeps/gnu/_G_config.h: Moved to ...
36944         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36945         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36946         * sysdeps/generic/_G_config.h: ... here.
36948         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36950         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36952         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36953         Conditionalize target on [libnss_test1.so-version].
36955         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36957         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36958         (elfobjdir): Move out of conditionals.
36960         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36961         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36962         (__nss_lookup_function): Conditionalize label remove_from_tree on
36963         [!DO_STATIC_NSS || SHARED], matching its only use.
36965 2012-09-28  David S. Miller  <davem@davemloft.net>
36967         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36968         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36969         file.
36970         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36971         sysdep_routines.
36972         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36973         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36974         when HWCAP_SPARC_CRYPTO is present.
36976 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36978         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36980 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36982         [BZ #6530]
36983         * stdio-common/vfprintf.c (process_string_arg): Revert
36984         2000-07-22 change.
36986 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36988         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36989         for testcase.
36990         * stdio-common/tst-sprintf.c: Include <locale.h>
36991         (main): Test sprintf's handling of incomplete multibyte
36992         characters.
36994 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36996         * elf/dl-runtime.c (VERSYMIDX): Removed.
36997         * elf/dl-version.c (VERSYMIDX): Likewise.
36998         * elf/do-rel.h (VERSYMIDX): Likewise.
36999         (VALIDX): Likewise.
37000         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37001         * elf/rtld.c (VALIDX): Likewise.
37002         (ADDRIDX): Likewise.
37003         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37004         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37005         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37006         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37007         (VALIDX): Likewise.
37008         (ADDRIDX): Likewise.
37010 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37012         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37014 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37016         [BZ #11438]
37017         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37018         to global scope.
37019         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37020         addresses are in the same scope as 192.0.2/24.
37021         * posix/gai.conf: Document new scope table defaults.
37023 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37025         [BZ #5298]
37026         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37027         for ftell.  Compute offsets from write pointers instead.
37028         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37030 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37032         [BZ #14543]
37033         * libio/Makefile (tests): New test case tst-fseek.
37034         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37035         combination works in wide mode.
37036         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37037         state when the external buffer state changes.
37039 2012-09-27  David S. Miller  <davem@davemloft.net>
37041         [BZ #14376]
37042         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37043         pass reloc->r_addend in as the 'high' argument to
37044         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37048 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37050         * rt/tst-aio2.c: Include <pthread.h>.
37051         * rt/tst-aio3.c: Likewise.
37053 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37055         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37057 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37059         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37060         contents on [SHARED].
37062 2012-09-26  Marek Polacek  <polacek@redhat.com>
37064         [BZ #14530]
37065         [BZ #13741]
37066         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37067         for C++ and GCC <4.3 as well as for non GCC compilers.
37069 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37073 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37075         * Makefile.in (all, install): Declare with .PHONY.
37076         Reported by Michael Hope <michael.hope@linaro.org>.
37078 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37080         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37081         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37082         system header.
37083         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37084         Likewise.
37085         (sydep_routines): Add the new and the internal functions.
37086         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37087         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37089         (GLIBC_2.17): Add the new function.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37091         (GLIBC_2.17): Likewise.
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37093         (GLIBC_2.17): Likewise.
37094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37095         (GLIBC_2.17): Likewise.
37096         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37098 2012-09-25  Alan Modra  <amodra@gmail.com>
37100         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37101         Add release barrier before setting once_control to say
37102         initialisation is done.  Add hints on lwarx.  Use macro in
37103         place of isync.
37104         (clear_once_control): Add release barrier.
37106 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37108         [BZ #13629]
37109         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37110         specially.
37111         * math/s_clog10.c (__clog10): Likewise.
37112         * math/s_clog10f.c (__clog10f): Likewise.
37113         * math/s_clog10l.c (__clog10l): Likewise.
37114         * math/s_clogf.c (__clogf): Likewise.
37115         * math/s_clogl.c (__clogl): Likewise.
37116         * math/Makefile (libm-calls): Add x2y2m1.
37117         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37118         (__x2y2m1): Likewise.
37119         (__x2y2m1l): Likewise.
37120         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37121         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37122         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37123         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37124         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37125         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37126         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37127         * sysdeps/i386/fpu/libm-test-ulps: Update.
37128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37130         [BZ #14621]
37131         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37132         int as type of variable DEPTH.
37133         (glob): Use size_t instead of int as type of variables NEWCOUNT
37134         and OLD_PATHC.
37136 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37138         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37139         Add s_sincosf-sse2.
37140         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37141         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37142         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37143         macros for using routine as __sincosf_ia32.
37144         Use macro for function declaration and weak_alias.
37145         * sysdeps/i386/fpu/libm-test-ulps: Update.
37147         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37150         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37151         subnormal argument.
37152         * math/s_cexpf.c (__cexpf): Likewise.
37153         * math/s_csinf.c (__csinf): Likewise.
37154         * math/s_csinhf.c (__csinhf): Likewise.
37155         * math/s_ctanf.c (__ctanf): Likewise.
37156         * math/s_ctanhf.c (__ctanhf): Likewise.
37157         * math/s_ccosh.c (__ccoshf): Likewise.
37158         * math/s_cexp.c (__cexpl): Likewise.
37159         * math/s_csin.c (__csin): Likewise.
37160         * math/s_csinh.c (__csinh): Likewise.
37161         * math/s_ctan.c (__ctan): Likewise.
37162         * math/s_ctanh.c (ctanh): Likewise.
37163         * math/s_ccoshl.c (__ccoshl): Likewise.
37164         * math/s_cexpl.c (__cexpl): Likewise.
37165         * math/s_csinl.c (__csinl): Likewise.
37166         * math/s_csinhl.c (__csinhl): Likewise.
37167         * math/s_ctanl.c (__ctanl): Likewise.
37168         * math/s_ctanhl.c (__ctanhl): Likewise.
37170 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37172         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37173         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37174         (_IO_off_t): Define to __off_t, not _G_off_t.
37175         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37176         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37177         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37178         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37179         type of __dummy and __dummy2 fields.
37180         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37181         (_G_ssize_t): Likewise.
37182         (_G_off_t): Likewise.
37183         (_G_pid_t): Likewise.
37184         (_G_uid_t): Likewise.
37185         (_G_wchar_t): Likewise.
37186         (_G_wint_t): Likewise.
37187         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37188         (_G_ssize_t): Likewise.
37189         (_G_off_t): Likewise.
37190         (_G_pid_t): Likewise.
37191         (_G_uid_t): Likewise.
37192         (_G_wchar_t): Likewise.
37193         (_G_wint_t): Likewise.
37194         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37195         (_G_ssize_t): Likewise.
37196         (_G_off_t): Likewise.
37197         (_G_pid_t): Likewise.
37198         (_G_uid_t): Likewise.
37199         (_G_wchar_t): Likewise.
37200         (_G_wint_t): Likewise.
37202 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37204         * malloc/arena.c: Include malloc-sysdep.h.
37205         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37206         is sufficient to shrink the heap or an unmap is needed.
37207         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37208         new function check_may_shrink_heap.
37209         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37210         new function check_may_shrink_heap.
37212 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37214         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37215         comments.
37217 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37219         * catgets/test-gencat.sh: Add "set -e".
37220         * elf/tst-pathopt.sh: Likewise.
37221         * grp/tst_fgetgrent.sh: Likewise.
37222         * iconvdata/run-iconv-test.sh: Likewise.
37223         * intl/tst-gettext.sh: Likewise.
37224         * intl/tst-gettext2.sh: Likewise.
37225         * intl/tst-gettext4.sh: Likewise.
37226         * intl/tst-gettext6.sh: Likewise.
37227         * intl/tst-translit.sh: Likewise.
37228         * io/ftwtest-sh: Likewise.
37229         * libio/test-freopen.sh: Likewise.
37230         * malloc/tst-mtrace.sh: Likewise.
37231         * posix/globtest.sh: Likewise.
37232         * posix/tst-getconf.sh: Likewise.
37233         * posix/wordexp-tst.sh: Likewise.
37234         * stdio-common/tst-printf.sh: Likewise.
37235         * stdio-common/tst-unbputc.sh: Likewise.
37236         * stdlib/tst-fmtmsg.sh: Likewise.
37237         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37238         * catgets/Makefile: Do not specify -e option when running
37239         testsuite shell scripts.
37240         * elf/Makefile: Likewise.
37241         * grp/Makefile: Likewise.
37242         * iconvdata/Makefile: Likewise.
37243         * intl/Makefile: Likewise.
37244         * io/Makefile: Likewise.
37245         * libio/Makefile: Likewise.
37246         * malloc/Makefile: Likewise.
37247         * posix/Makefile: Likewise.
37248         * stdio-common/Makefile: Likewise.
37249         * stdlib/Makefile: Likewise.
37250         * sysdeps/x86_64/Makefile: Likewise.
37252         * io/ftwtest-sh: Add copyright header.
37253         * posix/globtest.sh: Likewise.
37254         * posix/tst-getconf.sh: Likewise.
37255         * posix/wordexp-tst.sh: Likewise.
37256         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37258 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37260         [BZ #13679]
37261         * Makeconfig (+link): Defined as $(+link-static) if
37262         $(build-shared) isn't yes.
37263         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37264         isn't yes.
37265         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37267         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37269         [BZ #14562]
37270         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37271         new chunk size with MALLOC_ALIGN_MASK.
37273 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37275         [BZ #5044]
37276         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37277         <rounding-mode.h>.
37278         (__printf_fphex): Determine rounding using get_rounding_mode and
37279         round_away.
37280         * stdio-common/tst-printf-round.c (struct hex_test): New
37281         structure.
37282         (hex_tests): New variable.
37283         (test_hex_in_one_mode): New function.
37284         (do_test): Also run tests for hex float output.
37286 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37288         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37289         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37290         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37291         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37292         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37293         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37294         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37295         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37297 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37299         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37300         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37301         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37302         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37304 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37306         [BZ #14579]
37307         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37308         mode only.
37309         * elf/tst-rtld-load-self.sh: New test.
37310         * elf/Makefile: Run it.
37312 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37314         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37315         (tst-writev-ENV): Remove.
37316         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37318 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37320         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37322 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37324         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37325         unconditional.
37326         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37327         Likewise.
37328         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37329         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37330         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37331         Likewise.
37333 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37335         [BZ #14587]
37336         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37337         * config.make.in (have-cpp-asm-debuginfo): Removed.
37338         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37339         * configure: Regenerated.
37341 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37343         [BZ #5044]
37344         * stdio-common/printf_fp.c: Include <stdbool.h> and
37345         <rounding-mode.h>.
37346         (___printf_fp): Determine rounding using get_rounding_mode and
37347         round_away.
37348         * stdio-common/tst-printf-round.c: New file.
37349         * stdio-common/Makefile (tests): Add tst-printf-round.
37350         (link-libm): New variable.
37351         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37353 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37355         [BZ #14576]
37356         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37357         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37358         Likewise.
37359         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37360         Likewise.
37362 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37364         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37365         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37366         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37367         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37369 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37371         [BZ #14518]
37372         * include/rounding-mode.h: New file.
37373         * sysdeps/generic/get-rounding-mode.h: Likewise.
37374         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37375         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37376         (MAX_VALUE): New macro.
37377         (MIN_VALUE): Likewise.
37378         (overflow_value): New function.
37379         (underflow_value): Likewise.
37380         (round_and_return): Use overflow_value and underflow_value to
37381         determine return values in overflow and underflow cases.  Use
37382         round_away to determine rounding depending on rounding mode.
37383         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37384         determine return values in overflow and underflow cases.
37385         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37386         (struct test_results): New structure.
37387         (struct test): Use struct test_results to store expected results
37388         for all rounding modes.
37389         (TEST): Include expected results for all rounding modes.
37390         (test_in_one_mode): New function.
37391         (do_test): Use test_in_one_mode to compute and check results.
37392         Check results for all rounding modes.
37393         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37394         $(link-libm).
37396 2012-12-09  Allan McRae  <allan@archlinux.org>
37398         * sysdeps/i386/fpu/libm-test-ulps: Update
37400 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37402         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37403         (_G_int32_t): Likewise.
37404         (_G_uint16_t): Likewise.
37405         (_G_uint32_t): Likewise.
37406         (_G_HAVE_BOOL): Likewise.
37407         (_G_HAVE_ATEXIT): Likewise.
37408         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37409         (_G_HAVE_IO_FILE_OPEN): Likewise.
37410         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37411         (_G_int32_t): Likewise.
37412         (_G_uint16_t): Likewise.
37413         (_G_uint32_t): Likewise.
37414         (_G_HAVE_BOOL): Likewise.
37415         (_G_HAVE_ATEXIT): Likewise.
37416         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37417         (_G_HAVE_IO_FILE_OPEN): Likewise.
37418         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37419         (_G_int32_t): Likewise.
37420         (_G_uint16_t): Likewise.
37421         (_G_uint32_t): Likewise.
37422         (_G_HAVE_BOOL): Likewise.
37423         (_G_HAVE_ATEXIT): Likewise.
37424         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37425         (_G_HAVE_IO_FILE_OPEN): Likewise.
37427 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37429         * csu/libc-tls.c: Update copyright years.
37431 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37433         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37434         [!_G_USING_THUNKS]: Remove conditional code.
37435         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37436         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37438         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37439         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37440         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37441         (_G_VTABLE_LABEL_PREFIX): Likewise.
37442         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37443         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37444         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37445         (_G_VTABLE_LABEL_PREFIX): Likewise.
37446         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37447         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37448         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37449         (_G_VTABLE_LABEL_PREFIX): Likewise.
37450         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37452 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37454         * libio/Makefile: Include ../Makeconfig before tests.
37455         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37456         only if $(build-shared) is yes.
37458         * iconv/gconv_db.c: Update copyright years.
37460 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37462         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37463         unwind info if defined PIC. Fix special cases description.
37464         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37466         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37467         DP_HI_MASK entry.
37468         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37470 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37472         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37474         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37475         is NULL.
37477         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37478         (LDLIBS-tst-chk4): This.
37479         (LDFLAGS-tst-chk5): Renamed to ...
37480         (LDLIBS-tst-chk5): This.
37481         (LDFLAGS-tst-chk6): Renamed to ...
37482         (LDLIBS-tst-chk6): This.
37483         (LDFLAGS-tst-lfschk4): Renamed to ...
37484         (LDLIBS-tst-lfschk4): This.
37485         (LDFLAGS-tst-lfschk5): Renamed to ...
37486         (LDLIBS-tst-lfschk5): This.
37487         (LDFLAGS-tst-lfschk6): Renamed to ...
37488         (LDLIBS-tst-lfschk6): This.
37490         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37491         on $(common-objpfx)soversions.mk.
37493 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37495         [BZ #10014]
37496         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37497         example host name.
37499 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37501         * malloc/arena.c (arena_get_retry): New function that gets
37502         another arena for the caller to try its request on.
37503         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37504         current arena cannot fulfill the request.
37505         (__libc_memalign): Likewise.
37506         (__libc_memalign): Likewise.
37507         (__libc_pvalloc): Likewise.
37508         (__libc_calloc): Likewise.
37510 2012-09-05  John Tobey  <john.tobey@gmail.com>
37512         [BZ #13542]
37513         * manual/arith.texi (Operations on Complex): Fix description
37514         of carg branch cut.
37516 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37518         [BZ #10014]
37519         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37520         host name.
37522         [BZ #10038]
37523         * manual/memory.texi (Memory): Make order of menu items match
37524         order of sections.
37526 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37528         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37529         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37530         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37532 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37534         * csu/libc-tls.c (static_dtv): Renamed to ...
37535         (_dl_static_dtv): This.  Make it global.
37536         (_dl_initial_dtv): Removed.
37537         (__libc_setup_tls): Updated.
37538         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37539         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37540         DL_INITIAL_DTV.
37542 2012-09-06  Petr Machata  <pmachata@redhat.com>
37544         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37545         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37546         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37547         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37549 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37551         [BZ #14545]
37552         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37553         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37554         freeing dtv[-1].
37556 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37558         [BZ #14544]
37559         * Makeconfig (link-static-before-libc): Replace $(+prector)
37560         with $(+prectorT).
37561         (link-static-after-libc): Replace $(+postctor) with
37562         $(+postctorT).
37563         (link-bounded): Replace $(+prector)/$(+postctor) with
37564         $(+prectorT)/$(+postctorT).
37565         (+prectorT): New macro.
37566         (+postctorT): Likewise.
37568 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37570         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37571         (round_str): Handle values above the maximum for IBM long double
37572         as inexact.
37573         * stdlib/tst-strtod-round.c (tests): Regenerated.
37575 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37577         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37578         assembler flag.
37579         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37580         zarch_nohighgprs around the zarch optimized routines.
37581         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37582         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37583         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37584         for zarch.
37586 2012-09-05  David S. Miller  <davem@davemloft.net>
37588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37590         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37591         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37592         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37593         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37594         entries.
37596 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37598         * malloc/arena.c: Fold copyright years.
37599         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37601 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37603         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37605 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37607         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37609 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37611         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37612         change internal state upon failure.
37614 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37616         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37617         * malloc/memusage.c (mmap): Likewise.
37618         (mmap64, mremap): Likewise.  Adjust name in comment.
37620 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37622         * libio/fileops.c: Fix typos in comments.
37623         * libio/oldfileops.c: Likewise.
37624         * libio/wfileops.c: Likewise.
37626 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37628         [BZ #1349]
37629         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37630         (tst-malloc-usable-ENV): Set environment for test case.
37631         * malloc/hooks.c (malloc_check_get_size): New function to get
37632         requested size.
37633         * malloc/malloc.c (musable): Use malloc_check_get_size.
37634         * malloc/tst-malloc-usable.c: New test case.
37636 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37638         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37640 2012-09-05  Allan McRae  <allan@archlinux.org>
37642         [BZ #13966]
37643         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37644         determine header location.
37645         * configure: Regenerated.
37647 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37649         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37650         float format.
37651         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37652         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37653         format.
37654         (test): Regenerate.
37656 2012-09-04  David S. Miller  <davem@davemloft.net>
37658         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37659         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37660         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37662 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37664         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37665         failures.
37667         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37669 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37671         [BZ #9914]
37672         * libio/iogetdelim.c: Include <limits.h>.
37673         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37674         + len + 1 would overflow.
37676 2012-09-03  Andreas Jaeger  <aj@suse.de>
37678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37679         * sysdeps/i386/fpu/libm-test-ulps: Update.
37681 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37683         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37684         Add s_sinf-sse2, s_conf-sse2.
37686         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37687         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37688         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37689         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37691         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37692         for using routine as __sinf_ia32.
37693         Use macro for function declaration and weak_alias.
37694         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37695         for using routine as __cosf_ia32.
37696         Use macro for function declaration and weak_alias.
37698         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37699         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37701         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37702         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37705         * math/libm-test.inc (cos_test): Add more test cases.
37706         (sin_test): Likewise.
37707         (sincos_test): Likewise.
37709 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37711         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37712         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37713         hidden.
37714         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37716 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37718         [BZ #14538]
37719         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37720         first element of the GOT.
37721         (elf_machine_load_address): Return the difference between
37722         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37724 2012-09-01  Allan McRae  <allan@archlinux.org>
37726         [BZ #13412]
37727         * configure.in (AWK): Require gawk version 3.0 or later.
37728         * configure: Regenerated.
37730 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37732         * sysdeps/unix/sysv/linux/kernel-features.h
37733         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37734         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37735         [__NR_clock_getres]: Make code unconditional.
37736         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37737         (clock_getcpuclockid): Remove code left unreachable by removal of
37738         conditionals.
37739         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37740         code unconditional.
37741         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37742         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37743         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37744         Make code unconditional.
37745         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37746         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37747         * sysdeps/unix/sysv/linux/clock_settime.c
37748         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37749         conditional code.
37750         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37751         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37753 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37755         [BZ #14476]
37756         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37757         scripts/test-installation.pl.
37759         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37760         and $ld_so_version if it is set.
37762 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37764         [BZ #14516]
37765         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37766         failure if reading from procfs failed.
37767         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37769 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37771         * sysdeps/unix/sysv/linux/kernel-features.h
37772         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37773         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37774         Remove conditional code.
37775         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37776         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37777         Remove conditional code.
37778         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37779         * sysdeps/unix/sysv/linux/i386/fxstat.c
37780         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37781         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37782         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37783         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37785         * sysdeps/unix/sysv/linux/i386/lxstat.c
37786         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37788         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37789         Remove conditional code.
37790         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37791         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37792         Remove conditional code.
37793         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37794         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37795         <kernel-features.h>.
37796         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37797         Remove.
37798         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37799         Remove conditional code.
37800         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37801         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37802         Remove conditional.
37804 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37806         [BZ #5400]
37807         * NEWS: Add fixed bug number.
37809 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37811         [BZ #14519]
37812         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37813         underflowing exponent in case of negative sign.
37814         * stdlib/tst-strtod-round-data: Add more tests.
37815         * stdlib/tst-strtod-round.c (tests): Regenerated.
37817         [BZ #3479]
37818         * stdlib/strtod_l.c (NDIG): Remove.
37819         (HEXNDIG): Likewise.
37820         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37821         smallest representable value.
37822         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37823         lie within an exact representation of 1/2 ulp of the result.
37824         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37825         unconditionally.
37826         (TENS_P9_IDX): Define unconditionally.
37827         (TENS_P9_SIZE): Likewise.
37828         (TENS_P10_IDX): Likewise.
37829         (TENS_P10_SIZE): Likewise.
37830         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37831         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37832         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37833         entries for 10^2^13 and 10^2^14.
37834         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37835         (TENS_P13_IDX): Define.
37836         (TENS_P13_SIZE): Likewise.
37837         (TENS_P14_IDX): Likewise.
37838         (TENS_P14_SIZE): Likewise.
37839         (_fpioconst_pow10): Change array size to
37840         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37841         unconditional.
37842         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37843         1024]: Add entries for 10^2^13 and 10^2^14.
37844         [LAST_POW10 > _LAST_POW10]: Remove #error.
37845         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37846         (_fpioconst_pow10): Change array size to
37847         FPIOCONST_POW10_ARRAY_SIZE.
37848         * stdlib/gen-fpioconst.c: New file.
37849         * stdlib/gen-tst-strtod-round.c: Likewise.
37850         * stdlib/tst-strtod-round-data: Likewise.
37851         * stdlib/tst-strtod-round.c: Likewise.
37852         * stdlib/Makefile (tests): Add tst-strtod-round.
37854         [BZ #14459]
37855         * stdlib/strtod_l.c: Include <stdint.h>.
37856         (NDEBUG): Do not define.
37857         (round_and_return): Change EXPONENT parameter to type intmax_t.
37858         Rearrange calculations to avoid internal overflow possibilities.
37859         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37860         Rearrange calculations to avoid internal overflow possibilities.
37861         Assert that number fits inside MPNSIZE limbs.
37862         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37863         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37864         calculations and add assertions to avoid internal overflow
37865         possibilities.  Add casts to avoid signed/unsigned operations.
37866         * stdlib/tst-strtod-overflow.c: New file.
37867         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37869 2012-08-25  Marek Polacek  <polacek@redhat.com>
37871         * time/time.h: Fix some typos in comments.
37873 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37875         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37876         * posix/tst-rfc3484-2.c: Likewise.
37877         * posix/tst-rfc3484-3.c: Likewise.
37879 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37881         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37882         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37884 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37886         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37887         #include of fxstatat64.c.
37889 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37891         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37892         * shadow/getspent_r.c: Likewise.
37893         * shadow/getspnam.c: Likewise.
37894         * shadow/getspnam_r.c: Likewise.
37895         * gshadow/getsgent.c: Likewise.
37896         * gshadow/getsgent_r.c: Likewise.
37897         * gshadow/getsgnam.c: Likewise.
37898         * gshadow/getsgnam_r.c: Likewise.
37899         * inet/getnetbyad.c: Likewise.
37900         * inet/getnetbyad_r.c: Likewise.
37901         * inet/getnetbynm.c: Likewise.
37902         * inet/getnetbynm_r.c: Likewise.
37903         * inet/getnetent.c: Likewise.
37904         * inet/getnetent_r.c: Likewise.
37905         * inet/getproto.c: Likewise.
37906         * inet/getproto_r.c: Likewise.
37907         * inet/getprtent.c: Likewise.
37908         * inet/getprtent_r.c: Likewise.
37909         * inet/getprtname.c: Likewise.
37910         * inet/getprtname_r.c: Likewise.
37911         * inet/getrpcbyname.c: Likewise.
37912         * inet/getrpcbyname_r.c: Likewise.
37913         * inet/getrpcbynumber.c: Likewise.
37914         * inet/getrpcbynumber_r.c: Likewise.
37915         * inet/getrpcent.c: Likewise.
37916         * inet/getrpcent_r.c: Likewise.
37917         * inet/getaliasent.c: Likewise.
37918         * inet/getaliasent_r.c: Likewise.
37919         * inet/getaliasname.c: Likewise.
37920         * inet/getaliasname_r.c: Likewise.
37921         * nscd/getgrgid_r.c: Likewise.
37922         * nscd/getgrnam_r.c: Likewise.
37923         * nscd/gethstbyad_r.c: Likewise.
37924         * nscd/gethstbynm3_r.c: Likewise.
37925         * nscd/getpwnam_r.c: Likewise.
37926         * nscd/getpwuid_r.c: Likewise.
37927         * nscd/getsrvbynm_r.c: Likewise.
37928         * nscd/getsrvbypt_r.c: Likewise.
37929         * nscd/gai.c: Likewise.
37931         * configure.in (build_nscd): New substituted variable, set
37932         by --disable-build-nscd and defaults to $use_nscd.
37933         * configure: Regenerated.
37934         * config.make.in (build-nscd): New substituted variable.
37935         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37936         Change conditional to require [$(build-nscd) = yes] as well.
37937         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37939         [BZ# 13696]
37940         * configure.in (use_nscd): New substituted variable, set by
37941         --disable-nscd.  If enabled, define USE_NSCD.
37942         * configure: Regenerated.
37943         * config.h.in: Add USE_NSCD.
37944         * config.make.in (use-nscd): New substituted variable.
37945         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37946         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37947         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37948         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37949         (CFLAGS-getgrnam_r.c): Likewise.
37950         (CFLAGS-initgroups.c): Likewise.
37951         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37952         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37953         Variables removed.
37954         * inet/getnetgrent_r.c
37955         (nscd_setnetgrent): New function, broken out of ...
37956         (setnetgrent): ... here.  Call it.
37957         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37958         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37959         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37960         * nscd/Makefile (routines, aux): Move definitions after include of
37961         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37962         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37963         Conditionalize on [USE_NSCD].
37964         (is_nscd, nscd_init_cb): Likewise.
37965         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37966         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37967         * nss/nss_db/db-init.c: Likewise.
37968         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37969         [USE_NSCD].
37970         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37971         (make_request): Use it.
37972         (cache_valid_p): New function.
37973         (__check_pf): Use it.
37974         * NEWS: Add item for --disable-nscd.
37976 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37978         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37979         to support sed >= 4.2.1-20-ga9bf076.
37980         * configure: Regenerated.
37982 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37984         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37985         Conditionalize whole body on [IREL].
37987 2012-08-22  Jeff Law <law@redhat.com>
37989         [BZ #14505]
37990         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37991         if the family is PF_UNSPEC.
37993 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37995         * Makerules (lib-version): Rename from V.
37996         (install-lib-nosubdir): Change V to lib-version.
37998 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38000         [BZ #14252]
38001         * powerpc32/power6/wcschr.c: New file.
38002         * powerpc32/power6/wcscpy.c: New file.
38003         * powerpc32/power6/wcsrchr.c: New file.
38004         * powerpc64/power6/wcschr.c: New file.
38005         * powerpc64/power6/wcscpy.c: New file.
38006         * powerpc64/power6/wcsrchr.c: New file.
38008 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38010         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38011         (two_way_short_needle): Use it.
38012         * string/strstr.c (AVAILABLE1_USES_J): Define.
38013         * string/strcasestr.c: Likewise.
38015         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38016         array references.
38017         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38019         [BZ #11607]
38020         * NEWS: Add an entry.
38021         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38022         define their defaults.
38023         (two_way_short_needle): Detect end-of-string on-the-fly.
38024         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38025         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38026         * string/bug-strcasestr1.c: New test.
38027         * string/Makefile: Run it.
38029 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38031         [BZ #11607]
38032         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38033         the first character.
38035 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38037         * csu/elf-init.c (__libc_csu_irel): Function removed.
38038         * csu/libc-start.c (apply_irel): New function.
38039         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38041 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38043         * sysdeps/unix/sysv/linux/kernel-features.h
38044         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38045         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38046         <kernel-features.h>.
38047         [__NR_fadvise64_64]: Make code unconditional.
38048         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38049         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38050         !__NR_fadvise64_64)]: Likewise.
38051         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38052         !__NR_fadvise64_64))]: Likewise.
38053         [__NR_fadvise64]: Make code unconditional.
38054         [!__NR_fadvise64]: Remove conditional code.
38055         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38056         <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/powerpc/powerpc32/posix_fadvise64.c: Do
38062         not 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.
38067         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38068         include <kernel-features.h>.
38069         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38070         unconditional.
38071         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38072         conditional code.
38074 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38076         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38077         slight instruction rearrangements per scrollpipe analysis.
38078         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38080 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38082         * manual/syslog.texi (syslog; vsyslog, closelog):
38083         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38084         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38086         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38087         DSOCAPS to match condition on defining it.
38089 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38091         * sysdeps/unix/sysv/linux/kernel-features.h
38092         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38094         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38095         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38097         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38098         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38100         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38101         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38103         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38104         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38106         * sysdeps/unix/sysv/linux/kernel-features.h
38107         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38108         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38109         unconditional.
38110         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38111         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38112         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38113         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38114         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38115         Make code unconditional.
38116         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38117         (__mmap64) [!__NR_mmap2]: Likewise.
38118         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38119         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38120         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38121         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38122         [__NR_mmap2]: Make code unconditional.
38123         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38124         (__mmap64) [!__NR_mmap2]: Likewise.
38126 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38128         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38130 2012-08-18  Andreas Jaeger  <aj@suse.de>
38132         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38134 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38136         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38137         * include/unistd.h (__have_sock_cloexec): Likewise.
38138         (__have_pipe2): Likewise.
38139         (__have_dup3): Likewise.
38141 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38143         [BZ #9685]
38144         * include/unistd.h (__have_pipe2): Change define into an extern int.
38145         (__have_dup3): Likewise.
38146         * socket/have_sock_cloexec.c: Include fcntl.h.
38147         (__have_pipe2): New variable.
38148         (__have_dup3): Likewise.
38150 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38152         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38154 2012-08-17  Marek Polacek  <polacek@redhat.com>
38156         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38157         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38159 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38161         * configure.in: Add AC_SUBST for sysheaders.
38162         * configure: Regenerated.
38163         * config.make.in (sysheaders): New substituted variable.
38165         * sysdeps/unix/mkfifo.c: Moved ...
38166         * sysdeps/posix/mkfifo.c: ... here.
38167         * sysdeps/unix/mkfifoat.c: Moved ...
38168         * sysdeps/posix/mkfifoat.c: ... here.
38170         * sysdeps/unix/utime.c: Moved ...
38171         * sysdeps/posix/utime.c: ... here.
38173         * sysdeps/unix/time.c: Moved ...
38174         * sysdeps/posix/time.c: ... here.
38175         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38176         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38178         * sysdeps/unix/nice.c: Moved ...
38179         * sysdeps/posix/nice.c: ... here.
38181         * sysdeps/unix/alarm.c: Moved ...
38182         * sysdeps/posix/alarm.c: ... here.
38184         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38186 2012-08-17  Jeff Law <law@redhat.com>
38188         * intl/Makefile (codeset_mo): New variable.
38189         ($(codeset_mo)): New target.
38190         (tst-codeset.out): Depend on that.  Remove explicit rule.
38191         (tst-gettext3.out, tst-gettext5.out): Likewise.
38192         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38193         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38194         * intl/tst-codeset.sh: Remove.
38195         * intl/tst-gettext3.sh: Likewise.
38196         * intl/tst-gettext5.sh: Likewise.
38198 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38200         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38201         * sysdeps/unix/syscalls.list: ... here.
38203         * sysdeps/posix/getaddrinfo.c
38204         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38205         (gaiconf_init, gaiconf_reload): Use them.
38206         [!_STATBUF_ST_NSEC]
38207         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38208         Define using time_t rather than struct timespec.
38210         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38211         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38212         Macros removed.
38213         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38214         [!NO_THREADS].
38215         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38216         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38217         Likewise.
38219         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38220         __libc_cleanup_push argument.
38222         * bits/param.h: New file.
38223         * misc/sys/param.h: New file.
38224         * include/sys/param.h: New file.
38225         * misc/Makefile (headers): Add bits/param.h.
38226         * sysdeps/generic/sys/param.h: File removed.
38227         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38228         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38229         * sysdeps/mach/hurd/bits/param.h: New file.
38230         * sysdeps/mach/hurd/sys/param.h: File removed.
38232         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38233         last change.
38235         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38236         [_IO_MTSAFE_IO].
38237         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38238         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38239         New macros.
38241         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38242         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38243         rather than -D_IO_MTSAFE_IO conditionally.
38244         * stdio-common/Makefile (CPPFLAGS): Likewise.
38245         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38246         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38247         Use $(libio-mtsafe).
38248         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38249         of -D_IO_MTSAFE_IO.
38250         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38251         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38252         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38253         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38254         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38255         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38256         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38257         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38258         (CFLAGS-fread_u_chk.c): Likewise.
38259         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38260         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38261         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38262         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38263         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38264         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38265         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38266         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38267         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38269         * libio/Makefile: Test [$(libc-reentrant) = yes]
38270         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38272         * Makeconfig
38273         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38274         * sysdeps/pthread/configure: File removed.
38275         * sysdeps/pthread/Makeconfig: New file.
38276         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38277         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38279 2012-08-16  Gary Benson  <gbenson@redhat.com>
38281         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38282         unmapping the first object in a namespace.
38284 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38286         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38287         (__internal_setnetgrent): ... this.  Add internal_function to
38288         definition.  Add libc_hidden_def.
38289         (setnetgrent): Update caller.
38290         (internal_endnetgrent): Renamed to ...
38291         (__internal_endnetgrent): ... this.  Add internal_function to
38292         definition.  Add libc_hidden_def.
38293         (endnetgrent): Update caller.
38294         (internal_getnetgrent_r): Renamed to ...
38295         (__internal_getnetgrent_r): ... this.  Add internal_function to
38296         definition.  Add libc_hidden_def.
38297         (__getnetgrent_r): Update caller.
38298         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38300 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38302         * stdlib/longlong.h: Update from GCC.
38304 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38306         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38307         on _QL, which is set by umul_ppmm but never used.
38308         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38309         variables, which are set by GMP macros but never used.
38310         * stdio-common/_itowa.c (_itowa): Likewise.
38311         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38312         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38314 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38316         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38317         struct La_sh_regs is not constant.
38318         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38319         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38320         and struct La_sparc64_regs are not constant.
38322 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38324         * sysdeps/unix/sysv/linux/kernel-features.h
38325         (__ASSUME_POSIX_TIMERS): Remove.
38326         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38327         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38328         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38329         Make code unconditional.
38330         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38331         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38332         Make code unconditional.
38333         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38334         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38335         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38336         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38337         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38338         Make code unconditional.
38339         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38340         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38341         (__libc_missing_posix_timers): Remove.
38343 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38345         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38346         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38348         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38350         * elf/dl-sym.c: Include <stdlib.h>.
38352         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38353         constants, which avoids warnings in 32-bit builds.
38355         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38356         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38358         * misc/lseek.c: File moved to ...
38359         * io/lseek.c: ... here.
38361         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38363         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38364         shifting LEN more than 31 bits at once.
38366 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38368         [BZ #14195]
38369         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38370         segmentation fault for a case of two empty input strings.
38371         * string/test-strncasecmp.c (check1): Renamed to...
38372         (bz12205): ...this.
38373         (bz14195): Add new testcase for two empty input strings and N > 0.
38374         (test_main): Call new testcase, adapt for renamed function.
38376 2012-08-15  Andreas Jaeger  <aj@suse.de>
38378         [BZ #14090]
38379         * crypt/md5test2.c: New test, based on test supplied by Serge
38380         Belyshev <belyshev@depni.sinp.msu.ru>.
38381         * crypt/Makefile (xtests): Add md5test-giant..
38382         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38384 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38386         [BZ #14090]
38387         * crypt/md5.c (md5_process_block): Don't assume the buffer
38388         length is less than 2**32.
38389         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38390         length is less than 2**64.
38392 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38394         * string/str-two-way.h: Include <sys/param.h>.
38395         (MAX): Macro removed.
38397         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38398         Move #define and #undef of memmove to just before and after
38399         including <string.h>.
38401         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38402         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38403         and after including <string.h>.  Move declarations of
38404         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38405         to before #include "string/memmove.c".
38407         * include/dirent.h: Declare __getdirentries.
38409         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38410         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38412 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38414         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38415         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38416         * sysdeps/i386/configure: Regenerated.
38417         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38418         STABS_CURRENT_FILE, and STABS_FUN.
38419         (END): Remove call to STABS_FUN_END.
38420         (STABS_CURRENT_FILE1): Delete.
38421         (STABS_CURRENT_FILE): Likewise.
38422         (STABS_FUN): Likewise.
38423         (STABS_FUN_END): Likewise.
38424         (STABS_FUN2): Likewise.
38425         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38426         * sysdeps/x86_64/configure: Regenerated.
38428 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38430         * elf/dl-open.c: Include <atomic.h>.
38431         * elf/dl-lookup.c: Likewise.
38433 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38435         * sysdeps/unix/sysv/linux/kernel-features.h
38436         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38437         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38438         unconditionally.
38439         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38440         unconditionally.
38441         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38442         condition on __ASSUME_CLONE_THREAD_FLAGS.
38444 2012-08-14  Andreas Jaeger  <aj@suse.de>
38446         * sysdeps/i386/fpu/libm-test-ulps: Update.
38448 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38450         * include/atomic.h (atomic_exchange_and_add): Split into ...
38451         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38452         New atomic macros.
38454 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38458 2012-08-13  Jeff Law <law@redhat.com>
38460         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38461         null byte in the output string.
38463 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38465         * sysdeps/unix/sysv/linux/kernel-features.h
38466         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38467         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38468         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38469         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38470         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38471         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38472         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38474 2012-08-09  Jeff Law <law@redhat.com>
38476         [BZ #13939]
38477         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38478         When avoid_arena is set, don't retry in the that arena.  Pick the
38479         next one, whatever it might be.
38480         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38481         (arena_lock): Pass in new parameter to arena_get2.
38482         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38483         arena_get2.
38484         (__libc_malloc): Unify retrying after main arena failure with
38485         __libc_memalign version.
38486         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38488 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38490         [BZ #14166]
38491         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38492         to __redirect_strstr.
38493         (__strstr_sse42): Use typeof __redirect_strstr.
38494         (__strstr_ia32): Likewise.
38495         (__libc_strstr): New prototype.
38496         (strstr): Renamed to ...
38497         (__libc_strstr): This.
38498         (strstr): New strong alias of __libc_strstr.
38499         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38500         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38501         __redirect_time.
38502         Include <time.h>.
38503         (__libc_time): New prototype.
38504         (time_ifunc): Replace time with __libc_time.
38505         (time): New strong alias and hidden definition of __libc_time.
38506         (__GI_time): Remove strong alias.
38507         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38508         Include <stddef.h>.
38509         (memmove): Redefined to __redirect_memmove.
38510         (__memmove_sse2): Use typeof __redirect_memmove.
38511         (__memmove_ssse3): Likewise.
38512         (__memmove_ssse3_back): Likewise.
38513         (__libc_memmove): New prototype.
38514         (memmove): Renamed to ...
38515         (__libc_memmove): This.
38516         (memmove): New strong alias of __libc_memmove.
38518 2012-08-08  Mark Salter  <msalter@redhat.com>
38520         * elf/elf.h
38521         (R_MN10300_TLS_GD): Define.
38522         (R_MN10300_TLS_LD): Likewise.
38523         (R_MN10300_TLS_LDO): Likewise.
38524         (R_MN10300_TLS_GOTIE): Likewise.
38525         (R_MN10300_TLS_IE): Likewise.
38526         (R_MN10300_TLS_LE): Likewise.
38527         (R_MN10300_TLS_DTPMOD): Likewise.
38528         (R_MN10300_TLS_DTPOFF): Likewise.
38529         (R_MN10300_TLS_TPOFF): Likewise.
38530         (R_MN10300_SYM_DIFF): Likewise.
38531         (R_MN10300_ALIGN): Likewise.
38532         (R_MN10300_NUM): Update.
38534 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38536         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38537         Remove.
38539 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38541         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38543         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38544         sysdeps/unix -> sysdeps/posix move.
38545         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38547 2012-08-07      Allan McRae     <allan@archlinux.org>
38549         [BZ #14303]
38550         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38551         (SUNOS_CPP): Likewise.
38552         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38553         not found.
38554         (open_input): Call CPP using execvp.
38556 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38558         * sysdeps/unix/sysv/linux/kernel-features.h
38559         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38560         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38561         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38562         (__ASSUME_WAITID_SYSCALL): Likewise.
38563         * sysdeps/unix/sysv/linux/dl-execstack.c
38564         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38565         code unconditional.
38566         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38567         conditional code.
38568         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38569         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38570         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38571         code.
38572         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38573         unconditional.
38574         [__ASSUME_WAITID_SYSCALL]: Likewise.
38575         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38577 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38579         * sysdeps/unix/closedir.c: Renamed to ...
38580         * sysdeps/posix/closedir.c: ... here.
38581         * sysdeps/unix/dirfd.c: Renamed to ...
38582         * sysdeps/posix/dirfd.c: ... here.
38583         * sysdeps/unix/dirstream.h: Renamed to ...
38584         * sysdeps/posix/dirstream.h: ... here.
38585         * sysdeps/unix/fdopendir.c: Renamed to ...
38586         * sysdeps/posix/fdopendir.c: ... here.
38587         * sysdeps/unix/opendir.c: Renamed to ...
38588         * sysdeps/posix/opendir.c: ... here.
38589         * sysdeps/unix/readdir.c: Renamed to ...
38590         * sysdeps/posix/readdir.c: ... here.
38591         * sysdeps/unix/readdir_r.c: Renamed to ...
38592         * sysdeps/posix/readdir_r.c: ... here.
38593         * sysdeps/unix/rewinddir.c: Renamed to ...
38594         * sysdeps/posix/rewinddir.c: ... here.
38595         * sysdeps/unix/seekdir.c: Renamed to ...
38596         * sysdeps/posix/seekdir.c: ... here.
38597         * sysdeps/unix/telldir.c: Renamed to ...
38598         * sysdeps/posix/telldir.c: ... here.
38599         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38600         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38601         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38602         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38604         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38605         * bits/fcntl.h: ... here.
38607         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38608         not 0.
38609         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38610         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38611         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38612         (struct flock): Move l_start, l_len to the beginning.
38613         Use __pid_t for l_pid.
38614         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38615         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38616         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38617         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38618         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38619         [__USE_LARGEFILE64] (struct flock64): New type.
38620         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38622         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38623         * bits/dirent.h: ... here.
38625         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38626         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38628 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38630         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38631         Change from 2.6.0 to 2.6.16.
38632         * sysdeps/unix/sysv/linux/configure: Regenerated.
38633         * sysdeps/unix/sysv/linux/kernel-features.h
38634         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38635         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38636         version.
38637         (__ASSUME_UTIMES): Likewise.
38638         (__ASSUME_CLONE_STOPPED): Remove.
38639         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38640         architectures, not kernel version.
38641         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38642         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38643         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38644         (__ASSUME_WAITID_SYSCALL): Likewise.
38645         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38646         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38647         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38648         refer to older versions.
38650 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38652         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38653         Define alphasort64 as an alias.
38654         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38655         Define versionsort64 as an alias.
38656         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38657         Define scandir64 as an alias.
38658         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38659         Define scandirat64 as an alias.
38660         * dirent/alphasort64.c (alphasort64):
38661         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38662         * dirent/versionsort64.c: Likewise.
38663         * dirent/scandir64.c: Likewise.
38664         * dirent/scandirat64.c: Likewise.
38665         * sysdeps/wordsize-64/alphasort.c: File removed.
38666         * sysdeps/wordsize-64/alphasort64.c: File removed.
38667         * sysdeps/wordsize-64/scandir.c: File removed.
38668         * sysdeps/wordsize-64/scandir64.c: File removed.
38669         * sysdeps/wordsize-64/scandirat.c: File removed.
38670         * sysdeps/wordsize-64/scandirat64.c: File removed.
38671         * sysdeps/wordsize-64/versionsort.c: File removed.
38672         * sysdeps/wordsize-64/versionsort64.c: File removed.
38673         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38674         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38675         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38676         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38677         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38678         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38679         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38680         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38682         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38684         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38686         [defined __arch64__ || defined __sparcv9]
38687         (__INO_T_MATCHES_INO64_T): New macro.
38688         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38689         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38690         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38691         * sysdeps/unix/sysv/linux/bits/dirent.h
38692         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38693         (_DIRENT_MATCHES_DIRENT64): New macro.
38695         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38696         Define lockf64 as an alias.
38697         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38698         Define fseeko64 as an alias.
38699         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38700         Define ftello64 as an alias.
38701         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38702         Define _IO_fgetpos64 and fgetpos64 as aliases.
38703         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38704         Define _IO_fsetpos64 and fsetpos64 as aliases.
38705         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38706         Conditionalize body on this.
38707         * libio/fseeko64.c: Likewise.
38708         * libio/ftello64.c: Likewise.
38709         * libio/iofgetpos64.c: Likewise.
38710         * libio/iofsetpos64.c: Likewise.
38711         * sysdeps/wordsize-64/lockf.c: File removed.
38712         * sysdeps/wordsize-64/lockf64.c: File removed.
38713         * sysdeps/wordsize-64/fseeko.c: File removed.
38714         * sysdeps/wordsize-64/fseeko64.c: File removed.
38715         * sysdeps/wordsize-64/ftello.c: File removed.
38716         * sysdeps/wordsize-64/ftello64.c: File removed.
38717         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38718         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38719         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38720         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38721         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38722         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38723         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38724         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38725         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38726         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38727         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38728         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38729         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38730         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38732         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38733         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38734         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38735         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38736         [defined __arch64__ || defined __sparcv9]
38737         (__OFF_T_MATCHES_OFF64_T): New macro.
38738         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38739         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38740         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38741         (__OFF_T_MATCHES_OFF64_T): New macro.
38743 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38745         * stdlib/secure-getenv.c (__secure_getenv): Replace
38746         GLIBC_2_16 with GLIBC_2_17.
38748 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38750         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38751         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38753 2012-08-03  David S. Miller  <davem@davemloft.net>
38755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38757 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38760         Remove.
38761         (__ASSUME_CORRECT_SI_PID): Likewise.
38762         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38763         (__ASSUME_TMPFS_NAME): Likewise.
38764         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38765         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38766         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38767         (HAVE_AUX_SECURE): Make definition unconditional.
38768         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38769         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38771 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38773         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38774         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38775         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38776         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38777         __eloop_threshold instead of SYMLOOP_MAX.
38779         * sysdeps/generic/eloop-threshold.h: New file.
38780         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38781         of MAXSYMLINKS.
38782         * elf/chroot_canon.c (chroot_canon): Likewise.
38784 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38786         [BZ #13717]
38787         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38788         Change to 2.6.0 everywhere.
38789         * sysdeps/unix/sysv/linux/configure: Regenerated.
38790         * sysdeps/unix/sysv/linux/kernel-features.h
38791         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38792         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38793         kernel versions.
38794         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38795         (__ASSUME_FUTEX_REQUEUE): Remove.
38796         (__ASSUME_STATFS64): Define unconditionally.
38797         (__ASSUME_AT_SECURE): Likewise.
38798         (__ASSUME_CORRECT_SI_PID): Likewise.
38799         (__ASSUME_TGKILL): Define without depending on kernel version for
38800         i386.
38801         (__ASSUME_UTIMES): Likewise.
38802         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38803         kernel version.
38804         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38805         (__ASSUME_TMPFS_NAME): Likewise.
38806         * README: Update reference to Linux kernel versions.
38808 2012-08-02  Marek Polacek  <polacek@redhat.com>
38810         [BZ# 14150]
38811         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38812         libc_cv_asm_type_prefix with %.
38813         * configure: Regenerated.
38814         * include/libc-symbols.h: Remove comment about
38815         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38816         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38817         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38818         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38819         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38820         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38821         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38822         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38823         * elf/tst-unique2mod1.c: Likewise.
38824         * elf/tst-unique1mod2.c: Likewise.
38825         * elf/tst-unique1mod1.c: Likewise.
38826         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38827         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38828         Replace ASM_TYPE_DIRECTIVE with .type.
38829         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38830         * sysdeps/i386/sysdep.h: Likewise.
38831         * sysdeps/x86_64/sysdep.h: Likewise.
38832         * sysdeps/sh/sysdep.h: Likewise.
38833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38834         Do not define ASM_TYPE_DIRECTIVE.
38835         * sysdeps/powerpc/sysdep.h: Likewise.
38836         * sysdeps/powerpc/powerpc32/sysdep.h:
38837         Replace ASM_TYPE_DIRECTIVE with .type.
38838         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38839         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38840         * sysdeps/i386/fpu/e_powf.S: Likewise.
38841         * sysdeps/i386/fpu/e_expl.S: Likewise.
38842         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38843         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38844         * sysdeps/i386/fpu/e_pow.S: Likewise.
38845         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38846         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38847         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38848         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38849         * sysdeps/i386/fpu/e_log2.S: Likewise.
38850         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38851         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38852         * sysdeps/i386/fpu/e_powl.S: Likewise.
38853         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38854         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38855         * sysdeps/i386/fpu/e_logl.S: Likewise.
38856         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38857         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38858         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38859         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38860         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38861         * sysdeps/i386/fpu/e_log.S: Likewise.
38862         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38863         * sysdeps/i386/fpu/e_logf.S: Likewise.
38864         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38865         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38866         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38867         * sysdeps/i386/fpu/e_log10.S: Likewise.
38868         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38869         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38870         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38871         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38872         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38873         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38874         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38875         * sysdeps/i386/i686/strtok.S: Likewise.
38876         * sysdeps/i386/i386-mcount.S: Likewise.
38877         * sysdeps/i386/strtok.S: Likewise.
38878         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38879         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38880         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38881         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38882         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38883         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38884         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38885         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38886         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38887         * sysdeps/x86_64/_mcount.S: Likewise.
38888         * sysdeps/x86_64/strtok.S: Likewise.
38889         * sysdeps/sh/_mcount.S: Likewise.
38891 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38893         * libio/iofopen.c: Include <fcntl.h>.
38894         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38895         (_IO_fopen64, fopen64): Define as aliases.
38896         * libio/iofopen64.c: Include <fcntl.h>.
38897         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38898         Conditionalize body on this.
38899         * sysdeps/wordsize-64/iofopen.c: File removed.
38900         * sysdeps/wordsize-64/iofopen64.c: File removed.
38902 2012-08-01  Marek Polacek  <polacek@redhat.com>
38904         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38905         Use dlfcn directly instead of a variable.
38906         (binfmt-subdir): Do not define.
38907         (dlfcn): Likewise.
38909 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38911         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38912         Remove all definitions.
38913         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38914         <kernel-features.h>.
38915         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38916         (miss_F_GETOWN_EX): Remove all definitions.
38917         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38918         macro definition.
38919         [!__ASSUME_FCNTL64]: Remove conditional code.
38920         [__ASSUME_FCNTL64]: Make code unconditional.
38921         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38922         <kernel-features.h>.
38923         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38924         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38925         (lockf64) [__NR_fcntl64]: Make code unconditional.
38926         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38928         * sysdeps/unix/sysv/linux/kernel-features.h
38929         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38930         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38931         Make code unconditional.
38932         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38933         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38935         [__NR_vfork]: Make code unconditional.
38936         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38937         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38939         [__NR_vfork]: Make code unconditional.
38940         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38941         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38943 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38945         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38946         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38948         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38949         Define mkstemp64 as an alias.
38950         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38951         Define mkstemps64 as an alias.
38952         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38953         Define mkostemp64 as an alias.
38954         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38955         Define mkostemps64 as an alias.
38956         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38957         Conditionalize body on this.
38958         * misc/mkostemp64.c: Likewise.
38959         * misc/mkostemps64.c: Likewise.
38960         * misc/mkstemps64.c: Likewise.
38961         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38962         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38963         * sysdeps/wordsize-64/mkostemp.c: File removed.
38964         * sysdeps/wordsize-64/mkstemp.c: File removed.
38965         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38966         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38967         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38968         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38970         [BZ #14138]
38971         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38972         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38973         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38974         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38976         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38977         compat_symbol macros from <shlib-compat.h> rather than the underlying
38978         default_symbol_version and symbol_version macros, so that DEFAULT
38979         lines in shlib-versions are respected.
38980         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38982 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38984         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38985         Declare with warn_unused_result.
38986         (setgid, setregid, setegid, setresgid): Likewise.
38987         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38988         Likewise.
38989         * WUR-REPORT: Remove set*id functions.
38991 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38993         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38995 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38997         [BZ #10191]
38998         * include/sys/socket.h (__libc_accept, __libc_accept4):
38999         Add attribute_hidden.
39000         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39002         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39003         use of PTR_MANGLE.
39004         * inet/getnetgrent_r.c (setup): Likewise.
39006         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39008 2012-07-31  David S. Miller  <davem@davemloft.net>
39010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39012 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39014         [BZ #13629]
39015         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39016         value between 1.0 and 2.0 and smaller part has absolute value less
39017         than 1.0.
39018         * math/s_clog10.c (__clog10): Likewise.
39019         * math/s_clog10f.c (__clog10f): Likewise.
39020         * math/s_clog10l.c (__clog10l): Likewise.
39021         * math/s_clogf.c (__clogf): Likewise.
39022         * math/s_clogl.c (__clogl): Likewise.
39023         * math/libm-test.inc (clog_test): Add more tests.
39024         (clog10_test): Likewise.
39025         * sysdeps/i386/fpu/libm-test-ulps: Update.
39026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39028 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39030         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39031         Exit with zero in case no suitable GID is found, and write a
39032         message to standard error.
39034 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39036         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39037         rather than to 1.
39038         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39039         (MAXPATHLEN): Removed.
39040         (NOGROUP, NODEV): New macros.
39041         (setbit, clrbit, isset, isclr): New macros.
39042         (howmany, roundup, powerof2): New macros.
39043         (DEV_BSIZE): New macro.
39045         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39046         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39048         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39049         definition on [!__NO_LONG_DOUBLE_MATH].
39051         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39052         PTR_MANGLE and PTR_DEMANGLE.
39054         * socket/accept4.c (accept4): Rename to __libc_accept4.
39055         Define accept4 as a weak alias.
39057         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39058         on [_DIRENT_HAVE_D_TYPE].
39059         * io/ftw.c (ftw_dir): Likewise.
39061         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39063         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39065         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39066         Use the BSD numbers rather than the arbitrary ones we had.
39067         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39068         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39069         (SIGXCPU, SIGXFSZ): New macros.
39070         (_NSIG): Now 32.
39072         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39073         initializer on [_LIBC_REENTRANT].
39075         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39076         definitions inside [_POSIX_MAPPED_FILES].
39078         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39080         * dirent/opendir.c: Include <fcntl.h>.
39082         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39083         (__libc_getspecific): Likewise.
39084         (__libc_key_create): Likewise.
39086         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39087         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39088         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39089         (tmpfile64): Define as alias.
39090         * sysdeps/wordsize-64/tmpfile.c: File removed.
39091         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39092         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39093         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39095         * stdio-common/vfscanf.c: Include <stdbool.h>.
39096         * nss/makedb.c: Likewise.
39097         * stdio-common/_i18n_number.h: Likewise.
39098         * argp/argp-help.c: Likewise.
39099         * posix/wordexp.c: Likewise.
39100         * sysdeps/posix/spawni.c: Likewise.
39101         * nss/nss_files/files-initgroups.c: Likewise.
39102         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39103         * nss/nss_files/files-initgroups.c: Likewise.
39104         * nss/nss_db/db-netgrp.c: Likewise.
39105         * nss/nss_db/db-initgroups.c: Likewise.
39106         * io/fchmodat.c: Include <sys/stat.h>.
39108         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39109         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39111         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39112         [HAVE_MMAP].
39114         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39115         Add multiple inclusion protection.
39117 2012-07-27  David S. Miller  <davem@davemloft.net>
39119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39121 2012-07-27  Gary Benson  <gbenson@redhat.com>
39123         [BZ #14298]
39124         * elf/rtld.c: Include <stap-probe.h>.
39125         (dl_main): Added static probes "init_start" and "init_complete".
39126         * elf/dl-load.c: Include <stap-probe.h>.
39127         (lose): Take new parameter "nsid".
39128         Added static probe "map_failed".
39129         (_dl_map_object_from_fd): Pass namespace id to lose.
39130         Added static probe "map_start".
39131         (open_verify): Pass namespace id to lose.
39132         * elf/dl-open.c: Include <stap-probe.h>.
39133         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39134         and "reloc_complete".
39135         * elf/dl-close.c: Include <stap-probe.h>.
39136         (_dl_close_worker): Added static probes "unmap_start" and
39137         "unmap_complete".
39138         * elf/rtld-debugger-interface.txt: New file documenting the above.
39140 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39142         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39143         rather than a string variable.
39144         * sunrpc/rpc_main.c (h_output): Likewise.
39145         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39147 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39149         * inet/check_native.c: New file.
39151 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39153         [BZ #13629]
39154         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39155         if larger part has absolute value 1.0.
39156         * math/s_clog10.c (__clog10): Likewise.
39157         * math/s_clog10f.c (__clog10f): Likewise.
39158         * math/s_clog10l.c (__clog10l): Likewise.
39159         * math/s_clogf.c (__clogf): Likewise.
39160         * math/s_clogl.c (__clogl): Likewise.
39161         * math/libm-test.inc (clog_test): Add more tests.
39162         (clog10_test): Likewise.
39163         * sysdeps/i386/fpu/libm-test-ulps: Update.
39164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39166         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39167         (pltexit): Likewise.
39168         (La_regs): Likewise.
39169         (La_retval): Likewise.
39170         (int_retval): Likewise.
39171         Update #error for removed macros to refer only to definitions in
39172         tst-audit.h.
39173         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.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-auditmod6b.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-auditmod6c.c (pltenter): Remove all definitions of
39198         macro.
39199         (pltexit): Likewise.
39200         (La_regs): Likewise.
39201         (La_retval): Likewise.
39202         (int_retval): Likewise.
39203         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39204         macro.
39205         (pltexit): Likewise.
39206         (La_regs): Likewise.
39207         (La_retval): Likewise.
39208         (int_retval): Likewise.
39209         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39210         macro definitions in tst-audit.h.
39211         * sysdeps/i386/tst-audit.h: New file.
39212         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39213         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39214         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39215         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39216         * sysdeps/sh/tst-audit.h: Likewise.
39217         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39218         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39219         * sysdeps/x86_64/tst-audit.h: Likewise.
39221 2012-07-26  Andreas Jaeger  <aj@suse.de>
39223         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39224         ptrace.
39226         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39227         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39228         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39229         PTRACE_O_MASK.
39230         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39231         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39232         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39234         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39235         value.
39237         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39238         _sigsys.
39239         (si_call_addr, si_syscall, si_arch): Define new macro.
39240         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39241         _sigsys.
39242         (si_call_addr, si_syscall, si_arch): Define new marcro.
39243         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39244         _sigsys.
39245         (si_call_addr, si_syscall, si_arch): Define new macro.
39246         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39247         _sigsys.
39248         (si_call_addr, si_syscall, si_arch): Define new macro.
39250 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39252         [BZ #13717]
39253         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39254         Change to 2.4.21 where previously 2.4.1.
39255         * sysdeps/unix/sysv/linux/configure: Regenerated.
39256         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39257         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39258         Linux kernel version.
39259         (__ASSUME_STD_AUXV): Remove.
39260         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39261         kernel version.
39262         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39263         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39264         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39265         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39266         (__ASSUME_NETLINK_SUPPORT): Likewise.
39267         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39268         (__no_netlink_support): Remove conditional definition.
39269         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39270         Remove.
39271         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39272         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39273         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39274         (if_nameindex_ioctl): Remove.
39275         (if_nameindex_netlink): Do not handle __no_netlink_support.
39276         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39277         code.
39278         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39279         Remove conditional code.
39280         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39281         code.
39282         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39283         unconditional.
39284         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39285         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39286         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39287         Remove.
39288         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39289         [!__ASSUME_STD_AUXV]: Remove conditional code.
39290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39291         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39292         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39294         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39295         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39296         code.
39297         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39299         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39300         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39301         conditional code.
39302         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39304         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39305         code.
39306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39307         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39308         conditional code.
39309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39310         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39311         code unconditional.
39312         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39313         conditional code.
39314         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39315         unconditional.
39316         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39317         conditional code.
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39319         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39320         unconditional.
39321         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39322         conditional code.
39323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39324         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39325         code unconditional.
39326         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39327         conditional code.
39328         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39329         unconditional.
39330         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39331         conditional code.
39332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39333         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39334         code unconditional.
39335         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39336         conditional code.
39337         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39338         unconditional.
39339         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39340         conditional code.
39342 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39344         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39345         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39346         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39347         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39348         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39349         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39350         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39351         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39352         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39353         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39354         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39355         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39356         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39357         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39358         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39359         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39360         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39361         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39362         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39364         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39365         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39366         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39368 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39370         * Versions.def: Add GLIBC_2.17.
39371         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39372         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39373         Introduce __libc_secure_getenv.
39374         * stdlib/Versions (2.17): Add secure_getenv
39375         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39376         * stdlib/secure-getenv.c: Rename __secure_getenv to
39377         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39378         symbol __secure_getenv for GLIBC_2.0.
39379         * stdlib/tst-secure-getenv.c: New.
39380         * stdlib/Makefile (tests): Add testcase.
39381         * manual/startup.texi (Environment Access): Document
39382         secure_getenv.
39383         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39384         __libc_secure_getenv.
39385         * inet/ruserpass.c (ruserpass): Likewise.
39386         * malloc/mtrace.c (mtrace): Likewise.
39387         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39388         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39389         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39390         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39391         HAVE_SECURE_GETENV.
39392         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39393         __secure_getenv to __libc_secure_getenv.
39394         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39396         Likewise.
39397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39398         Likewise.
39399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39401         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39402         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39407 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39409         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39410         (struct La_i86_retval): Likewise.
39411         (struct La_x86_64_regs): Likewise.
39412         (struct La_x86_64_retval): Likewise.
39413         (struct La_x32_regs): Likewise.
39414         (struct La_x32_retval): Likewise.
39415         (struct La_ppc32_regs): Likewise.
39416         (struct La_ppc32_retval): Likewise.
39417         (struct La_ppc64_regs): Likewise.
39418         (struct La_ppc64_retval): Likewise.
39419         (struct La_sh_regs): Likewise.
39420         (struct La_sh_retval): Likewise.
39421         (struct La_s390_32_regs): Likewise.
39422         (struct La_s390_32_retval): Likewise.
39423         (struct La_s390_64_regs): Likewise.
39424         (struct La_s390_64_retval): Likewise.
39425         (struct La_sparc32_regs): Likewise.
39426         (struct La_sparc32_retval): Likewise.
39427         (struct La_sparc64_regs): Likewise.
39428         (struct La_sparc64_retval): Likewise.
39429         (struct audit_ifaces): Remove architecture-specific pltenter and
39430         pltexit members.
39431         * sysdeps/i386/ldsodefs.h: New file.
39432         * sysdeps/powerpc/ldsodefs.h: Likewise.
39433         * sysdeps/s390/ldsodefs.h: Likewise.
39434         * sysdeps/sh/ldsodefs.h: Likewise.
39435         * sysdeps/sparc/ldsodefs.h: Likewise.
39436         * sysdeps/x86_64/ldsodefs.h: Likewise.
39438 2012-07-25  Marek Polacek  <polacek@redhat.com>
39440         [BZ #6808]
39441         * math/libm-test.inc (yn_test): Add another test.
39442         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39443         to ERANGE when the result is +-Inf.
39444         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39445         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39446         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39447         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39449 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39451         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39452         equal to 0.
39453         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39454         clock_t.
39455         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39457 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39459         * configure.in <sysdeps resolving>: Correct printing
39460         Implies_before.
39461         * configure: Regenerate.
39463 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39465         * math/w_ilogb.c: Include <limits.h>.
39466         * math/w_ilogbl.c: Likewise.
39468 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39470         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39471         va_copy.  Document allowing for unavailable va_copy only as
39472         pre-C99 compatibility.
39473         * manual/string.texi (Copying and Concatenation): Use va_copy
39474         instead of __va_copy in concat example.
39476 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39478         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39479         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39480         it if not null.
39482         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39483         with O_NOLINK passed to __file_name_lookup.
39485         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39486         with O_NOLINK passed to __file_name_lookup.
39488         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39489         negative N or less than NGIDS.
39491         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39492         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39493         enough.  Use memcpy instead of strncpy.
39495 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39497         * elf/Makefile (check-data): Remove.
39498         (localplt.data): New vpath directive.
39499         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39500         instead of $(check-data).
39501         * scripts/data/localplt-generic.data: Move to ...
39502         * sysdeps/generic/localplt.data: ... here.
39503         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39504         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39505         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39507         ... here.
39508         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39510         ... here.
39511         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39513         ... here.
39514         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39515         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39516         ... here.
39517         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39519         ... here.
39520         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39522         ... here.
39524 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39526         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39527         PPC32 and PPC64 files.
39528         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39529         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39531 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39533         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39534         __makecontext_ret to ...
39535         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39536         ... here and call exit if uc_link is NULL.  New file.
39537         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39538         __makecontext_ret.S.
39539         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39540         __makecontext_ret to ...
39541         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39542         ... here and call exit if uc_link is NULL.  New file.
39543         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39544         __makecontext_ret.S.
39546 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39548         * elf/elf.h (R_390_IRELATIVE): New definition.
39549         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39550         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39551         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39552         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39553         (elf_machine_lazy_rel): Likewise.
39554         * sysdeps/s390/dl-irel.h: New file.
39555         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39556         * sysdeps/s390/s390-64/memset.S: New asm code.
39557         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39558         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39559         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39560         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39561         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39562         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39563         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39564         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39565         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39566         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39567         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39568         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39569         * sysdeps/s390/s390-32/memset.S: New asm code.
39570         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39572 2012-07-17  Marek Polacek  <polacek@redhat.com>
39574         [BZ #14349]
39575         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39576         * sysdeps/s390/s390-64/configure.in: Likewise.
39577         * sysdeps/sparc/configure.in: Likewise.
39578         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39579         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39580         * sysdeps/i386/configure.in: Likewise.
39581         * sysdeps/x86_64/configure.in: Likewise.
39582         * sysdeps/sh/configure.in: Likewise.
39583         * sysdeps/s390/s390-32/configure: Regenerated.
39584         * sysdeps/s390/s390-64/configure: Likewise.
39585         * sysdeps/x86_64/configure: Likewise.
39586         * sysdeps/sh/configure: Likewise.
39587         * sysdeps/powerpc/powerpc64/configure: Likewise.
39588         * sysdeps/powerpc/powerpc32/configure: Likewise.
39589         * sysdeps/sparc/configure: Likwise.
39590         * sysdeps/i386/configure: Likewise.
39592         * elf/dl-open.c: Comment fixes.
39594 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39596         * Makefile [CXX] (check-data): Remove.
39597         [CXX] (c++-types.data): New vpath directive.
39598         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39599         vpath.  Do not allow for C++ type data being missing.
39600         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39601         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39602         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39603         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39604         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39605         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39606         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39608         ... here.
39609         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39611         ... here.
39612         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39614         ... here.
39615         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39617         ... here.
39618         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39620         ... here.
39621         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39623         ... here.
39624         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39626         ... here.
39627         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39630         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39631         definitions to architecture-specific files.
39632         (TLS_IE): Likewise.
39633         (TLS_LD): Likewise.
39634         (TLS_GD): Likewise.
39635         * sysdeps/i386/tls-macros.h: New file.
39636         * sysdeps/powerpc/tls-macros.h: Likewise.
39637         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39638         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39639         * sysdeps/sh/tls-macros.h: Likewise.
39640         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39641         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39642         * sysdeps/x86_64/tls-macros.h: Likewise.
39644 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39646         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39647         zero value for regular exit case.
39649         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39650         (__start_context): Preserve zero value for regular exit case.
39652 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39653             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39655         * manual/setjmp.texi (setcontext): Clarify normal process
39656         termination when uc_link is the null pointer.
39657         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39658         exit call.
39660 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39662         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39663         preprocessor.  Test for each exception mask separately.
39665 2012-07-16  Andreas Jaeger  <aj@suse.de>
39667         * po/ru.po: Update from translation team.
39669 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39671         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39672         equal to 0.
39673         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39674         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39675         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39676         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39677         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39679 2012-07-13  Andreas Jaeger  <aj@suse.de>
39681         * po/fr.po: Update from translation team.
39683 2012-07-12  Marek Polacek  <polacek@redhat.com>
39685         [BZ #14173]
39686         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39687         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39688         loop condition.
39690 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39692         [BZ #13717]
39693         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39694         Change to 2.4.1 where previously 2.4.0.
39695         * sysdeps/unix/sysv/linux/configure: Regenerated.
39696         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39697         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39698         version.
39699         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39700         (__ASSUME_AT_CLKTCK): Remove.
39701         (__ASSUME_AT_PAGESIZE): Likewise.
39702         (__ASSUME_AT_XID): Likewise.
39703         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39704         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39705         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39706         unconditionally.
39707         (HAVE_AUX_PAGESIZE): Likewise.
39708         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39709         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39710         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39712 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39714         [BZ #14307]
39715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39716         the temporary buffer used to invoke __gethostbyname2_r,
39717         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39718         host_data / struct gaih_addrtuple.
39719         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39720         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39721         header file nss/nsswitch.h.
39722         * nss/nsswitch.h (global scope): Add definition of implementation
39723         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39724         resolv/nss_dns/dns-host.c).
39726 2012-07-11  Andreas Jaeger  <aj@suse.de>
39728         * po/fr.po: Update from translation team.
39730         * po/sv.po: Update from translation team
39731         * po/fr.po: Another update from translation team.
39733 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39735         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39736         for subnormals or multiply small sinh result by itself.
39737         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39740 2012-07-11  David S. Miller  <davem@davemloft.net>
39742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39744 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39746         [BZ #14347]
39747         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39748         (INTERNAL_MARK): Shift it here.
39750 2012-07-10  Marek Polacek  <polacek@redhat.com>
39752         [BZ #14151]
39753         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39754         libc_cv_asm_global_directive with .globl.
39755         * configure: Regenerated.
39756         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39757         with .globl.
39758         * sysdeps/i386/configure: Regenerated.
39759         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39760         with .globl.
39761         * sysdeps/x86_64/configure: Regenerated.
39762         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39763         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39764         * elf/tst-unique2mod2.c: Likewise.
39765         * elf/tst-unique2mod1.c: Likewise.
39766         * elf/tst-unique1mod2.c: Likewise.
39767         * elf/tst-unique1mod1.c: Likewise.
39768         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39769         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39770         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39771         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39772         * sysdeps/mach/sysdep.h: Likewise.
39773         * sysdeps/i386/sysdep.h: Likewise.
39774         * sysdeps/i386/i386-mcount.S: Likewise.
39775         * sysdeps/x86_64/_mcount.S: Likewise.
39776         * sysdeps/x86_64/sysdep.h: Likewise.
39777         * sysdeps/sh/_mcount.S: Likewise.
39778         * sysdeps/sh/sysdep.h: Likewise.
39779         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39780         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39781         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39782         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39783         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39784         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39785         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39786         * locale/localeinfo.h: Likewise.
39787         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39788         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39790 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39792         [BZ #14336]
39793         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39794         system".
39795         * manual/message.texi (The Uniforum approach): Likewise.
39796         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39797         (glibc iconv Implementation): Likewise.
39799 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39801         [BZ #14337]
39802         * math/s_clog.c (__clog): Avoid scaling a value down where that
39803         could result in underflow.
39804         * math/s_clog10.c (__clog10): Likewise.
39805         * math/s_clog10f.c (__clog10f): Likewise.
39806         * math/s_clog10l.c (__clog10l): Likewise.
39807         * math/s_clogf.c (__clogf): Likewise.
39808         * math/s_clogl.c (__clogl): Likewise.
39809         * math/libm-test.inc (clog_test): Add more tests.
39810         (clog10_test): Likewise.
39811         * sysdeps/i386/fpu/libm-test-ulps: Update.
39812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39814 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39816         [BZ #14283]
39817         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39818         by 7 not 8 to examine high bit of fractional part.
39820         [BZ #14042]
39821         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39822         for call to __mcount_internal.
39823         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39824         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39825         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39827 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39829         [BZ #14154]
39830         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39831         approximation for values within 0x1p-13f of an odd multiple of
39832         pi/4.
39833         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39834         exception.  Add more tests.
39835         * sysdeps/i386/fpu/libm-test-ulps: Update.
39837         [BZ #6778]
39838         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39839         inputs and return -1 for them.  Do not check for +Inf in case not
39840         reachable for +Inf.
39841         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39842         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39843         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39844         and return -1 for them.  Do not check for +Inf in case not
39845         reachable for +Inf.
39846         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39847         define.
39848         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39849         and return -1 for them.  Do not check for +Inf in case not
39850         reachable for +Inf.
39851         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39852         spurious underflow.
39853         * sysdeps/i386/fpu/libm-test-ulps: Update.
39854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39856 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39858         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39860 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39862         [BZ #14157]
39863         [BZ #14331]
39864         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39865         could result in spurious underflow.  Scale down values above
39866         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39867         * math/s_csqrtf.c (__csqrtf): Likewise.
39868         * math/s_csqrtl.c (__csqrtl): Likewise.
39869         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39870         spurious underflow.
39871         * sysdeps/i386/fpu/libm-test-ulps: Update.
39872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39874 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39876         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39877         xopen-msg.sed.
39878         * catgets/xopen-msg.awk: New file.
39879         * catgets/xopen-msg.sed: Removed.
39881         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39882         po2text.sed.
39883         * intl/po2test.awk: New file.
39884         * intl/po2test.sed: Removed.
39886 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39888         [BZ #14328]
39889         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39890         or multiply small sinh result by itself.
39891         * math/s_ctanf.c (__ctanf): Likewise.
39892         * math/s_ctanh.c (__ctanh): Likewise.
39893         * math/s_ctanhf.c (__ctanhf): Likewise.
39894         * math/s_ctanhl.c (__ctanhl): Likewise.
39895         * math/s_ctanl.c (__ctanl): Likewise.
39896         * math/libm-test.inc (ctan_test_tonearest): New function.
39897         (ctan_test_towardzero): Likewise.
39898         (ctan_test_downward): Likewise.
39899         (ctan_test_upward): Likewise.
39900         (ctanh_test_tonearest): Likewise.
39901         (ctanh_test_towardzero): Likewise.
39902         (ctanh_test_downward): Likewise.
39903         (ctanh_test_upward): Likewise.
39904         (main): Call these new functions.
39905         * sysdeps/i386/fpu/libm-test-ulps: Update.
39906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39908 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39910         * .gitignore: Delete /ports entry.
39912 2012-07-03  Andreas Jaeger  <aj@suse.de>
39914         * po/bg.po: Update from translation team.
39915         * po/cs.po: Likewise.
39916         * po/de.po: Likewise.
39917         * po/hr.po: Likewise.
39918         * po/nl.pl: Likewise.
39919         * po/pl.po: Likewise.
39920         * po/vi.po: Likewise.
39922 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39924         * Makeconfig [!+link] (+link-before-libc): New variable.
39925         [!+link] (+link-after-libc): Likewise.
39926         [!+link] (+link-tests): Likewise.
39927         [!+link] (+link): Define in terms of $(+link-before-libc) and
39928         $(+link-after-libc).
39929         [!+link-static] (+link-static-before-libc): New variable.
39930         [!+link-static] (+link-static-after-libc): Likewise.
39931         [!+link-static] (+link-static-tests): Likewise.
39932         [!+link-static] (+link-static): Define in terms of
39933         $(+link-static-before-libc) and $(+link-static-after-libc).
39934         [build-shared] (link-libc-before-gnulib): New variable.
39935         [build-shared] (link-libc-tests): Likewise.
39936         [build-shared] (link-libc): Define in terms of
39937         $(link-libc-before-gnulib).
39938         [!build-shared] (link-libc-tests): New variable.
39939         (link-libc-static-tests): New variable.
39940         [!gnulib] (gnulib-arch): New variable.
39941         [!gnulib] (gnulib-tests): Likewise.
39942         [!gnulib] (static-gnulib-arch): Likewise.
39943         [!gnulib] (static-gnulib-tests): Likewise.
39944         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39945         Define with "=" instead of ":=".
39946         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39947         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39948         * Rules (binaries-all-notests): New variable.
39949         (binaries-all-tests): Likewise.
39950         (binaries-static-notests): Likewise.
39951         (binaries-static-tests): Likewise.
39952         (binaries-all): Define using $(binaries-all-notests) and
39953         $(binaries-all-tests).
39954         (binaries-static): Define using $(binaries-static-notests) and
39955         $(binaries-static-tests).
39956         (binaries-shared-tests): New variable.
39957         (binaries-shared-notests): Likewise.
39958         (binaries-shared): Remove variable.
39959         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39960         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39961         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39962         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39963         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39964         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39965         * elf/Makefile (sln-modules): New variable.
39966         (extra-objs): Add $(sln-modules:=.o).
39967         (ldconfig-modules): Add static-stubs.
39968         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39969         * elf/static-stubs.c: New file.
39971         [BZ #14283]
39972         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39973         by 7 not 8 to examine high bit of fractional part.  Use volatile
39974         variables when splitting into final array of floats if
39975         __FLT_EVAL_METHOD__ != 0.
39976         * math/libm-test.inc (cos_test): Add another test.
39977         (sin_test): Likewise.
39978         * sysdeps/i386/fpu/libm-test-ulps: Update.
39980         [BZ #14273]
39981         * math/libm-test.inc (cosh_test): Add more tests.
39983         * version.h (RELEASE): Set to "development".
39984         (VERSION): Set to "2.16.90".
39986 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39988         * NEWS: Update copyright. Remove last-updated date.
39989         Mention math library bug fixes and timezone data changes.
39990         * README: Mention GNU/Hurd, x32, and HPPA support status.
39992 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39994         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39996 2012-06-27  Andreas Jaeger  <aj@suse.de>
39998         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40000 2012-06-25  Andreas Jaeger  <aj@suse.de>
40002         * sysdeps/s390/fpu/libm-test-ulps: Update.
40004 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40005             Thomas Schwinge  <thomas@codesourcery.com>
40007         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40008         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40009         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40010         fanotify_mark.
40012 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40014         * sysdeps/mach/start.c: Remove file.
40015         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40016         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40017         * sysdeps/sh/init-first.c: Likewise.
40019         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40020         registers for frame unwinding purposes, add CFI directives.
40021         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40022         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40023         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40024         Likewise.
40026         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40027         __fortify_fail returning.
40028         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40030         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40031         sysdeps/sh/____longjmp_chk.S.
40032         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40033         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40034         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40035         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40037         * sysdeps/sh/abort-instr.h: New file.
40038         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40039         process in case exit returns.
40041         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40042         initialize the GOT register before use.
40044         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40045         calculation of ARGC > 4.
40047         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40048         meaningful names to some local labels.
40050 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40051             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40053         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40054         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40055         (__arch_compare_and_exchange_val_16_acq): Likewise.
40056         (__arch_compare_and_exchange_val_32_acq): Likewise.
40057         (atomic_exchange_and_add): Fix gUSA sequence.
40058         (atomic_add): Likewise.
40059         (atomic_add_negative): Likewise.
40060         (atomic_add_zero): Likewise.
40061         (atomic_bit_test_set): Likewise.
40063 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40065         [BZ #13579]
40066         * include/link.h (struct link_map): Add l_free_initfini.
40067         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40068         l_initfini.
40069         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40070         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40071         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40072         set.
40074 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40076         * configure.in: Use AC_LANG_SOURCE.
40077         * configure: Regenerate.
40079 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40081         * configure.in (libc_cv_localstatedir): New substituted variable.
40082         * configure: Regenerated.
40083         * config.make.in (localstatedir): New variable, substituted from
40084         libc_cv_localstatedir.
40085         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40086         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40087         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40088         * sysdeps/gnu/configure: Regenerated.
40090 2012-06-21  Jeff Law  <law@redhat.com>
40092         [BZ #14277]
40093         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40094         free.  Simplify list management for _LIBC case.
40096 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40098         [BZ #14273]
40099         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40100         Clear sign bit of 64-bit integer value before comparing against
40101         overflow value.
40103         * sysdeps/mach/configure: Regenerated.
40105 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40107         [BZ #14278]
40108         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40110 2012-06-21  Jeff Law  <law@redhat.com>
40112         [BZ #13882]
40113         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40114         uint16_t for elements in the "seen" array to avoid char overflows.
40115         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40116         * elf/dl-open.c (dl_open_worker): Likewise.
40118 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40120         * scripts/list-sources.sh: Scan PORTS for translations.
40121         * po/libc.pot: Regenerated.
40123 2012-06-21  Andreas Jaeger  <aj@suse.de>
40125         [BZ #12194]
40126         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40127         warning.
40128         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40129         * bits/byteswap-16.h (__bswap_16): Likewise.
40130         * bits/byteswap.h (__bswap_constant_16): Likewise.
40132 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40134         [BZ #14117]
40135         * sysdeps/i386/fpu_control.h: Removed.
40136         * sysdeps/x86_64/fpu_control.h: Moved to ...
40137         * sysdeps/x86/fpu_control.h: Here.
40139         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40140         (_FPU_SETCW): Likewise.
40142 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40144         [BZ #14117]
40145         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40146         * sysdeps/x86/fpu/bits/mathinline.h: This.
40147         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40149         [BZ #14050]
40150         [BZ #14117]
40151         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40152         functions if __x86_64__ is defined.
40154 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40156         * string/endian.h: Add !__ASSEMBLER__ condition for including
40157         conversion interfaces.
40159 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40161         [BZ #14241]
40162         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40163         of ABS(x) in calculating zero to negative powers other than odd
40164         integers.
40165         * math/libm-test.inc (pow_test): Add more tests.
40167 2012-06-15  Andreas Jaeger  <aj@suse.de>
40169         * manual/contrib.texi (Contributors): Update entry of Liubov
40170         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40171         Machado Filho.
40173 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40175         * string/string.h: Add __wur to GNU version of strerror_r.
40177 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40179         [BZ #14229]
40180         * string/Makefile (tests): Add tst-strtok_r.
40181         * string/tst-strtok_r.c: New file.
40182         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40183         RAX_LP/RDX_LP on SAVE_PTR.
40185 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40187         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40189 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40191         * libm_test.inc (csqrt_test): Allow more spurious underflow
40192         exceptions.
40193         (j0_test): Likewise.
40194         (j1_test): Likewise.
40195         (y0_test): Likewise.
40196         (y1_test): Likewise.
40198 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40200         * po/Makefile (libc.pot): Use UTF-8 charset.
40202 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40204         [BZ #14210]
40205         Suppress sign-conversion warning from FD_SET.
40206         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40207         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40208         not unsigned long int.
40209         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40211 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40213         [BZ #14050]
40214         [BZ #14117]
40215         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40216         __extern_always_inline instead of __extern_inline.
40217         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40218         (__signbit): Likewise.
40219         (__signbitl): Support C++ namespace.
40220         (lrintf): New inline function.
40221         (lrint): Likewise.
40222         (llrintf): Likewise.
40223         (llrint): Likewise.
40224         (fmaxf): Likewise.
40225         (fmax): Likewise.
40226         (fminf): Likewise.
40227         (fmin): Likewise.
40228         (rint): Likewise.
40229         (rintf): Likewise.
40230         (ceil): Likewise.
40231         (ceilf): Likewise.
40232         (floor): Likewise.
40233         (floorf): Likewise.
40234         (nearbyint): Likewise.
40235         (nearbyintf): Likewise.
40237 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40239         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40240         non-default versions.
40242 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40244         [BZ #14218]
40245         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40247 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40249         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40250         (FE_UPWARD, FE_DOWNWARD): Don't define.
40251         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40252         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40254         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40255         reading it.
40256         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40257         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40259 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40261         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40262         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40263         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40264         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40266 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40268         [BZ #14117]
40269         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40270         * sysdeps/i386/fpu/Implies: New file.
40271         * sysdeps/x86_64/fpu/Implies: Likewise.
40272         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40273         * sysdeps/x86/fpu/bits/fenv.h: This.
40275         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40276         __SSE_MATH__.
40278 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40280         [BZ #14134]
40281         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40282         character 0xffff that matches the last element of the
40283         conversion table.
40285 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40287         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40288         fmodl commit.
40290 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40292         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40293         values higher than 25.6283.
40295 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40297         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40298         subnormal exponent extraction and add some __builtin_expect.
40299         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40300         Fix for subnormal mantissa calculation.
40302 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40304         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40305         cpu2 is -1 and errno is not ENOSYS.
40307 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40309         [BZ #14117]
40310         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40311         * sysdeps/x86/bits/string.h: This.
40312         * sysdeps/x86_64/bits/string.h: Removed.
40314         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40315         if not compiling for x86-64, but compiling for >= i486.
40317         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40318         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40320         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40321         New macro from Linux kernel 3.4.0.
40322         (FP_XSTATE_MAGIC2): Likewise.
40323         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40324         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40325         (struct _fpx_sw_bytes): New struct.
40326         (struct _xsave_hdr): Likewise.
40327         (struct _ymmh_state): Likewise.
40328         (struct _xstate): Likewise.
40330         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40331         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40332         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40333         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40334         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40335         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40337         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40338         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40339         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40340         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40341         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40342         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40344 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40346         [BZ #13743]
40347         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40348         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40349         (sysdep_headers): Include sys/platform/ppc.h.
40350         * sysdeps/powerpc/test-gettimebase.c: Test for
40351         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40352         * manual/Makefile (appendices): Include platform.texi.
40353         * manual/contrib.texi (Contributors): Update @node pointers.
40354         * manual/maint.texi (Maintenance): Likewise.
40355         (Platform): New node.
40356         * manual/platform.texi: New file.  Document the new features.
40358 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40359             Jakub Jelinek  <jakub@redhat.com>
40361         [BZ #14188]
40362         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40363         where __builtin_expect is unavailable.
40365 2012-06-03  David S. Miller  <davem@davemloft.net>
40367         * stdlib/longlong.h: Updated from GCC.
40369 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40371         [BZ #14042]
40372         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40373         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40374         __mcount_internal.
40375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40376         (GLIBC_2.16): Likewise.
40378 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40380         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40382 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40385         (default-abi): New variable.
40386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40387         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40388         variable.
40389         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40390         Likewise.
40391         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40392         Likewise.
40393         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40394         Likewise.
40396         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40397         definition.  Document in comment.
40399 2012-06-01  David S. Miller  <davem@davemloft.net>
40401         * stdlib/longlong.h: Updated from GCC.
40403 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40405         [BZ #14117]
40406         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40407         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40408         sys/debugreg.h sys/io.h here.
40409         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40410         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40411         sys/io.h.
40412         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40413         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40414         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40415         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40416         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40417         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40419         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40420         Define only if __x86_64__ is defined.
40422 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40424         [BZ #14048]
40425         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40426         Use int64_t for variable i.
40427         * math/libm-test.inc (fmod_test): Add more tests.
40429         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40430         z computation is not scheduled after fetestexcept.
40431         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40432         Use math_force_eval instead of asm to ensure calculation scheduled
40433         before exception test.
40434         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40435         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40437 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40439         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40440         computation is not scheduled after fetestexcept.
40442 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40444         [BZ #14117]
40445         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40446         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40448 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40450         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40451         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40453 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40455         [BZ #14117]
40456         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40457         <bits/wordsize.h>.
40458         (__WCHAR_MIN): Support __WORDSIZE == 64.
40459         (__WCHAR_MAX): Likewise.
40461         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40462         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40464         [BZ #14183]
40465         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40466         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40468         [BZ #14117]
40469         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40470         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40472         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40473         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40475         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40476         Defined to 1 if __x86_64__ isn't defined.
40477         (_STAT_VER_LINUX_OLD): New.
40478         (st_atime): Remove duplicate.
40479         (st_mtime): Likewise.
40480         (st_ctime): Likewise.
40482 2012-05-31  David S. Miller  <davem@davemloft.net>
40484         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40485         entries.
40487 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40489         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40490         gen-libm-test.pl.
40492         [BZ #14132]
40493         * elf/dl-reloc.c: Include <_itoa.h>.
40494         (_dl_reloc_bad_type): Remove use of INTUSE.
40495         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40496         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40497         * stdio-common/psiginfo.c (psiginfo): Likewise.
40498         * stdio-common/psignal.c (psignal): Likewise.
40499         * string/strsignal.c (strsignal): Likewise.
40500         * include/signal.h (_sys_siglist): Declare hidden proto.
40501         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40502         INTVARDEF with libc_hidden_data_def.
40503         * stdio-common/itoa-udigits.c: Likewise.
40504         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40505         (_itoa_lower_digits_internal): Remove declaration.
40506         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40507         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40508         (_sys_sigabbrev_internal): Remove aliases.
40509         (_sys_siglist): Define hidden alias.
40511 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40514         bits/sysctl.h.
40516 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40518         [BZ #14117]
40519         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40520         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40522         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40523         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40524         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40525         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40526         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40527         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40529         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40530         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40531         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40533         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40534         with __addr.
40535         (insw): Likewise.
40536         (insl): Likewise.
40537         (outsb): Likewise.
40538         (outsw): Likewise.
40539         (outsl): Likewise.
40541         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40542         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40543         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40545         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40546         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40547         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40548         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40549         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40550         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40552         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40553         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40555         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40556         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40558         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40559         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40560         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40562         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40563         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40564         to ...
40565         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40567         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40568         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40569         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40571         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40572         for x86-64.
40573         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40575 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40577         * math/math.h (M_El): Use two more decimal places.
40578         (M_LOG2El): Likewise.
40579         (M_LOG10El): Likewise.
40580         (M_LN2l): Likewise.
40581         (M_LN10l): Likewise.
40582         (M_PIl): Likewise.
40583         (M_PI_2l): Likewise.
40584         (M_PI_4l): Likewise.
40585         (M_1_PIl): Likewise.
40586         (M_2_PIl): Likewise.
40587         (M_2_SQRTPIl): Likewise.
40588         (M_SQRT2l): Likewise.
40589         (M_SQRT1_2l): Likewise.
40591 2012-05-31  David S. Miller  <davem@davemloft.net>
40593         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40594         values between float registers.
40595         * sysdeps/sparc/sparc64/memset.S: Likewise.
40596         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40598 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40600         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40601         -D_FORTIFY_SOURCE=1.
40602         (CPPFLAGS-tst-longjmp_chk.c): Define.
40603         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40604         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40605         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40606         CFLAGS-tst-wchar-h.c.
40608 2012-05-31  Marek Polacek  <polacek@redhat.com>
40610         [BZ #14132]
40611         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40612         __endmntent_internal): Remove declaration.
40613         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40614         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40615         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40617 2012-05-30  David S. Miller  <davem@davemloft.net>
40619         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40620         (___Q_simulate_exceptions): Use real FP ops rather than writing
40621         into the %fsr.
40622         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40623         Likewise.
40625 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40627         [BZ #14117]
40628         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40629         * sysdeps/x86/bits/xtitypes.h: This.
40631         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40632         * sysdeps/x86/bits/wordsize.h: This.
40634         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40635         * sysdeps/x86/bits/huge_vall.h: This.
40637         * sysdeps/i386/bits/select.h: Removed.
40638         * sysdeps/x86_64/bits/select.h: Renamed to ...
40639         * sysdeps/x86/bits/select.h: This.
40641         * sysdeps/i386/bits/setjmp.h: Removed.
40642         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40643         * sysdeps/x86/bits/setjmp.h: This.
40645         * sysdeps/i386/bits/mathdef.h: Removed.
40646         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40647         * sysdeps/x86/bits/mathdef.h: This.
40649 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40651         [BZ #14132]
40652         * include/sys/socket.h (__connect_internal)
40653         (__libc_sa_len_internal): Remove declaration.
40654         (__connect, __libc_sa_len): Declare hidden_proto.
40655         (SA_LEN): Remove use of INTUSE.
40656         * socket/connect.c: Add libc_hidden_def.
40657         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40658         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40659         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40660         alias.
40661         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40662         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40663         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40664         of adding _internal alias.
40666 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40668         [BZ #14117]
40669         * sysdeps/i386/bits/link.h: Removed.
40670         * sysdeps/i386/bits/linkmap.h: Likewise.
40671         * sysdeps/x86_64/bits/link.h: Renamed to ...
40672         * sysdeps/x86/bits/link.h: This.
40673         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40674         * sysdeps/x86/bits/linkmap.h: This.
40676         * sysdeps/i386/bits/endian.h: Removed.
40677         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40678         * sysdeps/x86/bits/endian.h: This.
40680         * sysdeps/i386/bits/byteswap.h: Removed.
40681         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40682         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40683         * sysdeps/x86/bits/byteswap.h: This.
40684         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40685         * sysdeps/x86/bits/byteswap-16.h: This.
40686         * sysdeps/i386/Implies: Add x86.
40687         * sysdeps/x86_64/Implies: Likewise.
40689 2012-05-30  David S. Miller  <davem@davemloft.net>
40691         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40692         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40693         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40694         (FP_TRAPPING_EXCEPTIONS): Define.
40695         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40696         (FP_TRAPPING_EXCEPTIONS): Define.
40697         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40698         subnormals only when inexact has been signalled or underflow
40699         exceptions are enabled.
40700         (_FP_PACK_CANONICAL): Likewise.
40702 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40704         [BZ #14183]
40705         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40706         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40708 2012-05-30  Richard Henderson  <rth@twiddle.net>
40710         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40711         with #ifndef NOT_IN_libc.
40713         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40714         marked to avoid plt entry.
40716 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40718         [BZ #14112]
40719         * Makeconfig (default-abi): New macro.
40720         (abi-includes): Likewise.
40721         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40722         $(abi-$(default-abi)-lib-soname) for soname if defined.
40723         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40724         abi-variants.
40725         * Makefile (installed-stubs): Likewise.
40726         * include/stubs-biarch.h: Removed.
40727         * scripts/lib-names.awk: Only handle one library at a time.
40728         * scripts/soversions.awk: Remove WORDSIZE support.
40729         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40730         entries.
40731         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40732         Removed.
40733         (syscall-list-default-condition): Likewise.
40734         (syscall-list-default-condition): Likewise.
40735         (syscall-list-includes): Likewise.
40736         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40737         syscall-list-* with abi-*.  Handle undefined abi-variants.
40738         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40739         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40740         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40741         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40742         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40743         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40744         Removed.
40745         (syscall-list-32-options): Likewise.
40746         (syscall-list-32-condition): Likewise.
40747         (syscall-list-64-options): Likewise.
40748         (syscall-list-64-condition): Likewise.
40749         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40750         macro.
40751         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40752         Renamed to ...
40753         (abi-*): This.
40754         (abi-64-ld-soname): New macro.
40755         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40756         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40757         Renamed to ...
40758         (abi-*): This.
40759         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40760         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40762 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40764         * sysdeps/unix/sysv/linux/kernel-features.h
40765         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40766         * sysdeps/unix/sysv/linux/ftruncate64.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/truncate64.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/ftruncate64.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.
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40785         include <kernel-features.h>.
40786         [!__NR_ftruncate64]: Remove conditional code.
40787         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40788         [__NR_ftruncate64]: Make code unconditional.
40789         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40791         * configure.in (libc_cv_fpie): Weaken to a compile test using
40792         LIBC_TRY_CC_OPTION.
40793         * configure: Regenerated.
40795 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40801         Refreshed.
40802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40808         Refreshed.
40810 2012-05-27  David S. Miller  <davem@davemloft.net>
40812         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40813         (___Q_zero): New.
40814         (__Q_simulate_exceptions): Return void.  Change to simulate
40815         exceptions by writing into the %fsr.
40816         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40817         (__Qp_handle_exceptions): Likewise.
40818         (numbers): Delete.
40819         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40820         __Qp_handle_exceptions.
40821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40822         __Qp_handle_exceptions.
40823         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40824         as unused and give dummy FP_RND_NEAREST initializer.
40825         (FP_INHIBIT_RESULTS): Define.
40826         (___Q_simulate_exceptions): Update declaration.
40827         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40828         formatting.
40829         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40830         as unused and give dummy FP_RND_NEAREST initializer.
40831         (__Qp_handle_exceptions): Update declaration.
40832         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40833         formatting.
40835 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40837         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40838         the temporary FPU control word.
40839         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40840         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40841         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40842         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40843         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40844         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40845         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40846         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40847         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40848         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40849         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40851 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40853         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40854         fields.
40856 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40858         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40859         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40860         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40861         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40862         Likewise.
40863         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40864         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40865         Likewise.
40867 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40869         * po/h.po: Update from translation team.
40871 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40873         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40875         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40876         handling of denormals.
40877         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40878         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40879         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40880         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40881         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40882         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40883         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40884         Likewise.
40886 2012-05-26  Marek Polacek  <polacek@redhat.com>
40888         [BZ #14152]
40889         * math/libm-test.inc (fma_test): Don't always expect underflow
40890         exception.
40892 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40894         [BZ #12416]
40895         * elf/tst-execstack.c: Include stackinfo.h.
40896         (do_test): Adjust test case to ensure that pthread_getattr_np
40897         behaviour remains the same after marking stack executable.
40899 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40901         * sysdeps/unix/sysv/linux/kernel-features.h
40902         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40903         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40904         kernel-features.h.
40905         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40906         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40907         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40908         kernel-features.h.
40909         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40910         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40912 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40914         * configure.in: Define the default includes to being none.
40915         * configure: Regenerated.
40917 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40919         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40920         * sysdeps/x86_64/setjmp.S: Likewise.
40921         * sysdeps/i386/bsd-setjmp.S: Likewise.
40922         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40923         * sysdeps/i386/setjmp.S: Likewise.
40924         * sysdeps/i386/__longjmp.S: Likewise.
40925         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40926         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40928         * include/stap-probe.h: New file.
40929         * configure.in: Handle --enable-systemtap.
40930         * configure: Regenerated.
40931         * config.h.in (USE_STAP_PROBE): New #undef.
40932         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40933         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40934         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40936 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40938         [BZ #13717]
40939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40940         to 2.4.0 where earlier.
40941         * sysdeps/unix/sysv/linux/configure: Regenerated.
40942         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40943         <kernel-features.h>.
40944         [__ASSUME_32BITUIDS]: Make code unconditional.
40945         [!__ASSUME_32BITUIDS]: Remove conditional code.
40946         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40947         <kernel-features.h>.
40948         [__ASSUME_32BITUIDS]: Make code unconditional.
40949         [!__ASSUME_32BITUIDS]: Remove conditional code.
40950         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40951         [__ASSUME_32BITUIDS]: Make code unconditional.
40952         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40953         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40954         <kernel-features.h>.
40955         [__ASSUME_32BITUIDS]: Make code unconditional.
40956         [!__ASSUME_32BITUIDS]: Remove conditional code.
40957         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40958         <kernel-features.h>.
40959         [__ASSUME_32BITUIDS]: Make code unconditional.
40960         [!__ASSUME_32BITUIDS]: Remove conditional code.
40961         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40962         <kernel-features.h>.
40963         [__ASSUME_32BITUIDS]: Make code unconditional.
40964         [!__ASSUME_32BITUIDS]: Remove conditional code.
40965         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40966         <kernel-features.h>.
40967         [__ASSUME_32BITUIDS]: Make code unconditional.
40968         [!__ASSUME_32BITUIDS]: Remove conditional code.
40969         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40970         <kernel-features.h>.
40971         [__ASSUME_32BITUIDS]: Make code unconditional.
40972         [!__ASSUME_32BITUIDS]: Remove conditional code.
40973         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40974         <kernel-features.h>.
40975         [__ASSUME_32BITUIDS]: Make code unconditional.
40976         [!__ASSUME_32BITUIDS]: Remove conditional code.
40977         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40978         <kernel-features.h>.
40979         [__ASSUME_32BITUIDS]: Make code unconditional.
40980         [!__ASSUME_32BITUIDS]: Remove conditional code.
40981         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40982         <kernel-features.h>.
40983         [__ASSUME_32BITUIDS]: Make code unconditional.
40984         [!__ASSUME_32BITUIDS]: Remove conditional code.
40985         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40986         <kernel-features.h>.
40987         [__ASSUME_32BITUIDS]: Make code unconditional.
40988         [!__ASSUME_32BITUIDS]: Remove conditional code.
40989         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40990         <kernel-features.h>.
40991         [__ASSUME_32BITUIDS]: Make code unconditional.
40992         [!__ASSUME_32BITUIDS]: Remove conditional code.
40993         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40994         <kernel-features.h>.
40995         [__NR_setresgid] (__setresgid): Do not declare.
40996         [__ASSUME_32BITUIDS]: Make code unconditional.
40997         [!__ASSUME_32BITUIDS]: Remove conditional code.
40998         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40999         <kernel-features.h>.
41000         [__NR_setresuid] (__setresuid): Do not declare.
41001         [__ASSUME_32BITUIDS]: Make code unconditional.
41002         [!__ASSUME_32BITUIDS]: Remove conditional code.
41003         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41004         <kernel-features.h>.
41005         [__ASSUME_32BITUIDS]: Make code unconditional.
41006         [!__ASSUME_32BITUIDS]: Remove conditional code.
41007         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41008         <kernel-features.h>.
41009         [__ASSUME_32BITUIDS]: Make code unconditional.
41010         [!__ASSUME_32BITUIDS]: Remove conditional code.
41011         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41012         <kernel-features.h>.
41013         [__ASSUME_32BITUIDS]: Make code unconditional.
41014         [!__ASSUME_32BITUIDS]: Remove conditional code.
41015         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41016         <kernel-features.h>.
41017         [__ASSUME_32BITUIDS]: Make code unconditional.
41018         [!__ASSUME_32BITUIDS]: Remove conditional code.
41019         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41020         <kernel-features.h>.
41021         [__ASSUME_32BITUIDS]: Make code unconditional.
41022         [!__ASSUME_32BITUIDS]: Remove conditional code.
41023         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41024         <kernel-features.h>.
41025         [__ASSUME_32BITUIDS]: Make code unconditional.
41026         [!__ASSUME_32BITUIDS]: Remove conditional code.
41027         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41028         <kernel-features.h>.
41029         [__ASSUME_32BITUIDS]: Make code unconditional.
41030         [!__ASSUME_32BITUIDS]: Remove conditional code.
41031         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41032         <kernel-features.h>.
41033         [__ASSUME_32BITUIDS]: Make code unconditional.
41034         [!__ASSUME_32BITUIDS]: Remove conditional code.
41035         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41036         <kernel-features.h>.
41037         [__ASSUME_32BITUIDS]: Make code unconditional.
41038         [!__ASSUME_32BITUIDS]: Remove conditional code.
41039         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41040         <kernel-features.h>.
41041         [__ASSUME_32BITUIDS]: Make code unconditional.
41042         [!__ASSUME_32BITUIDS]: Remove conditional code.
41043         * sysdeps/unix/sysv/linux/kernel-features.h
41044         (__ASSUME_SETRESUID_SYSCALL): Remove.
41045         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41046         (__ASSUME_32BITUIDS): Likewise.
41047         (__ASSUME_LDT_WORKS): Likewise.
41048         (__ASSUME_O_DIRECTORY): Likewise.
41049         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41050         architecture but not kernel version.
41051         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41052         (__ASSUME_MMAP2_SYSCALL): Likewise.
41053         (__ASSUME_STAT64_SYSCALL): Likewise.
41054         (__ASSUME_IPC64): Likewise.
41055         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41056         <kernel-features.h>.
41057         [__ASSUME_32BITUIDS]: Make code unconditional.
41058         [!__ASSUME_32BITUIDS]: Remove conditional code.
41059         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41060         <kernel-features.h>.
41061         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41062         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41063         132096]: Remove conditional code.
41064         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41065         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41066         <kernel-features.h>.
41067         [__ASSUME_32BITUIDS]: Make code unconditional.
41068         [!__ASSUME_32BITUIDS]: Remove conditional code.
41069         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41070         <kernel-features.h>.
41071         [__ASSUME_32BITUIDS]: Make code unconditional.
41072         [!__ASSUME_32BITUIDS]: Remove conditional code.
41073         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41074         <kernel-features.h>.
41075         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41076         unconditional.
41077         (__setresgid): Do not declare.
41078         [__ASSUME_32BITUIDS]: Make code unconditional.
41079         [!__ASSUME_32BITUIDS]: Remove conditional code.
41080         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41081         <kernel-features.h>.
41082         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41083         unconditional.
41084         (__setresuid): Do not declare.
41085         [__ASSUME_32BITUIDS]: Make code unconditional.
41086         [!__ASSUME_32BITUIDS]: Remove conditional code.
41087         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41088         <kernel-features.h>.
41089         [__ASSUME_32BITUIDS]: Make code unconditional.
41090         [!__ASSUME_32BITUIDS]: Remove conditional code.
41091         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41092         <kernel-features.h>.
41093         [__ASSUME_32BITUIDS]: Make code unconditional.
41094         [!__ASSUME_32BITUIDS]: Remove conditional code.
41096 2012-05-25  Richard Henderson  <rth@twiddle.net>
41098         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41099         dl_hwcap to ifunc resolver.
41100         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41101         elf_ifunc_invoke.
41102         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41103         dl_hwcap to ifunc resolver.
41104         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41106 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41108         [BZ #14153]
41109         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41110         for |x| <= 2**-26, not 2**-57.
41111         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41112         exception.
41114 2012-05-24  Jeff Law  <law@redhat.com>
41116         * stdio-common/Makefile (tests): Add bug25.
41117         * stdio-common/bug25.c: New test.
41119 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41121         [BZ #13576]
41122         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41123         multiple of MALLOC_ALIGNMENT in size.
41124         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41126 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41128         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41129         Require >= 256.
41130         (FILENAME_MAX): Use macro-int-constant.
41131         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41132         (_IOFBF): Use macro-int-constant.
41133         (_IOLBF): Likewise.
41134         (_IONBF): Likewise.
41135         (SEEK_CUR): Likewise.
41136         (SEEK_END): Likewise.
41137         (SEEK_SET): Likewise.
41138         (TMP_MAX): Likewise.
41139         (EOF): Use macro-int-constant.  Require < 0.
41140         (NULL): Use macro-constant.  Require == 0.
41141         (stdin): Require type to be FILE *.
41142         (stdout): Likewise.
41143         (stderr): Likewise.
41144         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41145         macro-int-constant.
41146         (EXIT_SUCCESS): Likewise.
41147         (NULL): Use macro-constant.  Require == 0.
41148         (RAND_MAX): Use macro-int-constant.
41149         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41150         [C99-based standards] (strtof): Require function.
41151         [C99-based standards] (strtold): Likewise.
41152         [C99-based standards] (strtoll): Likewise.
41153         [C99-based standards] (strtoull): Likewise.
41154         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41155         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41156         [ISO || ISO99 || ISO11] (math.h): Likewise.
41157         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41158         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41159         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41161 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41163         [BZ #14132]
41164         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41165         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41166         * intl/dgettext.c (DCGETTEXT): Likewise.
41167         * intl/gettext.c (DCGETTEXT): Likewise.
41168         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41169         * posix/regex_internal.h (gettext): Likewise.
41170         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41171         Remove declaration.
41172         * include/argz.h (__argz_count_internal)
41173         (__argz_stringify_internal): Remove declaration.
41174         (__argz_count, __argz_stringify): Declare hidden proto.
41175         * intl/dcgettext.c: Remove use of INTDEF.
41176         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41177         * string/argz-stringify.c: Likewise.
41178         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41179         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41180         Declare hidden proto.
41181         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41182         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41183         Declare hidden proto.
41184         * include/stdio.h (__asprintf_internal): Don't declare.
41185         (__asprintf): Don't define as macro.  Declare hidden proto.
41186         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41187         (__fsetlocking): Declare hidden proto.
41188         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41189         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41190         hidden proto.
41191         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41192         (_IO_setlinebuf): Remove use of INTUSE.
41193         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41194         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41195         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41196         Remove declaration.
41197         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41198         (_IO_do_flush): Remove use of INTUSE.
41199         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41200         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41201         (_IO_adjust_column, _IO_least_wmarker)
41202         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41203         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41204         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41205         (_IO_default_doallocate, _IO_wdefault_doallocate)
41206         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41207         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41208         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41209         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41210         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41211         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41212         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41213         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41214         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41215         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41216         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41217         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41218         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41219         proto.
41220         (_IO_flush_all_internal, _IO_adjust_column_internal)
41221         (_IO_default_uflow_internal, _IO_default_finish_internal)
41222         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41223         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41224         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41225         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41226         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41227         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41228         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41229         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41230         (_IO_file_close_internal, _IO_file_close_it_internal)
41231         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41232         (_IO_file_init_internal, _IO_file_attach_internal)
41233         (_IO_file_fopen_internal, _IO_file_read_internal)
41234         (_IO_file_sync_internal, _IO_file_seek_internal)
41235         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41236         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41237         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41238         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41239         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41240         (_IO_list_all_internal, _IO_link_in_internal)
41241         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41242         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41243         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41244         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41245         (_IO_do_write_internal, _IO_padn_internal)
41246         (_IO_getline_info_internal, _IO_getline_internal)
41247         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41248         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41249         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41250         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41251         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41252         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41253         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41254         with libc_hidden_ver, remove use of INTUSE.
41255         * libio/genops.c: Likewise.
41256         * libio/freopen.c: Likewise.
41257         * libio/freopen64.c: Likewise.
41258         * libio/iofclose.c: Likewise.
41259         * libio/iofdopen.c: Likewise.
41260         * libio/iofflush.c: Likewise.
41261         * libio/iofflush_u.c: Likewise.
41262         * libio/iofgets.c: Likewise.
41263         * libio/iofgets_u.c: Likewise.
41264         * libio/iofopen.c: Likewise.
41265         * libio/iofopncook.c: Likewise.
41266         * libio/iofread.c: Likewise.
41267         * libio/iofread_u.c: Likewise.
41268         * libio/ioftell.c: Likewise.
41269         * libio/iofwrite.c: Likewise.
41270         * libio/iogetline.c: Likewise.
41271         * libio/iogets.c: Likewise.
41272         * libio/iogetwline.c: Likewise.
41273         * libio/iopadn.c: Likewise.
41274         * libio/iopopen.c: Likewise.
41275         * libio/ioseekoff.c: Likewise.
41276         * libio/ioseekpos.c: Likewise.
41277         * libio/iosetbuffer.c: Likewise.
41278         * libio/iosetvbuf.c: Likewise.
41279         * libio/ioungetc.c: Likewise.
41280         * libio/ioungetwc.c: Likewise.
41281         * libio/iovdprintf.c: Likewise.
41282         * libio/iovsprintf.c: Likewise.
41283         * libio/iovsscanf.c: Likewise.
41284         * libio/memstream.c: Likewise.
41285         * libio/obprintf.c: Likewise.
41286         * libio/oldfileops.c: Likewise.
41287         * libio/oldiofclose.c: Likewise.
41288         * libio/oldiofdopen.c: Likewise.
41289         * libio/oldiofopen.c: Likewise.
41290         * libio/oldiopopen.c: Likewise.
41291         * libio/oldstdfiles.c: Likewise.
41292         * libio/putc.c: Likewise.
41293         * libio/setbuf.c: Likewise.
41294         * libio/setlinebuf.c: Likewise.
41295         * libio/stdfiles.c: Likewise.
41296         * libio/strops.c: Likewise.
41297         * libio/vasprintf.c: Likewise.
41298         * libio/vscanf.c: Likewise.
41299         * libio/vsnprintf.c: Likewise.
41300         * libio/vswprintf.c: Likewise.
41301         * libio/wfiledoalloc.c: Likewise.
41302         * libio/wfileops.c: Likewise.
41303         * libio/wgenops.c: Likewise.
41304         * libio/wmemstream.c: Likewise.
41305         * libio/wstrops.c: Likewise.
41306         * libio/__fpurge.c: Likewise.
41307         * libio/__fsetlocking.c: Likewise.
41308         * assert/assert.c: Likewise.
41309         * debug/fgets_chk.c: Likewise.
41310         * debug/fgets_u_chk.c: Likewise.
41311         * debug/fread_chk.c: Likewise.
41312         * debug/fread_u_chk.c: Likewise.
41313         * debug/gets_chk.c: Likewise.
41314         * debug/obprintf_chk.c: Likewise.
41315         * debug/vasprintf_chk.c: Likewise.
41316         * debug/vdprintf_chk.c: Likewise.
41317         * debug/vsnprintf_chk.c: Likewise.
41318         * debug/vsprintf_chk.c: Likewise.
41319         * malloc/mtrace.c: Likewise.
41320         * misc/error.c: Likewise.
41321         * misc/syslog.c: Likewise.
41322         * stdio-common/asprintf.c: Likewise.
41323         * stdio-common/fxprintf.c: Likewise.
41324         * stdio-common/getw.c: Likewise.
41325         * stdio-common/isoc99_fscanf.c: Likewise.
41326         * stdio-common/isoc99_scanf.c: Likewise.
41327         * stdio-common/isoc99_vfscanf.c: Likewise.
41328         * stdio-common/isoc99_vscanf.c: Likewise.
41329         * stdio-common/isoc99_vsscanf.c: Likewise.
41330         * stdio-common/printf-prs.c: Likewise.
41331         * stdio-common/printf_fp.c: Likewise.
41332         * stdio-common/printf_fphex.c: Likewise.
41333         * stdio-common/printf_size.c: Likewise.
41334         * stdio-common/putw.c: Likewise.
41335         * stdio-common/scanf.c: Likewise.
41336         * stdio-common/sprintf.c: Likewise.
41337         * stdio-common/tmpfile.c: Likewise.
41338         * stdio-common/vfprintf.c: Likewise.
41339         * stdio-common/vfscanf.c: Likewise.
41340         * stdlib/strfmon_l.c: Likewise.
41341         * sunrpc/openchild.c: Likewise.
41342         * sunrpc/xdr_stdio.c: Likewise.
41343         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41344         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41346 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41348         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41350         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41351         in the third column, to generate for the shared library an IFUNC
41352         that uses _dl_vdso_vsym.
41353         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41354         * Makeconfig (object-suffixes-noshared): New variable.
41356         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41357         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41358         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41359         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41361         [BZ #14132]
41362         * include/sys/time.h (__gettimeofday): Remove macro.
41363         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41364         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41365         Remove INTDEF.
41366         (__gettimeofday): Add libc_hidden_def.
41367         (gettimeofday): Add libc_hidden_weak.
41368         * sysdeps/mach/gettimeofday.c: Likewise.
41369         * sysdeps/posix/gettimeofday.c: Likewise.
41370         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41371         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41372         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41373         (__gettimeofday_internal): Remove strong_alias.
41374         (__gettimeofday): Add libc_hidden_def.
41375         (gettimeofday): Add libc_hidden_weak.
41376         * sysdeps/unix/syscalls.list (gettimeofday):
41377         Remove __gettimeofday_internal alias.
41379 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41380             H.J. Lu  <hongjiu.lu@intel.com>
41382         [BZ #12495]
41383         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41384         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41385         (largebin_index_32_big): New.
41386         (largebin_index): Use it for 16-byte alignment.
41387         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41388         correction with front_misalign.
41390 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41393         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41394         Likewise.
41395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41396         Likewise.
41397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41398         Likewise.
41399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41400         Likewise.
41401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41402         Likewise.
41403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41404         Likewise.
41405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41406         Likewise.
41407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41408         Likewise.
41409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41410         Likewise.
41411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41412         Likewise.
41413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41414         Likewise.
41415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41416         Likewise.
41418         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41419         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41421 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41423         [BZ #10846]
41424         [BZ #14036]
41425         * math/libm-test.inc (exp_test): Add test from bug 14036.
41426         (pow_test): Add test from bug 10846.
41428         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41429         and other flags.
41430         (special_function): Do not include flags in test name.
41431         (parse_args): Likewise.
41432         * sysdeps/i386/fpu/libm-test-ulps: Update.
41433         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41434         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41435         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41438         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41439         exceptions.
41440         * math/libm-test.inc ("Philosophy"): Update comment about
41441         exception testing.
41442         (UNDERFLOW_EXCEPTION): New macro.
41443         (UNDERFLOW_EXCEPTION_OK): Likewise.
41444         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41445         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41446         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41447         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41448         (INVALID_EXCEPTION_OK): Update value.
41449         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41450         (OVERFLOW_EXCEPTION_OK): Likewise.
41451         (IGNORE_ZERO_INF_SIGN): Likewise.
41452         (test_exceptions): Handle underflow exceptions.
41453         (acos_test): Update for underflow exception expectations.
41454         (cexp_test): Likewise.
41455         (clog_test): Likewise.
41456         (clog10_test): Likewise.
41457         (csqrt_test): Likewise.
41458         (ctan_test): Likewise.
41459         (ctanh_test): Likewise.
41460         (exp_test): Likewise.
41461         (exp10_test): Likewise.
41462         (exp2_test): Likewise.
41463         (expm1_test): Likewise.
41464         (fma_test): Likewise.
41465         (j0_test): Likewise.
41466         (jn_test): Likewise.
41467         (nexttoward_test): Likewise.
41468         (pow_test): Likewise.
41469         (scalbn_test): Likewise.
41470         (scalbln_test): Likewise.
41471         (tan_test): Likewise.
41472         (y1_test): Likewise.
41473         * sysdeps/i386/fpu/libm-test-ulps: Update.
41474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41476 2012-05-23  David S. Miller  <davem@davemloft.net>
41478         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41479         (__libc_sigaction): Remove unused local variables.
41481 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41483         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41485 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41487         mktime: avoid signed integer overflow
41488         * time/mktime.c (__mktime_internal): Do not mishandle the case
41489         where diff == INT_MIN.
41491         mktime: simplify computation of average
41492         * time/mktime.c (ranged_convert): Use new time_t_avg function
41493         instead of rolling our own (probably-slower) code.
41495         mktime: do not assume signed right shift propagates sign bit
41496         * time/mktime.c (isdst_differ): New static function.
41497         (__mktime_internal): No need to normalize tm_isdst now.
41498         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41499         tm_isdst values.
41501         mktime: merge another wrapv change from gnulib
41502         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41503         from some compilers.
41505         mktime: remove incorrect attempt at unusual arithmetics
41506         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41507         The code didn't really work on such machines anyway.
41508         (TYPE_MINIMUM): Assume two's complement.
41509         (twos_complement_arithmetic): Verify that long_int and time_t
41510         are two's complement (or unsigned, in the latter case).
41512         mktime: check signed shifts on long_int and time_t, too
41513         * time/mktime.c (SHR): Check that shifts work as desired
41514         on the types long_int and time_t too, as SHR is used on
41515         such types.
41517         mktime: do not assume 'long' is wide enough
41518         * time/mktime.c (verify): Move decl up.
41519         (long_int): New type.
41520         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41521         to remove assumption in the code that 'long' is wide enough to
41522         store year values.  This assumption is not true on x32 and on
41523         some non-glibc platforms.
41525         mktime: merge wrapv change from gnulib
41526         * time/mktime.c (WRAPV): New macro.
41527         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41528         (guess_time_tm, __mktime_internal): Do not assume that signed
41529         integer overflow wraps around; modern compilers generate code
41530         where this assumption is no longer valid.
41532 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41534         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41535         Replace "jmp L(pseudo_end)" with "ret".
41536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41537         Likewise.
41539 2012-05-23  Andreas Jaeger  <aj@suse.de>
41541         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41542         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41544 2012-05-23  Andreas Jaeger  <aj@suse.de>
41545             Maximilian Attems  <max@stro.at>
41547         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41548         New macros.
41550 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41552         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41553         code so that pseudo_end is just ret and the stack pointer is
41554         correct also for static library in error case.
41556 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41558         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41559         move to syscalls.list.
41560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41565         * manual/install.texi (Running make install): Do not mention Linux
41566         kernel version for which pt_chown is not needed.
41567         (Linux): Do not mention problems with nscd with 2.0 kernels.
41568         * INSTALL: Regenerated.
41570 2012-05-23  Andreas Jaeger  <aj@suse.de>
41572         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41573         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41574         macro.
41575         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41576         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41577         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41578         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41579         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41580         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41581         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41582         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41583         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41584         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41585         * sysdeps/unix/sysv/linux/bits/in.h
41586         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41588 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41590         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41591         (PREPARE_VERSION): Just use assert instead, it will be elided
41592         under [NDEBUG] anyway.
41594 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41596         * sysdeps/unix/sysv/linux/Makefile: Include
41597         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41598         (sysdep_routines): Remove sysctl.
41599         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41600         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41601         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41602         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41603         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41605 2012-05-22  Andreas Jaeger  <aj@suse.de>
41607         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41608         that pseudo_end is just ret and the stack pointer is correct also
41609         for static library in error case.
41611 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41613         [BZ #14122]
41614         * nss/nsswitch.c (defconfig_entries): New variable.
41615         (__nss_database_lookup): Don't leak defconfig entries.
41616         (nss_parse_service_list): Don't leak on error paths.
41617         (free_database_entries): New function.
41618         (free_defconfig): New function.
41619         (free_mem): Move common code to free_database_entries.
41621 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41623         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41624         Add arch_prctl.
41625         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41627         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41628         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41630         New macro.
41631         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41632         (INTERNAL_SYSCALL_TYPES): Likewise.
41633         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41634         (LOAD_REGS_TYPES_[1-6]): Likewise.
41635         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41636         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41638 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41640         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41641         copysignl for GLIBC_2_0.
41642         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41643         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41644         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41645         logbl for GLIBC_2_0.
41646         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41647         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41649 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41651         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41652         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41654         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41655         Use "neg %eax".
41657         * time/mktime.c: Update copyright years.
41659 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41661         mktime: merge comment-quoting-style change from gnulib
41662         * time/mktime.c: Quote 'like this' in comments.
41663         The GNU coding standards suggest that we no longer quote `like this',
41664         as "`" and "'" are typically rendered asymmetrically nowadays.
41665         The typical gnulib style is to quote 'like this' when quoting
41666         code, and "like this" when quoting English.
41668         * time/mktime.c (compile-command): Add "-I.".
41670         mktime: merge mktime-internal.h change from gnulib
41671         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41673         mktime: merge time_r change from gnulib
41674         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41676         mktime: merge DEBUG change from gnulib
41677         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41678         case system <time.h> has a #define.
41680         mktime: merge <sys/types.h> change from gnulib
41681         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41682         since <time.t> is now guaranteed to define time_t.
41684         mktime: merge HAVE_CONFIG_H change from gnulib
41685         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41687 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41689         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41690         Use "neg %eax".
41692         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41693         __rlim_t cast.
41694         (struct rusage): Use anonymous union to pad each field to
41695         __syscall_slong_t.
41697 2012-05-21  David S. Miller  <davem@davemloft.net>
41699         * Makefules (o-iterator): Remove .s cases.
41700         (compile-command.s): Delete.
41701         (COMPILE.s): Delete.
41702         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41704 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41706         * configure.in (libc_cv_predef_stack_protector): Only consider
41707         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41708         * configure: Regenerated.
41710 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41712         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41713         New macro.  Use R*LP on int and pointer.
41714         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41715         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41716         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41717         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41719         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41720         [__WORDSIZE_TIME64_COMPAT32] instead of
41721         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41722         (struct utmp): Likewise.
41723         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41724         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41725         Renamed to ...
41726         (__WORDSIZE_TIME64_COMPAT32): This.
41727         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41728         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41729         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41730         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41731         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41732         (__WORDSIZE_TIME64_COMPAT32): New macro.
41734 2012-05-21  Andreas Jaeger  <aj@suse.de>
41736         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41737         only if [SHARED]. Add prototype for __wcschr_ia32.
41739 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41741         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41742         of %rbp unmolested in the jmp_buf while mangling the low bits.
41743         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41744         unmolested high bits of %rbp while demangling the low bits.
41745         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41747 2012-05-21  Andreas Jaeger  <aj@suse.de>
41749         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41750         * sunrpc/svc_simple.c: Use it for registerrpc.
41751         * sunrpc/xcrypt.c: Use it for passwd2des.
41753         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41755 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41757         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41758         Don't define if [__SYSCALL_WORDSIZE != 32].
41759         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41760         New macro.
41762 2012-05-21  Bruno Haible  <bruno@clisp.org>
41763             Andreas Jaeger  <aj@suse.de>
41765         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41766         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41767         inptr and inend for must_buffer_ch.
41768         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41769         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41770         * stdio-common/Makefile (tests): Remove bug15.
41771         (bug15-ENV): Remove macro.
41772         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41773         anymore.
41775 2012-05-19  Andreas Jaeger  <aj@suse.de>
41776             Roland McGrath  <roland@hack.frob.com>
41778         * manual/contrib.texi: Completely rewritten. It contains now an
41779         alphabetical list of contributors and their contributions.
41781 2012-05-21  Richard Henderson  <rth@twiddle.net>
41783         * misc/getauxval.c (__getauxval): Use unsigned long int.
41784         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41785         (getauxval): Use unsigned long int.
41787 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41789         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41791 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41793         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41794         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41795         __alignof__ (long double).
41797 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41801 2012-05-20  Richard Henderson  <rth@twiddle.net>
41803         * misc/getauxval.c: New file.
41804         * misc/sys/auxv.h: New file.
41805         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41806         (routines): Add getauxval.
41807         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41808         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41809         * elf/dl-sysdep.c (_dl_auxv): Remove.
41810         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41811         * elf/dl-support.c (_dl_auxv): New variable.
41812         (_dl_aux_init): Initialize it.
41813         * manual/startup.texi (Auxiliary Vector): New node.
41814         * sysdeps/generic/bits/hwcap.h: New file.
41815         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41816         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41817         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41818         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41819         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41820         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41822         Update.
41823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41826         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41832 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41836 2012-05-19  David S. Miller  <davem@davemloft.net>
41838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41840 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41842         [BZ #14123]
41843         * math/s_ccosh.c: Include <float.h>
41844         (__ccosh): Avoid internal overflow calculating sinh and cosh
41845         values before multiplying by sin and cos values.
41846         * math/s_ccoshf.c: Likewise.
41847         * math/s_ccoshl.c: Likewise.
41848         * math/s_csin.c: Likewise.
41849         * math/s_csinf.c: Likewise.
41850         * math/s_csinl.c: Likewise.
41851         * math/s_csinh.c: Likewise.
41852         * math/s_csinhf.c: Likewise.
41853         * math/s_csinhl.c: Likewise.
41854         * math/libm-test.inc (ccos_test): Add more tests.
41855         (ccosh_test): Likewise.
41856         (csin_test): Likewise.
41857         (csinh_test): Likewise.
41858         * sysdeps/i386/fpu/libm-test-ulps: Update.
41859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41861 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41863         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41864         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41866         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41868 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41870         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41871         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41872         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41873         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41874         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41875         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41876         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41877         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41878         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41879         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41880         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41881         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41882         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41883         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41884         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41885         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41886         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41887         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41888         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41889         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41890         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41891         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41892         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41893         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41894         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41895         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41896         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41897         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41898         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41899         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41900         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41902 2012-05-18  Andreas Jaeger  <aj@suse.de>
41904         * csu/.gitignore: Delete.
41906 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41908         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41909         (timex): Use __syscall_slong_t.
41911 2012-05-18  Andreas Jaeger  <aj@suse.de>
41912             Carlos O'Donell  <carlos_odonell@mentor.com>
41914         * manual/install.texi (Configuring and compiling): Update
41915         description about files modified in the source directory.
41916         * INSTALL: Regenerated.
41918 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41920         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41921         value.  Use "or" to set return value to -1.
41922         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41923         negate return value.
41925 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41927         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41928         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41929         failure if the compiler has Graphite support disabled.
41930         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41931         Likewise.
41932         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41933         (CFLAGS-memmove.c): Likewise.
41934         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41935         Likewise.
41937 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41939         * sysdeps/x86_64/x32/_itoa.h: New file.
41941         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41942         getdents system call only if kernel and user dirents have the
41943         same d_ino and d_off.
41945         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41946         LLONG_MAX != LONG_MAX.
41947         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41948         (_fitoa_word): Likewise.
41950         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41951         years.
41952         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41953         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41954         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41956         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41957         include <bits/wordsize.h>.  Check __x86_64__ instead of
41958         __WORDSIZE.
41959         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41960         if __x86_64__ is defined.  Use anonymous union on fpstate.
41962         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41963         anonymous union.
41965 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41967         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41968         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41969         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41970         Refer to _rtld_local_ro instead of _rtld_global_ro.
41971         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41972         Likewise.
41973         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41974         Likewise.
41975         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41976         Likewise.
41977         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41978         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41979         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41981         * sysdeps/powerpc/powerpc32/dl-machine.c
41982         (__elf_machine_runtime_setup) [PROF]: Don't reference
41983         _dl_prof_resolve.
41985 2012-05-18  Andreas Jaeger  <aj@suse.de>
41987         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41988         function only available for GCCs before 3.4 since GCC 3.4
41989         introduced a builtin.
41990         (lrint): Likewise.
41991         (llrintf): Likewise.
41992         (llrint): Likewise.
41993         (fmaxf): Likewise.
41994         (fmax): Likewise.
41995         (fminf): Likewise.
41996         (fmin): Likewise.
41997         (rint): Likewise.
41998         (rintf): Likewise.
41999         (nearbyint): Likewise.
42000         (nearbyintf): Likewise.
42001         (ceil): Likewise.
42002         (ceilf): Likewise.
42003         (floor): Likewise.
42004         (floorf): Likewise.
42006 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42008         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42009         on both fields and cast pointer to __syscall_ulong_t.
42011         * bits/types.h (__fsword_t): New type.
42012         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42013         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42014         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42015         (__FSWORD_T_TYPE): Likewise.
42016         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42017         (__FSWORD_T_TYPE): Likewise.
42018         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42019         (__FSWORD_T_TYPE): Likewise.
42020         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42021         (__FSWORD_T_TYPE): Likewise.
42022         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42023         __SWORD_TYPE with __fsword_t.
42024         (statfs64): Likewise.
42026 2012-05-17  David S. Miller  <davem@davemloft.net>
42028         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42030 2012-05-17  Andreas Jaeger  <aj@suse.de>
42032         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42033         warning.
42035 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42037         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42039 2012-05-17  Andreas Jaeger  <aj@suse.de>
42041         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42042         when it is used.
42044 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42046         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42048 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42050         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42051         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42053 2012-05-17  Andreas Jaeger  <aj@suse.de>
42054             Carlos O'Donell  <carlos_odonell@mentor.com>
42056         [BZ #14059]
42057         * sysdeps/x86_64/multiarch/init-arch.h
42058         (bit_YMM_Usable): Rename to...
42059         (bit_AVX_Usable): ... this.
42060         (bit_FMA4_Usable): New macro.
42061         (bit_XMM_state): New macro.
42062         (bit_YMM_state): New macro.
42063         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42064         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42065         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42066         (CPUID_OSXSAVE): New macro.
42067         (CPUID_AVX): New macro.
42068         (CPUID_FMA4): New macro.
42069         (index_YMM_Usable): Rename to...
42070         (index_AVX_Usable): ... this.
42071         (HAS_AVX): Use HAS_ARCH_FEATURE.
42072         (HAS_FMA4): Likewise.
42073         (HAS_YMM_USABLE): Remove.
42074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42075         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42076         are present.
42077         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42078         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42079         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42080         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42081         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42083 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42085         * math/libm-test.c: Support platforms without multiple rounding modes.
42086         * math/bug-nextafter.c: Support platforms without FP exceptions.
42087         * math/bug-nexttoward.c: Likewise.
42088         * math/test-fenv.c: Likewise.
42089         * math/test-misc.c: Likewise.
42090         * stdlib/bug-getcontext.c: Likewise.
42092 2012-05-17  Andreas Jaeger  <aj@suse.de>
42094         * manual/examples/search.c (critter_cmp): Change signature to
42095         avoid warnings.
42096         * manual/string.texi (Collation Functions): Likewise.
42098 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42100         * bits/types.h: Fold copyright years.
42101         * bits/typesizes.h: Likewise.
42102         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42103         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42104         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42105         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42106         * time/time.h: Likewise.
42108 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42110         [BZ #208]
42111         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42112         in instead of returning them.  Return void.
42113         (__libc_mallinfo): Accumulate over all arenas.
42114         (__malloc_stats): Adjust for change in int_mallinfo interface.
42116 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42118         [BZ #10375]
42119         * configure.in (NM): Add AC_CHECK_TOOL for it.
42120         (libc_extra_cflags): New substituted variable.
42121         Check for -fstack-protector being used implicitly.
42122         * configure: Regenerated.
42123         * config.make.in (config-extra-cflags): New variable,
42124         gets @libc_extra_cflags@.
42125         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42127         [BZ #10375]
42128         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42129         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42130         * configure: Regenerated.
42131         * config.make.in (CPPUNDEFS): New substituted variable.
42132         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42133         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42134         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42136 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42138         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42139         (mq_attr): Use __syscall_slong_t.
42141 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42143         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42144         Check __x86_64__ instead of __WORDSIZE.
42145         (_STAT_VER_LINUX): Likewise.
42146         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42147         __syscall_ulong_t and __syscall_slong_t.
42148         (stat64): Likewise.
42150 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42152         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42154 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42156         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42158 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42160         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42161         __syscall_ulong_t.
42163         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42164         include <bits/wordsize.h>.  Check __x86_64__ instead of
42165         __WORDSIZE.
42166         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42167         defined.
42168         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42170         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42171         include <bits/wordsize.h>.  Check __x86_64__ instead of
42172         __WORDSIZE.
42173         (user_regs_struct): Use "__extension__ unsigned long long"
42174         instead of "unsigned long" if __x86_64__ is defined.
42175         (user): Likewise.  Pad after pointer field if __ILP32__ is
42176         defined.
42178 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42180         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42181         versions 5 to 9.
42182         * configure: Regenerated.
42183         * manual/install.texi (texinfo): Increase version requirement to
42184         4.5 or later.
42185         * INSTALL: Regenerated.
42187         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42189 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42191         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42193         * sysdeps/x86_64/x32/ffs.c: New file.
42195         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42196         __syscall_ulong_t.
42197         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42198         defined.  Use __syscall_ulong_t.
42199         (shminfo): Use __syscall_ulong_t.
42200         (shm_info): Likewise.
42202         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42203         __syscall_ulong_t.
42205         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42206         <bits/wordsize.h>.
42207         (msgqnum_t): Use __syscall_ulong_t.
42208         (msglen_t): Likewise.
42209         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42210         __syscall_ulong_t.
42212         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42213         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42215         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42217         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42218         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42220         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42221         __syscall_slong_t.
42223         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42224         include <bits/wordsize.h>.  Check __x86_64__ instead of
42225         __WORDSIZE.
42227         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42228         "unsigned long long int" if __x86_64__ is defined.
42229         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42231         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42232         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42233         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42235         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42236         <stdint.h>.
42237         (GET_PC): Cast to uintptr_t first.
42238         (GET_FRAME): Likewise.
42239         (GET_STACK): Likewise.
42241         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42242         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42243         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42244         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42245         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42246         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42247         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42248         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42249         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42250         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42251         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42252         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42253         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42254         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42255         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42256         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42257         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42258         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42259         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42260         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42261         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42262         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42263         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42264         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42265         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42266         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42267         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42268         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42269         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42271 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42273         * Makerules (+depfiles): Also collect depfiles from .oS in
42274         $(extra-objs).
42275         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42276         .oS, $(libnldbl-routines)).
42278         * Makerules (native-compile-mkdep-flags): Define.
42279         * sunrpc/Makefile (extra-objs): Add $(addprefix
42280         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42281         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42282         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42283         calling $(make-target-directory).
42285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42287         * bits/types.h (__snseconds_t): Removed.
42288         * time/time.h (struct timespec): Replace __snseconds_t with
42289         __syscall_slong_t.
42290         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42291         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42292         Likewise.
42293         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42294         (__SNSECONDS_T_TYPE): Likewise.
42295         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42296         (__SNSECONDS_T_TYPE): Likewise.
42297         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42298         (__SNSECONDS_T_TYPE): Likewise.
42300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42302         * sysdeps/mach/hurd/bits/typesizes.h
42303         (__SYSCALL_SLONG_TYPE): New macro.
42304         (__SYSCALL_ULONG_TYPE): Likewise.
42306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42308         * bits/types.h (__syscall_slong_t): New type.
42309         (__syscall_ulong_t): Likewise.
42311         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42312         (__SYSCALL_ULONG_TYPE): Likewise.
42313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42314         (__SYSCALL_SLONG_TYPE): Likewise.
42315         (__SYSCALL_ULONG_TYPE): Likewise.
42316         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42317         (__SYSCALL_SLONG_TYPE): Likewise.
42318         (__SYSCALL_ULONG_TYPE): Likewise.
42319         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42320         (__SYSCALL_SLONG_TYPE): Likewise.
42321         (__SYSCALL_ULONG_TYPE): Likewise.
42323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42325         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42326         Add sigaltstack-offsets.sym.
42327         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42328         <sigaltstack-offsets.h>.
42329         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42330         longjmp_msg pointer.
42331         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42332         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42333         signal stack.
42334         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42336 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42338         * elf/stackguard-macros.h: Remove file.
42339         * sysdeps/generic/stackguard-macros.h: New file.
42340         * sysdeps/i386/stackguard-macros.h: Likewise.
42341         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42342         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42343         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42344         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42345         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42346         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42347         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42348         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42349         <elf/stackguard-macros.h>.
42351         [BZ #14109]
42352         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42353         __aligned__ in attribute.
42354         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42355         (gregset_t): Likewise.
42357 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42359         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42360         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42361         * sysdeps/x86_64/x32/Implies-after: New file.
42363 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42365         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42366         and access return value for _dl_profile_fixup.  Use R10_LP to
42367         load frame size.
42369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42371         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42375         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42376         * sysdeps/x86_64/x32/sysdep.h: New file.
42378 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42380         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42381         * sysdeps/x86_64/setjmp.S: Likewise.
42383 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42385         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42386         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42387         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42388         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42389         remove unused global constant.
42391 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42393         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42394         include of <not-cancel.h>.
42396 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42398         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42400 2012-05-15  Jeff Law  <law@redhat.com>
42401             Andreas Jaeger  <aj@suse.de>
42403         [BZ #13594]
42404         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42405         out from...
42406         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42407         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42408         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42409         code changing __hst_map_handle.map.
42411 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42413         * configure.in (sysnames): Look for Implies-before and Implies-after
42414         files.
42415         * configure: Regenerated.
42417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42419         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42420         8-byte data alignment with LP_SIZE alignment.
42422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42424         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42425         into R10_LP.
42427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42429         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42433         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42434         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42435         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42436         Likewise.
42437         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42441         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42442         (stackinfo_sub_sp): Likewise.
42444 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42446         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42447         RAX_LP.
42449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42451         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42452         into R*_LP.
42454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42456         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42457         sizes into R*_LP.
42459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42461         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42465         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42466         into R11_LP and load __x86_64_shared_cache_size_half into
42467         R8_LP.
42469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42471         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42472         R8_LP.
42474 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42476         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42477         logb for POWER7.
42478         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42479         logbf for POWER7.
42480         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42481         logbl for POWER7.
42482         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42483         powerpc32/power7/fpu/s_logb.c via #include.
42484         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42485         powerpc32/power7/fpu/s_logbf.c via #include.
42486         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42487         powerpc32/power7/fpu/s_logbl.c via #include.
42489 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42491         * README.libm: Remove file.
42493 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42495         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42496         count for x32.  Use R*_LP and omit operand-size suffix.
42498 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42500         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42501         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42502         * sysdeps/x86_64/x32/shlib-versions: New file.
42504 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42506         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42507         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42508         Use _dl_fatal_printf instead.
42510 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42512         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42513         set if not set by the user.  Do not allow for being unset.
42514         * sysdeps/unix/sysv/linux/configure: Regenerated.
42516 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42518         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42519         the `q' suffix from lea and replace .quad with ASM_ADDR.
42521 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42523         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42524         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42525         instead of $17.
42526         (PTR_DEMANGLE): Likewise.
42528 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42530         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42531         (LP_OP): Likewise.
42532         (ASM_ADDR): Likewise.
42533         (RAX_LP): Likewise.
42534         (RBP_LP): Likewise.
42535         (RBX_LP): Likewise.
42536         (RCX_LP): Likewise.
42537         (RDI_LP): Likewise.
42538         (RSI_LP): Likewise.
42539         (RSP_LP): Likewise.
42540         (R8_LP): Likewise.
42541         (R9_LP): Likewise.
42542         (R10_LP): Likewise.
42543         (R10_LP): Likewise.
42544         (R11_LP): Likewise.
42545         (R12_LP): Likewise.
42546         (R13_LP): Likewise.
42547         (R14_LP): Likewise.
42548         (R15_LP): Likewise.
42550 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42552         * sysdeps/x86_64/x32/dl-machine.h: New file.
42554 2012-05-14  Andreas Jaeger  <aj@suse.de>
42556         * manual/Makefile (subdir): Remove export of subdir.
42557         (all): Remove target.
42558         (.PHONY): Remove all from list.
42559         (mkinstalldirs): Remove.
42560         (.PHONY): Remove installdirs from list.
42561         ($(inst_infodir)/libc.info): Use make-target-directory.
42562         (installdirs): Remove.
42563         (subdir_%): Remove.
42564         (glibc-targets): Remove.
42565         (lib): Remove.
42566         (stubs): Remove.
42567         ($(objpfx)stubs ../po/manual.pot): Remove.
42568         ($(objpfx)stamp%): Remove.
42569         (make-target-directory): Remove.
42570         (subdir_install): Remove.
42571         (routines): Remove.
42572         (aux): Remove.
42573         (sources): Remove.
42574         (objects): Remove.
42575         (headers): Remove.
42577         [BZ #13750]
42578         * manual/.gitignore: Remove, it's not needed anymore.
42579         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42580         all files in it.
42581         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42582         directory.
42583         (texis): Renamed to $(objpfx)texis.
42584         (texis-path): New, contains path to generated files.
42585         (chapters.%): Use texis-path for complete path, add extra argument
42586         libc-texinfo.sh.
42587         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42588         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42589         (summary,texi, stamp-summary): Use complete path of
42590         files. Generate files in build dir.
42591         (dir-add.texi): Build in build dir.
42592         (libm-err.texi,stamp-libm-err): Likewise.
42593         (version.texi, stamp-version): Likewise.
42594         (.%c.texi): Likewise.
42595         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42596         (mostlyclean): Remove target.
42597         (realclean): Remove target.
42598         (generated): Add new variable with contents from mostlyclean and
42599         realclean, remove entries duplicated in common-mostlyclean, add
42600         stamp-libm-err and stamp-version.
42601         (generated-dirs): Add libc directory.
42602         ($(inst_infodir)/libc.info): Install files from build dir.
42604         * manual/install.texi (Configuring and compiling): Adjust since
42605         the info files are not part of the tar ball anymore.
42607 2012-05-14  Andreas Jaeger  <aj@suse.de>
42609         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42610         variable.
42612 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42614         [BZ #13717]
42615         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42616         to 2.2.0 where earlier.
42617         * sysdeps/unix/sysv/linux/configure: Regenerated.
42618         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42619         Remove conditional code.
42620         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42621         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42622         Remove conditional code.
42623         [!__NR_lchown]: Likewise.
42624         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42625         [__NR_lchown]: Likewise.
42626         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42627         comment referencing __ASSUME_LCHOWN_SYSCALL.
42628         * sysdeps/unix/sysv/linux/i386/sigaction.c
42629         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42630         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42631         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42632         Remove conditional code.
42633         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42634         (__protocol_available): Remove #if 0 code.
42635         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42636         conditional code.
42637         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42638         * sysdeps/unix/sysv/linux/kernel-features.h
42639         (__ASSUME_GETCWD_SYSCALL): Don't define.
42640         (__ASSUME_REALTIME_SIGNALS): Likewise.
42641         (__ASSUME_PREAD_SYSCALL): Likewise.
42642         (__ASSUME_PWRITE_SYSCALL): Likewise.
42643         (__ASSUME_POLL_SYSCALL): Likewise.
42644         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42645         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42646         non-SPARC.
42647         (__ASSUME_SIOCGIFNAME): Don't define.
42648         (__ASSUME_MSG_NOSIGNAL): Likewise.
42649         (__ASSUME_SENDFILE): Define unconditionally.
42650         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42651         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42652         conditional code.
42653         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42654         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42655         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42656         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42657         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42658         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42659         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42661         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42662         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42664         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42665         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42667         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42668         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42670         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42673         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42674         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42676         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42679         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42680         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42684         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42685         Remove conditional code.
42686         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42687         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42688         Remove conditional code.
42689         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42690         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42691         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42692         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42693         Remove conditional code.
42694         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42695         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42696         Remove conditional code.
42697         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42698         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42699         Remove conditional code.
42700         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42701         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42702         Remove conditional code.
42703         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42704         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42705         Remove conditional code.
42706         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42707         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42708         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42710         * sysdeps/unix/sysv/linux/sigaction.c
42711         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42712         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42713         * sysdeps/unix/sysv/linux/sigpending.c
42714         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42715         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42716         * sysdeps/unix/sysv/linux/sigprocmask.c
42717         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42718         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42719         * sysdeps/unix/sysv/linux/sigsuspend.c
42720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42722         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42723         (__libc_missing_rt_sigs): Remove.
42724         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42725         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42726         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42727         Remove conditional code.
42728         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42729         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42730         return 1.
42731         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42732         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42733         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42734         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42736 2012-05-14  Andreas Jaeger  <aj@suse.de>
42738         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42739         it's not used in glibc.
42740         (__coshm1): Likewise.
42741         (__acosh1p): Likewise.
42742         (__sgn): Likewise.
42744         * manual/string.texi (Copying and Concatenation): Add missing
42745         variable in concat example.
42746         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42748 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42750         [BZ #14103]
42751         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42752         __builtin_clzl with __builtin_clzll.
42754 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42756         [BZ #14104]
42757         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42758         libc_freeres_ptr.
42760 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42762         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42763         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42764         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42765         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42767 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42769         * NEWS: Update ia64 info.
42771 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42773         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42774         used as bcopy.
42776 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42778         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42779         * sysdeps/unix/syscalls.list (dup3): Likewise.
42780         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42781         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42783 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42785         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42786         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42788 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42790         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42791         thread pointer.
42792         (TLS_IE): Use mov/add instead of movq/addq to load thread
42793         pointer.
42794         (TLS_GD_PREFIX): New.
42795         (TLS_GD): Use it.
42797 2012-05-11  David S. Miller  <davem@davemloft.net>
42799         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42800         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42801         (_FPU_SETCW): Likewise.
42803 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42805         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42806         is 32-byte aligned.
42808 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42810         [BZ #11837]
42811         * iconvdata/gb18030.c: Update tables.
42812         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42813         characters specially.
42814         (BODY for TO_LOOP): Add encoding of missing ranges.
42816 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42818         [BZ #13673]
42819         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42820         * sysdeps/mach/hurd/dup3.c: Likewise.
42821         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42822         * sysdeps/powerpc/memmove.c:: Likewise.
42824 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42826         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42827         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42829 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42831         * elf/elf.h (R_X86_64_RELATIVE64): New.
42832         (R_X86_64_NUM): Updated.
42833         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42834         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42835         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42836         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42837         tst-quad1pie tst-quad2pie
42838         (modules-names): Add tst-quadmod1 tst-quadmod2.
42839         ($(objpfx)tst-quad1): New dependency.
42840         ($(objpfx)tst-quad2): Likewise.
42841         ($(objpfx)tst-quad1pie): Likewise.
42842         ($(objpfx)tst-quad2pie): Likewise.
42843         * sysdeps/x86_64/tst-quad1.c: New file.
42844         * sysdeps/x86_64/tst-quad1pie.c: New file.
42845         * sysdeps/x86_64/tst-quad2.c: Likewise.
42846         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42847         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42848         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42849         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42850         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42852 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42854         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42855         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42856         * streams/stropts.h (t_scalar_t): Define type.
42858         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42859         (_PATH_PRESERVE): Set to "/var/lib".
42860         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42862         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42863         instead of int.
42865         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42866         if __dir_mkfile succeeded.
42868         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42869         checking for _hurd_dtablesize.  Unlock it right after having
42870         finished _hurd_dtable allocation.
42872 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42874         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42875         * sysdeps/mach/hurd/configure: Regenerated.
42876         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42877         special-casing to...
42878         * sysdeps/gnu/configure.in: ... this new file.
42879         * sysdeps/unix/sysv/linux/configure: Regenerated.
42880         * sysdeps/gnu/configure: New generated file.
42882         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42883         for Linux: use nsec instead of usec, as well as:
42884         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42885         members of type struct timespec.
42886         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42887         New macros.
42888         (struct stat64): Likewise.
42889         (_STATBUF_ST_NSEC): New macro.
42890         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42892         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42893         __strtoul_internal rather than strtoul.
42895 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42897         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42898         and reject them.
42900 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42902         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42903         which preserves existing values.
42904         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42906 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42908         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42909         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42910         greater than FD_SETSIZE.
42912 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42914         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42915         allocated, call __vm_protect to finish enabling the existing space, and
42916         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42917         allocate the remainder.
42919 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42921         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42922         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42924 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42926         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42927         sysdeps/mach/hurd/readlink.c.
42929         * posix/tst-sysconf.c (posix_options): Only use
42930         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42931         _POSIX_SYNCHRONIZED_IO when they are defined
42932         * sysdeps/mach/hurd/bits/posix_opt.h:
42933         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42934         (_XOPEN_REALTIME): Undefine macro.
42935         (_XOPEN_REALTIME_THREADS): Undefine macro.
42936         (_XOPEN_SHM): Undefine macro.
42937         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42938         macro to -1.
42939         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42940         macro to -1.
42941         (_POSIX_ASYNC_IO): Undefine macro.
42942         (_POSIX_PRIORITIZED_IO): Undefine macro.
42943         (_POSIX_SPIN_LOCKS): Define macro to -1.
42945         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42946         SA_NODEFER, SA_RESETHAND.
42947         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42948         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42949         F_DUPFD_CLOEXEC.
42951 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42953         * elf/Makefile (pldd-modules): Define unconditionally.
42955 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42957         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42959 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42961         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42962         Return ENOENT when name is empty.
42963         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42965 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42967         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42969         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42971 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42973         Fix mlock in all cases except non-readable pages.
42974         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42975         instead of VM_PROT_ALL as parameter to __vm_wire function.
42977         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42978         (__mkdir): When path is `/', just fail with EEXIST.
42979         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42981 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42983         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42984         <sys/uio.h> (for writev).
42985         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42986         and <sys/param.h> (for MIN).
42988 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42990         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42991         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42992         if interrupted.
42994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42996         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42997         Depend on against $(link-rpcuserlibs).
42999 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43001         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43002         (__libc_stack_end): Do not use attribute_relro.
43003         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43004         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43005         to libthread-provided value.
43006         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43007         attribute_relro.
43009 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43011         [BZ #3748]
43012         * bits/libc-lock.h (__libc_once_get): New macro.
43013         * sysdeps/mach/bits/libc-lock.h: Likewise.
43014         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43015         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43016         instead of using implementation details.
43018         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43019         * libio/freopen.c: Likewise.
43020         * libio/freopen64.c: Likewise.
43021         * misc/syslog.c: Likewise.
43022         * nscd/connections.c: Likewise.
43023         * nscd/netgroupcache.c: Likewise.
43024         * sysdeps/posix/getcwd.c: Likewise.
43026 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43028         * math/w_ilogbf.c: Add #include <limits.h>.
43030 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43032         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43033         path instead of returning without unlocking.
43035         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43036         immediate-write ioctls.
43037         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43041         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43042         __builtin_frame_address instead of making assumptions about the
43043         location of the return address relative to DATA.  Force early load of
43044         the return address.
43045         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43046         __builtin_frame_address.
43048         dup3 for GNU Hurd.
43049         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43050         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43051         implement dup3 and do some further code clean-ups.
43052         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43053         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43055 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43057         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43059         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43060         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43061         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43062         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43063         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43064         d->port.lock.
43066         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43067         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43068         when handler == SIG_ERR, not when handler != SIG_ERR.
43070 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43072         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43073         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43074         definitions.
43076         accept4 for GNU Hurd.
43077         * include/sys/socket.h (__libc_accept4): New prototype.
43078         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43079         to implement __libc_accept4.
43080         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43081         __libc_accept4.
43082         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43084         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43085         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43086         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43087         signal-defines.sym.
43089 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43091         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43095         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43096         assertion on O_CLOEXEC flag.
43097         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43098         * hurd/intern-fd.c: Likewise.
43099         * hurd/port2fd.c: Likewise.
43101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43103         [BZ #3906]
43104         * bits/in.h (IPV6_PKTINFO): Define new macro.
43105         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43107 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43109         [BZ #13954]
43110         [BZ #13955]
43111         [BZ #13956]
43112         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43113         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43114         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43115         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43116         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43117         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43118         * math/libm-test.inc (logb_test) : Additional logb tests.
43120 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43121             Andreas Jaeger  <aj@suse.de>
43123         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43124         * configure: Regenerated.
43125         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43126         * config.make.in (link-obsolete-rpc): New substituted variable.
43127         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43128         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43129         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43130         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43131         so that libc.a contains the symbols.
43132         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43133         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43134         * sunrpc/auth_none.c: Likewise.
43135         * sunrpc/auth_unix.c: Likewise.
43136         * sunrpc/authdes_prot.c: Likewise.
43137         * sunrpc/authuxprot.c: Likewise.
43138         * sunrpc/clnt_gen.c: Likewise.
43139         * sunrpc/clnt_perr.c: Likewise.
43140         * sunrpc/clnt_raw.c: Likewise.
43141         * sunrpc/clnt_simp.c: Likewise.
43142         * sunrpc/clnt_tcp.c: Likewise.
43143         * sunrpc/clnt_udp.c: Likewise.
43144         * sunrpc/clnt_unix.c: Likewise.
43145         * sunrpc/des_crypt.c: Likewise.
43146         * sunrpc/des_soft.c: Likewise.
43147         * sunrpc/get_myaddr.c: Likewise.
43148         * sunrpc/key_call.c: Likewise.
43149         * sunrpc/key_prot.c: Likewise.
43150         * sunrpc/netname.c: Likewise.
43151         * sunrpc/pm_getmaps.c: Likewise.
43152         * sunrpc/pm_getport.c: Likewise.
43153         * sunrpc/pmap_clnt.c: Likewise.
43154         * sunrpc/pmap_prot.c: Likewise.
43155         * sunrpc/pmap_prot2.c: Likewise.
43156         * sunrpc/pmap_rmt.c: Likewise.
43157         * sunrpc/publickey.c: Likewise.
43158         * sunrpc/rpc_cmsg.c: Likewise.
43159         * sunrpc/rpc_common.c: Likewise.
43160         * sunrpc/rpc_dtable.c: Likewise.
43161         * sunrpc/rpc_prot.c: Likewise.
43162         * sunrpc/rpc_thread.c: Likewise.
43163         * sunrpc/rtime.c: Likewise.
43164         * sunrpc/svc.c: Likewise.
43165         * sunrpc/svc_auth.c: Likewise.
43166         * sunrpc/svc_raw.c: Likewise.
43167         * sunrpc/svc_run.c: Likewise.
43168         * sunrpc/svc_tcp.c: Likewise.
43169         * sunrpc/svc_udp.c: Likewise.
43170         * sunrpc/svc_unix.c: Likewise.
43171         * sunrpc/svcauth_des.c: Likewise.
43172         * sunrpc/xcrypt.c: Likewise.
43173         * sunrpc/xdr.c: Likewise.
43174         * sunrpc/xdr_array.c: Likewise.
43175         * sunrpc/xdr_float.c: Likewise.
43176         * sunrpc/xdr_intXX_t.c: Likewise.
43177         * sunrpc/xdr_mem.c: Likewise.
43178         * sunrpc/xdr_rec.c: Likewise.
43179         * sunrpc/xdr_ref.c: Likewise.
43180         * sunrpc/xdr_sizeof.c: Likewise.
43181         * sunrpc/xdr_stdio.c: Likewise.
43183 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43185         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43186         change.  Update copyright years.
43188 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43190         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43192 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43193             Joseph Myers  <joseph@codesourcery.com>
43194             Paul Pluzhnikov  <ppluzhnikov@google.com>
43196         [BZ #14012]
43197         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43198         requiring rpcgen.
43199         [cross-compiling] (extra-libs): Likewise.
43200         [cross-compiling] (extra-libs-others): Likewise.
43201         [cross-compiling] (librpcsvc-routines): Likewise.
43202         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43203         [cross-compiling] (omit-deps): Likewise.
43204         (sunrpc-CPPFLAGS): New variable.
43205         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43206         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43207         (cross-rpcgen-objs): New variable.
43208         (extra-objs): Append $(cross-rpcgen-objs).
43209         ($(cross-rpcgen-objs)): New rule.
43210         ($(objpfx)cross-rpcgen): Likewise.
43211         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43212         comment.
43213         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43214         ($(objpfx)x%.stmp): Likewise.
43215         * sunrpc/proto.h [IS_IN_build] (_): Define.
43216         [IS_IN_build] (_libc_intl_domainname): Likewise.
43218 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43221         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43222         and R_X86_64_TPOFF64.
43224 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43226         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43227         sysdeps/unix/sysv/syscalls.list.
43228         (stime): Likewise.
43229         (utime): Likewise.
43230         * sysdeps/unix/sysv/syscalls.list: Remove file.
43232 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43234         [BZ #3440]
43235         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43236         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43237         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43238         (__LC_IDENTIFICATION): Make these macros useful in #if
43239         expressions, as required by C99.
43241 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43243         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43244         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43245         after this.
43247 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43249         * stdlib/longlong.h: Updated from GCC.
43251 2012-05-09  Andreas Jaeger  <aj@suse.de>
43253         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43254         default is first entry.
43255         (run_mode): Set type.
43256         (main): Remove informal message about syslog.
43257         (options): Fix typo.
43259         [BZ #14053]
43260         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43261         to asm.
43262         (lrint): Likewise.
43263         (llrintf): Likewise.
43264         (llrint): Likewise.
43265         (rint): Likewise.
43266         (rintf): Likewise.
43267         (nearbyint): Likewise.
43268         (nearbyintf): Likewise.
43270 2012-05-09  Andreas Jaeger  <aj@suse.de>
43271             Pedro Alves  <palves@redhat.com>
43273         * nscd/nscd.c (run_mode): Use enum.
43274         (main): Cleanup coding style issue.
43276 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43277             Andreas Jaeger  <aj@suse.de>
43279         * nscd/nscd.c (go_background): Replaced with...
43280         (run_mode): ... this.
43281         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43282         (options): Add -F --foreground.
43283         (main): Implement it.
43284         (parse_opt): Parse it.
43286 2012-05-09  Andreas Jaeger  <aj@suse.de>
43288         [BZ #14083]
43289         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43290         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43291         -Wconversion warning.
43292         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43293         Likewise.
43295 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43297         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43298         == 0.
43299         (LC_ALL): Use macro-int-constant.
43300         (LC_COLLATE): Likewise.
43301         (LC_CTYPE): Likewise.
43302         (LC_MESSAGES): Likewise.
43303         (LC_MONETARY): Likewise.
43304         (LC_NUMERIC): Likewise.
43305         (LC_TIME): Likewise.
43306         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43307         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43308         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43309         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43310         Specify type.
43311         [C99-based standards] (float_t): Expect type.
43312         [C99-based standards] (double_t): Expect type.
43313         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43314         type.
43315         [C99-based standards] (HUGE_VALL): Likewise.
43316         [C99-based standards] (INFINITY): Likewise.
43317         [C99-based standards] (NAN): Likewise.
43318         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43319         [C99-based standards] (FP_NAN): Likewise.
43320         [C99-based standards] (FP_NORMAL): Likewise.
43321         [C99-based standards] (FP_SUBNORMAL): Likewise.
43322         [C99-based standards] (FP_ZERO): Likewise.
43323         [C99-based standards] (FP_FAST_FMA): Use
43324         optional-macro-int-constant.  Specify type.  Require == 1.
43325         [C99-based standards] (FP_FAST_FMAF): Likewise.
43326         [C99-based standards] (FP_FAST_FMAL): Likewise.
43327         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43328         [C99-based standards] (FP_ILOGBNAN): Likewise.
43329         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43330         Specify type.
43331         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43332         [C99-based standards] (math_errhandling): Specify type.
43333         [ISO99 || ISO11] (signgam): Do not allow.
43334         [non-C99-based standards] (copysignf): Do not allow.
43335         [non-C99-based standards] (exp2f): Likewise.
43336         [non-C99-based standards] (log2f): Likewise.
43337         [non-C99-based standards] (modff): Allow.
43338         [non-C99-based standards] (erff): Do not allow.
43339         [non-C99-based standards] (erfcf): Likewise.
43340         [non-C99-based standards] (gammaf): Likewise.
43341         [non-C99-based standards] (hypotf): Likewise.
43342         [non-C99-based standards] (j0f): Likewise.
43343         [non-C99-based standards] (j1f): Likewise.
43344         [non-C99-based standards] (jnf): Likewise.
43345         [non-C99-based standards] (lgammaf): Likewise.
43346         [non-C99-based standards] (tgammaf): Likewise.
43347         [non-C99-based standards] (y0f): Likewise.
43348         [non-C99-based standards] (y1f): Likewise.
43349         [non-C99-based standards] (ynf): Likewise.
43350         [non-C99-based standards] (isnanf): Likewise.
43351         [non-C99-based standards] (acoshf): Likewise.
43352         [non-C99-based standards] (asinhf): Likewise.
43353         [non-C99-based standards] (atanhf): Likewise.
43354         [non-C99-based standards] (cbrtf): Likewise.
43355         [non-C99-based standards] (expm1f): Likewise.
43356         [non-C99-based standards] (ilogbf): Likewise.
43357         [non-C99-based standards] (log1pf): Likewise.
43358         [non-C99-based standards] (logbf): Likewise.
43359         [non-C99-based standards] (nextafterf): Likewise.
43360         [non-C99-based standards] (remainderf): Likewise.
43361         [non-C99-based standards] (rintf): Likewise.
43362         [non-C99-based standards] (scalbf): Likewise.
43363         [non-C99-based standards] (copysignl): Likewise.
43364         [non-C99-based standards] (exp2l): Likewise.
43365         [non-C99-based standards] (log2l): Likewise.
43366         [non-C99-based standards] (modfl): Allow.
43367         [non-C99-based standards] (erfl): Do not allow.
43368         [non-C99-based standards] (erfcl): Likewise.
43369         [non-C99-based standards] (gammal): Likewise.
43370         [non-C99-based standards] (hypotl): Likewise.
43371         [non-C99-based standards] (j0l): Likewise.
43372         [non-C99-based standards] (j1l): Likewise.
43373         [non-C99-based standards] (jnl): Likewise.
43374         [non-C99-based standards] (lgammal): Likewise.
43375         [non-C99-based standards] (tgammal): Likewise.
43376         [non-C99-based standards] (y0l): Likewise.
43377         [non-C99-based standards] (y1l): Likewise.
43378         [non-C99-based standards] (ynl): Likewise.
43379         [non-C99-based standards] (isnanl): Likewise.
43380         [non-C99-based standards] (acoshl): Likewise.
43381         [non-C99-based standards] (asinhl): Likewise.
43382         [non-C99-based standards] (atanhl): Likewise.
43383         [non-C99-based standards] (cbrtl): Likewise.
43384         [non-C99-based standards] (expm1l): Likewise.
43385         [non-C99-based standards] (ilogbl): Likewise.
43386         [non-C99-based standards] (log1pl): Likewise.
43387         [non-C99-based standards] (logbl): Likewise.
43388         [non-C99-based standards] (nextafterl): Likewise.
43389         [non-C99-based standards] (remainderl): Likewise.
43390         [non-C99-based standards] (rintl): Likewise.
43391         [non-C99-based standards] (scalbl): Likewise.
43392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43393         [non-C99-based standards] (FP_*): Do not allow.
43394         [C99-based standards] (FP_*): Change to
43395         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43396         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43397         allow.
43398         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43399         (SIG_ERR): Likewise.
43400         [X/Open-based standards] (SIG_HOLD): Likewise.
43401         (SIG_IGN): Likewise.
43402         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43403         positive value.
43404         (SIGFPE): Likewise.
43405         (SIGILL): Likewise.
43406         (SIGINT): Likewise.
43407         (SIGSEGV): Likewise.
43408         (SIGTER): Likewise.
43409         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43410         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43411         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43412         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43413         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43414         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43415         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43416         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43417         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43418         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43419         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43420         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43421         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43422         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43423         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43424         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43425         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43426         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43427         [X/Open-based standards] (SIGTRAP): Likewise.
43428         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43429         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43430         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43431         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43432         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43433         allow.
43435 2012-05-08  Ian Wienand  <ianw@vmware.com>
43437         [BZ #14080]
43438         * time/tzset.c (__tzset_parse_tz): Update default rules for
43439         daylight time changes in the Energy Policy Act of 2005.
43441 2012-05-09  Andreas Jaeger  <aj@suse.de>
43443         [BZ #13983]
43444         * elf/ldconfig.c (parse_conf): Change string to make clear that
43445         ldconfig only issued a warning if ld.so.conf does not exist.
43447 2012-05-08  David S. Miller  <davem@davemloft.net>
43449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43450         movxtod instead of popping the value on the stack.
43452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43454 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43456         * config.h.in: Add HAVE_ARM_PCS_VFP.
43458 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43460         [BZ #13979]
43461         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43462         checking but the checks are disabled for any reason.
43464 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43466         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43467         and ELF64_R_TYPE with ELFW(R_TYPE).
43469 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43471         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43472         (ulimit): Likewise.
43474         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43475         (settimeofday): Likewise.
43477 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43479         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43480         a struct th_u2 inside the union, and move tu_block/tu_code into
43481         a new th_u3 union of tu_block/tu_code inside of that.  Move
43482         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43483         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43484         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43485         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43486         (th_stuff): Change to th_u1.tu_stuff.
43487         (th_data): Define.
43488         (th_msg): Change to th_u1.th_u2.tu_data.
43490 2012-05-07  David S. Miller  <davem@davemloft.net>
43492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43494         [BZ #14074]
43495         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43496         (SETUP_PIC_REG): Use it.
43497         (SETUP_PIC_REG_LEAF): Use it.
43499 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43501         [BZ #13885]
43502         [BZ #13923]
43503         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43504         USE_AS_EXPM1L.
43505         (EXPL_FINITE): Likewise.
43506         (FLDLOG): Likewise.
43507         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43508         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43509         e_expl.S.
43510         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43511         USE_AS_EXPM1L.
43512         (EXPL_FINITE): Likewise.
43513         (FLDLOG): Likewise.
43514         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43515         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43516         e_expl.S.
43517         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43518         test of -max_value argument for long double.
43519         * sysdeps/i386/fpu/libm-test-ulps: Update.
43520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43522 2012-05-06  David S. Miller  <davem@davemloft.net>
43524         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43525         quad soft-float symbols whose references which are compiler
43526         generated.
43527         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43529 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43531         [BZ #13884]
43532         [BZ #13914]
43533         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43534         USE_AS_EXP10L.
43535         (EXPL_FINITE): Likewise.
43536         (FLDLOG): Likewise.
43537         (c0): Likewise.
43538         (c1): Likewise.
43539         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43540         Adjust comments for base varying.
43541         (__expl_finite): Change alias to EXPL_FINITE.
43542         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43543         e_expl.S.
43544         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43545         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43546         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43547         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43548         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43549         USE_AS_EXP10L.
43550         (EXPL_FINITE): Likewise.
43551         (FLDLOG): Likewise.
43552         (c0): Likewise.
43553         (c1): Likewise.
43554         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43555         Adjust comments for base varying.
43556         (__expl_finite): Change alias to EXPL_FINITE.
43557         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43558         tests for bugs.
43559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43561         [BZ #14064]
43562         * math/libm-test.inc (check_float_internal): Correct ulp
43563         calculation for subnormal expected results.
43565 2012-05-06  Andreas Jaeger  <aj@suse.de>
43567         * Makeconfig (+math-flags): New, set to -frounding-math.
43568         (+cflags): Add +math-flags so that all of glibc gets compiled with
43569         it.
43571         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43573 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43575         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43576         Disable one test.
43578         [BZ #13787]
43579         [BZ #13922]
43580         [BZ #14036]
43581         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43582         (__ieee754_expl): Allow for and saturate large arguments.
43583         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43584         (u_threshold): Likewise.
43585         (__exp): Call __ieee754_exp before checking for overflow and
43586         underflow.
43587         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43588         (u_threshold): Likewise.
43589         (__expf): Call __ieee754_expf before checking for overflow and
43590         underflow.
43591         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43592         (u_threshold): Likewise.
43593         (__expl): Call __ieee754_expl before checking for overflow and
43594         underflow.
43595         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43596         (__ieee754_expl): Allow for and saturate large arguments.
43597         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43598         missing overflow exception on overflow.
43599         (expm1_test): Do not allow missing overflow exception on overflow.
43601         * sysdeps/i386/fpu/e_expl.c: Move to ...
43602         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43603         rather than using inline asm.
43604         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43605         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43606         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43608         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43609         (nice): Likewise.
43610         (poll): Likewise.
43611         (signal): Likewise.
43612         (time): Likewise.
43613         (times): Likewise.
43615 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43617         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43618         sysdeps/unix/common/syscalls.list.
43619         (fchmod): Likewise.
43620         (fchown): Likewise.
43621         (ftruncate): Likewise.
43622         (getrusage): Likewise.
43623         (gettimeofday): Likewise.
43624         (setpgid): Likewise.
43625         (setregid): Likewise.
43626         (setreuid): Likewise.
43627         (sigaction): Likewise.
43628         (truncate): Likewise.
43629         (vhangup): Likewise.
43630         * sysdeps/unix/common/syscalls.list: Remove file.
43631         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43632         * sysdeps/unix/sysv/linux/Implies: Likewise.
43634 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43636         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43638         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43639         Moved to ...
43640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43641         Here.
43642         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43643         to ...
43644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43645         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43646         to ...
43647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43648         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43649         to ...
43650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43651         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43652         to ...
43653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43654         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43655         to ...
43656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43657         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43658         to ...
43659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43660         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43661         to ...
43662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43663         Here.
43664         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43665         to ...
43666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43667         Here.
43668         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43669         to ...
43670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43671         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43672         Moved to ...
43673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43674         Here.
43675         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43676         to ...
43677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43679 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43681         * sysdeps/unix/common/bits/dirent.h: Remove file.
43682         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43684         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43685         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43686         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43687         * sysdeps/unix/bsd/isatty.c: Likewise.
43688         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43689         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43690         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43692 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43694         [BZ #13563]
43695         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43696         long double comparison inaccuracies.
43697         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43700 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43702         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43703         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43705 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43707         [BZ #14049]
43708         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43709         nonzero digits before rounding a hex value.
43710         * stdlib/tst-strtod.c (tests): Add another test.
43712 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43714         * sysdeps/s390/fpu/libm-test-ulps: Update.
43716 2012-05-03  Andreas Jaeger  <aj@suse.de>
43718         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43719         does not get optimized out.
43720         (malloc_opt_barrier): New.
43722 2012-05-03  Andreas Jaeger  <aj@suse.de>
43723             Roland McGrath  <roland@hack.frob.com>
43725         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43726         intermediate file deletion.
43727         (generated): Add .symlist files.
43729 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43731         [BZ #13775]
43732         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43733         Redirect under this condition.
43734         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43735         [__USE_GNU] (__dprintf_chk): Not under this condition.
43736         [__USE_GNU] (__vdprintf_chk): Likewise.
43737         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43738         under this condition.
43739         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43740         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43741         [__USE_XOPEN2K8] (vdprintf): Likewise.
43742         [__USE_GNU] (__dprintf_chk): Not under this condition.
43743         [__USE_GNU] (__vdprintf_chk): Likewise.
43744         [__USE_GNU] (dprintf): Likewise.
43745         [__USE_GNU] (vdprintf): Likewise.
43747 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43749         * elf/Makefile (common-generated): Set this instead of generated for
43750         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43751         $(all-built-dso)-derived lists.
43753 2012-05-03  Andreas Jaeger  <aj@suse.de>
43755         * sysdeps/i386/fpu/libm-test-ulps: Update.
43757         * FAQ: Removed.
43758         * FAQ.in: Likewise.
43759         * scripts/gen-FAQ.pl: Likewise.
43760         * manual/install.texi (Installation): Point to online location of
43761         FAQ.
43762         * Makefile (files-for-dist): Remove FAQ.
43763         (FAQ): Remove.
43765 2012-05-02  Allan McRae  <allan@archlinux.org>
43767         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43768         (LDFLAGS-reldepmod5.so): Likewise.
43769         (LDFLAGS-reldep6mod1.so): Likewise.
43770         (LDFLAGS-reldep6mod4.so): Likewise.
43771         (LDFLAGS-reldep8mod3.so): Likewise.
43772         (LDFLAGS-unload4mod1.so): Likewise.
43773         (LDFLAGS-unload4mod2.so): Likewise.
43774         (LDFLAGS-tst-initorder): Likewise.
43775         (LDFLAGS-tst-initordera2.so): Likewise.
43776         (LDFLAGS-tst-initordera3.so): Likewise.
43777         (LDFLAGS-tst-initordera4.so): Likewise.
43778         (LDFLAGS-tst-initorderb2.so): Likewise.
43779         (LDFLAGS-noload): Likewise.
43780         (LDFLAGS-next): Likewise.
43781         (LDFLAGS-order2mod1.so): Likewise.
43782         (LDFLAGS-order2mod2.so): Likewise.
43783         (LDFLAGS-tst-initorder2): Likewise.
43784         (LDFLAGS-tst-initorder2a.so): Likewise.
43785         (LDFLAGS-tst-initorder2b.so): Likewise.
43786         (LDFLAGS-tst-initorder2c.so): Likewise.
43787         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43789 2012-05-02  David S. Miller  <davem@davemloft.net>
43791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43793 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43795         [BZ #14055]
43796         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43798 2012-05-02  Andreas Jaeger  <aj@suse.de>
43800         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43801         since we manipulate rounding mode.
43802         (CPPFLAGS-test-idouble.c): Likewise.
43803         (CPPFLAGS-test-ifloat.c): Likewise.
43804         (CFLAGS-test-ldouble.c): Likewise.
43805         (CFLAGS-test-double.c): Likewise.
43806         (CFLAGS-test-float.c): Likewise.
43807         (CFLAGS-test-misc.c): Likewise.
43808         (CFLAGS-test-test-fenv.c): Likewise.
43810 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43812         [BZ #2550]
43813         [BZ #2570]
43814         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43815         comparisons to determine direction to adjust input.
43817 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43819         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43820         output to the target.
43822         * scripts/localplt.awk: New file.
43823         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43824         (check-localplt-CFLAGS): Variable removed.
43825         ($(all-built-dso:=.jmprel)): New static pattern rule.
43826         (generated): Add those targets.
43827         (localplt-built-dso): New variable.
43828         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43830         * elf/check-localplt.c: File removed.
43832         * scripts/check-execstack.awk: New file.
43833         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43834         (check-execstack-CFLAGS): Variable removed.
43835         ($(objpfx)check-execstack.h): Target removed.
43836         ($(objpfx)execstack-default): New target.
43837         (generated): Add that instead of check-execstack.h.
43838         ($(all-built-dso:=.phdr)): New static pattern rule.
43839         (generated): Add those targets.
43840         * elf/check-execstack.c: File removed.
43842         * scripts/check-textrel.awk: New file.
43843         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43844         (check-textrel-CFLAGS): Variable removed.
43845         (all-built-dso): Use := to define.o
43846         ($(all-built-dso:=.dyn)): New static pattern rule.
43847         (generated): Add those targets.
43848         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43849         * config.make.in (READELF): New substituted variable.
43850         * elf/check-textrel.c: File removed.
43852 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43854         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43855         allow.
43856         * conform/data/ctype.h-data [C99-based standards] (isblank):
43857         Expect function.
43858         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43859         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43860         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43861         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43862         Specify type.  Require positive value.
43863         (EILSEQ): Likewise.
43864         (ERANGE): Likewise.
43865         [ISO || POSIX] (EILSEQ): Do not expect.
43866         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43867         Specify type.  Require positive value.
43868         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43869         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43870         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43871         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43872         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43873         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43874         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43875         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43876         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43877         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43878         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43879         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43880         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43881         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43882         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43883         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43884         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43885         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43886         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43887         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43888         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43889         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43890         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43891         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43892         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43893         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43894         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43895         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43896         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43897         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43898         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43899         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43900         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43901         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43902         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43903         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43904         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43905         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43906         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43907         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43908         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43909         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43910         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43911         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43912         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43913         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43914         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43915         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43916         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43917         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43918         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43919         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43920         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43921         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43922         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43923         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43924         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43925         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43926         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43927         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43928         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43929         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43930         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43931         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43932         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43933         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43934         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43935         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43936         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43937         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43938         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43939         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43940         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43941         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43942         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43943         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43944         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43945         Require >= 2.
43946         (FLT_ROUNDS): Expect as macro, not constant.
43947         (FLT_MANT_DIG): Use macro-int-constant.
43948         (DBL_MANT_DIG): Likewise.
43949         (LDBL_MANT_DIG): Likewise.
43950         (FLT_DIG): Likewise.
43951         (DBL_DIG): Likewise.
43952         (LDBL_DIG): Likewise.
43953         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43954         (DBL_MIN_EXP): Likewise.
43955         (LDBL_MIN_EXP): Likewise.
43956         (FLT_MAX_EXP): Use macro-int-constant.
43957         (DBL_MAX_EXP): Likewise.
43958         (LDBL_MAX_EXP): Likewise.
43959         (FLT_MAX_10_EXP): Likewise.
43960         (DBL_MAX_10_EXP): Likewise.
43961         (LDBL_MAX_10_EXP): Likewise.
43962         (FLT_MAX): Use macro-constant.
43963         (DBL_MAX): Likewise.
43964         (LDBL_MAX): Likewise.
43965         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43966         (DBL_EPSILON): Likewise.
43967         (LDBL_EPSILON): Likewise.
43968         (FLT_MIN): Likewise.
43969         (DBL_MIN): Likewise.
43970         (LDBL_MIN): Likewise.
43971         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43972         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43973         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43974         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43975         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43976         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43977         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43978         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43979         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43980         [ISO11] (FLT_TRUE_MIN): Likewise.
43981         [ISO11] (LDBL_TRUE_MIN): Likewise.
43982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43983         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43984         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43985         (SCHAR_MAX): Likewise.
43986         (UCHAR_MAX): Likewise.
43987         (CHAR_MIN): Likewise.
43988         (CHAR_MAX): Likewise.
43989         (MB_LEN_MAX): Use macro-int-constant.
43990         (SHRT_MIN): Use macro-int-constant.  Specify type.
43991         (SHRT_MAX): Likewise.
43992         (USHRT_MAX): Likewise.
43993         (INT_MAX): Likewise.
43994         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43995         bound negative.
43996         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43997         bound with "U".
43998         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43999         bound with "L".
44000         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44001         bound negative.  Suffix upper bound with "L".
44002         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44003         bound with "UL".
44004         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44005         Specify type.
44006         [C99-based standards] (LLONG_MAX): Likewise.
44007         [C99-based standards] (ULLONG_MAX): Likewise.
44008         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44009         == 0.
44010         [ISO11] (max_align_t): Require type.
44011         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44013         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44014         from $CFLAGS, without defining away __attribute__ calls.
44015         (checknamespace): Use $CFLAGS_namespace.
44017         * conform/conformtest.pl (@keywords): Only include C99 keywords
44018         for standards based on C99 or C11.
44020         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44021         Disable tests.
44022         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44023         UNIX98]: Likewise.
44025         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44026         usability of symbols in #if.
44028         * conform/conformtest.pl: If macro or constant types start
44029         "promoted:", expect the symbol to be of the following type
44030         promoted by the integer promotions.
44032         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44033         in one place.  Also handle "macro-constant".
44035         * conform/conformtest.pl: Only accept expected macro values with
44036         "==".  Parse all "macro" lines in one place.
44037         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44039         * conform/conformtest.pl: Handle braced types on "constant" lines
44040         instead of handling "typed-constant".
44041         * conform/data/signal.h-data: Use "constant" instead of
44042         "typed-constant".
44044         * conform/conformtest.pl: Handle "optional-" at start of lines in
44045         one place rather than duplicating several cases.  Handle each
44046         format of "macro" line with initial "optional-".
44048         * conform/conformtest.pl: Only accept expected constant or
44049         optional-constant values with "==".  Parse all "constant" lines in
44050         one place.  Parse all "optional-constant" lines in one place.
44051         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44052         * conform/data/fmtmsg.h-data: Likewise.
44053         * conform/data/netinet/in.h-data: Likewise.
44054         * conform/data/tar.h-data: Likewise.
44055         * conform/data/limits.h-data: Use "==" form on "constant" and
44056         "optional-constant" lines.
44058         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44059         Use -std=c99 for XOPEN2K.
44060         (@knownproblems): Remove.
44061         (newtoken): Don't check %isknown.
44063         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44064         Do not expect macro.
44065         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44066         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44067         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44068         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44069         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44070         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44071         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44072         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44073         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44074         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44075         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44076         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44077         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44078         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44079         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44080         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44081         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44082         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44083         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44084         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44085         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44086         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44087         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44088         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44089         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44090         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44091         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44092         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44093         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44094         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44095         [XPG3] (acosh): Likewise.
44096         [XPG3] (asinh): Likewise.
44097         [XPG3] (atanh): Likewise.
44098         [XPG3] (cbrt): Likewise.
44099         [XPG3] (expm1): Likewise.
44100         [XPG3] (ilogb): Likewise.
44101         [XPG3] (log1p): Likewise.
44102         [XPG3] (logb): Likewise.
44103         [XPG3] (nextafter): Likewise.
44104         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44105         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44106         [XPG3] (remainder): Likewise.
44107         [XPG3] (rint): Likewise.
44108         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44109         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44110         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44111         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44112         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44113         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44114         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44115         [UNIX98 || XOPEN2K] (scalb): Expect.
44116         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44117         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44118         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44119         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44120         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44121         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44122         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44123         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44124         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44125         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44126         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44127         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44128         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44129         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44130         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44131         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44132         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44133         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44134         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44135         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44136         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44137         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44138         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44139         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44140         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44141         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44142         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44143         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44144         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44145         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44146         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44147         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44148         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44149         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44150         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44151         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44152         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44153         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44154         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44155         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44156         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44157         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44158         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44159         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44160         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44161         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44162         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44163         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44164         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44165         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44166         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44167         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44168         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44169         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44170         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44171         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44172         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44173         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44174         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44175         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44176         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44177         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44178         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44179         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44180         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44181         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44182         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44183         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44184         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44185         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44186         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44187         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44188         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44189         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44190         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44191         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44192         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44193         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44194         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44195         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44196         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44197         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44198         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44199         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44200         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44201         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44202         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44203         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44204         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44205         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44206         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44207         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44208         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44209         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44210         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44211         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44212         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44213         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44214         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44215         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44216         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44217         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44218         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44219         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44220         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44221         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44222         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44223         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44224         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44225         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44226         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44227         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44228         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44229         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44230         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44231         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44232         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44233         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44234         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44235         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44236         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44237         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44238         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44239         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44240         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44241         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44242         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44243         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44244         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44245         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44246         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44247         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44248         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44249         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44250         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44251         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44252         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44254         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44255         _XOPEN_SOURCE_EXTENDED for XPG4.
44257         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44259         * Makeconfig (localtime): Remove variable.
44260         (inst_localtime-file): Likewise.
44262 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44265         Update.
44266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44267         Update.
44268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44269         Update.
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44271         Update.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44273         Update.
44274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44275         Update.
44276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44277         Update.
44278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44279         Update.
44280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44281         Update.
44283 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44285         [BZ #2550]
44286         [BZ #2570]
44287         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44288         comparisons to determine direction to adjust input.
44289         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44290         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44291         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44292         Likewise.
44293         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44294         Likewise.
44295         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44296         Likewise.
44297         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44298         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44299         Likewise.
44300         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44301         Likewise.
44302         * math/libm-test.inc (nexttoward_test): Add more tests.
44304 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44306         [BZ #14040]
44307         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44308         in version GLIBC_2.1, not GLIBC_2.0.
44309         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44310         Likewise.
44312 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44314         [BZ #13942]
44315         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44316         (1 - x) * (1 + x).
44317         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44318         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44319         * math/libm-test.inc (acos_test): Add more tests.
44320         (asin_test): Likewise.
44321         * sysdeps/i386/fpu/libm-test-ulps: Update.
44322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44324         [BZ #14034]
44325         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44326         of square root.
44327         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44328         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44329         * math/libm-test.inc (acos_test_tonearest): New function.
44330         (acos_test_towardzero): Likewise.
44331         (acos_test_downward): Likewise.
44332         (acos_test_upward): Likewise.
44333         (asin_test_tonearest): Likewise.
44334         (asin_test_towardzero): Likewise.
44335         (asin_test_downward): Likewise.
44336         (asin_test_upward): Likewise.
44337         (main): Call the new functions.
44338         * sysdeps/i386/fpu/libm-test-ulps: Update.
44339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44341         [BZ #13884]
44342         [BZ #13924]
44343         * math/e_exp10.c: Include <float.h>.
44344         (__ieee754_exp10): Handle underflow here rather than multiplying
44345         large negative argument by M_LN10.
44346         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44347         of __ieee754_expf.
44348         * math/e_exp10l.c: Include <float.h>.
44349         (__ieee754_exp10l): Handle underflow here rather than multiplying
44350         large negative argument by M_LN10l.
44351         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44352         spurious overflow exception on underflow.
44354 2012-04-29  Marek Polacek  <polacek@redhat.com>
44356         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44357         (__fortify_function): New macro.
44358         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44359         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44360         __extern_always_inline.
44361         * libio/bits/stdio2.h: Likewise.
44362         * libio/bits/stdio.h: Likewise.
44363         * string/string.h: Likewise.
44364         * string/bits/string3.h: Likewise.
44365         * include/stdio.h: Likewise.
44366         * stdlib/bits/stdlib.h: Likewise.
44367         * stdlib/stdlib.h: Likewise.
44368         * rt/bits/mqueue2.h: Likewise.
44369         * rt/mqueue.h: Likewise.
44370         * posix/bits/unistd.h: Likewise.
44371         * posix/unistd.h: Likewise.
44372         * io/bits/poll2.h: Likewise.
44373         * io/bits/fcntl2.h: Likewise.
44374         * io/fcntl.h: Likewise.
44375         * io/sys/poll.h: Likewise.
44376         * misc/bits/syslog.h: Likewise.
44377         * misc/bits/syslog-ldbl.h: Likewise.
44378         * misc/sys/syslog.h: Likewise.
44379         * socket/bits/socket2.h: Likewise.
44380         * socket/sys/socket.h: Likewise.
44381         * debug/tst-chk1.c: Likewise.
44382         * wcsmbs/bits/wchar2.h: Likewise.
44383         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44384         * wcsmbs/wchar.h: Likewise.
44386 2012-04-29  Andreas Jaeger  <aj@suse.de>
44388         * Makerules (tests): Remove enable-check-abi protection.
44389         (check-abi-warn): Remove.
44390         (check-abi-%): Remove check-abi-warn usage.
44392         * configure.in: Remove check-abi configure option.
44393         * configure: Regenerated.
44394         * config.make.in (enable-check-abi): Remove.
44396 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44398         [BZ #14033]
44399         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44400         double functions to double *_finite functions.
44402         [BZ #13941]
44403         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44404         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44405         LDBL_MIN_EXP.
44406         * stdio-common/Makefile (tests): Add tst-sprintf3.
44407         * stdio-common/tst-sprintf3.c: New file.
44409         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44410         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44412 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44414         * conform/conformtest.pl: Remove duplicate typed-constant
44415         handling.
44417 2012-04-28  David S. Miller  <davem@davemloft.net>
44419         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44420         (check-abi-%): Remove AWK script prerequisite and explicit
44421         abilist directory.
44422         (check-abi): Rewrite to just diff the symlist with the abilist.
44423         (config-tls, config-abi-config): Delete, no longer used.
44424         (update-abi-%): Remove AWK script and explicit abilist directory.
44425         (update-abi): Rewrite to simply compare and conditionally copy the
44426         symlist and the sysdep abilist file.  Remove update-abi-config
44427         checks.
44428         * abilist/ld.abilist: Remove.
44429         * abilist/libBrokenLocale.abilist: Remove.
44430         * abilist/libanl.abilist: Remove.
44431         * abilist/libcrypt.abilist: Remove.
44432         * abilist/libdl.abilist: Remove.
44433         * abilist/librt.abilist: Remove.
44434         * abilist/libthread_db.abilist: Remove.
44435         * abilist/libutil.abilist: Remove.
44436         * scripts/extract-abilist.awk: Remove.
44437         * scripts/merge-abilist.awk: Remove.
44438         * sysdeps/generic/libcidn.abilist: New file.
44439         * sysdeps/generic/libnss_compat.abilist: New file.
44440         * sysdeps/generic/libnss_db.abilist: New file.
44441         * sysdeps/generic/libnss_dns.abilist: New file.
44442         * sysdeps/generic/libnss_files.abilist: New file.
44443         * sysdeps/generic/libnss_hesiod.abilist: New file.
44444         * sysdeps/generic/libnss_nis.abilist: New file.
44445         * sysdeps/generic/libnss_nisplus.abilist: New file.
44446         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44447         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44448         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44449         file.
44450         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44451         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44452         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44453         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44454         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44455         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44456         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44457         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44458         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44459         file.
44460         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44461         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44462         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44463         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44464         file.
44465         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44466         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44467         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44468         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44469         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44470         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44471         file.
44472         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44473         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44474         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44475         file.
44476         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44477         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44478         New file.
44479         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44480         New file.
44481         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44482         New file.
44483         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44484         New file.
44485         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44486         New file.
44487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44488         New file.
44489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44490         New file.
44491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44492         New file.
44493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44494         New file.
44495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44496         New file.
44497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44498         New file.
44499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44500         New file.
44501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44502         New file.
44503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44504         file.
44505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44506         New file.
44507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44508         New file.
44509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44510         file.
44511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44512         New file.
44513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44514         New file.
44515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44516         file.
44517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44518         New file.
44519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44520         New file.
44521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44522         New file.
44523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44524         New file.
44525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44526         New file.
44527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44528         New file.
44529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44531         file.
44532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44533         New file.
44534         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44535         file.
44536         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44537         file.
44538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44539         file.
44540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44541         file.
44542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44543         file.
44544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44545         New file.
44546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44547         file.
44548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44549         file.
44550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44551         New file.
44552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44553         file.
44554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44556         file.
44557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44558         New file.
44559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44560         file.
44561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44562         file.
44563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44564         file.
44565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44566         file.
44567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44568         file.
44569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44570         New file.
44571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44572         file.
44573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44574         file.
44575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44576         New file.
44577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44578         file.
44579         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44580         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44581         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44582         file.
44583         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44584         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44585         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44586         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44587         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44588         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44589         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44590         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44591         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44592         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44595         file.
44596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44597         New file.
44598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44599         file.
44600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44601         file.
44602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44603         file.
44604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44605         file.
44606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44607         file.
44608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44609         New file.
44610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44611         New file.
44612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44613         file.
44614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44615         New file.
44616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44617         file.
44618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44620         file.
44621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44622         New file.
44623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44624         file.
44625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44626         file.
44627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44628         file.
44629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44630         file.
44631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44632         file.
44633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44634         New file.
44635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44636         New file.
44637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44638         file.
44639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44640         New file.
44641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44642         file.
44644 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44646         * conform/conformtest.pl: Fix typo in handling typed-constant from
44647         allow-header.
44649 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44651         * README: Cut down references to pre-2.6 Linux kernels and
44652         Linuxthreads.  Update lists of configurations in libc and ports
44653         and sort alphabetically.  Say "or newer" with Linux kernel version
44654         requirements.
44656         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44658 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44660         [BZ #887]
44661         * math/libm-test.inc (logb_test_downward): New test to expose
44662         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44663         rounding mode.
44665 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44667         [BZ #14027]
44668         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44669         to be done.
44670         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44671         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44673 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44675         * sysdeps/unix/i386/brk.S: Remove file.
44676         * sysdeps/unix/i386/dl-brk.S: Likewise.
44677         * sysdeps/unix/i386/pipe.S: Likewise.
44678         * sysdeps/unix/i386/sigreturn.S: Likewise.
44679         * sysdeps/unix/i386/syscall.S: Likewise.
44680         * sysdeps/unix/i386/vfork.S: Likewise.
44681         * sysdeps/unix/i386/wait.S: Likewise.
44683         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44684         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44686         * configure.in (arm*-none*): Do not allow without
44687         --enable-hacker-mode.
44688         (netbsd*): Remove case setting base_os.
44689         (386bsd*): Likewise.
44690         (freebsd*): Likewise.
44691         (bsdi*): Likewise.
44692         (osf*): Likewise.
44693         (sunos*): Likewise.
44694         (ultrix*): Likewise.
44695         (newsos*): Likewise.
44696         (dynix*): Likewise.
44697         (*bsd*): Likewise.
44698         (sysv*): Likewise.
44699         (isc*): Likewise.
44700         (esix*): Likewise.
44701         (sco*): Likewise.
44702         (minix*): Likewise.
44703         (irix4*): Likewise.
44704         (irix6*): Likewise.
44705         (solaris[2-9]*): Likewise.
44706         (none): Likewise.
44707         * configure: Regenerated.
44709 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44711         [BZ #11521]
44712         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44713         overflow or cancellation in calculating denominator.
44714         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44715         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44716         down expression to avoid unexpected rounding in newer GCCs.
44717         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44719 2012-04-26  David S. Miller  <davem@davemloft.net>
44721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44722         long-double compat symbols.
44723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44737 2012-04-25  David S. Miller  <davem@davemloft.net>
44739         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44740         HWCAP_* values only after the memory barriers have been defined.
44741         (atomic_full_barrier): Define.
44742         (atomic_read_barrier): Define.
44743         (atomic_write_barrier): Define.
44745 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44747         * shlib-versions: Add libgcc_s version information.
44748         * sysdeps/generic/libgcc_s.h: Remove.
44749         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44750         libgcc_s.h.
44751         * sysdeps/gnu/unwind-resume.c: Likewise.
44752         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44754 2012-04-25  David S. Miller  <davem@davemloft.net>
44756         * sysdeps/unix/sparc/brk.S: Delete.
44757         * sysdeps/unix/sparc/dl-brk.S: Delete.
44758         * sysdeps/unix/sparc/pipe.S: Delete.
44759         * sysdeps/unix/sparc/sysdep.S: Delete.
44760         * sysdeps/unix/sparc/sysdep.h: Delete.
44761         * sysdeps/unix/sparc/vfork.S: Delete.
44762         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44763         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44764         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44765         (ret_ERRVAL, r0, r1, MOVE): Define.
44766         (JUMPTARGET): Remove.
44767         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44768         sysdeps/unix/sparc/sysdep.h
44769         (ENTRY, END): Remove.
44770         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44772 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44774         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44775         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44776         -DIS_IN_build.
44778         * timezone/README: Update upstream location and email address for
44779         tzcode and tzdata.
44780         * timezone/zdump.c: Update from tzcode 2012b.
44781         * timezone/zic.c: Likewise.
44783         * configure.in (libc_cv_as_needed): Remove test.
44784         * configure: Regenerated.
44785         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44786         conditional definition.
44787         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44788         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44789         * config.make.in (have-as-needed): Remove variable.
44791 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44792             Paul Pluzhnikov  <ppluzhnikov@google.com>
44794         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44795         strings correctly.
44797 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44799         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44800         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44801         * sysdeps/sh/strlen.S: Likewise.
44803 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44805         * sysdeps/unix/fork.S: Remove file.
44806         * sysdeps/unix/i386/fork.S: Likewise.
44807         * sysdeps/unix/sparc/fork.S: Likewise.
44809         * sysdeps/unix/system.c: Remove file.
44810         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44812         * sysdeps/unix/getegid.S: Remove file.
44813         * sysdeps/unix/geteuid.S: Likewise.
44815 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44817         * scripts/check-localplt.awk: New file.
44818         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44819         of diff.
44820         * scripts/data/localplt-generic.data: Add a comment.
44822         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44823         NODE when __dir_mkfile failed.
44824         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44825         Reported by Ludovic Courtès <ludo@gnu.org>.
44827 2012-04-24  Andreas Jaeger  <aj@suse.de>
44829         * Makerules (common-clean): Also remove gen-as-const-headers
44830         files.
44832 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44834         * Makerules (native-compile): Do not change working directory for
44835         build.  Use $(OUTPUT_OPTION) in command.
44836         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44838 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44840         [BZ #13886]
44841         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44842         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44843         * math/libm-test.inc (floor_test): Add more tests.
44844         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44846 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44848         * sysdeps/unix/getdents.c: Remove file.
44849         * sysdeps/unix/sysv/getdents.c: Likewise.
44850         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44852         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44853         sysdeps/unix/mman/syscalls.list.
44854         (mmap): Likewise.
44855         (mprotect): Likewise.
44856         (msync): Likewise.
44857         (munmap): Likewise.
44858         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44859         * sysdeps/unix/mman/syscalls.list: Remove.
44860         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44862         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44863         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44864         * configure: Regenerated.
44865         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44866         $(libgcc_s_suffix).
44867         * config.make.in (libgcc_s_suffix): Remove variable.
44869 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44871         * sysdeps/unix/sysv/gethostname.c: Move to ...
44872         * sysdeps/posix/gethostname.c: ... here.
44874         * sysdeps/unix/execve.S: Remove file.
44876         * sysdeps/unix/_exit.S: Remove file.
44878 2012-04-23  Andreas Jaeger  <aj@suse.de>
44880         [BZ #13739]
44881         * manual/Makefile: Remove make dist support, there's no
44882         need for a stand-alone documentation tar ball.
44883         (TEXI2DVI): Define always, it's not in Makeconfig.
44884         (dist): Removed.
44885         (tar-it): Removed.
44886         (edition): Removed.
44887         (glibc-doc-$(edition).tar): Removed
44888         (%.Z): Removed.
44889         (%.gz): Removed.
44890         (%.uu): Removed.
44891         (ETAGS): Remove, it's in Makeconfig.
44892         (move-if-change): Remove, it's in Makeconfig.
44894 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44896         [BZ #13970]
44897         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44898         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44899         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44900         (strtod_l, strtof_l, strtold_l): Remove __wur.
44901         It is not necessarily an error to ignore strtol's return value.
44902         One can reliably look at the stored endptr to decide whether
44903         the number had valid syntax.
44905 2012-04-21  Andreas Jaeger  <aj@suse.de>
44907         [BZ #13739]
44908         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44910 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44912         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44913         * sysdeps/unix/sysv/Versions: Remove file.
44915 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44917         [BZ #13927]
44918         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44920 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44922         [BZ #7064]
44923         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44924         version from __vm86.
44926 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44928         * sysdeps/unix/common/lxstat.c: Remove file.
44929         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44931         * sysdeps/unix/sysv/Makefile: Remove file.
44933         * sysdeps/unix/sysv/direct.h: Remove file.
44935         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44936         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44937         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44938         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44939         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44940         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44941         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44943         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44945         * sysdeps/unix/xmknod.c: Remove file.
44946         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44948         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44950         * sysdeps/unix/sysv/i386/time.S: Remove file.
44952         * sysdeps/unix/fxstat.c: Remove file.
44953         * sysdeps/unix/xstat.c: Likewise.
44954         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44956         * sysdeps/unix/sysv/sigaction.c: Remove file.
44958         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44959         (sysdep_headers): Remove variable.
44960         [termio.h not in sysdep_headers] (generated): Likewise.
44961         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44962         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44963         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44964         * sysdeps/unix/sysv/tcflow.c: Likewise.
44965         * sysdeps/unix/sysv/tcflush.c: Likewise.
44966         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44967         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44968         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44969         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44970         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44972         * sysdeps/unix/siglist.c: Remove file.
44974         * sysdeps/unix/getppid.S: Remove file.
44976         * sysdeps/unix/mkdir.c: Remove file.
44977         * sysdeps/unix/rmdir.c: Likewise.
44979 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44981         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44982         ERR_MAX value.
44983         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44984         errlist-compat value.
44986 2012-04-18  David S. Miller  <davem@davemloft.net>
44988         * sysdeps/generic/memcopy.h (reg_char): Delete.
44989         * debug/strcat_chk.c: Use char, not reg_char.
44990         * debug/strcpy_chk.c: Likewise.
44991         * debug/strncat_chk.c: Likewise.
44992         * debug/strncpy_chk.c: Likewise.
44993         * string/memchr.c: Likewise.
44994         * string/memrchr.c: Likewise.
44995         * string/rawmemchr.c: Likewise.
44996         * string/strcat.c: Likewise.
44997         * string/strchr.c: Likewise.
44998         * string/strchrnul.c: Likewise.
44999         * string/strcmp.c: Likewise.
45000         * string/strcpy.c: Likewise.
45001         * string/strncat.c: Likewise.
45002         * string/strncmp.c: Likewise.
45003         * string/strncpy.c: Likewise.
45005 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45007         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45008         __builtin_memcopy is called when src and dest ranges are known to not
45009         overlap.
45011 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45013         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45014         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45015         fwd_align_merge macro call.
45016         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45017         bwd_align_merge macro call.
45018         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45020 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45022         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45023         bwd_align_merge macros.
45024         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45025         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45026         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45028 2012-04-18  David S. Miller  <davem@davemloft.net>
45030         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45032 2012-04-18  Andreas Jaeger  <aj@suse.de>
45034         [BZ# 6794]
45035         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45036         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45037         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45039         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45040         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45041         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45043         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45044         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45045         Adjust for changed ldbl-128 files.
45047         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45048         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45049         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45051 2012-04-17  David S. Miller  <davem@davemloft.net>
45053         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45055 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45057         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45058         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45059         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45060         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45061         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45062         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45064 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45066         [BZ #6794]
45067         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45068         * math/libm-test.inc: Add ilogb errno and exception tests.
45069         * math/w_ilogb.c: New file: ilogb wrapper.
45070         * math/w_ilogbf.c: New file: ilogbf wrapper.
45071         * math/w_ilogbl.c: New file: ilogbl wrapper.
45072         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45073         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45074         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45075         exception being thrown with 0.0 as argument.
45076         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45077         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45078         exception being thrown with 0.0 as argument.
45079         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45080         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45081         exception being thrown with 0.0 as argument.
45082         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45083         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45084         exception being thrown with 0.0 as argument.
45085         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45086         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45087         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45088         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45089         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45090         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45091         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45092         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45093         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45095 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45097         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45098         with altivec.
45100 2012-04-16  Marek Polacek  <polacek@redhat.com>
45102         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45104 2012-04-16  Marek Polacek  <polacek@redhat.com>
45106         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45107         operands of fdivp instruction.
45109 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45111         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45112         * elf/tst-auditmod3b.c: Likewise.
45113         * elf/tst-auditmod4b.c: Likewise.
45114         * elf/tst-auditmod5b.c: Likewise.
45115         * elf/tst-auditmod6b.c: Likewise.
45116         * elf/tst-auditmod6c.c: Likewise.
45117         * elf/tst-auditmod7b.c: Likewise.
45118         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45119         * sysdeps/x86_64/preconfigure.in: Likewise.
45120         * sysdeps/x86_64/preconfigure: Regenerated.
45122 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45124         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45125         __ILP32__.
45127 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45129         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45130         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45132 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45134         [BZ #13973]
45135         * locale/iso-639.def: Fix gl language name. Spotted by
45136         Yaron Shahrabani.
45138 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45140         [BZ #2074]
45141         * libio/libio.h (__io_write_fn): Update comment.
45143 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45145         [BZ #2074]
45146         * stdio.texi (Hook Functions): The user provided writer function
45147         is not allowed to return -1.
45149 2012-04-11  David S. Miller  <davem@davemloft.net>
45151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45153 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45155         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45156         Add a leading slash to rtkaio.
45158 2012-04-11  Jim Meyering  <meyering@redhat.com>
45160         [BZ #11959]
45161         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45162         It is not necessarily an error to ignore fwrite's return
45163         value.  One can reliably use ferror to test for errors after
45164         the fact.
45166 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45168         * bits/types.h (__snseconds_t): New type.
45169         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45171         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45172         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45173         (__SNSECONDS_T_TYPE): Likewise.
45174         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45175         (__SNSECONDS_T_TYPE): Likewise.
45176         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45177         (__SNSECONDS_T_TYPE): Likewise.
45179 2012-04-10  Andreas Jaeger  <aj@suse.de>
45181         [BZ #2636]
45182         * manual/time.texi (Processor Time): Return type of times is
45183         elapsed real time since an arbitrary point in the past.
45184         (CPU Time): Move CLK_TCK from here...
45185         (Processor Time): ...to here.  Correct description.
45186         * manual/conf.texi (Constants for Sysconf): Correct description of
45187         _SC_CLK_TCK.
45189 2012-04-10  David S. Miller  <davem@davemloft.net>
45191         [BZ #13967]
45192         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45193         where the is a gap between DT_REL(A) and DT_JMPREL.
45195 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45197         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45198         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45199         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45201 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45203         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45204         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45205         (dl_main): Handle --inhibit-cache.
45206         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45207         _dl_inhibit_cache.
45208         * elf/dl-load.c (_dl_map_object): Use it.
45209         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45211 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45213         [BZ #13872]
45214         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45215         (__ieee754_powl): Saturate large exponents rather than testing for
45216         overflow of y*log2(x).
45217         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45218         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45219         exceptions.
45221         [BZ #11521]
45222         * math/s_ctan.c: Include <float.h>.
45223         (__ctan): Avoid internal overflow or cancellation in calculating
45224         denominator.
45225         * math/s_ctanf.c: Likewise.
45226         * math/s_ctanl.c: Likewise.
45227         * math/s_ctanh.c: Likewise.
45228         * math/s_ctanhf.c: Likewise.
45229         * math/s_ctanhl.c: Likewise.
45230         * math/libm-test.inc (ctan_test): Add more tests.
45231         (ctanh_test): Likewise.
45232         * sysdeps/i386/fpu/libm-test-ulps: Update.
45233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45235 2012-04-09  Andreas Jaeger  <aj@suse.de>
45237         [BZ #6894]
45238         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45239         is an optional BSD extension.
45241         [BZ #10254]
45242         * manual/stdio.texi (Opening Streams): Document additional fopen
45243         parameters.
45245 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45247         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45248         %eax without telling the compiler.
45250 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45252         [BZ # 13963]
45253         * manual/install.texi: Use sourceware.org.
45255 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45257         [BZ #13873]
45258         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45259         (__ieee754_pow): Generate overflow and underflow using huge*huge
45260         and tiny*tiny rather than just returning constant infinity or zero
45261         for large exponents.
45262         * math/libm-test.inc (pow_test): Require overflow exceptions for
45263         applicable cases of large exponents.
45265         [BZ #706]
45266         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45267         (__ieee754_pow): Use iterative multiplication algorithm only for
45268         integer exponents with absolute value below 1024.  Check for odd
45269         integer exponents when using algorithm for real exponents.
45270         * math/libm-test.inc (pow_test): Add more tests.
45271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45273 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45275         [BZ #13705]
45276         * math/libm-test.inc (exp_test): Do not allow overflow exception
45277         on underflow test.
45279 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45281         [BZ #13705]
45282         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45283         instead of __kernel_standard_f.
45285 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45287         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45288         * sysdeps/x86_64/memset_chk.S: Likewise.
45290 2012-04-08  Andreas Jaeger  <aj@suse.de>
45292         [BZ #10153]
45293         * manual/startup.texi (Environment Access): Describe return value
45294         for putenv and setenv.
45296         [BZ #6895]
45297         * manual/filesys.texi (Directory Entries): Add description for
45298         DT_LNK.
45300         [BZ #6890]
45301         * manual/filesys.texi (Directory Entries): Clarify that it's file
45302         system not operating system in the description of DT_UNKNOWN.
45304         [BZ #6578]
45305         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45307 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45309         [BZ #6649]
45310         * manual/llio.texi (Opening and Closing Files): Add cross
45311         reference to explain mode argument.
45313 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45315         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45316         * sysdeps/x86_64/memset_chk.S: Likewise.
45318 2012-04-07  David S. Miller  <davem@davemloft.net>
45320         * elf/elf.h (R_SPARC_WDISP10): Define.
45321         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45322         R_SPARC_SIZE32.
45323         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45324         R_SPARC_SIZE64 and R_SPARC_H34.
45326 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45328         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45329         conditions and remove no longer applicable assertion.
45331 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45333         * bits/byteswap.h: Include <features.h>.
45334         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45335         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45337 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45339         * bits/byteswap.h (__bswap_16): Removed.
45340         Include <bits/byteswap-16.h> to get __bswap_16.
45341         * sysdeps/i386/bits/byteswap.h: Likewise.
45342         * sysdeps/s390/bits/byteswap.h: Likewise.
45343         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45344         * bits/byteswap-16.h: New file.
45345         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45346         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45347         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45348         * string/Makefile (headers): Add bits/byteswap-16.h.
45350 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45352         [BZ #13895]
45353         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45354         extra indirection.
45355         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45356         * nss/tst-nss-static.c: New.
45358 2012-04-06  Robert Millan  <rmh@gnu.org>
45360         [BZ #6486]
45361         * manual/llio.texi (File Position Primitive): lseek
45362         refers to WHENCE when it really means OFFSET.
45364 2012-04-06  Andreas Jaeger  <aj@suse.de>
45366         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45367         strncmp declarations.
45369         * abilist/libc.abilist: Add __poll and __ppoll.
45371 2012-04-05  David S. Miller  <davem@davemloft.net>
45373         * scripts/check-local-headers.sh: Accept a host triplet in the
45374         path matched by the exclude regexp.
45376         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45377         definition.
45378         * sysdeps/powerpc/powerpc32/dl-machine.h
45379         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45380         * sysdeps/s390/s390-32/dl-machine.h
45381         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45382         * sysdeps/sparc/sparc32/dl-machine.h
45383         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45384         * sysdeps/sparc/sparc64/dl-machine.h
45385         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45387         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45388         lazy binding.
45389         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45390         undefined symbol errors.
45392         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45393         DT_NEEDED entries.
45395 2012-04-05  Michael Matz  <matz@suse.de>
45397         [BZ #13592]
45398         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45400 2012-04-05  Andreas Jaeger  <aj@suse.de>
45402         [BZ #13908]
45403         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45404         comment.
45406 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45408         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45409         which ROUND is no valid rounding mode.
45411 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45413         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45414         read again.
45415         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45417 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45419         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45420         an exception using FPU order intentionally.
45422 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45424         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45425         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45426         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45427         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45429 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45431         [BZ #12340]
45432         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45433         EINVAL when BUFLEN is too smal.
45435 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45437         [BZ #13553]
45438         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45439         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45441 2012-04-03  Andreas Jaeger  <aj@suse.de>
45443         [BZ #13938]
45444         * manual/setjmp.texi (System V contexts): Fix sentence.
45446         [BZ #13926]
45447         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45448         New macro for this case.
45449         [!__GNUC__] (__bswap_64): New inline function for this case.
45450         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45451         * bits/byteswap.h: Likewise.
45452         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45453         ull, guard with __GLIBC_HAVE_LONG_LONG.
45455         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45456         __GLIBC_HAVE_LONG_LONG.
45458         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45459         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45461 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45463         [BZ #13691]
45464         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45465         inptr and inend, rather than using last_ch.
45467 2012-04-02  David S. Miller  <davem@davemloft.net>
45469         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45470         * stdio-common/printf-parse.h (read_int): Change return type to
45471         'int', return -1 on INT_MAX overflow.
45472         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45473         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45474         overflows INT_MAX.  Check for overflow of in-format-string precision
45475         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45476         SIZE_MAX not INT_MAX for integer overflow test.
45477         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45478         skip the construct in the format string but do not record anything.
45479         * stdio-common/bug22.c: Adjust to test both width/prevision
45480         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45481         explicitly for proper errno values.
45483 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45485         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45486         CHAR_MAX.
45487         * string/test-strcmp.c [! WIDE]: Likewise.
45488         * time/tst-mktime2.c: Likewise for INT_MAX.
45489         * string/test-string.h: #include <sys/param.h> for MIN.
45491         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45492         * sysdeps/i386/init-first.c (init): Likewise.
45493         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45494         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45495         * sysdeps/sh/init-first.c (init): Likewise.
45497 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45499         * po/ru.po: Update from translation team.
45500         * po/vi.po: Likewise.
45502 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45504         * resolv/nss_dns/dns-host.c: Merge copyright years.
45506 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45508         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45509         Optimize memcpy with prefetch if
45510         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45511         src, dst pointers have unequal 16 byte alignments.
45513 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45515         [BZ #13928]
45516         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45517         from a CNAME entry and return the minimum ttl for the query.
45518         (gaih_getanswer_slice): Likewise.
45520 2012-03-30  Jeff Law  <law@redhat.com>
45522         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45523         due to long keys.
45524         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45525         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45527         * resolv/nss_dns/dns-host.c: Update copyright year.
45529 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45531         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45532         requests to save a system call.  Fix check that all bytes are sent.
45534         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45535         comments for sendmmsg.
45537 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45539         [BZ #13691]
45540         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45541         with only 1 character between 0x0041 and 0x01b0.
45542         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45543         * wcsmbs/tst-mbsnrtowcs.c: New file.
45545 2012-03-29  David S. Miller  <davem@davemloft.net>
45547         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45548         small copies by hand.
45550 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45552         [BZ #13761]
45553         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45554         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45555         group memberships.
45557 2012-03-28  David S. Miller  <davem@davemloft.net>
45559         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45560         that branches into memcpy.
45561         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45562         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45563         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45564         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45566         bits.
45567         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45568         implementation too.
45569         * sysdeps/sparc/mempcpy.S: New file.
45571         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45572         the IFUNC routine in the libc case.
45573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45575         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45576         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45577         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45578         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45579         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45580         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45581         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45582         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45584         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45585         loop to 256 bytes instead of 64 bytes and fix test signedness.
45587         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45588         * sysdeps/sparc/sparc32/Makefile: rather than here...
45589         * sysdeps/sparc/sparc64/Makefile: and here.
45591 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45593         * malloc/mallocbug.c: Avoid warnings about unused variables.
45595 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45597         [BZ #13760]
45598         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45599         in the right place. Discard and retry query if response is
45600         larger than input buffer size.
45602 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45604         [BZ #369]
45605         [BZ #2678]
45606         [BZ #3866]
45607         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45608         x for large integer exponent.
45609         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45610         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45611         sign of result as needed afterwards.
45612         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45613         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45614         result for underflowing pow the same as for overflow.
45615         (__kernel_standard_l): Handle powl overflow and underflow here
45616         rather than calling __kernel_standard.
45617         * math/libm-test.inc (pow_test): Add more tests.
45619         [BZ #3868]
45620         [BZ #13879]
45621         [BZ #13910]
45622         [BZ #13911]
45623         [BZ #13912]
45624         [BZ #13913]
45625         [BZ #13915]
45626         [BZ #13916]
45627         [BZ #13917]
45628         [BZ #13918]
45629         [BZ #13919]
45630         [BZ #13920]
45631         [BZ #13921]
45632         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45633         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45634         (__kernel_standard_l): New function.
45635         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45636         __kernel_standard.
45637         * math/w_acosl.c (__acosl): Likewise.
45638         * math/w_asinl.c (__asinl): Likewise.
45639         * math/w_atan2l.c (__atan2l): Likewise.
45640         * math/w_atanhl.c (__atanhl): Likewise.
45641         * math/w_coshl.c (__coshl): Likewise.
45642         * math/w_exp10l.c (__exp10l): Likewise.
45643         * math/w_exp2l.c (__exp2l): Likewise.
45644         * math/w_fmodl.c (__fmodl): Likewise.
45645         * math/w_hypotl.c (__hypotl): Likewise.
45646         * math/w_j0l.c (__j0l, __y0l): Likewise.
45647         * math/w_j1l.c (__j1l, __y1l): Likewise.
45648         * math/w_jnl.c (__jnl, __ynl): Likewise.
45649         * math/w_lgammal.c (__lgammal): Likewise.
45650         * math/w_log10l.c (__log10l): Likewise.
45651         * math/w_log2l.c (__log2l): Likewise.
45652         * math/w_logl.c (__logl): Likewise.
45653         * math/w_powl.c (__powl): Likewise.
45654         * math/w_remainderl.c (__remainderl): Likewise.
45655         * math/w_scalbl.c (sysv_scalbl): Likewise.
45656         * math/w_sinhl.c (__sinhl): Likewise.
45657         * math/w_sqrtl.c (__sqrtl): Likewise.
45658         * math/w_tgammal.c (__tgammal): Likewise.
45659         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45660         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45661         * math/libm-test.inc (acos_test): Add more tests.
45662         (acosh_test): Likewise.
45663         (asin_test): Likewise.
45664         (atanh_test): Likewise.
45665         (exp_test): Likewise.
45666         (exp10_test): Likewise.
45667         (exp2_test): Likewise.
45668         (expm1_test): Likewise.
45669         (lgamma_test): Likewise.
45670         (log_test): Likewise.
45671         (log10_test): Likewise.
45672         (log1p_test): Likewise.
45673         (log2_test): Likewise.
45674         (pow_test): Do not allow some spurious overflow exceptions.
45675         (sqrt_test): Add more tests.
45676         (tgamma_test): Likewise.
45677         (y0_test): Likewise.
45678         (y1_test): Likewise.
45679         (yn_test): Likewise.
45681 2012-03-27  Anton Blanchard  <anton@samba.org>
45683         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45684         MAP_HUGETLB.
45685         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45686         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45687         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45689 2012-03-27  David S. Miller  <davem@davemloft.net>
45691         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45693         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45694         have-as-vis3 check.
45696 2012-03-27  Andreas Jaeger  <aj@suse.de>
45698         * sysdeps/x86_64/elf/configure.in: Moved to ...
45699         * sysdeps/x86_64/configure.in: ... here.
45700         * sysdeps/x86_64/elf/start.S: Moved to ...
45701         * sysdeps/x86_64/start.S: ... here.
45702         * sysdeps/x86_64/elf/configure: Delete.
45704         * sysdeps/x86_64/configure.in: Merge contents from
45705         sysdeps/i386/configure.in (without i686 check).
45707         * sysdeps/i386/elf/Versions: Merge into ...
45708         * sysdeps/i386/Versions: ... this.
45709         * sysdeps/i386/elf/Versions: Delete file.
45710         * sysdeps/i386/elf/start.S: Moved to ...
45711         * sysdeps/i386/start.S: ...here.
45712         * sysdeps/i386/elf/configure.in: Merge into...
45713         * sysdeps/i386/configure.in: ...here.
45714         * sysdeps/i386/elf/configure.in: Delete file.
45715         * sysdeps/i386/elf/configure: Delete file.
45717         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45718         * debug/backtracesyms.c: ... here.
45719         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45720         * debug/backtracesymsfd.c: ... here.
45721         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45722         * sysdeps/generic/ifunc-sel.h: ... here.
45724         * sysdeps/unix/i386/start.c: Delete file.
45725         * sysdeps/unix/sparc/start.c: Delete file.
45726         * sysdeps/unix/start.c: Delete file.
45728         * sysdeps/sh/elf/configure.in: Moved to ...
45729         * sysdeps/sh/configure.in: ... here.
45730         * sysdeps/sh/elf/start.S: Moved to ...
45731         * sysdeps/sh/start.S: ... here.
45732         * sysdeps/sh/elf/configure: Delete file.
45734         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45735         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45736         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45737         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45738         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45739         * sysdeps/powerpc/powerpc64/start.S: here.
45740         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45741         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45742         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45743         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45744         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45746         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45747         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45748         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45749         * sysdeps/powerpc/powerpc32/start.S: ... here.
45750         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45751         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45752         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45754         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45755         * sysdeps/powerpc/ifunc-sel.h: ... here.
45756         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45757         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45759         * sysdeps/sparc/elf/configure.in: Moved to ...
45760         * sysdeps/sparc/configure.in: ... here.
45761         * sysdeps/sparc/elf/configure: Delete file.
45762         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45763         * sysdeps/sparc/sparc32/start.S: ... here.
45764         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45765         * sysdeps/sparc/sparc64/start.S: ... here.
45766         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45767         * sysdeps/sparc/sparc32/Makefile: ... this.
45768         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45769         * sysdeps/sparc/sparc64/Makefile: ... this.
45771         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45772         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45773         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45774         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45775         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45776         * sysdeps/s390/s390-32/setjmp.S: ... here.
45777         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45778         * sysdeps/s390/s390-32/configure.in: ... here.
45779         * sysdeps/s390/s390-32/elf/configure: Delete file.
45780         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45781         * sysdeps/s390/s390-32/start.S: ... here.
45783         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45784         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45785         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45786         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45787         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45788         * sysdeps/s390/s390-64/setjmp.S: ... here.
45789         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45790         * sysdeps/s390/s390-64/configure.in: ... here
45791         * sysdeps/s390/s390-64/elf/configure: Delete file.
45792         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45793         * sysdeps/s390/s390-64/start.S: ... here.
45794         * sysdeps/s390/s390-64/elf/configure: Delete.
45796         * configure.in: Remove support for elf directories in sysdeps.
45798         * configure: Regenerated.
45799         * sysdeps/i386/configure: Regenerated.
45800         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45801         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45802         * sysdeps/s390/s390-32/configure: Regenerated.
45803         * sysdeps/s390/s390-64/configure: Regenerated.
45804         * sysdeps/sh/configure: Regenerated.
45805         * sysdeps/sparc/configure: Regenerated.
45806         * sysdeps/x86_64/configure: Regenerated.
45808 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45812         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45813         denormal result into account.
45815 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45817         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45818         Reported by Allan McRae <allan@archlinux.org>.
45820 2012-03-23  Jeff Law  <law@redhat.com>
45822         * nss/getnssent.c (__nss_getent): Fix typo.
45824 2012-03-23  David S. Miller  <davem@davemloft.net>
45826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45828 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45830         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45831         to pad to uint64_t for each field.
45832         (dl_tls_index): Replace unsigned long with uint64_t.
45834 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45835         Paul Pluzhnikov  <ppluzhnikov@google.com>
45837         [BZ #6528]
45838         * grp/Makefile (otherlibs): Don't set it.
45839         * inet/Makefile (otherlibs): Likewise.
45840         * login/Makefile (otherlibs): Likewise.
45841         * nscd/Makefile (otherlibs): Likewise.
45842         * posix/Makefile (otherlibs): Likewise.
45843         * pwd/Makefile (otherlibs): Likewise.
45844         * rt/Makefile (otherlibs): Likewise.
45845         * sunrpc/Makefile (otherlibs): Likewise.
45846         * nss/Makefile (otherlibs): Likewise.
45847         Add libnss_files to routines and static-only-routines.
45848         ($(objpfx)getent): Remove rule.
45849         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45850         static-only-routines.
45852 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45854         [BZ #13892]
45855         * math/s_cexp.c: Include <float.h>.
45856         (__cexp): Handle exp result overflowing not necessarily
45857         overflowing both real and imaginary parts of result.
45858         * math/s_cexpf.c: Likewise.
45859         * math/s_cexpl.c: Likewise.
45860         * math/libm-test.inc (cexp_test): Add more tests.
45861         * sysdeps/i386/fpu/libm-test-ulps: Update.
45862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45864 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45866         * include/link.h (ELFW): New macro.
45867         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45868         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45870 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45872         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45873         with uint64_t.
45875 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45877         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45878         declaration.
45879         (struct La_x32_retval): Likewise.
45881 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45883         * sysdeps/x86_64/preconfigure.in: New file.
45884         * sysdeps/x86_64/preconfigure: New generated file.
45886 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45888         [BZ #13824]
45889         * math/e_exp2l.c: Include <float.h>.
45890         (__ieee754_exp2l): Handle overflow and underflow cases
45891         separately.  Only pass fractional part of argument to
45892         __ieee754_expl.
45893         * math/libm-test.inc (exp2_test): Add more tests.
45895         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45896         negating x to take absolute value.
45897         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45898         Likewise.
45899         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45900         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45901         Likewise.
45902         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45903         computing low part if x was negated.
45904         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45906 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45908         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45909         la_x32_gnu_pltexit.
45910         (pltexit): Cast int_retval to ptrdiff_t.
45911         * elf/tst-auditmod3b.c: Likewise.
45912         * elf/tst-auditmod4b.c: Likewise.
45913         * elf/tst-auditmod5b.c: Likewise.
45914         * elf/tst-auditmod6b.c: Likewise.
45915         * elf/tst-auditmod6c.c: Likewise.
45916         * elf/tst-auditmod7b.c: Likewise.
45918         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45919         and x32_gnu_pltexit.
45921         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45922         __ELF_NATIVE_CLASS.
45923         (La_x32_regs): New macro.
45924         (La_x32_retval): Likewise.
45925         (la_x32_gnu_pltenter): New function prototype.
45926         (la_x32_gnu_pltexit): Likewise.
45928 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45930         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45931         exponent.
45933         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45935         * configure.in (libc_cv_cc_nofma): Check for option to disable
45936         generation of FMA instructions.
45937         * configure: Regenerate.
45938         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45939         * sysdeps/ieee754/dbl-64/Makefile: New file.
45940         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45941         Remove brandred-fma4.
45942         (CFLAGS-brandred-fma4.c): Remove.
45943         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45944         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45945         define.
45946         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45947         define.
45949 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45951         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45952         LLONG_MAX != LONG_MAX.
45953         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45954         (_fitoa_word): Likewise.
45955         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45956         LLONG_MAX != LONG_MAX.
45957         * stdio-common/_itowa.h: Include <_itoa.h>.
45958         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45959         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45960         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45961         only if not defined.
45962         (_ITOA_WORD_TYPE): Likewise.
45963         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45964         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45966 2012-03-21  David S. Miller  <davem@davemloft.net>
45968         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45970 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45972         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45973         of x86_64 when setting libc_cv_slibdir, libdir and
45974         libc_cv_localedir.
45975         * sysdeps/unix/sysv/linux/configure: Regenerated.
45977 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45979         * manual/lang.texi (Old Varargs): Remove section.
45980         (How Variadic): Update menu.
45981         (va_start): Do not mention varargs.h.
45983 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45984             Joseph Myers  <joseph@codesourcery.com>
45986         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45987         link test.
45988         * configure: Regenerated.
45990 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45992         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45993         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45994         conformtest.pl
45996 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45998         * NOTES: Remove.
45999         * Makefile (files-for-dist): Remove NOTES.
46000         (NOTES): Remove rule.
46001         * README: Don't refer to NOTES.
46002         * manual/creature.texi: Don't include macros.texi.
46003         * manual/intro.texi (creature.texi): Remove comment referring to
46004         NOTES.
46006         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46007         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46008         * configure: Regenerated.
46009         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46010         LIBC_TRY_CC_OPTION.
46011         (libc_cv_as_i686): Likewise.
46012         (libc_cv_cc_avx): Likewise.
46013         (libc_cv_cc_sse2avx): Likewise.
46014         (libc_cv_cc_fma4): Likewise.
46015         (libc_cv_cc_novzeroupper): Likewise.
46016         * sysdeps/i386/configure: Regenerated.
46018         [BZ #13883]
46019         * sysdeps/i386/fpu/s_cexp.S: Remove.
46020         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46021         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46022         * math/libm-test.inc (cexp_test): Add more tests.
46023         * sysdeps/i386/fpu/libm-test-ulps: Update.
46024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46026 2012-03-21  Allan McRae  <allan@archlinux.org>
46028         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46030 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46032         [BZ #13871]
46033         * math/w_exp2.c: Do not include <float.h>.
46034         (o_threshold, u_threshold): Remove.
46035         (__exp2): Calculate result before checking finiteness and calling
46036         __kernel_standard.
46037         * math/w_exp2f.c: Likewise.
46038         * math/w_exp2l.c: Likewise.
46039         * math/libm-test.inc (exp2_test): Require overflow exception for
46040         1e6 input.
46042         [BZ #3866]
46043         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46044         range of signed 64-bit integers before using fistpll.  Remove
46045         checks for whether integers fit in mantissa bits.
46046         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46047         the range of signed 32-bit integers before using fistpl.  Remove
46048         checks for whether integers fit in mantissa bits.
46049         * sysdeps/i386/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         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46054         divide-by-zero is raised for zero to large negative powers.
46055         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46056         (__ieee754_powl): Test for y outside the range of signed 64-bit
46057         integers before using fistpll.  Reduce 64-bit values to 63-bit
46058         ones as needed.
46059         * math/libm-test.inc (pow_test): Add more tests.
46061 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46063         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46064         <stdio-common/_itoa.h>.
46065         * debug/segfault.c: Likewise.
46066         * elf/dl-cache.c: Likewise.
46067         * elf/dl-minimal.c: Likewise.
46068         * elf/dl-misc.c: Likewise.
46069         * elf/dl-sysdep.c: Likewise.
46070         * elf/dl-version.c: Likewise.
46071         * elf/rtld.c: Likewise.
46072         * hurd/hurdsock.c: Likewise.
46073         * hurd/lookup-retry.c: Likewise.
46074         * malloc/malloc.c: Likewise.
46075         * malloc/mtrace.c: Likewise.
46076         * nscd/nscd_getgr_r.c: Likewise.
46077         * nscd/nscd_getpw_r.c: Likewise.
46078         * nscd/nscd_getserv_r.c: Likewise.
46079         * posix/getopt_init.c: Likewise.
46080         * posix/wordexp.c: Likewise.
46081         * stdio-common/_itoa.c: Likewise.
46082         * stdio-common/printf_fphex.c: Likewise.
46083         * stdio-common/vfprintf.c: Likewise.
46084         * string/_strerror.c: Likewise.
46085         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46086         * sysdeps/i386/i686/hp-timing.h: Likewise.
46087         * sysdeps/mach/_strerror.c: Likewise.
46088         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46089         * sysdeps/mach/hurd/sethostid.c: Likewise.
46090         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46091         * sysdeps/mach/xpg-strerror.c: Likewise.
46092         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46094         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46095         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46096         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46097         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46098         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46099         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46100         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46101         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46102         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46103         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46104         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46105         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46106         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46107         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46108         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46109         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46110         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46111         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46112         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46114         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46116         * stdio-common/_itoa.h: Moved to ...
46117         * sysdeps/generic/_itoa.h: Here.
46119         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46121         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46122         instead of "_itoa.h" and "_itowa.h".
46123         * stdio-common/vfprintf.: Likewise.
46125 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46127         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46128         <bits/wordsize.h>.
46129         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46130         (__signbit): Likwise.
46131         (llrintf): Likwise.
46132         (llrint): Likwise.
46134 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46136         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46137         __WORDSIZE != 64.
46139 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46141         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46142         OVERFLOW_EXCEPTION_OK.
46143         * math/libm-test.inc ("Philosophy"): Update comment about
46144         exception testing.
46145         (OVERFLOW_EXCEPTION): Define.
46146         (OVERFLOW_EXCEPTION_OK): Likewise.
46147         (INVALID_EXCEPTION_OK): Renumber.
46148         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46149         (IGNORE_ZERO_INF_SIGN): Likewise.
46150         (test_exceptions): Handle FE_OVERFLOW.
46151         (exp10_test): Expect overflow exceptions.
46152         (exp2_test): Likewise.
46153         (expm1_test): Likewise.
46154         (nextafter_test): Likewise.
46155         (pow_test): Likewise.
46156         (scalbn_test): Likewise.
46157         (scalbln_test): Likewise.
46159 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46161         * sysdeps/x86_64/bits/atomic.h
46162         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46163         64bit integer.
46164         (atomic_exchange_acq): Likewise.
46165         (__arch_exchange_and_add_body): Likewise.
46166         (__arch_add_body): Likewise.
46167         (atomic_add_negative): Likewise.
46168         (atomic_add_zero): Likewise.
46170 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46172         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46173         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46175 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46177         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46178         Check __x86_64__ instead of __WORDSIZE.
46180 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46182         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46184 2012-03-19  David S. Miller  <davem@davemloft.net>
46186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46188         * sysdeps/sparc/fpu/fenv_private.h: New file.
46189         * sysdeps/sparc/fpu/math_private.h: Use it.
46190         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46191         Remove.
46192         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46193         (libc_feholdexcept_setroundl): Remove.
46194         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46195         Remove.
46196         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46197         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46199 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46201         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46202         int64_t instead of long int.
46203         (INSERT_WORDS64): Likwise.
46205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46207         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46208         _Unwind_GetCFA return to _Unwind_Ptr first.
46210 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46212         [BZ #13629]
46213         * math/s_clog.c: Include <float.h>.
46214         (__clog): Scale large or subnormal inputs.
46215         * math/s_clogf.c: Likewise.
46216         * math/s_clogl.c: Likewise.
46217         * math/s_clog10.c: Include <float.h>.
46218         (M_LOG10_2): Define.
46219         (__clog10): Scale large or subnormal inputs.
46220         * math/s_clog10f.c: Likewise.
46221         * math/s_clog10l.c: Likewise.
46222         * math/libm-test.inc (clog_test): Add more tests.
46223         (clog10_test): Likewise.
46224         * sysdeps/i386/fpu/libm-test-ulps: Update.
46225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46227         [BZ #11451]
46228         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46229         x and y.
46230         * math/libm-test.inc (atan2_test): Add another test.
46232         * Makerules (common-objdir-compile): Remove.
46233         * sysdeps/unix/Makefile (config-generated): Do not add
46234         $(unix-generated) to variable.
46235         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46236         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46237         Remove rule.
46238         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46239         Likewise.
46240         [generic bits/local_lim.h] (before-compile): Do not append to
46241         variable.
46242         [generic bits/local_lim.h] (common-generated): Likewise.
46243         [generic sys/param.h] (before-compile): Do not append to variable.
46244         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46245         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46246         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46247         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46248         include.
46249         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46250         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46251         [generic sys/param.h] ($(addprefix
46252         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46253         [generic sys/param.h] (common-generated): Do not append to
46254         variable.
46255         [generic sys/param.h] (sysdep_headers): Likewise.
46256         [generic bits/errno.h] (before-compile): Do not append to
46257         variable.
46258         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46259         rule.
46260         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46261         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46262         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46263         [generic bits/errno.h] (common-generated): Do not append to
46264         variable.
46265         [generic bits/ioctls.h] (before-compile): Do not append to
46266         variable.
46267         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46268         rule.
46269         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46270         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46271         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46272         rule.
46273         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46274         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46275         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46276         [generic bits/ioctls.h] (common-generated): Do not append to
46277         variable.
46278         [generic sys/syscall.h] (syscall.h): Remove variable.
46279         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46280         rule.
46281         [generic sys/syscall.h] (before-compile): Do not append to
46282         variable.
46283         [generic sys/syscall.h] (common-generated): Likewise.
46284         * sysdeps/unix/errnos-tmpl.c: Remove file.
46285         * sysdeps/unix/errnos.awk: Likewise.
46286         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46287         * sysdeps/unix/ioctls.awk: Likewise.
46288         * sysdeps/unix/mk-local_lim.c: Likewise.
46289         * sysdeps/unix/snarf-ioctls: Likewise.
46291 2012-03-19  Richard Henderson  <rth@twiddle.net>
46293         * sysdeps/i386/fpu/fenv_private.h: New file.
46294         * sysdeps/i386/fpu/math_private.h: Use it.
46295         (math_opt_barrier, math_force_eval): Remove.
46296         (libc_feholdexcept_setround_53bit): Remove.
46297         (libc_feupdateenv_53bit): Remove.
46298         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46299         (math_opt_barrier, math_force_eval): Remove.
46300         (libc_feholdexcept): Remove.
46301         (libc_feholdexcept_setround): Remove.
46302         (libc_fetestexcept, libc_fesetenv): Remove.
46303         (libc_feupdateenv_test): Remove.
46304         (libc_feupdateenv, libc_feholdsetround): Remove.
46305         (libc_feresetround): Remove.
46307         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46308         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46310         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46311         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46312         (libc_feupdateenv_testl): New.
46313         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46314         (libc_feupdateenv_testf): New.
46315         (libc_feupdateenv): Use libc_feupdateenv_test.
46316         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46317         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46319         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46320         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46321         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46322         (libc_feresetround_noex): New.
46323         (libc_feresetround_noexf): New.
46324         (libc_feresetround_noexl): New.
46325         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46326         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46327         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46328         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46329         SET_RESTORE_ROUND.
46330         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46331         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46332         (__cos): Likewise.
46333         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46334         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46335         SET_RESTORE_ROUND_NOEX.
46336         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46337         SET_RESTORE_ROUND_NOEXF.
46338         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46339         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46340         (libc_feholdsetroundf): New.
46341         (libc_feresetround, libc_feresetroundf): New.
46343         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46344         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46345         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46347         * sysdeps/generic/math_private.h: Include <fenv.h>.
46348         (default_libc_feholdexcept): New.
46349         (default_libc_feholdexcept_setround): New.
46350         (default_libc_fesetenv, default_libc_feupdateenv): New.
46351         (libc_feholdexcept): Only define if undefined.
46352         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46353         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46354         (libc_feholdexcept_setroundl): Likewise.
46355         (libc_feholdexcept_setround_53bit): Likewise.
46356         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46357         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46358         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46359         (libc_feupdateenv_53bit): Likewise.
46360         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46361         (libc_feholdexcept): Convert from macro to inline function.
46362         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46363         (libc_fesetenv, libc_feupdateenv): Likewise.
46365         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46366         not previously defined.
46367         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46368         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46369         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46370         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46371         * sysdeps/ieee754/flt-32/math_private.h: New file.
46372         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46373         math_private.h below SET_FLOAT_WORD.
46374         (__isnan, __isinf_ns, __finite): Remove.
46375         (__isnanf, __isinf_nsf, __finitef): Remove.
46377 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46381 2012-03-17  David S. Miller  <davem@davemloft.net>
46383         [BZ #6471]
46384         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46385         for 2.16.
46387 2012-03-16  David S. Miller  <davem@davemloft.net>
46389         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46390         warnings.
46392         [BZ #6471]
46393         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46394         properly.
46395         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46396         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46397         sysdep_routines when subdir is sysvipc.
46398         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46399         __getshmlba helper.
46401         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46403 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46405         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46406         [__LP64__].
46408 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46410         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46411         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46412         (__lround): Renamed to ...
46413         (__llround): This.  Replace long int with long long int.
46414         Define lround functions as aliases of llround functions.
46415         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46417 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46419         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46420         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46421         adresses to uintptr_t.  Replace "long int" and "unsigned long
46422         int" with "greg_t" on va_arg.
46424 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46426         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46427         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46429         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46430         Move e_machine check before EI_CLASS check.  Handle x32
46431         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46432         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46433         SKIP_EM_IA_64 and include
46434         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46436         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46437         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46438         (add_system_dir): New macro.
46440         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46441         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46443 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46445         [BZ #2551]
46446         [BZ #2552]
46447         [BZ #2553]
46448         [BZ #2554]
46449         [BZ #2562]
46450         [BZ #2563]
46451         [BZ #2565]
46452         [BZ #2566]
46453         [BZ #2576]
46454         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46455         (y0): Likewise.
46456         * math/w_j0f.c (j0f): Likewise.
46457         (y0f): Likewise.
46458         * math/w_j0l.c (__j0l): Likewise.
46459         (__y0l): Likewise.
46460         * math/w_j1.c (j1): Likewise.
46461         (y1): Likewise.
46462         * math/w_j1f.c (j1f): Likewise.
46463         (y1f): Likewise.
46464         * math/w_j1l.c (__j1l): Likewise.
46465         (__y1l): Likewise.
46466         * math/w_jn.c (jn): Likewise.
46467         (yn): Likewise.
46468         * math/w_jnf.c (jnf): Likewise.
46469         (ynf): Likewise.
46470         * math/w_jnl.c (__jnl): Likewise.
46471         (__ynl): Likewise.
46472         * math/libm-test.inc (j0_test): Add more tests.
46473         (j1_test): Likewise.
46474         (jn_test): Likewise.  Add trailing semicolon to existing test.
46475         (y0_test): Likewise.
46476         (y1_test): Likewise.
46477         * sysdeps/i386/fpu/libm-test-ulps: Update.
46478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46480         [BZ #13851]
46481         [BZ #13854]
46482         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46483         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46484         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46485         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46486         (__tanl): Set errno for infinite argument.
46487         * sysdeps/i386/fpu/mptan.c: Remove.
46488         * sysdeps/i386/fpu/s_tan.S: Likewise.
46489         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46490         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46491         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46492         * math/libm-test.inc (tan_test): Add more tests and enable more
46493         tests for double and long double.
46494         * sysdeps/i386/fpu/libm-test-ulps: Update.
46495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46497 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46499         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46500         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46502 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46504         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46505         * configure.in: Use it for both main tree and add-ons.
46506         * configure: Regenerated.
46508 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46510         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46512 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46514         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46515         in comment.
46517         [BZ #13851]
46518         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46519         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46520         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46521         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46522         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46523         infinite argument.
46524         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46525         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46526         != 0 for prec == 2.
46527         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46528         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46529         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46530         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46531         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46532         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46533         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46534         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46535         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46536         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46537         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46538         * math/libm-test.inc (cos_test): Add more tests and enable more
46539         tests for long double.
46540         (sin_test): Likewise.
46541         (sincos_test): Likewise.
46542         * sysdeps/i386/fpu/libm-test-ulps: Update.
46543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46545 2012-03-16  David S. Miller  <davem@davemloft.net>
46547         * sysdeps/sparc/fpu/math_private.h: New file.
46549 2012-03-15  David S. Miller  <davem@davemloft.net>
46551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46552         file.
46553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46555         file.
46556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46557         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46558         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46559         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46561         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46562         sysdep routines.
46563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46565         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46566         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46568         * sysdeps/sparc/sparc-ifunc.h: New file.
46569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46570         sparc-ifunc.h
46571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46573         Likewise.
46574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46575         Likewise.
46576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46580         Likewise.
46581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46586         Likewise.
46587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46588         Likewise.
46589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46593         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46595         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46596         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46598         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46599         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46600         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46607         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46608         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46609         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46610         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46611         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46612         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46614 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46616         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46617         scaling.
46618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46620 2012-03-15  Andreas Jaeger  <aj@suse.de>
46622         [BZ #13852]
46623         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46624         ieee754/flt-32 implementation for sin, cos and sincos.
46625         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46626         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46627         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46628         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46629         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46630         ieee754/flt-32 implementation for tan.
46632         * math/libm-test.inc (cos_test): Enable some large input tests for
46633         float as well
46634         (sin_test): Likewise.
46635         (sincos_test): Likewise.
46636         (tan_test): Add tests for large input.
46638         * sysdeps/i386/fpu/libm-test-ulps: Update.
46640 2012-03-15  Andreas Jaeger  <aj@suse.de>
46642         [BZ #13658]
46643         * math/libm-test.inc (cos_test): Add more test cases.
46644         (sin_test): Likewise.
46645         (sincos_test): Likewise.
46647 2012-03-15  Andreas Jaeger  <aj@suse.de>
46649         [BZ #13837]
46650         * math/libm-test.inc (cos_test): Add a test case for large input
46651         value.
46652         (sin_test): Likewise.
46653         (sincos_test): Likewise.
46655 2012-03-15  Andreas Jaeger  <aj@suse.de>
46656             Joseph Myers  <joseph@codesourcery.com>
46658         [BZ #13658]
46659         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46660         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46661         * sysdeps/i386/fpu/branred.c: Likewise.
46662         * sysdeps/i386/fpu/dosincos.c: Likewise.
46663         * sysdeps/i386/fpu/mpa.c: Likewise.
46664         * sysdeps/i386/fpu/s_cos.S: Likewise.
46665         * sysdeps/i386/fpu/s_sin.S: Likewise.
46666         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46667         * sysdeps/i386/fpu/sincos32.c: Likewise.
46669         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46670         Define.
46671         (libc_feupdateenv_53bit): Define.
46672         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46673         Define.
46674         (libc_feupdateenv_53bit): Define.
46676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46677         53 bit (without extend i386 double precision).
46679         * math/libm-test.inc (sincos_test): Add tests for large input.
46680         (sin): Likewise.
46681         (cos): Likewise.
46683         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46685 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46689 2012-03-15  David S. Miller  <davem@davemloft.net>
46691         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46692         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46693         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46694         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46695         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46701         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46707         file.
46708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46710         file.
46711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46713         file.
46714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46716         file.
46717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46718         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46719         fmin/fmax sysdep routines.
46720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46722 2012-03-14  David S. Miller  <davem@davemloft.net>
46724         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46725         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46726         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46727         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46728         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46729         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46730         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46731         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46732         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46733         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46734         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46738         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46740         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46741         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46744         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46745         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46746         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46747         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46748         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46749         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46750         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46751         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46752         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46753         routines.
46754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46755         file.
46756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46758         file.
46759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46761         file.
46762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46764         file.
46765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46767         file.
46768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46770         file.
46771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46772         file.
46773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46774         file.
46775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46776         file.
46777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46778         New file.
46779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46780         file.
46781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46782         file.
46783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46785         file.
46786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46788         file.
46789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46791         file.
46792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46794         VIS3 routines.
46796         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46797         New file.
46799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46801         * sysdeps/sparc/configure.in: New file.
46802         * sysdeps/sparc/configure: Generate.
46803         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46804         * configure: Regenerate.
46805         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46806         * config.make.in (have-as-vis3): New.
46807         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46808         available use -Av9d instead of -Av9a.
46809         * sysdeps/sparc/sparc64/Makefile: Likewise.
46810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46812         New file.
46813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46814         file.
46815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46816         New file.
46817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46818         file.
46819         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46820         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46821         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46822         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46823         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46825         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46826         fzeros/fnegs to load 0x80000000 into a float register instead of
46827         using the stack.
46828         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46830 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46832         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46833         bits/syscall.h.
46834         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46835         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46836         ($(inst_includedir)/bits/syscall.h): Remove rule.
46837         ($(objpfx)bits/syscall.d): Include instead of
46838         $(objpfx)syscall-list.d.
46839         (generated): Change syscall-list.h and syscall-list.d to
46840         bits/syscall.h and bits/syscall.d.
46842 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46844         [BZ #13846]
46845         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46847 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46849         [BZ #13841]
46850         * math/s_csqrt.c: Include <float.h>.
46851         (__csqrt): Scale large or subnormal inputs.
46852         * math/s_csqrtf.c: Likewise.
46853         * math/s_csqrtl.c: Likewise.
46854         * math/libm-test.inc (csqrt_test): Add more tests.
46855         * sysdeps/i386/fpu/libm-test-ulps: Update.
46856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46858         [BZ #13840]
46859         * math/libm-test.inc (hypot_test): Add more tests.
46861 2012-03-13  David S. Miller  <davem@davemloft.net>
46863         [BZ #13840]
46864         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46865         double-precision for the calculation instead of scaling.
46867 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46869         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46870         manipulate bits before adding and subtracting TWO52[sx].
46871         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46872         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46873         Likewise.
46874         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46876 2012-03-13  David S. Miller  <davem@davemloft.net>
46878         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46879         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46881         rtld-global-offsets.h
46882         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46884         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46885         large parameters.
46887         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46889         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46890         'err' in the ifdef scope in which it is actually used.
46892         * nss/nss_db/db-init.c: Include string.h
46894 2012-03-12  David S. Miller  <davem@davemloft.net>
46896         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46897         masking out of the most significant byte of random value used.
46898         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46899         Fix coding style in previous change.
46901         * sysdeps/unix/sysv/linux/kernel-features.h
46902         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46903         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46904         expression.
46905         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46906         later.
46908 2012-03-11  David S. Miller  <davem@davemloft.net>
46910         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46911         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46912         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46913         for 'resultvar' otherwise things get truncated on 64-bit.
46915         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46916         Fix masking out of the most significant byte of random value used.
46918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46920 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46924 2012-03-09  David S. Miller  <davem@davemloft.net>
46926         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46927         variables with appropriate CPP guards.
46928         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46929         from the frame pointer, not the stack pointer.  Correct layout
46930         comments.  Fix test on resulting framesize and the management of
46931         the outregs buffer for pltexit.  Preserve floating point return
46932         values across _dl_call_pltexit call.
46933         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46934         framesize and the management of the outregs buffer for pltexit.
46935         Preserve floating point return values across _dl_call_pltexit
46936         call.
46937         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46938         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46939         (la_sparc64_gnu_pltexit): New functions.
46940         (print_exit): Fix format string for return register value.
46942 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46944         * sunrpc/Makefile (others): Add rpcgen.
46945         ($(objpfx)rpcgen): Remove special build rule and dependency on
46946         libc.
46947         * sunrpc/rpcgen.c: New file.
46949 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46951         [BZ #13673]
46952         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46953         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46954         * sysdeps/i386/crti.S: Likewise.
46955         * sysdeps/i386/crtn.S: Likewise.
46956         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46957         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46958         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46959         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46960         * sysdeps/sh/crti.S: Likewise.
46961         * sysdeps/sh/crtn.S: Likewise.
46962         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46964         [BZ #13673]
46965         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46966         with URL.
46967         * locale/programs/locfile-kw.gperf: Likewise.
46968         * locale/programs/charmap-kw.h: Regenerated.
46969         * locale/programs/locfile-kw.h: Likewise.
46971         [BZ #13673]
46972         * intl/plural.y: Replace FSF snail mail address with URL.
46973         * intl/plural.c: Regenerated.
46975 2012-03-09  Richard Henderson  <rth@twiddle.net>
46977         * include/math_private.h: Remove file.
46978         * math/math_private.h: Move file ...
46979         * sysdeps/generic/math_private.h: ... here.
46981         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46982         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46983         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46985         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46986         and <math_private.h>.
46987         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46988         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46989         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46990         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46991         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46992         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46993         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46994         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46995         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46996         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46997         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46998         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46999         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47000         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47001         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47002         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47003         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47004         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47005         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47006         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47007         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47008         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47009         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47010         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47011         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47012         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47013         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47014         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47016         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47017         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47018         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47019         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47020         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47021         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47022         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47023         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47024         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47025         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47026         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47027         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47028         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47029         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47030         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47031         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47032         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47033         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47034         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47035         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47036         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47037         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47038         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47039         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47040         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47041         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47042         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47043         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47044         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47045         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47046         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47047         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47048         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47050         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47051         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47052         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47053         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47054         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47055         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47056         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47057         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47058         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47059         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47060         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47061         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47062         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47063         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47064         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47065         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47066         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47067         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47068         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47069         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47070         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47071         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47072         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47073         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47074         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47075         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47076         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47077         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47078         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47079         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47080         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47081         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47082         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47083         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47084         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47085         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47086         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47087         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47088         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47089         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47090         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47091         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47092         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47093         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47094         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47095         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47096         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47097         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47098         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47099         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47100         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47101         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47102         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47103         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47104         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47105         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47106         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47107         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47108         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47109         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47110         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47111         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47112         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47113         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47114         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47115         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47116         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47117         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47118         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47119         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47120         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47121         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47122         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47123         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47124         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47125         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47126         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47127         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47128         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47129         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47130         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47131         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47132         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47133         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47134         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47135         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47136         * sysdeps/ieee754/k_standard.c: Likewise.
47137         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47138         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47139         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47140         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47141         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47142         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47143         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47144         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47145         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47146         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47147         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47148         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47149         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47150         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47151         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47152         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47153         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47154         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47155         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47156         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47157         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47158         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47159         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47160         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47161         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47162         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47163         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47164         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47165         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47166         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47167         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47168         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47169         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47170         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47171         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47172         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47173         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47174         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47175         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47176         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47177         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47178         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47179         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47180         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47181         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47182         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47183         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47184         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47185         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47186         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47187         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47188         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47189         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47190         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47191         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47192         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47193         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47194         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47195         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47196         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47197         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47198         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47199         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47200         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47201         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47202         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47203         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47204         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47205         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47206         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47207         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47209         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47210         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47211         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47212         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47213         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47214         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47216         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47217         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47218         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47219         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47220         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47221         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47222         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47223         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47224         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47225         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47226         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47227         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47228         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47229         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47230         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47231         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47232         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47233         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47234         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47235         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47236         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47237         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47238         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47239         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47240         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47241         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47242         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47243         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47244         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47245         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47246         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47247         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47248         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47249         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47250         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47251         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47252         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47253         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47254         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47255         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47256         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47257         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47258         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47259         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47260         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47261         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47262         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47263         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47264         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47265         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47266         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47267         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47268         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47269         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47270         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47271         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47272         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47273         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47274         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47275         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47276         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47277         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47278         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47279         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47280         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47281         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47282         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47284         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47285         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47286         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47287         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47288         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47289         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47290         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47291         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47292         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47293         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47294         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47295         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47296         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47297         * sysdeps/ieee754/s_lib_version.c: Likewise.
47298         * sysdeps/ieee754/s_matherr.c: Likewise.
47299         * sysdeps/ieee754/s_signgam.c: Likewise.
47300         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47301         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47302         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47303         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47304         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47305         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47306         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47307         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47308         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47309         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47310         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47311         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47312         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47313         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47314         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47315         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47316         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47317         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47318         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47319         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47322 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47324         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47325         * sunrpc/rpc_main.c: Likewise.
47326         * sunrpc/rpc_svcout.c: Likewise.
47328 2012-03-09  David S. Miller  <davem@davemloft.net>
47330         * include/math_private.h: New file.
47332 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47334         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47335         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47336         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47337         from <bits/socket_type.h>.
47338         (enum __socket_type): Don't define here.
47339         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47341         bits/socket_type.h.
47343         [BZ #13566]
47344         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47345         checking __USE_GNU.
47347         * Makerules ($(inst_includedir)/%.h): New rule.
47348         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47349         (install-others): Remove variable setting.
47350         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47352 2012-03-08  Richard Henderson  <rth@twiddle.net>
47354         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47355         from macro to inline function; merge with the
47356         !__LIBC_INTERNAL_MATH_INLINES version.
47357         (__ieee754_sqrtf): Likewise.
47359         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47360         to inline function.
47361         (__rintf, __floor, __floorf): Likewise.
47363         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47364         macro to inline function.
47365         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47367         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47368         not <math/math_private.h>.
47370 2012-03-08  David S. Miller  <davem@davemloft.net>
47372         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47373         copyright year.
47374         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47376 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47378         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47379         normalization.
47380         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47381         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47383 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47385         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47386         be defined individually, they must be defined as a block.  Define
47387         S for printing a string instead of hidint the different by using a
47388         macro for adding the 'l'.
47389         * stdio-common/tst-fphex-wide.c: Adjust.
47391 2012-03-07  Marek Polacek  <polacek@redhat.com>
47393         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47395 2012-03-08  Marek Polacek  <polacek@redhat.com>
47397         [BZ #13806]
47398         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47399         * stdio-common/tst-fphex.c: Define a few macros to make the
47400         test reusable.  Use them.
47401         * stdio-common/tst-fphex-wide.c: New file.
47403 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47405         [BZ #6911]
47406         * manual/macros.texi (gnusystems): New macro.
47407         (nongnusystems): Likewise.
47408         (gnulinuxhurdsystems): Likewise.
47409         (gnuhurdsystems): Likewise..
47410         (gnulinuxsystems): Likewise.
47411         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47412         variants of the GNU system, not "GNU system".
47413         * manual/conf.texi: Likewise.
47414         * manual/errno.texi: Likewise.  Update example of errno macro
47415         expansion.
47416         * manual/filesys.texi: Likewise.
47417         (getumask): Document as specific to GNU/Hurd.
47418         * manual/install.texi: Likewise.  Reword some references to
47419         GNU/Linux.
47420         * manual/intro.texi: Likewise.
47421         * manual/io.texi: Likewise.
47422         (File Name Portability): Detail which constraints are inapplicable
47423         to all GNU systems and which are only inapplicable to GNU/Hurd.
47424         * manual/job.texi: Likewise.
47425         * manual/llio.texi: Likewise.
47426         (O_NOCTTY): Document as present on GNU/Linux.
47427         * manual/maint.texi: Likewise.
47428         * manual/memory.texi: Likewise.
47429         * manual/pattern.texi: Likewise.
47430         * manual/pipe.texi: Likewise.
47431         * manual/process.texi: Likewise.
47432         * manual/resource.texi: Likewise.
47433         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47434         child on GNU/Hurd.
47435         * manual/setjmp.texi: Likewise.
47436         * manual/signal.texi: Likewise.
47437         * manual/startup.texi: Likewise.
47438         * manual/stdio.texi: Likewise.
47439         * manual/terminal.texi: Likewise.
47440         (ONLCR): Document as POSIX.
47441         (OXTABS): Document availability on GNU/Linux as XTABS.
47442         (ONOEOT): Document availability separately from other bits.
47443         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47444         * manual/time.texi: Likewise.
47445         * manual/users.texi: Likewise.
47446         * INSTALL: Regenerated.
47447         * sysdeps/gnu/errlist.c: Regenerated.
47449         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47450         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47451         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47452         puts.
47453         * configure: Regenerated.
47455 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47457         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47458         default includes instead of AC_HEADER_CHECK.
47459         * sysdeps/i386/configure: Regenerated.
47461         [BZ #10716]
47462         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47463         * math/s_cacoshf.c (__cacoshf): Likewise.
47464         * math/s_cacoshl.c (__cacoshl): Likewise.
47465         * math/s_casinh.c (__casinh): Set signs of result from argument.
47466         * math/s_casinhf.c (__casinhf): Likewise.
47467         * math/s_casinhl.c (__casinhl): Likewise.
47468         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47469         (casinh_test): Add more tests.
47470         * sysdeps/i386/fpu/libm-test-ulps: Update.
47471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47473 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47475         * po/zh_TW.po: Update from translation team.
47477         * login/Makefile (distribute): Remove variable.
47478         * catgets/Makefile: Likewise.
47479         * mach/Makefile: Likewise.
47480         * malloc/Makefile: Likewise.
47481         * misc/Makefile: Likewise.
47482         * iconv/Makefile: Likewise.
47483         * nscd/Makefile: Likewise.
47484         * hurd/Makefile: Likewise.
47485         * manual/Makefile: Likewise.
47486         * locale/Makefile: Likewise.
47487         * intl/Makefile: Likewise.
47488         * conform/Makefile: Likewise.
47489         * nss/Makefile: Likewise.
47490         * time/Makefile: Likewise.
47491         * soft-fp/Makefile: Likewise.
47492         * dirent/Makefile: Likewise.
47493         * gmon/Makefile: Likewise.
47494         * po/Makefile: Likewise.
47495         * rt/Makefile: Likewise.
47496         * socket/Makefile: Likewise.
47497         * math/Makefile: Likewise.
47498         * signal/Makefile: Likewise.
47499         * debug/Makefile: Likewise.
47500         * elf/Makefile: Likewise.
47501         * timezone/Makefile: Likewise.
47502         * stdlib/Makefile: Likewise.
47503         * iconvdata/Makefile: Likewise.
47504         * sunrpc/Makefile: Likewise.
47505         * io/Makefile: Likewise.
47506         * argp/Makefile: Likewise.
47507         * inet/Makefile: Likewise.
47508         * hesiod/Makefile: Likewise.
47509         * grp/Makefile: Likewise.
47510         * csu/Makefile: Likewise.
47511         * wctype/Makefile: Likewise.
47512         * crypt/Makefile: Likewise.
47513         * libio/Makefile: Likewise.
47514         * string/Makefile: Likewise.
47515         * nis/Makefile: Likewise.
47516         * resolv/Makefile: Likewise.
47517         * stdio-common/Makefile: Likewise.
47518         * wcsmbs/Makefile: Likewise.
47519         * dlfcn/Makefile: Likewise.
47520         * posix/Makefile: Likewise.
47522         [BZ #6959]
47523         * timezone/Makefile: Don't install timezone files, just the programs
47524         and scripts.
47526 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47528         * nss/databases.def: Add missing gshadow entry.
47530         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47532 2012-03-06  Marek Polacek  <polacek@redhat.com>
47534         [BZ #13726]
47535         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47536         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47537         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47538         * stdio-common/tst-long-dbl-fphex.c: New file.
47540 2012-03-06  David S. Miller  <davem@davemloft.net>
47542         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47543         (set_obp_int): New function.
47544         (get_obp_int): New function.
47545         (__get_clockfreq_via_dev_openprom): Likewise.
47546         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47547         Avoid unused variable warnings on 'val' and use builtin_expect.
47548         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47549         __builtin_expect.
47550         (INLINE_CLONE_SYSCALL): Likewise.
47552 2012-03-05  David S. Miller  <davem@davemloft.net>
47554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47556 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47560         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47561         only for |x| >= 40.
47562         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47564 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47566         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47567         Replace gettimeofday with __vdso_gettimeofday.
47569         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47570         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47571         __vdso_clock_gettime and __vdso_getcpu.
47573         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47574         time with __vdso_time.
47576 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47578         * manual/lang.texi (size_t): Note types to which size_t may be
47579         equivalent with the GNU C Library, but do not describe when
47580         differences between them are significant.
47582 2012-03-05  Andreas Jaeger  <aj@suse.de>
47584         * sysdeps/i386/fpu/libm-test-ulps: Update.
47586 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47588         [BZ #3976]
47589         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47590         (__ieee754_pow): Save and restore rounding mode and use
47591         round-to-nearest for main computations.
47592         * math/libm-test.inc (pow_test_tonearest): New function.
47593         (pow_test_towardzero): Likewise.
47594         (pow_test_downward): Likewise.
47595         (pow_test_upward): Likewise.
47596         (main): Call the new functions.
47597         * sysdeps/i386/fpu/libm-test-ulps: Update.
47598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47600         [BZ #3976]
47601         * math/libm-test.inc (cosh_test_tonearest): New function.
47602         (cosh_test_towardzero): Likewise.
47603         (cosh_test_downward): Likewise.
47604         (cosh_test_upward): Likewise.
47605         (sinh_test_tonearest): Likewise.
47606         (sinh_test_towardzero): Likewise.
47607         (sinh_test_downward): Likewise.
47608         (sinh_test_upward): Likewise.
47609         (main): Call the new functions.
47610         * sysdeps/i386/fpu/libm-test-ulps: Update.
47611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47613 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47615         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47616         default stack guard is set in last bytes.
47617         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47619 2012-03-05  Kees Cook  <keescook@chromium.org>
47621         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47623         [BZ #13656]
47624         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47625         possibly allocate from heap instead of stack.
47626         * stdio-common/bug-vfprintf-nargs.c: New file.
47627         * stdio-common/Makefile (tests): Add nargs overflow test.
47629 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47633 2012-03-03  Marek Polacek  <polacek@redhat.com>
47635         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47636         * math/math_private.h: Likewise.
47637         * stdlib/tst-strtod.c: Likewise.
47638         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47639         * sysdeps/x86_64/bits/atomic.h: Likewise.
47641 2012-03-02  David S. Miller  <davem@davemloft.net>
47643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47647         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47648         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47649         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47650         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47652 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47654         [BZ #13792]
47655         * manual/examples/README: New file, says the example source files
47656         can be used under GPL>=2.
47657         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47658         line containing just "*/".
47659         * manual/examples/add.c: Add copyright header (GPL>=2).
47660         * manual/examples/argp-ex1.c: Likewise.
47661         * manual/examples/argp-ex2.c: Likewise.
47662         * manual/examples/argp-ex3.c: Likewise.
47663         * manual/examples/argp-ex4.c: Likewise.
47664         * manual/examples/atexit.c: Likewise.
47665         * manual/examples/db.c: Likewise.
47666         * manual/examples/dir.c: Likewise.
47667         * manual/examples/dir2.c: Likewise.
47668         * manual/examples/execinfo.c: Likewise.
47669         * manual/examples/filecli.c: Likewise.
47670         * manual/examples/filesrv.c: Likewise.
47671         * manual/examples/fmtmsgexpl.c: Likewise.
47672         * manual/examples/genpass.c: Likewise.
47673         * manual/examples/inetcli.c: Likewise.
47674         * manual/examples/inetsrv.c: Likewise.
47675         * manual/examples/isockad.c: Likewise.
47676         * manual/examples/longopt.c: Likewise.
47677         * manual/examples/memopen.c: Likewise.
47678         * manual/examples/memstrm.c: Likewise.
47679         * manual/examples/mkfsock.c: Likewise.
47680         * manual/examples/mkisock.c: Likewise.
47681         * manual/examples/mygetpass.c: Likewise.
47682         * manual/examples/pipe.c: Likewise.
47683         * manual/examples/popen.c: Likewise.
47684         * manual/examples/rprintf.c: Likewise.
47685         * manual/examples/search.c: Likewise.
47686         * manual/examples/select.c: Likewise.
47687         * manual/examples/setjmp.c: Likewise.
47688         * manual/examples/sigh1.c: Likewise.
47689         * manual/examples/sigusr.c: Likewise.
47690         * manual/examples/stpcpy.c: Likewise.
47691         * manual/examples/strdupa.c: Likewise.
47692         * manual/examples/strftim.c: Likewise.
47693         * manual/examples/strncat.c: Likewise.
47694         * manual/examples/subopt.c: Likewise.
47695         * manual/examples/swapcontext.c: Likewise.
47696         * manual/examples/termios.c: Likewise.
47697         * manual/examples/testopt.c: Likewise.
47698         * manual/examples/testpass.c: Likewise.
47699         * manual/examples/timeval_subtract.c: Likewise.
47701         [BZ #13792]
47702         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47703         function to ...
47704         * manual/timeval_subtract.c.texi: ... here, new file.
47706 2012-03-02  David S. Miller  <davem@davemloft.net>
47708         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47710 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47712         [BZ #3976]
47713         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47714         (__sin): Save and restore rounding mode and use round-to-nearest
47715         for all computations.
47716         (__cos): Save and restore rounding mode and use round-to-nearest
47717         for all computations.
47718         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47719         <fenv.h>.
47720         (tan): Save and restore rounding mode and use round-to-nearest for
47721         all computations.
47722         * math/libm-test.inc (cos_test_tonearest): New function.
47723         (cos_test_towardzero): Likewise.
47724         (cos_test_downward): Likewise.
47725         (cos_test_upward): Likewise.
47726         (sin_test_tonearest): Likewise.
47727         (sin_test_towardzero): Likewise.
47728         (sin_test_downward): Likewise.
47729         (sin_test_upward): Likewise.
47730         (tan_test_tonearest): Likewise.
47731         (tan_test_towardzero): Likewise.
47732         (tan_test_downward): Likewise.
47733         (tan_test_upward): Likewise.
47734         (main): Call the new functions.
47735         * sysdeps/i386/fpu/libm-test-ulps: Update.
47736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47738         [BZ #10135]
47739         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47740         small n, then large n, before computing and testing k+n.
47741         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47742         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47743         Likewise.
47744         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47745         Likewise.
47746         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47747         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47748         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47749         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47750         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47752         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47753         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47754         * math/libm-test.inc (scalbn_test): Add more tests.
47755         (scalbln_test): Likewise.
47757         * manual/filesys.texi (mode_t): Describe constraints on size and
47758         signedness, not exact equivalence to a particular type.
47759         (ino_t): Likewise.
47760         (ino64_t): Likewise.
47761         (dev_t): Likewise.
47762         (nlink_t): Likewise.
47763         (blkcnt_t): Likewise.
47764         (blkcnt64_t): Likewise.
47765         * manual/llio.texi (off_t): Likewise.
47767         [BZ #3976]
47768         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47769         (__ieee754_exp): Save and restore rounding mode and use
47770         round-to-nearest for all computations.
47771         * math/libm-test.inc (exp_test_tonearest): New function.
47772         (exp_test_towardzero): Likewise.
47773         (exp_test_downward): Likewise.
47774         (exp_test_upward): Likewise.
47775         (main): Call the new functions.
47776         * sysdeps/i386/fpu/libm-test-ulps: Update.
47777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47779 2012-03-01  Chris Demetriou  <cgd@google.com>
47781         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47782         have predictable order.
47784 2012-03-01  David S. Miller  <davem@davemloft.net>
47786         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47788         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47789         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47790         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47791         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47793         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47794         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47795         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47797         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47798         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47799         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47800         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47801         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47805         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47806         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47807         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47809         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47810         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47811         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47812         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47813         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47814         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47815         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47816         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47817         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47818         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47819         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47820         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47821         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47822         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47823         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47824         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47825         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47826         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47827         * sysdeps/sparc/elf/configure: Regenerated.
47829 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47831         * configure.in (AS, LD): Require binutils 2.20 or later.
47832         * configure: Regenerated.
47833         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47834         as required minimum version.
47835         * INSTALL: Regenerated.
47837         [BZ #2541]
47838         [BZ #4108]
47839         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47840         before squaring exponent.
47841         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47842         bottom long double and 27 bits of top long double before squaring
47843         exponent.
47844         * math/libm-test.inc (erfc_test): Add more tests.
47845         * sysdeps/i386/fpu/libm-test-ulps: Update.
47846         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47849 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47851         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47852         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47853         containing bit-fields.
47854         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47855         * soft-fp/single.h (_FP_UNION_S): Likewise.
47856         * soft-fp/double.h (_FP_UNION_D): Likewise.
47858 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47860         [BZ #13786]
47861         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47862         not include ../strcmp.S.
47863         [USE_AS_STRNCASECMP_L]: Likewise.
47864         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47865         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47866         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47867         (__strncasecmp_l_ia32): Define as alias to
47868         __strncasecmp_l_nonascii.
47870         [BZ #5794]
47871         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47872         * sysdeps/i386/fpu/libm-test-ulps: Update.
47873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47875         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47878 2012-02-29  Jeff Law  <law@redhat.com>
47880         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47881         out of bounds read.
47883 2012-02-29  Marek Polacek  <polacek@redhat.com>
47885         [BZ #13706]
47886         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47887         * elf/Makefile: Add rules to run tst-unused-dep.out.
47889 2012-02-28  David S. Miller  <davem@davemloft.net>
47891         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47892         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47893         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47894         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47895         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47896         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47898 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47900         * math/libm-test.inc (llround_test): Move one test from
47901         lround_test.  Use TEST_f_L in moved test.
47902         (lround_test): Move misplaced test to llround_test.  Add testcase
47903         from bug 2561.
47905 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47907         * sysdeps/x86_64/fpu/e_expf.S: New file.
47908         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47910 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47912         [BZ #13637]
47913         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47914         of remain_len that may cause incomplete multi-byte character and
47915         false match.
47916         * posix/bug-regex33.c: New file.
47917         * posix/Makefile (tests): Add bug-regex33.
47919 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47921         * manual/macros.texi: New file.
47922         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47923         * manual/libc.texinfo: Include macros.texi.
47924         * manual/creatute.texi: Likewise.
47925         * manual/install.texi: Likewise.
47926         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47927         @glibcadj{} in references to the GNU C Library.
47928         * manual/charset.texi: Likewise.
47929         * manual/conf.texi: Likewise.
47930         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47931         when not using those macros.
47932         * manual/creature.texi: Likewise.
47933         * manual/crypt.texi: Likewise.
47934         * manual/errno.texi: Likewise.
47935         * manual/filesys.texi: Likewise.
47936         * manual/header.texi: Likewise.
47937         * manual/install.texi: Likewise.
47938         * manual/intro.texi: Likewise.
47939         * manual/io.texi: Likewise.
47940         * manual/job.texi: Likewise.
47941         * manual/lang.texi: Likewise.
47942         * manual/libc.texiinfo: Likewise.
47943         * manual/llio.texi: Likewise.
47944         * manual/locale.texi: Likewise.
47945         * manual/maint.texi: Likewise.
47946         * manual/math.texi: Likewise.
47947         * manual/memory.texi: Likewise.
47948         * manual/message.texi: Likewise.
47949         * manual/nss.texi: Likewise.
47950         * manual/pattern.texi: Likewise.
47951         * manual/process.texi: Likewise.
47952         * manual/resource.texi: Likewise.
47953         * manual/search.texi: Likewise.
47954         * manual/setjmp.texi: Likewise.
47955         * manual/signal.texi: Likewise.
47956         * manual/socket.texi: Likewise.
47957         * manual/startup.texi: Likewise.
47958         * manual/stdio.texi: Likewise.
47959         * manual/string.texi: Likewise.
47960         * manual/sysinfo.texi: Likewise.
47961         * manual/syslog.texi: Likewise.
47962         * manual/terminal.texi: Likewise.
47963         * manual/time.texi: Likewise.
47964         * manual/users.texi: Likewise.
47965         * INSTALL: Regenerated.
47966         * NOTES: Regenerated.
47967         * sysdeps/gnu/errlist.c: Regenerated.
47969 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47971         * include/dirent.h: Include <dirstream.h> before
47972         <dirent/dirent.h>.
47974 2012-02-28  David S. Miller  <davem@davemloft.net>
47976         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47977         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47978         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47979         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47981 2012-02-27  David S. Miller  <davem@davemloft.net>
47983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47985         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47986         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47989         frame pointer instead of stack pointer relative arg slot.
47990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47991         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47992         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47994 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47996         [BZ #3992]
47997         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47999 2012-02-27  David S. Miller  <davem@davemloft.net>
48001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48005         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48006         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48007         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48008         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48010 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48012         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48013         later.  Allow versions 5-9.
48014         * configure: Regenerated.
48015         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48016         required minimum version and 4.6 as recommended version.  Do not
48017         mention bugs in GCC 2.7 and 2.8.
48018         * INSTALL: Regenerated.
48020 2012-02-27  David S. Miller  <davem@davemloft.net>
48022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48026         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48027         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48028         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48029         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48031         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48032         manipulate bits before adding and subtracting TWO112[sx].
48033         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48035 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48037         [BZ #13775]
48038         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48039         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48040         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48041         being in POSIX, because they are in 1003.1-2008.
48043         * rt/tst-aio.c: Include <fcntl.h>.
48044         * rt/tst-aio7.c: Likewise.
48045         * rt/tst-aio64.c: Likewise.
48047         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48049 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48051         * manual/install.texi (--with-headers): Describe headers as
48052         interface headers, not private headers.
48053         (Specific advice for GNU/Linux systems): Describe use of headers
48054         from "make headers_install", not private headers from older
48055         kernels.
48056         * INSTALL: Regenerated.
48057         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48058         Change to 2.6.19.
48059         * sysdeps/unix/sysv/linux/configure: Regenerated.
48061         * manual/llio.texi (fclean): Remove documentation.
48063         * manual/Makefile (libc-texi-generated): New variable.  Include
48064         version.texi.
48065         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48066         $(libc-texi-generated), not duplicated list of files.
48067         (version.texi, stamp-version): New rules.
48068         (realclean): Remove $(libc-texi-generated), not individual files
48069         from that list.  Do not remove dir-add.texinfo.
48070         * manual/libc.texinfo: Comment out uses of edition numbers and
48071         references to printed manual.  Remove last-updated dates.
48072         (EDITION): Comment out.
48073         (ISBN): Likewise.
48074         (VERSION, UPDATED): Remove.
48075         (version.texi): Include.
48077 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48079         * sysdeps/posix/spawni.c: Include <signal.h>.
48080         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48081         * sysdeps/pthread/aio_fsync.c: Likewise.
48083 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48085         * conform/Makefile (tests): Run only when not cross-compiling and
48086         when fast-check is not defined.
48088         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48089         * conform/data/limits.h-data: Fixes for POSIX2008.
48090         * conform/run-conformtest.sh: Run all tests.
48091         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48092         headers.
48093         * include/bits/dlfcn.h: Likewise.
48094         * include/langinfo.h: Likewise.
48095         * include/monetary.h: Likewise.
48096         * include/sys/poll.h: Likewise.
48098         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48099         for __USE_GNU.
48100         * posix/spawn.h: Define __need_sigset_t.
48101         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48102         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48103         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48104         to get sigevent_t only.
48105         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48106         only for __USE_GNU.
48107         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48108         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48109         process_vm_writev only for __USE_GNU.
48110         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48112         * conform/Makefile: For now ignore errors from run-conformtest.
48113         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48114         POSIX to avoid namespace pollution.  Don't prepend headers.
48115         * conform/data/aio.h-data: Fixes for POSIX testing.
48116         * conform/data/fcntl.h-data: Likewise.
48117         * conform/data/glob.h-data: Likewise.
48118         * conform/data/grp.h-data: Likewise.
48119         * conform/data/pthread.h-data: Likewise.
48120         * conform/data/pwd.h-data: Likewise.
48121         * conform/data/signal.h-data: Likewise.
48122         * conform/data/spawn.h-data: Likewise.
48123         * conform/data/stdio.h-data: Likewise.
48124         * conform/data/stdlib.h-data: Likewise.
48125         * conform/data/stropts.h-data: Likewise.
48126         * conform/data/sys/mman.h-data: Likewise.
48127         * conform/data/sys/stat.h-data: Likewise.
48128         * conform/data/sys/types.h-data: Likewise.
48129         * conform/data/sys/wait.h-data: Likewise.
48130         * conform/data/time.h-data: Likewise.
48131         * conform/data/unistd.h-data: Likewise.
48132         * conform/data/utime.h-data: Likewise.
48134         * io/sys/stat.h: fchmod was always in POSIX.
48135         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48136         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48137         * rt/aio.h: Define __need_timespec before including <time.h>.
48138         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48139         struct.  Add forward declaration of pthread_attr_t and use it in
48140         sigevent.
48141         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48142         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48143         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48144         always remove CLK_TCK definition.
48146 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48148         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48150 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48152         * conform/run-conformtest.sh: New file.
48153         * conform/Makefile: Run run-conformtest for tests.
48154         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48155         support.
48157         * conform/data/uchar.h-data: New file.
48158         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48159         * conform/data/arpa/inet.h-data: Likewise.
48160         * conform/data/assert.h-data: Likewise.
48161         * conform/data/complex.h-data: Likewise.
48162         * conform/data/cpio.h-data: Likewise.
48163         * conform/data/ctype.h-data: Likewise.
48164         * conform/data/dirent.h-data: Likewise.
48165         * conform/data/dlfcn.h-data: Likewise.
48166         * conform/data/errno.h-data: Likewise.
48167         * conform/data/fcntl.h-data: Likewise.
48168         * conform/data/float.h-data: Likewise.
48169         * conform/data/fmtmsg.h-data: Likewise.
48170         * conform/data/fnmatch.h-data: Likewise.
48171         * conform/data/ftw.h-data: Likewise.
48172         * conform/data/glob.h-data: Likewise.
48173         * conform/data/grp.h-data: Likewise.
48174         * conform/data/iconv.h-data: Likewise.
48175         * conform/data/inttypes.h-data: Likewise.
48176         * conform/data/langinfo.h-data: Likewise.
48177         * conform/data/libgen.h-data: Likewise.
48178         * conform/data/limits.h-data: Likewise.
48179         * conform/data/locale.h-data: Likewise.
48180         * conform/data/math.h-data: Likewise.
48181         * conform/data/monetary.h-data: Likewise.
48182         * conform/data/mqueue.h-data: Likewise.
48183         * conform/data/ndbm.h-data: Likewise.
48184         * conform/data/net/if.h-data: Likewise.
48185         * conform/data/netdb.h-data: Likewise.
48186         * conform/data/netinet/in.h-data: Likewise.
48187         * conform/data/nl_types.h-data: Likewise.
48188         * conform/data/poll.h-data: Likewise.
48189         * conform/data/pthread.h-data: Likewise.
48190         * conform/data/pwd.h-data: Likewise.
48191         * conform/data/regex.h-data: Likewise.
48192         * conform/data/sched.h-data: Likewise.
48193         * conform/data/search.h-data: Likewise.
48194         * conform/data/semaphore.h-data: Likewise.
48195         * conform/data/setjmp.h-data: Likewise.
48196         * conform/data/signal.h-data: Likewise.
48197         * conform/data/spawn.h-data: Likewise.
48198         * conform/data/stdarg.h-data: Likewise.
48199         * conform/data/stdio.h-data: Likewise.
48200         * conform/data/stdlib.h-data: Likewise.
48201         * conform/data/string.h-data: Likewise.
48202         * conform/data/strings.h-data: Likewise.
48203         * conform/data/stropts.h-data: Likewise.
48204         * conform/data/sys/ipc.h-data: Likewise.
48205         * conform/data/sys/mman.h-data: Likewise.
48206         * conform/data/sys/msg.h-data: Likewise.
48207         * conform/data/sys/resource.h-data: Likewise.
48208         * conform/data/sys/select.h-data: Likewise.
48209         * conform/data/sys/sem.h-data: Likewise.
48210         * conform/data/sys/shm.h-data: Likewise.
48211         * conform/data/sys/socket.h-data: Likewise.
48212         * conform/data/sys/stat.h-data: Likewise.
48213         * conform/data/sys/statvfs.h-data: Likewise.
48214         * conform/data/sys/time.h-data: Likewise.
48215         * conform/data/sys/timeb.h-data: Likewise.
48216         * conform/data/sys/times.h-data: Likewise.
48217         * conform/data/sys/types.h-data: Likewise.
48218         * conform/data/sys/uio.h-data: Likewise.
48219         * conform/data/sys/un.h-data: Likewise.
48220         * conform/data/sys/utsname.h-data: Likewise.
48221         * conform/data/sys/wait.h-data: Likewise.
48222         * conform/data/syslog.h-data: Likewise.
48223         * conform/data/tar.h-data: Likewise.
48224         * conform/data/termios.h-data: Likewise.
48225         * conform/data/utime.h-data: Likewise.
48226         * conform/data/utmpx.h-data: Likewise.
48227         * conform/data/varargs.h-data: Likewise.
48228         * conform/data/wchar.h-data: Likewise.
48229         * conform/data/wctype.h-data: Likewise.
48230         * conform/data/wordexp.h-data: Likewise.
48232         * include/stropts.h: New file.
48233         * include/uchar.h: New file.
48234         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48235         * include/assert.h: Likewise.
48236         * include/ctype.h: Likewise.
48237         * include/dirent.h: Likewise.
48238         * include/dlfcn.h: Likewise.
48239         * include/fcntl.h: Likewise.
48240         * include/fnmatch.h: Likewise.
48241         * include/glob.h: Likewise.
48242         * include/grp.h: Likewise.
48243         * include/libio.h: Likewise.
48244         * include/locale.h: Likewise.
48245         * include/math.h: Likewise.
48246         * include/net/if.h: Likewise.
48247         * include/netdb.h: Likewise.
48248         * include/netinet/in.h: Likewise.
48249         * include/pthread.h: Likewise.
48250         * include/pwd.h: Likewise.
48251         * include/regex.h: Likewise.
48252         * include/sched.h: Likewise.
48253         * include/search.h: Likewise.
48254         * include/setjmp.h: Likewise.
48255         * include/signal.h: Likewise.
48256         * include/stdio.h: Likewise.
48257         * include/stdlib.h: Likewise.
48258         * include/string.h: Likewise.
48259         * include/sys/cdefs.h: Likewise.
48260         * include/sys/mman.h: Likewise.
48261         * include/sys/msg.h: Likewise.
48262         * include/sys/resource.h: Likewise.
48263         * include/sys/select.h: Likewise.
48264         * include/sys/socket.h: Likewise.
48265         * include/sys/stat.h: Likewise.
48266         * include/sys/statvfs.h: Likewise.
48267         * include/sys/time.h: Likewise.
48268         * include/sys/times.h: Likewise.
48269         * include/sys/uio.h: Likewise.
48270         * include/sys/utsname.h: Likewise.
48271         * include/sys/wait.h: Likewise.
48272         * include/termios.h: Likewise.
48273         * include/time.h: Likewise.
48274         * include/ulimit.h: Likewise.
48275         * include/unistd.h: Likewise.
48276         * include/utime.h: Likewise.
48277         * include/wchar.h: Likewise.
48278         * include/wctype.h: Likewise.
48279         * include/wordexp.h: Likewise.
48281         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48283         * time/time.h: TIME_UTC must be a macro.
48284         Make timespec_get available for ISO C11 only as well.
48286 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48288         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48289         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48291 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48293         * configure.in: Use -o not -a in test for unsupported multi-arch.
48295 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48297         * manual/texinfo.tex: Update to version 2012-01-19.16.
48299 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48301         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48303 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48305         [BZ #13738]
48306         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48307         * manual/fdl-1.3.texi: New file.
48308         * manual/fdl-1.1.texi: File removed.
48310         [BZ #13738]
48311         * manual/libc.texinfo (FDL_VERSION): New @set.
48312         Use it for mention of FDL in cover text.
48313         (Documentation License): Use it in @include file name.
48315 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48316             Roland McGrath  <roland@hack.frob.com>
48318         [BZ #5461]
48319         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48320         (not LONG_LONG_MAX and LONG_LONG_MIN.
48321         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48322         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48323         name.
48324         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48326 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48328         [BZ #2547]
48329         [BZ #11365]
48330         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48331         manipulate bits before adding and subtracting TWO23[sx].
48332         * math/libm-test.inc (nearbyint_test): Add more tests.
48334 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48336         [BZ #2548]
48337         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48338         bits before adding and subtracting TWO23[sx].
48339         * math/libm-test.inc (rint_test): Add more tests.
48340         (rint_test_tonearest): Likewise.
48341         (rint_test_towardzero): Likewise.
48342         (rint_test_downward): Likewise.
48343         (rint_test_upward: Likewise.
48345 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48347         [BZ #10110]
48348         * include/stdc-predef.h: New file.  Extracted from features.h.
48349         * include/features.h: Include stdc-predef.h.
48350         * Makefile (headers): Add stdc-predef.h.
48351         * CONFORMANCE (Compiler limitations): Update.
48353 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48355         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48357 2012-02-21  David S. Miller  <davem@davemloft.net>
48359         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48360         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48362 2012-02-20  David S. Miller  <davem@davemloft.net>
48364         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48365         using a normal save/restore sequence, rather than allocating a
48366         dummy stack frame just to store a frame pointer and restore.
48367         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48369 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48371         * manual/install.texi: Fix stray word in line-wrapped comment.
48373 2012-02-20  David S. Miller  <davem@davemloft.net>
48375         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48376         both binutils and gcc support GOTDATA.
48378         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48379         "rd %pc" in the PIC register setup sequences.
48381         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48382         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48383         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48384         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48385         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48386         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48387         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48388         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48389         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48390         (SYSCALL_ERROR_HANDLER): Likewise.
48391         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48392         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48393         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48394         (SYSCALL_ERROR_HANDLER): Likewise.
48396         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48397         (HAVE_GCC_GOTDATA): New.
48398         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48399         relocation support in both binutils and gcc.
48400         * sysdeps/sparc/elf/configure: Regenerate.
48402         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48403         * sysdeps/sparc/sparc32/elf/configure: Delete.
48404         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48405         * sysdeps/sparc/sparc64/elf/configure: Delete.
48406         * sysdeps/sparc/elf/configure.in: New file.
48407         * sysdeps/sparc/elf/configure: Generate.
48409         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48410         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48411         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48412         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48413         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48415 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48417         * manual/install.texi: Do not mention specific glibc version
48418         numbers.
48419         * manual/libc.texinfo (VERSION, UPDATED): Update.
48420         (@copying): Use @copyright{} and range of years.
48422 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48424         [BZ #13695]
48425         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48426         [crti.S not in sysdirs] (generated): Do not append.
48427         [crti.S not in sysdirs] (omit-deps): Likewise.
48428         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48429         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48430         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48431         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48432         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48433         Likewise.
48434         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48435         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48436         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48437         * csu/defs.awk: Remove file.
48438         * sysdeps/generic/initfini.c: Likewise.
48439         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48440         variable.
48441         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48442         Likewise.
48444 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48446         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48447         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48448         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48449         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48450         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48451         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48452         <bits/epoll.h>.
48453         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48454         (__EPOLL_PACKED): Define to empty if not defined by
48455         <bits/epoll.h>.
48456         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48457         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48458         bits/epoll.h.
48460 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48462         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48463         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48464         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48465         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48466         <bits/timerfd.h>.
48467         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48469         bits/timerfd.h.
48471 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48473         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48474         in C locale.
48475         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48476         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48477         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48480 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48482         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48483         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48485 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48487         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48488         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48489         defined.
48490         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48491         Likewise.
48492         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48493         entry for 2.16.
48495 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48497         * math/w_acos.c: Use non-signaling floating-point comparisons.
48498         * math/w_acosf.c: Likewise.
48499         * math/w_acosh.c: Likewise.
48500         * math/w_acoshf.c: Likewise.
48501         * math/w_acoshl.c: Likewise.
48502         * math/w_acosl.c: Likewise.
48503         * math/w_asin.c: Likewise.
48504         * math/w_asinf.c: Likewise.
48505         * math/w_asinl.c: Likewise.
48506         * math/w_atanh.c: Likewise.
48507         * math/w_atanhf.c: Likewise.
48508         * math/w_atanhl.c: Likewise.
48509         * math/w_exp2.c: Likewise.
48510         * math/w_exp2f.c: Likewise.
48511         * math/w_exp2l.c: Likewise.
48512         * math/w_j0.c: Likewise.
48513         * math/w_j0f.c: Likewise.
48514         * math/w_j0l.c: Likewise.
48515         * math/w_j1.c: Likewise.
48516         * math/w_j1f.c: Likewise.
48517         * math/w_j1l.c: Likewise.
48518         * math/w_jn.c: Likewise.
48519         * math/w_jnf.c: Likewise.
48520         * math/w_log.c: Likewise.
48521         * math/w_log10.c: Likewise.
48522         * math/w_log10f.c: Likewise.
48523         * math/w_log10l.c: Likewise.
48524         * math/w_log2.c: Likewise.
48525         * math/w_log2f.c: Likewise.
48526         * math/w_log2l.c: Likewise.
48527         * math/w_logf.c: Likewise.
48528         * math/w_logl.c: Likewise.
48529         * math/w_sqrt.c: Likewise.
48530         * math/w_sqrtf.c: Likewise.
48531         * math/w_sqrtl.c: Likewise.
48532         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48533         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48534         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48535         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48536         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48538 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48540         [BZ #9739]
48541         * manual/string.texi (strnlen): Use correct parameter name in
48542         equivalent expression.
48544 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48546         [BZ #11174]
48547         * manual/users.texi (seteuid): Consistently use neweuid for
48548         argument name.
48550 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48552         [BZ #13704]
48553         * manual/nss.texi (Services in the NSS configuration): Correct
48554         list of services in example configuration file.
48556 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48558         [BZ #11322]
48559         * manual/arith.texi: Remove statements about negative zero
48560         behaving identically to zero.
48562 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48564         [BZ #5993]
48565         * manual/install.texi: Do not document upgrading from libc5.
48567 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48569         [BZ #4596]
48570         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48572 2012-02-18  David S. Miller  <davem@davemloft.net>
48574         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48575         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48576         %o7 across the call.
48577         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48578         instead.
48579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48580         SETUP_PIC_REG_LEAF.
48581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48582         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48583         * sysdeps/sparc/crtn.S: Likewise.
48585 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48587         * aout/Makefile: Remove.
48589 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48591         [BZ #13058]
48592         * manual/examples/argp-ex1.c (main): Format definition in GNU
48593         style.
48594         * manual/examples/argp-ex2.c (main): Likewise.
48595         * manual/examples/argp-ex3.c (main): Likewise.
48596         * manual/examples/argp-ex4.c (main): Likewise.
48597         * manual/examples/longopt.c (main): Use new-style prototype
48598         definition.
48599         * manual/examples/strncat.c (main): Specify return type and use
48600         (void) for arguments.
48601         * manual/examples/subopt.c (main): Use char **argv argument.
48603 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48605         [BZ #5077]
48606         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48607         rounding modes.
48609 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48611         [BZ #6907]
48612         * manual/string.texi (strchr): Change when strchrnul is
48613         recommended.
48615 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48617         [BZ #174]
48618         * manual/locale.texi (setlocale): Document LOCPATH.
48620 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48622         [BZ #10210]
48623         * manual/process.texi (execle): Move @dots{} before last argument.
48625 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48627         [BZ #12047]
48628         * manual/charset.texi (Generic Charset Conversion): Fix typo
48629         (LC_TYPE -> LC_CTYPE).
48631 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48633         [BZ #5805]
48634         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48635         (scalbnf): Likewise.
48636         (scalbnl): Likewise.
48637         (scalbln): Likewise.
48638         (scalblnf): Likewise.
48639         (scalblnl): Likewise.
48640         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48641         (vwarnx): Likewise.
48642         (verr): Likewise.
48643         (verrx): Likewise.
48644         * manual/filesys.texi (telldir): Use braces around return type.
48645         * manual/llio.texi (mmap): Add space after comma.
48646         (mmap64): Likewise.
48647         * manual/math.texi (jn): Use @var{} on parameter names.
48648         (jnf): Likewise.
48649         (jnl): Likewise.
48650         (yn): Likewise.
48651         (ynf): Likewise.
48652         (ynl): Likewise.
48653         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48654         line.
48655         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48656         "...".
48657         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48658         (sched_get_priority_max): Likewise.
48659         * manual/signal.texi (sigvec): Add space after comma.
48660         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48661         names.
48662         (if_indextoname): Likewise.
48663         (if_freenameindex): Likewise.
48664         (sendto): Use ',' instead of '.' in prototype.
48665         * manual/startup.texi (syscall): Use @dots{} instead of literal
48666         "...".
48667         * manual/stdio.texi (__fpending): Separate initial words of
48668         paragraph from @deftypefun line.
48669         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48670         "...".
48671         (vsyslog): Use @var{} on parameter names.
48672         * manual/terminal.texi (stty): Use @var{} on parameter names.
48673         * manual/users.texi (getutmp): Use @var{} on parameter names.
48674         (getutmpx): Likewise.
48676 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48678         [BZ #6884]
48679         * manual/stdio.texi (fopen): Fix typos in description of
48680         ",ccs=STRING".
48682 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48684         [BZ #4026]
48685         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48686         get clock_id definition.
48688 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48690         [BZ #4822]
48691         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48692         (madvise): Cast every argument to void on its own.
48694 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48696         [BZ #9902]
48697         * manual/startup.texi (Exit Status): Fix typo.
48699 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48701         [BZ #10140]
48702         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48703         * manual/examples/argp-ex2.c: Likewise.
48704         * manual/examples/argp-ex3.c: Likewise.
48706 2012-02-16  Richard Henderson  <rth@redhat.com>
48708         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48709         * sysdeps/s390/s390-32/initfini.c: Remove.
48710         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48711         * sysdeps/s390/s390-64/initfini.c: Remove.
48713 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48715         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48716         compiler output for sysdeps/generic/initfini.c.
48717         * sysdeps/sh/elf/initfini.c: Remove file.
48719 2012-02-16  David S. Miller  <davem@davemloft.net>
48721         [BZ #11494]
48722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48724         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48725         * sysdeps/sparc/crti.S: New file.
48726         * sysdeps/sparc/crtn.S: New file.
48727         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48728         * sysdeps/sparc/sparc64/Makefile: Likewise.
48730 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48732         [BZ #3335]
48733         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48735 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48737         [BZ #4822]
48738         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48740         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48741         (write, read, close): Likewise.
48742         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48744 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48746         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48747         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48748         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48749         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48750         <bits/signalfd.h>.
48751         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48752         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48753         bits/signalfd.h.
48755 2012-02-14  Marek Polacek  <polacek@redhat.com>
48757         * sysdeps/x86_64/crti.S: New file.
48758         * sysdeps/x86_64/crtn.S: New file.
48759         * sysdeps/x86_64/elf/initfini.c: Remove file.
48761 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48763         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48764         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48765         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48766         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48767         <bits/inotify.h>.
48768         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48770         bits/inotify.h.
48772 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48774         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48775         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48776         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48777         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48778         <bits/eventfd.h>.
48779         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48780         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48781         bits/eventfd.h.
48783 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48785         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48786         __feraiseexcept instead of feraiseexcept.
48788         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48789         nanosleep invocations.
48790         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48791         strings, and add error checking for a nanosleep invocations.
48793 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48795         Replace FSF snail mail address with URLs, as per GNU coding standards.
48796         Most of the snail mail addresses were wrong anyway, and omitting
48797         them makes the source code easier to maintain.  Almost all of the
48798         changes are to license notices and to locale LC_IDENTIFICATION
48799         addresses, except for this one:
48800         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48801         not its snail mail address.
48803 2012-02-09  Richard Henderson  <rth@twiddle.net>
48805         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48806         of kernel-features.h.
48808         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48810 2012-02-08  Marek Polacek  <polacek@redhat.com>
48812         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48813         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48814         * sysdeps/gnu/_G_config.h: Likewise.
48815         * sysdeps/generic/_G_config.h: Likewise.
48817 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48819         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48820         tests.
48821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48823         * sysdeps/powerpc/powerpc32/crti.S: New file.
48824         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48825         * sysdeps/powerpc/powerpc64/crti.S: New file.
48826         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48828         * Makeconfig (have-initfini): Don't set.
48829         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48830         * configure.in (nopic_initfini): Don't substitute.
48831         * config.h.in (HAVE_INITFINI): Don't #undef.
48832         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48833         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48835 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48837         Support crti.S and crtn.S provided directly by architectures.
48838         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48839         [crti.S in sysdirs] (omit-deps): Likewise.
48840         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48841         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48842         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48843         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48844         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48845         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48846         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48847         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48848         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48849         compiler output for sysdeps/generic/initfini.c.
48850         * sysdeps/i386/elf/Makefile: Remove file.
48851         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48853 2012-02-07  Marek Polacek  <polacek@redhat.com>
48855         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48856         * sysdeps/gnu/_G_config.h: Likewise.
48857         * sysdeps/mach/hurd/_G_config.h: Likewise.
48859 2012-02-07  Marek Polacek  <polacek@redhat.com>
48861         * math/Makefile (tests): Add tst-CMPLX2.
48862         * math/tst-CMPLX2.c: New file.
48864 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48866         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48868         * math/libm-test.inc (jn_test): Add missing L suffix.
48870 2012-02-06  Marek Polacek  <polacek@redhat.com>
48872         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48873         * sysdeps/i386/fpu/e_powf.S: Likewise.
48874         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48875         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48876         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48877         * sysdeps/i386/fpu/e_pow.S: Likewise.
48878         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48879         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48880         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48881         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48882         * sysdeps/i386/fpu/e_log2.S: Likewise.
48883         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48884         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48885         * sysdeps/i386/fpu/e_powl.S: Likewise.
48886         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48887         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48888         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48889         * sysdeps/i386/fpu/e_logl.S: Likewise.
48890         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48891         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48892         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48893         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48894         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48895         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48896         * sysdeps/i386/fpu/e_log.S: Likewise.
48897         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48898         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48899         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48900         * sysdeps/i386/fpu/e_logf.S: Likewise.
48901         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48902         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48903         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48904         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48905         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48906         * sysdeps/i386/fpu/e_log10.S: Likewise.
48907         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48908         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48909         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48910         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48911         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48912         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48913         * sysdeps/i386/asm-syntax.h: Likewise.
48914         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48915         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48916         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48917         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48918         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48919         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48920         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48921         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48922         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48923         * sysdeps/powerpc/sysdep.h: Likewise.
48924         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48925         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48927 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48929         [BZ #411]
48930         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48932 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48934         * sysdeps/i386/sysdep.h: Include <features.h>.
48935         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48936         version.
48938 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48940         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48941         Define.
48942         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48943         LOAD_PIC_REG_STR.
48945 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48947         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48948         (SETUP_PIC_REG): Use GET_PC_THUNK.
48949         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48950         macro.
48952 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48954         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48955         for non-PIC compilation.
48956         (SETUP_PIC_REG): Add .p2align directive.
48957         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48958         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48959         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48960         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48961         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48962         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48963         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48964         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48965         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48966         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48967         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48968         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48969         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48970         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48971         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48972         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48973         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48974         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48975         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48976         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48977         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48978         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48979         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48980         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48981         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48982         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48983         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48984         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48985         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48986         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48987         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48988         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48989         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48990         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48991         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48992         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48993         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48994         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48995         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48996         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48997         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48999 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49001         * math/tst-CMPLX.c: Include <stdio.h>.
49003 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49005         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49006         float.
49007         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49008         * sysdeps/sparc/bits/mathdef.h: Likewise.
49010 2012-01-31  Marek Polacek  <polacek@redhat.com>
49012         * libio/libio.h: Don't define _PARAMS.
49013         * locale/programs/config.h: Don't define PARAMS.
49014         * stdlib/strtol_l.c: Likewise.
49015         (__strtol_l): Remove PARAMS from the prototype.
49017 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49019         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49020         names.  Just use the correct names.  Remove unnecessary wrapper
49021         functions.
49022         * malloc/arena.c: Likewise.
49023         * malloc/hooks.c: Likewise.
49025         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49026         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49027         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49029 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49031         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49032         into tail calls.
49033         (update_get_addr): New function.
49034         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49035         GET_ADDR_MODULE parameter.
49037 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49039         * crypt/cert.c: Remove __STDC__ conditionals.
49040         * crypt/crypt-entry.c: Likewise.
49041         * crypt/crypt_util.c: Likewise.
49042         * libio/filedoalloc.c: Likewise.
49043         * libio/fileops.c: Likewise.
49044         * libio/genops.c: Likewise.
49045         * libio/iofclose.c: Likewise.
49046         * libio/iofdopen.c: Likewise.
49047         * libio/iofopen.c: Likewise.
49048         * libio/iofopen64.c: Likewise.
49049         * libio/iogetdelim.c: Likewise.
49050         * libio/iopopen.c: Likewise.
49051         * libio/obprintf.c: Likewise.
49052         * libio/oldfileops.c: Likewise.
49053         * libio/oldiofclose.c: Likewise.
49054         * libio/oldiofdopen.c: Likewise.
49055         * libio/oldiofopen.c: Likewise.
49056         * libio/oldiopopen.c: Likewise.
49057         * libio/wfiledoalloc.c: Likewise.
49058         * libio/wgenops.c: Likewise.
49059         * locale/programs/xmalloc.c: Likewise.
49060         * misc/syslog.c: Likewise.
49061         * stdio-common/xbug.c: Likewise.
49062         * string/memchr.c: Likewise.
49063         * string/memcmp.c: Likewise.
49064         * string/memrchr.c: Likewise.
49065         * string/rawmemchr.c: Likewise.
49066         * sysdeps/posix/getcwd.c: Likewise.
49067         * time/strftime_l.c: Likewise.
49069 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49071         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49072         * config.make.in (config-cflags-sse2avx): Define.
49073         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49074         Fix typo.
49076 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49078         * scripts/config.guess: Update from upstream config git repository.
49079         * scripts/config.sub: Likewise.
49081 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49083         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49084         (EM_NUM): Update.
49085         (R_TILEPRO_*, R_TILEGX_*): New macros.
49087         * scripts/firstversions.awk: Fix bug in version range handling.
49089         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49091         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49093         * include/sys/epoll.h: New file.
49094         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49095         libc_hidden_def.
49097 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49099         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49100         Avoid unnecessary __WORDSIZE == 64 test.
49101         (fmaxf): Use VEX format if possible.
49102         (fmax): Likewise.
49103         (fminf): Likewise.
49104         (fmin): Likewise.
49106         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49107         * math/math_private.h: Remove libc_fegetround* and
49108         libc_fesetround*.
49109         * sysdeps/i386/configure.in: Check for -msse2avx.
49110         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49111         also if SSE2AVX is defined.
49112         Remove libc_fegetround* and libc_fesetround*.
49113         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49114         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49115         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49116         of HAS_YMM_USABLE.
49117         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49118         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49119         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49120         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49121         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49123         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49125 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49127         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49128         size is not set.
49129         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49131 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49133         [BZ #13618]
49134         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49135         relocation.
49136         * Makeconfig (libm): Define.
49137         * elf/Makefile: Add rules to build and run tst-relsort1.
49138         * elf/tst-relsort1.c: New file.
49139         * elf/tst-relsort1mod1.c: New file.
49140         * elf/tst-relsort1mod2.c: New file.
49142 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49144         * math/s_ldexp.c: Remove __STDC__ conditionals.
49145         * math/s_ldexpf.c: Likewise.
49146         * math/s_ldexpl.c: Likewise.
49147         * math/s_nextafter.c: Likewise.
49148         * math/s_nexttowardf.c: Likewise.
49149         * math/s_significand.c: Likewise.
49150         * math/s_significandf.c: Likewise.
49151         * math/s_significandl.c: Likewise.
49152         * math/w_jnl.c: Likewise.
49153         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49154         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49155         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49156         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49157         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49158         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49159         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49160         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49161         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49162         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49163         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49164         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49165         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49166         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49167         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49168         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49169         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49170         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49171         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49172         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49173         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49174         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49175         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49176         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49177         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49178         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49179         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49180         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49181         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49182         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49183         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49184         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49185         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49186         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49187         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49188         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49189         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49190         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49191         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49192         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49193         * sysdeps/ieee754/k_standard.c: Likewise.
49194         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49195         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49196         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49197         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49198         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49199         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49200         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49201         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49202         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49203         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49204         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49205         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49206         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49207         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49208         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49209         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49210         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49211         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49212         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49213         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49214         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49215         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49216         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49217         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49218         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49219         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49220         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49224         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49225         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49226         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49227         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49228         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49229         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49230         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49236         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49239         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49240         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49241         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49245         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49246         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49247         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49248         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49251         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49252         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49253         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49254         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49255         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49256         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49257         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49258         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49259         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49260         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49261         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49262         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49263         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49264         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49265         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49266         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49267         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49268         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49269         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49270         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49271         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49272         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49273         * sysdeps/ieee754/s_matherr.c: Likewise.
49274         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49275         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49276         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49277         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49279 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49281         * crypt/md5.h: Remove __STDC__ conditionals.
49282         * libio/libioP.h: Likewise.
49283         * locale/programs/config.h: Likewise.
49284         * sysdeps/generic/sysdep.h: Likewise.
49285         * sysdeps/i386/asm-syntax.h: Likewise.
49286         * sysdeps/s390/asm-syntax.h: Likewise.
49287         * sysdeps/unix/sysdep.h: Likewise.
49288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49291 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49293         * libio/libio.h: Remove __STDC__ conditionals.
49294         * malloc/obstack.h: Likewise.
49295         * math/complex.h: Likewise.
49296         * math/math.h: Likewise.
49297         * sysdeps/generic/_G_config.h: Likewise.
49298         * sysdeps/gnu/_G_config.h: Likewise.
49299         * sysdeps/mach/hurd/_G_config.h: Likewise.
49300         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49301         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49302         * sysdeps/sparc/bits/mathdef.h: Likewise.
49304 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49306         [BZ #13583]
49307         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49308         Clean up HAS_* macros.
49309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49310         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49311         possible.
49312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49313         HAS_AVX.
49314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49315         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49316         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49317         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49318         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49320 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49322         * elf/tst-unique3.cc (gets): Remove declaration.
49323         * elf/tst-unique3lib.cc (gets): Likewise.
49324         * elf/tst-unique3lib2.cc (gets): Likewise.
49325         * elf/tst-unique4.cc (gets): Likewise.
49327 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49329         * include/stdio.h: Add C++ protection.  Add gets declarations and
49330         definitions.
49331         * debug/tst-chk1.c: Don't declare gets here.
49332         * stdio-common/tst-gets.c: Likewise.
49334 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49336         * posix/glob: Remove directory.
49338 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49340         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49342 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49344         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49345         of the non-standard EPFNOSUPPORT.
49347 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49349         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49350         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49351         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49353 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49355         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49357 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49359         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49360         transient errors.
49361         * nscd/grpcache.c (cache_addgr): Likewise.
49362         * nscd/hstcache.c (cache_addhst): Likewise.
49363         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49364         * nscd/pwdcache.c (cache_addpw): Likewise.
49365         * nscd/servicescache.c (cache_addserv): Likewise.
49367 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49369         * malloc/malloc.c: Various cleanups.
49370         * malloc/hooks.c: Likewise.
49372         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49373         * stdlib/bug-fmtmsg1.c: New file.
49375         * stdlib/fmtmsg.c (init): Add missing unlock.
49376         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49378 2012-01-12  Marek Polacek  <polacek@redhat.com>
49380         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49381         and _GNU_SOURCE.
49383 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49385         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49386         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49387         macro to ensure uniqueness of label name.
49388         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49389         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49391 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49393         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49395         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49396         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49397         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49398         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49400 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49402         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49404         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49405         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49406         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49408         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49410         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49411         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49412         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49413         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49415         * math/bits/math-finite.h: Add ldexp support.
49417 2012-01-10  Marek Polacek  <polacek@redhat.com>
49419         * locale/programs/localedef.h (show_archive_content): Add noreturn
49420         attribute.
49422 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49424         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49426 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49428         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49430         * io/Makefile (headers): Add bits/poll2.h.
49432 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49435         typo #include statement.
49437 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49439         * include/sys/cdefs.h: Define __attribute_alloc_size.
49440         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49441         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49442         * elf/pldd.c: Likewise.
49443         * iconv/iconv_charmap.c: Likewise.
49444         * iconv/iconvconfig.c: Likewise.
49445         * iconv/strtab.c: Likewise.
49446         * locale/programs/locale.c: Likewise.
49447         * locale/programs/localedef.h: Likewise.
49448         * locale/programs/simple-hash.c: Likewise.
49449         * nscd/nscd.h: Likewise.
49450         * nss/makedb.c: Likewise.
49451         * sysdeps/generic/ldconfig.h: Likewise.
49452         * locale/programs/localedef.c: Remove xmalloc prototype.
49453         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49455 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49457         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49458         appropriate.
49460 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49462         * math/Makefile (tests): Add tst-CMPLX.
49463         * math/tst-CMPLX.c: New file.
49465         * math/complex.h (CMPLXL): Fix typo.
49467         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49468         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49469         GLIBC_2.16.
49470         * debug/tst-chk1.c: Add poll and ppoll tests.
49471         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49472         * include/sys/poll.h: Add hidden proto for ppoll.
49473         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49474         * sysdeps/mach/hurd/ppoll.c: Likewise.
49475         * io/ppoll.c: Likewise.
49476         * debug/poll_chk.c: New file.
49477         * debug/ppoll_chk.c: New file.
49478         * include/bits/poll2.h: New file.
49479         * io/bits/poll2.h: New file.
49481         [BZ #1350]
49482         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49484         * configure.in: static is always set to yes.  Remove.
49485         * config.make.in: Don't set build-static.
49486         * Makeconfig: Remove use of build-static.
49487         * dlfcn/Makefile: Likewise.
49488         * elf/Makefile: Likewise.
49489         * math/Makefile: Likewise.
49490         * misc/Makefile: Likewise.
49491         * nptl/Makefile: Likewise.
49492         * sysdeps/mach/hurd/Makefile: Likewise.
49494         * configure.in: PWD_P is not used anymore.
49495         * config.make.in: Remove PWD_P entry.
49497         * configure.in: Remove last remnants of RANLIB.
49498         No need to check for signed size_t anymore.
49499         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49500         and IA-64.
49501         Remove __builtin_expect test because we require at least gcc 3.4.
49502         * aclocal.m4: Likewise.
49504         * wcsmbs/mbrtoc16.c: Implement using towc function.
49505         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49506         * wcsmbs/wcsmbsload.c: Likewise.
49507         * iconv/gconv_simple.c: Likewise.
49508         * iconv/gconv_int.h: Likewise.
49509         * iconv/gconv_builtin.h: Likewise.
49510         * iconv/iconv_prog.c: Remove CHAR16 handling.
49512         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49514         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49516         * configure.in: Remove --with-elf and --enable-bounded options.
49517         Dont set base_machine for ia64.  More non-ELF conditions removed.
49518         Remove testing and setting of leading underscore information.
49519         * config.make.in (build-bounded): Set to no.
49520         * config.h.in: Remove NO_UNDERSCORES entry.
49521         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49522         them.
49523         * csu/start.c: Remove !NO_UNDERSCORE code.
49524         * locale/localeinfo.h: Likewise.
49525         * sysdeps/generic/machine-gmon.h: Likewise.
49526         * sysdeps/generic/sysdep.h: Likewise.
49527         * sysdeps/i386/sysdep.h: Likewise.
49528         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49529         * sysdeps/mach/sysdep.h: Likewise.
49530         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49531         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49532         * sysdeps/sh/sysdep.h: Likewise.
49533         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49534         * sysdeps/unix/i386/sysdep.S: Likewise.
49535         * sysdeps/unix/sparc/start.c: Likewise.
49536         * sysdeps/unix/sparc/sysdep.S: Likewise.
49537         * sysdeps/unix/sparc/sysdep.h: Likewise.
49538         * sysdeps/unix/start.c: Likewise.
49539         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49540         * sysdeps/x86_64/sysdep.h: Likewise.
49542 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49544         [BZ #13553]
49545         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49546         for non-gcc.
49547         * argp/argp-fmtstream.h: Use const instead __const.
49548         * argp/argp.h: Likewise.
49549         * assert/assert.h: Likewise.
49550         * bits/fenv.h: Likewise.
49551         * bits/sched.h: Likewise.
49552         * bits/sigset.h: Likewise.
49553         * bits/sigthread.h: Likewise.
49554         * catgets/nl_types.h: Likewise.
49555         * conform/data/pthread.h-data: Likewise.
49556         * crypt/crypt-private.h: Likewise.
49557         * crypt/crypt.h: Likewise.
49558         * crypt/crypt_util.c: Likewise.
49559         * ctype/ctype.h: Likewise.
49560         * debug/execinfo.h: Likewise.
49561         * debug/mbsnrtowcs_chk.c: Likewise.
49562         * debug/mbsrtowcs_chk.c: Likewise.
49563         * debug/wcsnrtombs_chk.c: Likewise.
49564         * debug/wcsrtombs_chk.c: Likewise.
49565         * debug/wcstombs_chk.c: Likewise.
49566         * dirent/dirent.h: Likewise.
49567         * dlfcn/dlfcn.h: Likewise.
49568         * elf/neededtest4.c: Likewise.
49569         * grp/grp.h: Likewise.
49570         * gshadow/gshadow.h: Likewise.
49571         * iconv/gconv.h: Likewise.
49572         * iconv/gconv_int.h: Likewise.
49573         * iconv/gconv_simple.c: Likewise.
49574         * iconv/iconv.h: Likewise.
49575         * iconv/loop.c: Likewise.
49576         * iconv/skeleton.c: Likewise.
49577         * include/aio.h: Likewise.
49578         * include/aliases.h: Likewise.
49579         * include/argz.h: Likewise.
49580         * include/arpa/inet.h: Likewise.
49581         * include/assert.h: Likewise.
49582         * include/dirent.h: Likewise.
49583         * include/dlfcn.h: Likewise.
49584         * include/execinfo.h: Likewise.
49585         * include/fcntl.h: Likewise.
49586         * include/fenv.h: Likewise.
49587         * include/glob.h: Likewise.
49588         * include/grp.h: Likewise.
49589         * include/libintl.h: Likewise.
49590         * include/mntent.h: Likewise.
49591         * include/netdb.h: Likewise.
49592         * include/pwd.h: Likewise.
49593         * include/rpc/netdb.h: Likewise.
49594         * include/sched.h: Likewise.
49595         * include/search.h: Likewise.
49596         * include/shadow.h: Likewise.
49597         * include/signal.h: Likewise.
49598         * include/stdio.h: Likewise.
49599         * include/stdlib.h: Likewise.
49600         * include/string.h: Likewise.
49601         * include/sys/socket.h: Likewise.
49602         * include/sys/stat.h: Likewise.
49603         * include/sys/statfs.h: Likewise.
49604         * include/sys/statvfs.h: Likewise.
49605         * include/sys/syslog.h: Likewise.
49606         * include/sys/time.h: Likewise.
49607         * include/sys/uio.h: Likewise.
49608         * include/time.h: Likewise.
49609         * include/unistd.h: Likewise.
49610         * include/utmp.h: Likewise.
49611         * include/wchar.h: Likewise.
49612         * include/wctype.h: Likewise.
49613         * inet/aliases.h: Likewise.
49614         * inet/arpa/inet.h: Likewise.
49615         * inet/netinet/ether.h: Likewise.
49616         * inet/netinet/in.h: Likewise.
49617         * intl/libintl.h: Likewise.
49618         * io/bits/fcntl2.h: Likewise.
49619         * io/fcntl.h: Likewise.
49620         * io/ftw.h: Likewise.
49621         * io/sys/poll.h: Likewise.
49622         * io/sys/stat.h: Likewise.
49623         * io/sys/statfs.h: Likewise.
49624         * io/sys/statvfs.h: Likewise.
49625         * io/utime.h: Likewise.
49626         * libio/bits/stdio.h: Likewise.
49627         * libio/bits/stdio2.h: Likewise.
49628         * libio/libio.h: Likewise.
49629         * libio/libioP.h: Likewise.
49630         * libio/stdio.h: Likewise.
49631         * locale/lc-ctype.c: Likewise.
49632         * locale/locale.h: Likewise.
49633         * login/utmp.h: Likewise.
49634         * malloc/arena.c: Likewise.
49635         * malloc/malloc.c: Likewise.
49636         * malloc/malloc.h: Likewise.
49637         * malloc/mcheck.c: Likewise.
49638         * malloc/mtrace.c: Likewise.
49639         * math/bits/mathcalls.h: Likewise.
49640         * math/fenv.h: Likewise.
49641         * math/math_private.h: Likewise.
49642         * misc/bits/error.h: Likewise.
49643         * misc/bits/syslog.h: Likewise.
49644         * misc/err.h: Likewise.
49645         * misc/error.h: Likewise.
49646         * misc/fstab.h: Likewise.
49647         * misc/mntent.h: Likewise.
49648         * misc/regexp.h: Likewise.
49649         * misc/search.h: Likewise.
49650         * misc/sgtty.h: Likewise.
49651         * misc/sys/mman.h: Likewise.
49652         * misc/sys/syslog.h: Likewise.
49653         * misc/sys/uio.h: Likewise.
49654         * misc/sys/xattr.h: Likewise.
49655         * misc/ttyent.h: Likewise.
49656         * nis/rpcsvc/ypclnt.h: Likewise.
49657         * nss/nss.h: Likewise.
49658         * posix/bits/unistd.h: Likewise.
49659         * posix/fnmatch.h: Likewise.
49660         * posix/glob.h: Likewise.
49661         * posix/sched.h: Likewise.
49662         * posix/spawn.h: Likewise.
49663         * posix/sys/wait.h: Likewise.
49664         * posix/unistd.h: Likewise.
49665         * posix/wordexp.h: Likewise.
49666         * pwd/pwd.h: Likewise.
49667         * resolv/netdb.h: Likewise.
49668         * resource/sys/resource.h: Likewise.
49669         * rt/aio.h: Likewise.
49670         * rt/bits/mqueue2.h: Likewise.
49671         * rt/mqueue.h: Likewise.
49672         * shadow/shadow.h: Likewise.
49673         * signal/signal.h: Likewise.
49674         * socket/send.c: Likewise.
49675         * socket/sendto.c: Likewise.
49676         * socket/sys/socket.h: Likewise.
49677         * stdio-common/printf.h: Likewise.
49678         * stdlib/bits/stdlib.h: Likewise.
49679         * stdlib/fmtmsg.h: Likewise.
49680         * stdlib/monetary.h: Likewise.
49681         * stdlib/stdlib.h: Likewise.
49682         * stdlib/ucontext.h: Likewise.
49683         * streams/stropts.h: Likewise.
49684         * string/argz.h: Likewise.
49685         * string/bits/string2.h: Likewise.
49686         * string/string.h: Likewise.
49687         * string/strings.h: Likewise.
49688         * sunrpc/rpc/auth.h: Likewise.
49689         * sunrpc/rpc/auth_des.h: Likewise.
49690         * sunrpc/rpc/clnt.h: Likewise.
49691         * sunrpc/rpc/netdb.h: Likewise.
49692         * sunrpc/rpc/pmap_clnt.h: Likewise.
49693         * sunrpc/rpc/xdr.h: Likewise.
49694         * sysdeps/generic/inttypes.h: Likewise.
49695         * sysdeps/generic/net/if.h: Likewise.
49696         * sysdeps/generic/sys/swap.h: Likewise.
49697         * sysdeps/gnu/net/if.h: Likewise.
49698         * sysdeps/gnu/utmpx.h: Likewise.
49699         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49700         * sysdeps/i386/i486/bits/string.h: Likewise.
49701         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49702         * sysdeps/s390/bits/string.h: Likewise.
49703         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49704         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49705         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49706         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49707         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49708         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49709         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49710         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49711         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49712         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49713         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49714         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49715         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49716         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49717         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49718         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49719         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49721         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49722         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49723         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49724         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49725         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49726         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49727         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49728         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49729         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49730         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49731         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49732         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49733         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49734         * sysvipc/sys/ipc.h: Likewise.
49735         * sysvipc/sys/msg.h: Likewise.
49736         * sysvipc/sys/sem.h: Likewise.
49737         * sysvipc/sys/shm.h: Likewise.
49738         * termios/termios.h: Likewise.
49739         * time/sys/time.h: Likewise.
49740         * time/time.h: Likewise.
49741         * wcsmbs/bits/wchar2.h: Likewise.
49742         * wcsmbs/uchar.h: Likewise.
49743         * wcsmbs/wchar.h: Likewise.
49744         * wctype/wctype.h: Likewise.
49746         [BZ #13551]
49747         * Makeconfig: Remove all but ELF support including AIX support.
49748         * Makerules: Likewise.
49749         * config.h.in: Likewise.
49750         * config.make.in: Likewise.
49751         * configure: Likewise.
49752         * configure.in: Likewise.
49753         * csu/Makefile: Likewise.
49754         * csu/version.c: Likewise.
49755         * debug/Makefile: Likewise.
49756         * dlfcn/Makefile: Likewise.
49757         * elf/Makefile: Likewise.
49758         * extra-lib.mk: Likewise.
49759         * iconv/Makefile: Likewise.
49760         * include/libc-symbols.h: Likewise.
49761         * include/shlib-compat.h: Likewise.
49762         * resolv/Makefile: Likewise.
49763         * resolv/res_libc.c: Likewise.
49764         * rt/Makefile: Likewise.
49765         * sysdeps/i386/asm-syntax.h: Likewise.
49766         * sysdeps/i386/sysdep.h: Likewise.
49767         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49768         * sysdeps/mach/sysdep.h: Likewise.
49769         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49770         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49771         * sysdeps/s390/asm-syntax.h: Likewise.
49772         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49773         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49774         * sysdeps/sh/sysdep.h: Likewise.
49775         * sysdeps/unix/sparc/sysdep.h: Likewise.
49776         * sysdeps/wordsize-32/divdi3.c: Likewise.
49777         * sysdeps/x86_64/sysdep.h: Likewise.
49779         * argp/Versions: Remove _argp_unlock_xxx.
49781         [BZ #13559]
49782         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49783         * abilist/libBrokenLocale.abilist: Likewise.
49784         * abilist/libanl.abilist: Likewise.
49785         * abilist/libc.abilist: Likewise.
49786         * abilist/libcrypt.abilist: Likewise.
49787         * abilist/libdl.abilist: Likewise.
49788         * abilist/libm.abilist: Likewise.
49789         * abilist/libnsl.abilist: Likewise.
49790         * abilist/libpthread.abilist: Likewise.
49791         * abilist/libresolv.abilist: Likewise.
49792         * abilist/librt.abilist: Likewise.
49793         * abilist/libthread_db.abilist: Likewise.
49794         * abilist/libutil.abilist: Likewise.
49795         * abilist/libnss_db.abilist: New file.
49797         * scripts/abilist.awk: Add support for indirect functions.
49799         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49801         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49803         * shlib-versions: Remove entries for ports architectures.
49805         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49806         files in ports.
49807         * elf/stackguard-macros.h: Remove support for IA-64.
49808         * elf/tst-auditmod1.c: Likewise.
49809         * sysdeps/generic/ldsodefs.h: Likewise.
49811         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49812         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49813         configure files.
49815         [BZ #13552]
49816         * configure.in: Remove --enable-omitfp support.
49817         * FAQ.in: Adjust.
49818         * config.make.in: Likewise.
49819         * Makeconfig: Likewise.
49820         * manual/install.texi: Likewise.
49822         In case anyone cares, the IA-64 architecture could move to ports.
49823         * sysdeps/ia64/*: Removed.
49824         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49825         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49827         [BZ #13555]
49828         * configure.in: Remove entries for unsupported architectures.
49830         [BZ #13533]
49831         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49832         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49833         routines.
49834         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49835         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49836         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49837         fall back to using wcrtomb.
49838         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49839         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49840         renaming.
49841         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49842         * wcsmbs/tst-c16c32-1.c: New file.
49844         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49845         local variable.
49847         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49849         * elf/tst-unique3.cc: Add explicit declaration of gets.
49850         * elf/tst-unique3lib.cc: Likewise.
49851         * elf/tst-unique3lib2.cc: Likewise.
49852         * elf/tst-unique4.cc: Likewise.
49854         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49856 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49858         [BZ #13566]
49859         * assert/assert.h (static_assert): Don't define for C++.
49860         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49861         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49863 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49865         * iconv/loop.c (single loop): Fix assertion in storing of
49866         remaining bytes.
49868         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49870 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49872         * posix/getconf.c: Update copyright year.
49873         * nss/getent.c: Likewise.
49874         * nss/makedb.c: Likewise.
49875         * iconv/iconvconfig.c: Likewise.
49876         * iconv/iconv_prog.c: Likewise.
49877         * elf/ldconfig.c: Likewise.
49878         * elf/pldd.c: Likewise.
49879         * elf/sotruss.ksh: Likewise.
49880         * catgets/gencat.c: Likewise.
49881         * csu/version.c: Likewise.
49882         * elf/ldd.bash.in: Likewise.
49883         * elf/sprof.c (print_version): Likewise.
49884         * locale/programs/locale.c: Likewise.
49885         * locale/programs/localedef.c: Likewise.
49886         * login/programs/pt_chown.c: Likewise.
49887         * nscd/nscd.c (print_version): Likewise.
49888         * debug/xtrace.sh: Likewise.
49889         * malloc/memusage.sh: Likewise.
49890         * malloc/mtrace.pl: Likewise.
49891         * debug/catchsegv.sh: Likewise.
49893 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49895         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49896         pure attribute.
49898 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49900         [BZ #13533]
49901         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49902         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49903         transformations.
49904         * iconv/gconv_int.h: Likewise.
49905         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49906         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49907         from libc for GLIBC_2.16.
49908         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49909         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49910         * wcsmbs/uchar.h: Really define mbstate_t.
49911         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49912         * wcsmbs/c16rtomb.c: New file.
49913         * wcsmbs/mbrtoc16.c: New file.
49914         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49915         for C/POSIX locale.
49916         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49917         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49919         * wcsmbs/wchar.h: Add missing __restrict.
49921 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49923         [BZ #13532]
49924         * time/Makefile (routines): Add timespec_get.
49925         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49926         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49927         timespec for ISO C11.
49928         * time/timespec_get.c: New file.
49929         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49930         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49932         [BZ #13531]
49933         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49934         * stdlib/stdlib.h: Declare aligned_alloc.
49935         * Versions.def: Add GLIBC_2.16 for libc.
49936         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49938         [BZ 13527]
49939         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49940         ISO C11.
49942         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49943         code.
49945         [BZ #13528]
49946         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49948         [BZ #13529]
49949         * assert/assert.h (static_assert): Define.
49951         * version.h: Update for 2.16 development version.
49953         [BZ #13526]
49954         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49955         _ISOC11_SOURCE.
49957         * version.h (RELEASE): Bump for 2.15 release.
49958         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49960         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49961         Patch by Marek Polacek <mpolacek@redhat.com>.
49963         * bits/byteswap.h: Protect long long constants with __extension__.
49964         * sysdeps/i386/bits/byteswap.h: Likewise.
49965         * sysdeps/ia64/bits/byteswap.h: Likewise.
49966         * sysdeps/s390/bits/byteswap.h: Likewise.
49967         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49969 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49971         [BZ #13540]
49972         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49973         destination buffer.
49974         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49976 2011-12-23  Marek Polacek  <polacek@redhat.com>
49978         * elf/dl-addr.c (determine_info): Add inline keyword.
49979         * elf/tst-auditmod4b.c (check_avx): Likewise.
49980         * elf/tst-auditmod6b.c (check_avx): Likewise.
49981         * elf/tst-auditmod6c.c (check_avx): Likewise.
49982         * elf/tst-auditmod7b.c (check_avx): Likewise.
49984 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49986         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49987         !__SSE_MATH__.
49989 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49991         [BZ #13540]
49992         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49993         processing for last bytes.
49995 2011-08-06  Bruno Haible  <bruno@clisp.org>
49997         [BZ #13061]
49998         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49999         U+0385, not to U+1FEE.
50001         [BZ #13062]
50002         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50003         entry for U+00A5 U+0301.
50005 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50007         [BZ #13166]
50008         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50009         buffer for the output is too small.
50011         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50012         optimization.
50014         [BZ #13185]
50015         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50016         SSE flags if possible.
50018 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50020         [BZ #13540]
50021         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50022         processing for last bytes.
50024 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50026         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50027         (syscall-list-default-options, syscall-list-default-condition)
50028         (syscall-list-includes): Define.
50029         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50030         list of ABIs and options and #if conditions for each ABI.  Do not
50031         handle common syscalls between ABIs specially.
50032         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50033         Remove.
50034         (syscall-list-variants, syscall-list-32bit-options)
50035         (syscall-list-32bit-condition, syscall-list-64bit-options)
50036         (syscall-list-64bit-condition): Define.
50037         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50038         (syscall-list-variants, syscall-list-32bit-options)
50039         (syscall-list-32bit-condition, syscall-list-64bit-options)
50040         (syscall-list-64bit-condition): Define.
50041         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50042         Remove.
50043         (syscall-list-variants, syscall-list-32bit-options)
50044         (syscall-list-32bit-condition, syscall-list-64bit-options)
50045         (syscall-list-64bit-condition): Define.
50046         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50047         Remove.
50048         (syscall-list-variants, syscall-list-32bit-options)
50049         (syscall-list-32bit-condition, syscall-list-64bit-options)
50050         (syscall-list-64bit-condition): Define.
50052 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50054         * locale/iso-639.def: Add brx entry.
50056         [BZ #13328]
50057         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50058         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50060         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50061         __feraiseexcept_renamed.
50063 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50065         [BZ #13538]
50066         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50067         EPOLLET with unsigned values.
50068         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50069         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50071         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50072         to large cancellation.
50073         * math/s_cacoshf.c: Likewise.
50074         * math/s_cacoshl.c: Likewise.
50076 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50078         [BZ #13305]
50079         [BZ #12786]
50080         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50081         * math/s_cacoshf.c: Likewise.
50082         * math/s_cacoshl.c: Likewise.
50084 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50086         [BZ #13439]
50087         * iconv/gconv.h: Define __GCONV_SWAP.
50088         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50089         * iconvdata/utf-16.c: Likewise.
50090         * iconvdata/utf-32.c: Likewise.
50092 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50094         [BZ #13524]
50095         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50096         numerator after shifting it by one limb.
50098 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50100         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50101         under [__USE_EXTERN_INLINES].
50103 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50105         [BZ #13446]
50106         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50108 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50110         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50111         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50112         optimized code.
50113         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50114         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50115         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50116         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50117         for strncasecmp/strncasecmp_l compilation.
50118         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50119         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50121 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50123         [BZ #13484]
50124         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50125         of __asm__.
50127 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50129         [BZ #13506]
50130         * time/tzfile.c (__tzfile_read): Check values from file header.
50132 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50134         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50135         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50136         * powerpc/powerpc32/dl-start.S: Likewise.
50137         * powerpc/powerpc32/elf/start.S: Likewise.
50138         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50139         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50140         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50141         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50142         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50143         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50144         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50145         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50146         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50147         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50148         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50149         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50150         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50151         * powerpc/powerpc32/memset.S: Likewise.
50152         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50153         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50154         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50155         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50156         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50157         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50158         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50159         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50160         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50161         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50162         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50163         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50164         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50166 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50168         * math/libm-test.inc: Added more nearbyint tests.
50169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50170         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50171         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50172         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50174 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50176         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50177         FD_CLOEXEC.
50179 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50181         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50182         Add wcscpy-ssse3 wcscpy-c.
50183         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50184         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50185         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50186         * sysdeps/x86_64/wcschr.S: New file.
50187         * sysdeps/x86_64/wcsrchr.S: New file.
50188         * string/test-strcmp.c: Remove checking of wcscmp function for
50189         wrong alignments.
50190         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50191         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50192         wcsrchr-sse2 wcsrchr-c.
50193         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50194         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50195         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50196         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50197         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50198         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50199         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50200         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50201         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50202         * wcsmbc/wcschr.c (WCSCHR): New macro.
50204 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50206         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50207         * wcsmbs/test-wcsrchr.c: New file.
50208         * string/test-strrchr.c: Add wcsrchr support.
50209         (WIDE): New macro.
50210         * wcsmbs/test-wcscpy.c: New file.
50211         * string/test-strcpy.c: Add wcscpy support.
50212         (WIDE): New macro.
50214 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50216         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50217         the inner loop.
50219 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50221         [BZ #13472]
50222         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50224 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50226         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50227         Minor optimizations.
50229         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50230         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50231         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50233 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50235         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50236         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50237         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50238         for gcc to avoid warnings.
50239         * inet/Makefile (tests): Add tst-checks.
50240         * inet/tst-checks.c: New file.
50242         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50243         warning.
50245         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50246         __wmemcmp_sse2.
50248         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50249         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50251         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50253 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50255         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50256         problem.
50258         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50260 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50262         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50263         conditional on GCC version.
50264         (__arch_compare_and_exchange_val_8_acq)
50265         (__arch_compare_and_exchange_val_16_acq)
50266         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50267         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50268         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50270 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50272         * sysdeps/sh/backtrace.c: New file.
50274 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50276         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50277         parenthesis.
50279 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50281         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50282         falling back to utime.
50284 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50286         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50287         expectations for float.
50289 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50291         * locale/weight.h (findidx): Add parameter len.
50292         * locale/weightwc.h (findidx): Likewise.
50293         * posix/fnmatch_loop.c (FCT): Adjust caller.
50294         * posix/regcomp.c (build_equiv_class): Likewise.
50295         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50296         * posix/regexec.c (check_node_accept_bytes): Likewise.
50297         * string/strcoll_l.c (STRCOLL): Likewise.
50298         * string/strxfrm_l.c (STRXFRM): Likewise.
50300 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50302         * Makefile.in: Remove CVSOPT handling.
50303         * configure.in: Remove use of AC_REVISION.
50304         * iconvdata/Makefile (distribute): No need to filter out CVS.
50305         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50306         handling.
50308 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50310         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50311         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50312         [USE_AS_STRNCASECMP_L]: Likewise.
50313         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50314         NO_TLS_DIRECT_SEG_REFS.
50315         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50316         Fix argument offsets for non-PIC.
50317         [USE_AS_STRNCASECMP_L]: Likewise.
50318         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50319         NO_TLS_DIRECT_SEG_REFS.
50321 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50323         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50324         O_CLOEXEC.
50325         * locale/loadlocale.c (_nl_load_locale): Likewise.
50327 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50329         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50330         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50331         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50332         (SYSCALL_GETTIME): Set errno on error.
50334         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50335         count references to noai6ai_cached.
50337 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50339         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50341         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50342         FD_CLOEXEC for /proc/self/maps.
50344         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50345         FD_CLOEXEC for /proc/meminfo.
50347         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50348         gai.conf.
50350         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50351         FD_CLOEXEC for given file.
50353         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50355         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50356         FD_CLOEXEC for /etc/hosts.
50357         (_gethtent): Likewise.
50359         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50361         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50362         cancellation and set FD_CLOEXEC for /etc/netgroup.
50364         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50365         reading /etc/publickey.
50367         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50368         allow cancellation when reading /etc/group.
50370         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50371         cancellation.
50372         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50374         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50375         when using data file.
50377         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50379         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50380         (write_nis_obj): Use "c" and "e" in fopen.
50382         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50384         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50386         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50388         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50390         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50391         locale.alias.
50393         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50395         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50397         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50399         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50400         file parsing and set FD_CLOEXEC.
50402 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50404         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50406 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50408         * malloc/arena.c (arena_get2): Don't call reused_arena when
50409         _int_new_arena failed.
50411 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50413         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50414         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50415         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50416         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50417         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50418         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50419         to compile strcasecmp and strncasecmp.
50420         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50421         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50423         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50425 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50427         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50428         locale-defines.sym to gen-as-const-headers.
50429         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50430         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50431         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50432         to compile strcasecmp and strncasecmp.
50433         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50434         strcasecmp_l and strncasecmp_l.
50435         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50436         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50437         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50438         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50439         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50440         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50441         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50442         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50443         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50444         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50445         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50447 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50449         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50450         result of SYSDEP_GETTIME_CPU to retval.
50451         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50452         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50454         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50455         variable.
50457         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50458         mantissa words.
50459         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50461         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50462         from unused variable.
50464         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50465         DWARF definitions.
50466         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50467         for assembling.
50469         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50470         over namespaces.
50472         * sunrpc/rpc_prot.c (rejected): Fix case value.
50474         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50475         unsigned long long int to avoid warnings in shift.
50477         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50478         of use of trans.
50479         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50480         variable tmp.
50482         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50483         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50484         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50486         * nis/nis_table.c (nis_list): Use variable of correct type for
50487         result of __follow_path call.
50489 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50491         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50492         of math functions ceil, trunc, floor, round, and sqrt, when
50493         avaliable on the platform.
50494         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50495         name clash.
50496         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50497         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50498         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50500 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50502         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50503         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50505 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50507         * include/unistd.h: Fix __readlink return type.
50508         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50510 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50512         * stdlib/ucontext.h: Undo last change for makecontext.
50514 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50516         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50518         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50519         * setjmp/setjmp.h: Mark functions as non-leaf.
50520         * setjmp/bits/setjmp2.h: Likewise.
50521         * stdlib/ucontext.h: Likewise.
50523 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50525         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50526         (reused_arena): Don't check arena limit.
50527         (arena_get2): Atomically check arena limit.
50529 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50531         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50532         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50534         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50535         instructions.
50537 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50539         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50540         handler when locking.
50542         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50543         Fix size of allocated buffer.
50545 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50547         [BZ #10103]
50548         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50549         declarations for long double functions.
50550         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50552         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50554 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50556         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50557         installed.
50559         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50560         is disabled.
50562 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50564         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50566 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50568         * include/alloca.h (stackinfo_alloca_round): Define.
50569         (extend_alloca): Use it.
50570         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50571         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50572         here.
50574         * scripts/check-local-headers.sh: Ignore libaudit.h.
50576         * nscd/Makefile (extra-objs): Make recursively expanded.
50578 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50580         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50581         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50583         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50584         * posix/tst-rfc3484-2.c: Likewise.
50585         * posix/tst-rfc3484-3.c: Likewise.
50587         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50588         process_vm_writev.
50589         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50590         process_vm_writev.
50591         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50592         process_vm_writev from libc using GLIBC_2.15 version.
50594         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50596 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50598         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50599         stack usage.
50601 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50603         [BZ #13367]
50604         * nss/getent.c (initgroups_keys): Show error message in case no group
50605         names are given.
50607         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50608         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50609         __bump_nl_timestamp.
50610         * nscd/connections (nscd_init): When host database is served open
50611         netlink socket and request notification about configuration changes.
50612         (main_loop_poll): Track netlink file descriptor and bump timestamp
50613         in case data becomes available.
50614         (main_loop_epoll): Likewise.
50615         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50616         (database_pers_head): Add extra_data fileds.
50617         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50618         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50619         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50620         Adjust caller.
50621         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50622         in6ai data, call __free_in6ai.
50623         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50624         Add -DHAVE_NETLINK.
50625         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50626         interface information.  Reuse previous data if netlink timestamp
50627         is not changed.
50628         (__bump_nl_timestamp): New function.
50629         (__free_in6ai): New function.
50631 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50633         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50634         close_not_cancel_no_status here.
50635         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50637 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50639         [BZ #13276]
50640         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50641         return value.
50643         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50644         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50645         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50647 2011-07-03  Andreas Jaeger  <aj@suse.de>
50649         [BZ #10709]
50650         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50651         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50652         * math/libm-test.inc (sin_test): Add test case.
50654 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50656         [BZ #13337]
50657         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50658         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50660         * elf/chroot_canon.c (chroot_canon): Cleanups.
50662         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50664         [BZ #13335]
50665         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50666         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50668         * string/test-strchr.c: Make usable for strchrnul testing.
50669         * string/test-strchrnul.c: New file.
50670         * string/Makefile (strop-tests): Add strchrnul.
50672         * po/it.po: Update from translation team.
50673         * po/es.po: Likewise.
50675 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50677         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50678         the three constants needed as parameters.  Drop the others.
50679         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50680         __m128i_strloadu_tolower.
50681         Create and initialize variable zero and use it in all the places
50682         where _mm_setzero_si128 was used.
50684         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50685         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50686         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50687         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50688         anymore.
50689         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50690         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50691         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50692         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50693         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50694         __mpranred, __mptan.
50695         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50696         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50697         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50698         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50699         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50700         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50701         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50702         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50703         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50705 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50707         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50708         redefine if SHARED.
50709         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50712         wide char related routines to wcsmbs subdir.
50714 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50716         [BZ #13344]
50717         * misc/sys/cdefs.h (__THROWNL): Define.
50718         * posix/unistd.h: Use __THREADNL instead of __THREAD
50719         for memory synchronization functions.
50721 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50723         [BZ #13349]
50724         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50725         doesn't exist.
50726         * manual/stdio.texi (Obstack Streams): Node removed.
50728 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50730         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50731         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50732         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50734         * math/math_private.h (math_force_eval): Allow non-addressable
50735         arguments.
50736         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50738 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50740         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50741         file is not needed.
50743         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50744         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50745         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50746         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50747         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50748         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50749         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50750         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50751         Add AVX variants.
50752         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50753         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50754         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50755         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50756         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50757         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50758         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50759         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50760         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50761         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50762         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50763         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50764         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50765         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50766         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50767         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50768         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50769         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50770         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50772         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50773         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50775         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50776         place.  Use VEX encoding when compiling for AVX.
50778 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50780         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50781         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50783         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50785 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50787         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50788         useless if() expression.
50789         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50790         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50791         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50792         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50793         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50794         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50795         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50796         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50797         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50798         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50799         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50800         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50801         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50802         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50803         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50804         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50805         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50806         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50807         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50809         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50811 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50813         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50814         condition.
50815         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50817 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50819         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50820         .text section.  Avoid duplicate constants.
50821         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50822         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50823         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50824         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50825         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50826         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50827         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50828         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50829         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50830         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50831         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50832         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50833         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50834         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50835         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50836         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50837         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50838         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50839         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50840         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50841         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50842         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50843         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50844         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50845         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50846         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50847         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50848         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50849         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50850         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50851         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50852         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50853         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50854         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50855         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50856         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50857         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50858         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50859         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50860         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50861         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50862         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50863         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50864         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50865         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50867 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50869         * sysdeps/x86_64/dla.h: Move to ...
50870         * sysdeps/x86_64/fpu/dla.h: ...here.
50871         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50872         situations.  Use __builtin_fma only for gcc 4.6 and up.
50874         * config.make.in: Add have-mfma4 entry.
50875         * configure.in: Substitute libc_cv_cc_fma4.
50876         * math/Makefile (dbl-only-routines): Add sincostab.
50877         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50878         Use __sincostab not sincos.
50879         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50880         name is a macro.
50881         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50882         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50883         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50884         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50885         using __copysign.
50886         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50887         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50888         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50889         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50890         and __inv.
50891         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50892         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50893         __copysign.
50894         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50895         define aliases when function name is a macro.
50896         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50897         sysdeps/ieee754/dbl-64/sincos.tbl.
50898         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50899         fma4-enabled routines.
50900         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50901         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50902         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50903         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50904         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50905         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50906         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50907         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50908         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50909         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50910         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50911         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50912         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50913         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50914         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50915         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50916         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50917         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50918         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50919         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50920         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50921         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50922         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50923         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50924         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50925         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50926         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50927         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50928         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50929         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50931         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50932         rename.
50933         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50934         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50936         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50937         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50938         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50939         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50940         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50942 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50944         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50946 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50950         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50951         prediction.
50952         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50954         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50955         Remove unused variable magic_bits.
50956         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50958         * string/strnlen.c: Define and use STRNLEN macro.
50959         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50960         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50961         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50962         * wcsmbs/wcslen.c: Define and use WCSLEN.
50963         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50964         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50965         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50966         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50967         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50968         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50969         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50971 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50974         strnlen-sse2-no-bsf.
50975         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50976         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50977         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50978         Add strnlen support.
50979         (USE_AS_STRNLEN): New macro.
50980         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50981         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50982         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50983         * sysdeps/x86_64/wcslen.S: New file.
50985 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50987         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50988         XMM-moves are used for copying on small sizes.
50990 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50992         * wcsmbs/Makefile (strop-tests): Add wcschr.
50993         * wcsmbs/test-wcschr.c: New file.
50994         * string/test-strchr.c: Update.
50995         Add wcschr support.
50996         (WIDE): New macro.
50998 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51000         * wcsmbs/Makefile (strop-tests): Add wcslen.
51001         * wcsmbs/test-wcslen.c: New file.
51002         * string/test-strlen.c: Update.
51003         Add wcslen support.
51004         (WIDE): New macro.
51006 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51008         * po/it.po: Update from translation team.
51010 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51012         * sysdeps/x86_64/wcscmp.S: Update.
51013         Fix wrong comparison semantics.
51014         wcscmp shall use signed comparison not unsigned.
51015         Don't use substraction to avoid overflow bug.
51016         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51017         * wcsmbc/wcscmp.c: Likewise.
51018         * string/test-strcmp.c: Likewise.
51019         Add new tests to check cases with negative values.
51021 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51023         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51024         * sysdeps/x86_64/dla.h: ...here.  New file.
51025         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51026         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51027         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51028         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51029         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51030         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51031         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51032         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51033         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51035 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51038         __ynl_finite aliases.
51040 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51042         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51044         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51045         define DLA_FMA.
51046         [DLA_FMA] (EMULV): Use DLA_FMA.
51047         [DLA_FMA] (MUL12): Use EMULV.
51048         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51049         that are not needed.
51050         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51051         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51053         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51054         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51055         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51056         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51058 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51060         * math/s_nan.c: Undef __nan.
51061         * math/s_nanf.c: Undef __nanf.
51062         * math/s_nanl.c: Undef __nanl.
51063         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51064         "math_private.h".
51066 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51068         * math/s_catan.c: Add branch predictions.
51069         * math/s_catanf.c: Likewise.
51070         * math/s_catanh.c: Likewise.
51071         * math/s_catanhf.c: Likewise.
51072         * math/s_catanhl.c: Likewise.
51073         * math/s_catanl.c: Likewise.
51074         * math/s_cexp.c: Likewise.
51075         * math/s_cexpf.c: Likewise.
51076         * math/s_cexpl.c: Likewise.
51077         * math/s_clog.c: Likewise.
51078         * math/s_clog10.c: Likewise.
51079         * math/s_clog10f.c: Likewise.
51080         * math/s_clog10l.c: Likewise.
51081         * math/s_clogf.c: Likewise.
51082         * math/s_clogl.c: Likewise.
51083         * math/s_csqrt.c: Likewise.
51084         * math/s_csqrtf.c: Likewise.
51085         * math/s_csqrtl.c: Likewise.
51086         * math/s_ctanf.c: Likewise.
51087         * math/s_ctanh.c: Likewise.
51088         * math/s_ctanhf.c: Likewise.
51089         * math/s_ctanhl.c: Likewise.
51090         * math/s_ctanl.c: Likewise.
51092         * math/math_private.h: Define __nan, __nanf, __nanl.
51093         * math/s_cacosh.c: Include <math_private.h>.
51094         * math/s_cacoshl.c: Likewise.
51095         * math/s_casinh.c: Likewise.
51096         * math/s_casinhf.c: Likewise.
51097         * math/s_casinhl.c: Likewise.
51098         * math/s_ccos.c: Rely entire on ccosh.
51099         * math/s_ccosf.c: Rely entire on ccoshf.
51100         * math/s_ccosl.c: Rely entirely on ccoshl.
51101         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51102         Remove tests for FE_INVALID.
51103         * math/s_ccoshf.c: Likewise.
51104         * math/s_ccoshl.c: Likewise.
51105         * math/s_csin.c: Likewise.
51106         * math/s_csinf.c: Likewise.
51107         * math/s_csinh.c Likewise.
51108         * math/s_csinhf.c: Likewise.
51109         * math/s_csinhl.c: Likewise.
51110         * math/s_csinl.c: Likewise.
51111         * math/s_ctan.c: Likewise.
51112         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51113         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51114         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51116 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51119         compilation problems.
51121         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51122         __builtin_expect.
51124 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51126         * sysdeps/i386/configure.in: Test for -mfma4 option.
51127         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51128         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51129         COMMON_CPUID_INDEX_80000001.
51130         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51131         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51132         use it if FMA3 is not supported.
51133         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51135         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51136         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51138 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51140         [BZ #12892]
51141         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51142         it would create a cycle with a link time dependency.
51144 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51146         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51147         instruction.
51148         * string/Makefile (strop-tests): Add rawmemchr.
51149         * string/test-rawmemchr.c: New file.
51151         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51152         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51153         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51154         when compiling str{,n}casecmp and when AVX is available.  Hook up
51155         new optimized code in initializers.
51157 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51159         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51160         __feraiseexcept instead of feraiseexcept.
51162 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51164         * math/math_private.h: Define defaults for libc_fetestexcept and
51165         libc_feupdateenv.
51166         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51167         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51168         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51169         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51170         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51171         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51172         libc_fetestexcept and libc_feupdateenv.
51174         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51175         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51176         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51177         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51178         libc_feholdexcept_setround.
51180         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51181         Add s_nearbyint-c and s_nearbyintf-c.
51182         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51183         nearbyintf inlines.
51184         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51185         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51186         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51187         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51189         * math/math_private.h: Define defaults for libc_fegetround,
51190         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51191         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51192         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51193         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51194         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51195         standard functions.
51196         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51197         Remove comments and hacks for old compiler versions.
51198         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51199         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51200         libc_feholdexceptl.
51202 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51204         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51205         (__feraiseexcept_renamed): Add __NTH.
51206         (feraiseexcept): Add __NTH.  Rename local variables to fix
51207         namespace violations.
51209 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51211         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51213         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51215         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51216         recently added interfaces.
51217         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51219         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51220         about macro parameter expansion.
51222         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51223         __NO_MATH_INLINES is defined.  Cleanups.
51225         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51226         and __floorf is target has SSE4.1.
51227         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51228         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51229         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51230         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51232         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51233         name.
51234         (floorf): Likewise.
51236         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51238 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51240         * misc/sys/cdefs.h: Fix last change.
51242         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51243         database lookup.
51245 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51247         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51249         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51250         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51251         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51252         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51253         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51254         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51255         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51256         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51257         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51258         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51259         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51260         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51261         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51262         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51263         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51264         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51265         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51266         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51267         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51268         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51269         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51270         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51272         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51273         ceil, ceilf, floor, floorf.
51275         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51276         Perform IRELATIVE relocations last.
51278         * elf/do-rel.h: Add another parameter nrelative, replacing the
51279         local variable with the same name.  Change name of the function
51280         to end in Rel or Rela (uppercase).
51281         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51282         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51283         elf_dynamic_do_##reloc function.
51285 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51287         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51288         is sufficient, at least on modern CPUs.
51290         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51292         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51293         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51295         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51296         __expl_finite.
51297         * math/bits/math-finite.h: Add entries for exp.
51298         * math/e_expl.c: Add __*_finite alias.
51299         * sysdeps/i386/fpu/e_exp.S: Likewise.
51300         * sysdeps/i386/fpu/e_expf.S: Likewise.
51301         * sysdeps/i386/fpu/e_expl.c: Likewise.
51302         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51303         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51304         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51305         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51306         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51307         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51308         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51310         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51311         is sufficient, at least on modern CPUs.
51313         * ctype/ctype-info.c (__ctype_init): Define.
51314         * include/ctype.h (__ctype_init): Declare.
51315         (__ctype_b_loc): The variable is always initialized.
51316         (__ctype_toupper_loc): Likewise.
51317         (__ctype_tolower_loc): Likewise.
51318         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51319         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51321 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51323         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51325         * configure.in: Also look in $cxxmachine/include for C++ system
51326         headers.
51328 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51330         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51331         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51332         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51333         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51334         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51335         (USE_AS_WMEMCMP): New macro.
51336         Fixing indents.
51337         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51338         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51339         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51340         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51341         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51342         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51343         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51344         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51345         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51346         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51347         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51348         (USE_AS_WMEMCMP): New macro.
51349         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51350         * sysdeps/string/test-memcmp.c: Update.
51351         Fix simple_wmemcmp.
51352         Add new tests.
51353         * wcsmbs/wmemcmp.c: Update.
51354         (WMEMCMP): New macro.
51355         Fix overflow bug.
51357 2011-10-12  Andreas Jaeger  <aj@suse.de>
51359         [BZ #13268]
51360         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51362 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51364         * libio/iofwide.c (do_length): Avoid warning.
51366         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51368 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51370         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51372         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51373         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51374         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51375         * sysdeps/i386/i686/fpu/e_log.S: New file.
51376         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51377         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51379         * ctype/ctype.h: Add support for inlined isXXX functions when
51380         compiling C++ code.
51382 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51384         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51386         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51388 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51390         [BZ #13291]
51391         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51393 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51395         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51396         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51397         feraiseexcept.
51399         * sysdeps/x86_64/memrchr.S: Check for zero size.
51401         * string/stratcliff.c: Add memrchr tests.
51403 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51405         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51406         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51407         rawmemchr-sse2 rawmemchr-sse2-bsf.
51408         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51409         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51410         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51411         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51412         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51413         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51414         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51415         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51416         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51417         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51418         * string/memrchr.c (MEMRCHR): New macro.
51420 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51422         Add integration with gcc's -ffinite-math-only and optimize wrapper
51423         functions in libm.
51424         * Versions.def: Define GLIBC_2.15 version for libm.
51425         * math/Makefile (headers): Add bits/math-finite.h.
51426         * math/bits/math-finite.h: New file.
51427         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51428         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51429         * math/e_acoshl.c: Add __*_finite alias.
51430         * math/e_acosl.c: Likewise.
51431         * math/e_asinl.c: Likewise.
51432         * math/e_atan2l.c: Likewise.
51433         * math/e_atanhl.c: Likewise.
51434         * math/e_coshl.c: Likewise.
51435         * math/e_exp10.c: Likewise.
51436         * math/e_exp10f.c: Likewise.
51437         * math/e_exp10l.c: Likewise.
51438         * math/e_exp2l.c: Likewise.
51439         * math/e_fmodl.c: Likewise.
51440         * math/e_gammal_r.c: Likewise.
51441         * math/e_hypotl.c: Likewise.
51442         * math/e_j0l.c: Likewise.
51443         * math/e_j1l.c: Likewise.
51444         * math/e_jnl.c: Likewise.
51445         * math/e_lgammal_r.c: Likewise.
51446         * math/e_log10l.c: Likewise.
51447         * math/e_log2l.c: Likewise.
51448         * math/e_logl.c: Likewise.
51449         * math/e_powl.c: Likewise.
51450         * math/e_sinhl.c: Likewise.
51451         * math/e_sqrtl.c: Likewise.
51452         * math/e_scalb.c: Completely rewritten and optimized.
51453         * math/e_scalbf.c: Likewise.
51454         * math/e_scalbl.c: Likewise.
51455         * math/w_acos.c: Likewise.
51456         * math/w_acosf.c: Likewise.
51457         * math/w_acosl.c: Likewise.
51458         * math/w_acosh.c: Likewise.
51459         * math/w_acoshf.c: Likewise.
51460         * math/w_acoshl.c: Likewise.
51461         * math/w_asin.c: Likewise.
51462         * math/w_asinf.c: Likewise.
51463         * math/w_asinl.c: Likewise.
51464         * math/w_atan2.c: Likewise.
51465         * math/w_atan2f.c: Likewise.
51466         * math/w_atan2l.c: Likewise.
51467         * math/w_atanh.c: Likewise.
51468         * math/w_atanhf.c: Likewise.
51469         * math/w_atanhl.c: Likewise.
51470         * math/w_exp10.c: Likewise.
51471         * math/w_exp10f.c: Likewise.
51472         * math/w_exp10l.c: Likewise.
51473         * math/w_fmod.c: Likewise.
51474         * math/w_fmodf.c: Likewise.
51475         * math/w_fmodl.c: Likewise.
51476         * math/w_j0.c: Likewise.
51477         * math/w_j0f.c: Likewise.
51478         * math/w_j0l.c: Likewise.
51479         * math/w_j1.c: Likewise.
51480         * math/w_j1f.c: Likewise.
51481         * math/w_j1l.c: Likewise.
51482         * math/w_jn.c: Likewise.
51483         * math/w_jnf.c: Likewise.
51484         * math/w_log.c: Likewise.
51485         * math/w_logf.c: Likewise.
51486         * math/w_logl.c: Likewise.
51487         * math/w_log10.c: Likewise.
51488         * math/w_log10f.c: Likewise.
51489         * math/w_log10l.c: Likewise.
51490         * math/w_log2.c: Likewise.
51491         * math/w_log2f.c: Likewise.
51492         * math/w_log2l.c: Likewise.
51493         * math/w_pow.c: Likewise.
51494         * math/w_powf.c: Likewise.
51495         * math/w_powl.c: Likewise.
51496         * math/w_remainder.c: Likewise.
51497         * math/w_remainderf.c: Likewise.
51498         * math/w_remainderl.c: Likewise.
51499         * math/w_scalb.c: Likewise.
51500         * math/w_scalbf.c: Likewise.
51501         * math/w_scalbl.c: Likewise.
51502         * math/w_sqrt.c: Likewise.
51503         * math/w_sqrtf.c: Likewise.
51504         * math/w_sqrtl.c: Likewise.
51505         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51506         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51507         used.
51508         * math/math_private.h: Declare __kernel_standard_f.
51509         * math/w_cosh.c: Remove cruft and optimize a bit.
51510         * math/w_coshf.c: Likewise.
51511         * math/w_coshl.c: Likewise.
51512         * math/w_exp2.c: Likewise.
51513         * math/w_exp2f.c: Likewise.
51514         * math/w_exp2l.c: Likewise.
51515         * math/w_hypot.c: Likewise.
51516         * math/w_hypotf.c: Likewise.
51517         * math/w_hypotl.c: Likewise.
51518         * math/w_lgamma.c: Likewise.
51519         * math/w_lgamma_r.c: Likewise.
51520         * math/w_lgammaf.c: Likewise.
51521         * math/w_lgammaf_r.c: Likewise.
51522         * math/w_lgammal.c: Likewise.
51523         * math/w_lgammal_r.c: Likewise.
51524         * math/w_sinh.c: Likewise.
51525         * math/w_sinhf.c: Likewise.
51526         * math/w_sinhl.c: Likewise.
51527         * math/w_tgamma.c: Likewise.
51528         * math/w_tgammaf.c: Likewise.
51529         * math/w_tgammal.c: Likewise.
51530         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51531         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51532         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51533         Minor optimizations.  Pretty printing.  Remove cruft.
51534         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51535         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51536         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51537         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51538         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51539         * sysdeps/i386/fpu/e_asin.S: Likewise.
51540         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51541         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51542         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51543         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51544         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51545         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51546         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51547         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51548         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51549         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51550         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51551         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51552         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51553         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51554         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51555         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51556         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51557         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51558         * sysdeps/i386/fpu/e_log.S: Likewise.
51559         * sysdeps/i386/fpu/e_log10.S: Likewise.
51560         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51561         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51562         * sysdeps/i386/fpu/e_log2.S: Likewise.
51563         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51564         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51565         * sysdeps/i386/fpu/e_logf.S: Likewise.
51566         * sysdeps/i386/fpu/e_logl.S: Likewise.
51567         * sysdeps/i386/fpu/e_pow.S: Likewise.
51568         * sysdeps/i386/fpu/e_powf.S: Likewise.
51569         * sysdeps/i386/fpu/e_powl.S: Likewise.
51570         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51571         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51572         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51573         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51574         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51575         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51576         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51577         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51578         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51579         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51580         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51582         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51583         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51584         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51585         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51586         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51587         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51588         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51589         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51590         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51591         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51592         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51593         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51594         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51595         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51596         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51597         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51598         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51599         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51600         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51601         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51602         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51603         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51604         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51605         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51606         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51607         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51608         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51609         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51610         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51611         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51612         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51613         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51614         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51615         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51616         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51617         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51618         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51619         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51620         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51621         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51622         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51623         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51624         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51625         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51626         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51627         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51628         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51629         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51630         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51631         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51632         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51633         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51634         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51635         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51636         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51637         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51638         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51639         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51640         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51643         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51644         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51645         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51646         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51647         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51648         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51649         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51650         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51652         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51653         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51654         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51655         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51656         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51657         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51658         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51659         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51660         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51661         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51662         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51663         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51664         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51665         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51666         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51667         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51668         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51669         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51670         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51671         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51672         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51673         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51674         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51675         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51676         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51677         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51678         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51679         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51680         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51681         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51682         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51683         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51684         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51685         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51686         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51687         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51688         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51689         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51690         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51691         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51692         (__isnanf): Likewise.
51693         (__isinf_ns): Likewise.
51694         (__isinf_nsf): Likewise.
51695         (__finite): Likewise.
51696         (__finitef): Likewise.
51697         (__ieee754_sqrt): Define as macro.
51698         (__ieee754_sqrtf): Define as macro.
51699         (__ieee754_sqrtl): Define as macro.
51700         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51701         inlined copy.
51702         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51703         __FINITE_MATH_ONLY__ consistent.
51704         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51706 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51708         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51709         of rawmemchr.
51711         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51713 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51715         * po/ja.po: Update from translation team.
51717 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51719         * locale/programs/locarchive.c (prepare_address_space): New function.
51720         (create_archive, enlarge_archive, open_archive): Use it.
51722         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51723         inside [SHARED], where it is used.
51725         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51727         * nss/getent.c (netgroup_keys): Remove unused variable.
51728         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51730 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51732         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51733         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51734         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51735         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51736         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51737         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51738         * math/Makefile (libm-calls): Add s_isinf_ns.
51739         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51740         * math/multc3.c: Likewise.
51741         * math/s_casin.c: Likewise.
51742         * math/s_casinf.c: Likewise.
51743         * math/s_casinl.c: Likewise.
51744         * math/s_ccos.c: Likewise.
51745         * math/s_ccosf.c: Likewise.
51746         * math/s_ccosl.c: Likewise.
51747         * math/s_ctan.c: Likewise.
51748         * math/s_ctanf.c: Likewise.
51749         * math/s_ctanh.c: Likewise.
51750         * math/s_ctanhf.c: Likewise.
51751         * math/s_ctanhl.c: Likewise.
51752         * math/s_ctanl.c: Likewise.
51753         * math/w_fmod.c: Likewise.
51754         * math/w_fmodf.c: Likewise.
51755         * math/w_fmodl.c: Likewise.
51756         * math/w_remainder.c: Likewise.
51757         * math/w_remainderf.c: Likewise.
51758         * math/w_remainderl.c: Likewise.
51759         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51760         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51761         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51762         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51763         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51764         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51765         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51766         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51768         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51769         of the number.
51770         * stdio-common/printf_fphex.c: Likewise.
51771         * stdio-common/printf_size.c: Likewise.
51773         * math/e_exp10.c: Include math_private.h using <...> not "...".
51774         * math/e_exp10f.c: Likewise.
51775         * math/e_exp10l.c: Likewise.
51776         * math/e_exp2l.c: Likewise.
51777         * math/e_j0l.c: Likewise.
51778         * math/e_j1l.c: Likewise.
51779         * math/e_jnl.c: Likewise.
51780         * math/e_lgammal_r.c: Likewise.
51781         * math/e_rem_pio2l.c: Likewise.
51782         * math/e_scalb.c: Likewise.
51783         * math/e_scalbf.c: Likewise.
51784         * math/e_scalbl.c: Likewise.
51785         * math/k_cosl.c: Likewise.
51786         * math/k_sinl.c: Likewise.
51787         * math/k_tanl.c: Likewise.
51788         * math/s_cacoshf.c: Likewise.
51789         * math/s_catan.c: Likewise.
51790         * math/s_catanf.c: Likewise.
51791         * math/s_catanh.c: Likewise.
51792         * math/s_catanhf.c: Likewise.
51793         * math/s_catanhl.c: Likewise.
51794         * math/s_catanl.c: Likewise.
51795         * math/s_ccosh.c: Likewise.
51796         * math/s_ccoshf.c: Likewise.
51797         * math/s_ccoshl.c: Likewise.
51798         * math/s_cexp.c: Likewise.
51799         * math/s_cexpf.c: Likewise.
51800         * math/s_cexpl.c: Likewise.
51801         * math/s_clog.c: Likewise.
51802         * math/s_clog10.c: Likewise.
51803         * math/s_clog10f.c: Likewise.
51804         * math/s_clog10l.c: Likewise.
51805         * math/s_clogf.c: Likewise.
51806         * math/s_clogl.c: Likewise.
51807         * math/s_csin.c: Likewise.
51808         * math/s_csinf.c: Likewise.
51809         * math/s_csinh.c: Likewise.
51810         * math/s_csinhf.c: Likewise.
51811         * math/s_csinhl.c: Likewise.
51812         * math/s_csinl.c: Likewise.
51813         * math/s_csqrt.c: Likewise.
51814         * math/s_csqrtf.c: Likewise.
51815         * math/s_csqrtl.c: Likewise.
51816         * math/s_ctan.c: Likewise.
51817         * math/s_ctanf.c: Likewise.
51818         * math/s_ctanh.c: Likewise.
51819         * math/s_ctanhf.c: Likewise.
51820         * math/s_ctanhl.c: Likewise.
51821         * math/s_ctanl.c: Likewise.
51822         * math/s_ldexp.c: Likewise.
51823         * math/s_ldexpf.c: Likewise.
51824         * math/s_ldexpl.c: Likewise.
51825         * math/s_significand.c: Likewise.
51826         * math/s_significandf.c: Likewise.
51827         * math/s_significandl.c: Likewise.
51828         * math/w_acos.c: Likewise.
51829         * math/w_acosf.c: Likewise.
51830         * math/w_acosh.c: Likewise.
51831         * math/w_acoshf.c: Likewise.
51832         * math/w_acoshl.c: Likewise.
51833         * math/w_acosl.c: Likewise.
51834         * math/w_asin.c: Likewise.
51835         * math/w_asinf.c: Likewise.
51836         * math/w_asinl.c: Likewise.
51837         * math/w_atan2.c: Likewise.
51838         * math/w_atan2f.c: Likewise.
51839         * math/w_atan2l.c: Likewise.
51840         * math/w_atanh.c: Likewise.
51841         * math/w_atanhf.c: Likewise.
51842         * math/w_atanhl.c: Likewise.
51843         * math/w_cosh.c: Likewise.
51844         * math/w_coshf.c: Likewise.
51845         * math/w_coshl.c: Likewise.
51846         * math/w_dremf.c: Likewise.
51847         * math/w_exp10.c: Likewise.
51848         * math/w_exp10f.c: Likewise.
51849         * math/w_exp10l.c: Likewise.
51850         * math/w_exp2.c: Likewise.
51851         * math/w_exp2f.c: Likewise.
51852         * math/w_fmod.c: Likewise.
51853         * math/w_fmodf.c: Likewise.
51854         * math/w_fmodl.c: Likewise.
51855         * math/w_hypot.c: Likewise.
51856         * math/w_hypotf.c: Likewise.
51857         * math/w_hypotl.c: Likewise.
51858         * math/w_j0.c: Likewise.
51859         * math/w_j0f.c: Likewise.
51860         * math/w_j0l.c: Likewise.
51861         * math/w_j1.c: Likewise.
51862         * math/w_j1f.c: Likewise.
51863         * math/w_j1l.c: Likewise.
51864         * math/w_jn.c: Likewise.
51865         * math/w_jnf.c: Likewise.
51866         * math/w_jnl.c: Likewise.
51867         * math/w_lgamma.c: Likewise.
51868         * math/w_lgamma_r.c: Likewise.
51869         * math/w_lgammaf.c: Likewise.
51870         * math/w_lgammaf_r.c: Likewise.
51871         * math/w_lgammal.c: Likewise.
51872         * math/w_lgammal_r.c: Likewise.
51873         * math/w_log.c: Likewise.
51874         * math/w_log10.c: Likewise.
51875         * math/w_log10f.c: Likewise.
51876         * math/w_log10l.c: Likewise.
51877         * math/w_log2.c: Likewise.
51878         * math/w_log2f.c: Likewise.
51879         * math/w_log2l.c: Likewise.
51880         * math/w_logf.c: Likewise.
51881         * math/w_logl.c: Likewise.
51882         * math/w_pow.c: Likewise.
51883         * math/w_powf.c: Likewise.
51884         * math/w_powl.c: Likewise.
51885         * math/w_remainder.c: Likewise.
51886         * math/w_remainderf.c: Likewise.
51887         * math/w_remainderl.c: Likewise.
51888         * math/w_scalb.c: Likewise.
51889         * math/w_scalbf.c: Likewise.
51890         * math/w_scalbl.c: Likewise.
51891         * math/w_sinh.c: Likewise.
51892         * math/w_sinhf.c: Likewise.
51893         * math/w_sinhl.c: Likewise.
51894         * math/w_sqrt.c: Likewise.
51895         * math/w_sqrtf.c: Likewise.
51896         * math/w_sqrtl.c: Likewise.
51897         * math/w_tgamma.c: Likewise.
51898         * math/w_tgammaf.c: Likewise.
51899         * math/w_tgammal.c: Likewise.
51901         * po/ja.po: Update from translation team.
51903 2011-09-29  Andreas Jaeger  <aj@suse.de>
51905         [BZ #13179]
51906         * sunrpc/netname.c (netname2host): Fix logic.
51908         [BZ #6779]
51909         [BZ #6783]
51910         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51911         correctly.
51912         * math/w_remainder.c (__remainder): Likewise.
51913         * math/w_remainderf.c (__remainderf): Likewise.
51914         * math/libm-test.inc (remainder_test): Add test cases.
51916 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51918         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51919         sdiv_qrnnd.
51921 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51923         * string/test-memcmp.c: Avoid unncessary #defines.
51924         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51926 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51928         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51929         Use new sse2 version for core i3 - i7 as it's faster
51930         than sse42 version.
51931         (bit_Prefer_PMINUB_for_stringop): New.
51932         * sysdeps/x86_64/rawmemchr.S: Update.
51933         Replace with faster SSE2 version.
51934         * sysdeps/x86_64/memrchr.S: New file.
51935         * sysdeps/x86_64/memchr.S: Update.
51936         Replace with faster SSE2 version.
51938 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51940         * elf/dl-load.c (lose): Add cast to avoid warning.
51942 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51944         * po/ca.po: Update from translation team.
51946         * inet/getnetgrent_r.c: Hook up nscd.
51947         * nscd/Makefile (routines): Add nscd_netgroup.
51948         (nscd-modules): Add netgroupcache.
51949         (CFLAGS-netgroupcache.c): Define.
51950         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51951         (cache_search): Add const to second parameter.
51952         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51953         INNETGR.
51954         (dbs): Add netgrdb entry.
51955         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51956         (verify_persistent_db): Handle netgrdb.
51957         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51958         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51959         GETFDNETGR.
51960         (netgroup_response_header): Define.
51961         (innetgroup_response_header): Define.
51962         (datahead): Add netgroup_response_header and innetgroup_response_header
51963         elements.
51964         * nscd/nscd.conf: Add entries for netgroup cache.
51965         * nscd/nscd.h (dbtype): Add netgrdb.
51966         (_PATH_NSCD_NETGROUP_DB): Define.
51967         (netgroup_iov_disabled): Declare.
51968         (xmalloc, xcalloc, xrealloc): Move declarations here.
51969         (cache_search): Adjust prototype.
51970         Add netgroup-related prototypes.
51971         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51972         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51973         (__nscd_innetgr): Declare.
51974         * nscd/selinux.c (perms): Use access_vector_t as element type and
51975         add netgroup-related initializers.
51976         * nscd/netgroupcache.c: New file.
51977         * nscd/nscd_netgroup.c: New file.
51978         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51979         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51980         For four parameters use innetgr.
51981         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51982         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51983         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51984         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51986         * nscd/connections.c (register_traced_file): Don't register file
51987         for disabled databases.
51989 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51991         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51993         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51994         from tree and freeing node.
51996 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51998         * nss/nsswitch.c (__nss_database_lookup): Handle
51999         nss_parse_service_list out of memory case.
52001 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52003         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52004         out of memory case.
52006 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52008         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52009         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52010         pass it down.
52011         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52012         elf_machine_rela, elf_machine_lazy_rel.
52013         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52014         (ELF_DYNAMIC_DO_REL): Likewise.
52015         (ELF_DYNAMIC_DO_RELA): Likewise.
52016         (ELF_DYNAMIC_RELOCATE): Likewise.
52017         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52018         to ELF_DYNAMIC_DO_REL.
52019         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52020         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52021         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52022         elf_machine_rela.
52023         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52024         skip_ifunc, don't call ifunc function if non-zero.
52025         (elf_machine_rela): Likewise.
52026         (elf_machine_lazy_rel): Likewise.
52027         (elf_machine_lazy_rela): Likewise.
52028         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52029         (elf_machine_lazy_rel): Likewise.
52030         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52031         Likewise.
52032         (elf_machine_lazy_rel): Likewise.
52033         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52034         Likewise.
52035         (elf_machine_lazy_rel): Likewise.
52036         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52037         (elf_machine_lazy_rel): Likewise.
52038         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52039         (elf_machine_lazy_rel): Likewise.
52040         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52041         (elf_machine_lazy_rel): Likewise.
52042         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52043         (elf_machine_lazy_rel): Likewise.
52044         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52045         (elf_machine_lazy_rel): Likewise.
52046         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52047         (elf_machine_lazy_rel): Likewise.
52049 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52051         * nss/nss_files/files-init.c (_nss_files_init): Use static
52052         initialization for all the *_traced_file variables.
52054 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52056         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52058 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52060         [BZ #13226]
52061         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52063 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52065         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52066         Reread the line before reparsing it.
52068 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52070         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52072 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52073             Maxim Kuvyrkov  <maxim@codesourcery.com>
52074             Joseph Myers  <joseph@codesourcery.com>
52076         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52077         if needed for __stack_chk_guard.
52079 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52081         * sysdeps/posix/spawni.c (script_execute): Always define it.
52082         It will be optimized away if unused.
52083         (maybe_script_execute): New function.
52084         (__spawni): Call it.
52086         * Makerules: Don't include tls.make.
52087         (config-tls): Always set to thread.
52088         * tls.make.c: File removed.
52090 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52092         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52093         * config.make.in (CPPFLAGS-config): New substituted variable.
52095 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52097         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52099         [BZ #13192]
52100         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52101         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52103 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52105         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52106         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52107         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52108         (CALL_FAIL): Likewise.
52109         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52110         (CALL_FAIL): Macro removed.
52111         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52113 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52115         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52116         for __FINITE_MATH_ONLY__ == 1.
52118 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52120         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52121         __ieee754_sqrt instead of sqrt.
52122         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52123         __ieee754_sqrtf instead of sqrtf.
52124         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52125         __floorf instead of floorf.
52126         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52127         __floorf, __truncf instead of floorf, truncf.
52129 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52131         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52133         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52134         __extern_always_inline.
52135         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52136         32-bit.
52138 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52140         * elf/rtld.c (dl_main): Also relocate in dependency order when
52141         doing symbol dependency testing.
52143 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52145         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52146         Always define `refsym'.
52148 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52150         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52151         (__FD_ELT): Renamed from __FDELT.
52152         * misc/bits/select2.h (__FD_ELT): Likewise.
52153         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52154         __FD_MASK instead of __FDELT, __FDMASK.
52155         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52156         Likewise.
52157         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52158         Likewise.
52160         * elf/Makefile (gen-ldd): Fix pattern.
52162         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52163         (init_tls): Likewise.
52165 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52167         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52169 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52171         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52172         `struct cmsghdr *' instead of `void *'.
52173         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52174         Likewise.
52176 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52178         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52179         if non-absolute.
52180         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52181         ldd_rewrite_script.
52183 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52185         * configure.in: Remove --with-tls option.
52186         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52187         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52188         out in case it is missing.
52189         * sysdeps/ia64/elf/configure.in: Likewise.
52190         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52191         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52192         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52193         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52194         * sysdeps/sh/elf/configure.in: Likewise.
52195         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52196         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52197         * sysdeps/x86_64/elf/configure.in: Likewise.
52198         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52199         * sysdeps/mach/hurd/tls.h: Likewise.
52201         [BZ #13067]
52202         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52204         [BZ #13090]
52205         * configure.in: Fix use of AC_INIT.
52207         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52209 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52211         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52212         __set_errno.
52213         * malloc/hooks.c: Likewise.
52215         [BZ #11929]
52216         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52217         variables statically.
52218         (narenas): Initialize.
52219         (list_lock): Initialize.
52220         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52221         initializtion of main_arena and list_lock.  Small cleanups.
52222         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52223         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52224         Add initializers to main_arena and mp_.
52225         (malloc_state): Remove pagesize member.  Change all users to use
52226         GLRO(dl_pagesize).
52228         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52229         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52230         is always initialized.
52232         * malloc/malloc.c: Removed unused configurations and dead code.
52233         * malloc/arena.c: Likewise.
52234         * malloc/hooks.c: Likewise.
52235         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52237         * include/tls.h: Removed.  USE___THREAD must always be defined.
52238         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52239         * elf/dl-libc.c: Likewise.
52240         * elf/dl-tsd.c: Likewise.
52241         * include/errno.h: Likewise.
52242         * include/netdb.h: Likewise.
52243         * include/resolv.h: Likewise.
52244         * inet/herrno-loc.c: Likewise.
52245         * inet/herrno.c: Likewise.
52246         * malloc/arena.c: Likewise.
52247         * malloc/hooks.c: Likewise.
52248         * malloc/malloc.c: Likewise.
52249         * resolv/res-state.c: Likewise.
52250         * resolv/res_libc.c: Likewise.
52251         * sysdeps/i386/dl-machine.h: Likewise.
52252         * sysdeps/ia64/dl-machine.h: Likewise.
52253         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52254         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52255         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52256         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52257         * sysdeps/sh/dl-machine.h: Likewise.
52258         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52259         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52260         * sysdeps/unix/i386/sysdep.S: Likewise.
52261         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52262         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52263         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52264         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52265         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52266         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52267         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52268         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52269         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52271         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52272         * sysdeps/x86_64/dl-machine.h: Likewise.
52273         * tls.make.c: Likewise.
52275         * configure.in: Remove --with-__thread option.  Make tests for
52276         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52277         tls_model attribute fail if no support is available.  Remove
52278         USE_IN_LIBIO.
52279         * Makeconfig: Adjust for dropped configure option.  All features are
52280         now mandatory.
52281         * Makerules: Likewise.
52282         * Versions.def: Likewise.
52283         * argp/argp-fmtstream.c: Likewise.
52284         * argp/argp-fmtstream.h: Likewise.
52285         * argp/argp-help.c: Likewise.
52286         * assert/assert.c: Likewise.
52287         * config.h.in: Likewise.
52288         * config.make.in: Likewise.
52289         * configure: Likewise.
52290         * configure.in: Likewise.
52291         * csu/Versions: Likewise.
52292         * csu/init.c: Likewise.
52293         * elf/tst-audit2.c: Likewise.
52294         * elf/tst-tls10.c: Likewise.
52295         * elf/tst-tls10.h: Likewise.
52296         * elf/tst-tls11.c: Likewise.
52297         * elf/tst-tls12.c: Likewise.
52298         * elf/tst-tls14.c: Likewise.
52299         * elf/tst-tlsmod11.c: Likewise.
52300         * elf/tst-tlsmod12.c: Likewise.
52301         * elf/tst-tlsmod13.c: Likewise.
52302         * elf/tst-tlsmod13a.c: Likewise.
52303         * elf/tst-tlsmod14a.c: Likewise.
52304         * elf/tst-tlsmod15b.c: Likewise.
52305         * elf/tst-tlsmod16a.c: Likewise.
52306         * elf/tst-tlsmod16b.c: Likewise.
52307         * elf/tst-tlsmod7.c: Likewise.
52308         * elf/tst-tlsmod8.c: Likewise.
52309         * elf/tst-tlsmod9.c: Likewise.
52310         * gmon/gmon.c: Likewise.
52311         * grp/fgetgrent_r.c: Likewise.
52312         * grp/putgrent.c: Likewise.
52313         * hurd/fopenport.c: Likewise.
52314         * include/libc-symbols.h: Likewise.
52315         * include/tls.h: Likewise.
52316         * intl/gettextP.h: Likewise.
52317         * intl/loadinfo.h: Likewise.
52318         * locale/global-locale.c: Likewise.
52319         * locale/localeinfo.h: Likewise.
52320         * mach/devstream.c: Likewise.
52321         * malloc/arena.c: Likewise.
52322         * malloc/set-freeres.c: Likewise.
52323         * misc/err.c: Likewise.
52324         * misc/getttyent.c: Likewise.
52325         * misc/mntent_r.c: Likewise.
52326         * posix/getopt.c: Likewise.
52327         * posix/wordexp.c: Likewise.
52328         * pwd/fgetpwent_r.c: Likewise.
52329         * resolv/Versions: Likewise.
52330         * resolv/res_hconf.c: Likewise.
52331         * shadow/fgetspent_r.c: Likewise.
52332         * shadow/putspent.c: Likewise.
52333         * stdio-common/printf_fphex.c: Likewise.
52334         * stdio-common/tmpfile.c: Likewise.
52335         * stdlib/abort.c: Likewise.
52336         * stdlib/fmtmsg.c: Likewise.
52337         * sunrpc/auth_unix.c: Likewise.
52338         * sunrpc/clnt_perr.c: Likewise.
52339         * sunrpc/clnt_tcp.c: Likewise.
52340         * sunrpc/clnt_udp.c: Likewise.
52341         * sunrpc/clnt_unix.c: Likewise.
52342         * sunrpc/openchild.c: Likewise.
52343         * sunrpc/svc_simple.c: Likewise.
52344         * sunrpc/svc_tcp.c: Likewise.
52345         * sunrpc/svc_udp.c: Likewise.
52346         * sunrpc/svc_unix.c: Likewise.
52347         * sunrpc/xdr.c: Likewise.
52348         * sunrpc/xdr_array.c: Likewise.
52349         * sunrpc/xdr_rec.c: Likewise.
52350         * sunrpc/xdr_ref.c: Likewise.
52351         * sunrpc/xdr_stdio.c: Likewise.
52353 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52355         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52357 2011-07-03  Andreas Jaeger  <aj@suse.de>
52359         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52360         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52361         regenerate with gen-libm-tests.pl.
52363 2010-05-12  Petr Baudis  <pasky@suse.cz>
52365         [BZ #11589]
52366         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52367         around j0() zero points by switching to j1().
52368         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52369         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52371         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52373 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52375         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52376         instead of 0.
52377         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52378         instead of 0.
52379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52380         Patch in part by Pavel Roskin <proski@gnu.org>.
52382         [BZ #13138]
52383         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52384         realloc.
52385         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52386         Free memory block if necessary.
52388         [BZ #12847]
52389         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52390         be NULL.  Don't lock in this case.
52392 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52394         * elf/elf.h (ELFOSABI_GNU): New macro.
52395         (ELFOSABI_LINUX): Define to that.
52397 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52399         * string/strncat.c (strncat): Undef the symbol in case it has been
52400         defined in bits/string.h.
52402 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52404         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52406         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52407         link map.
52409 2011-08-17  Andreas Jaeger  <aj@suse.de>
52411         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52413 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52414             Ian Lance Taylor  <iant@google.com>
52416         * math/libm-test.inc (lround_test): New testcase.
52417         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52419 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52421         * Makefile: Remove support for automatic cvs check-ins.
52422         * Makerules: Likewise.
52423         * config.make.in: Likewise.
52424         * configure.in: Likewise.
52425         * intl/Makefile: Likewise.
52426         * locale/Makefile: Likewise.
52427         * po/Makefile: Likewise.
52428         * posix/Makefile: Likewise.
52429         * sysdeps/gnu/Makefile: Likewise.
52430         * sysdeps/mach/hurd/Makefile: Likewise.
52431         * sysdeps/sparc/sparc32/Makefile: Likewise.
52433         [BZ #13118]
52434         * posix/Makefile (bug-regex32-ENV): Define.
52435         Patch by John Stanley <jpsinthemix@verizon.net>.
52437         * misc/Makefile (headers): Add bits/select2.h.
52438         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52439         * misc/bits/select2.h: New file.
52440         * include/bits/select2.h: New file.
52441         * debug/Makefile (routines): Add fdelt_chk.
52442         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52443         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52444         FD_ISSET.
52445         * debug/fdelt_chk.c: New file.
52447         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52448         * wcsmbs/test-wmemcmp.c: Likewise.
52449         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52450         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52452 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52454         * string/Makefile (strop-tests): Add memcmp.
52455         * string/test-wmemcmp.c: New file.
52456         * string/test-memcmp.c: Add wmemcmp support.
52458 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52460         [BZ #13153]
52461         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52462         2011-07-19 change.
52464         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52465         garbage value in a __mach_port_mod_refs call in the cases of the
52466         task-self and thread-self ports.
52468 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52470         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52472 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52474         * elf/dl-load.c (lose): Check for non-null L.
52476 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52478         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52480         * elf/dl-libc.c (dlerror_run): Pass back error code from
52481         dl_catch_error.
52483         [BZ #13123]
52484         * elf/dl-load.c (lose): Free l_origin if it is valid.
52486         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52487         names.
52488         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52489         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52490         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52491         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52492         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52493         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52495 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52497         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52498         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52499         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52500         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52501         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52502         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52503         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52504         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52505         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52506         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52508 2011-08-15  Alan Modra  <amodra@gmail.com>
52510         [BZ #13092]
52511         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52512         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52513         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52514         ppc_mcount to static-only-routines.
52515         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52516         __mcount_internal.
52517         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52518         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52520 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52522         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52523         for finite and infinity parameters.
52525 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52527         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52528         and add nop instructions for throughput optimization.
52529         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52531 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52533         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52534         aligned copy for power7 with vector-scalar instructions.
52535         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52537 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52539         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52540         AVX check.
52542 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52544         [BZ #13144]
52545         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52546         last change.
52548 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52550         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52551         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52552         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52553         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52554         clock_gettime.
52556 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52558         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52559         Forgot to demangle the pointer.
52561         * sysdeps/i386/sysdep.h: Define atom_text_section.
52562         * sysdeps/x86_64/sysdep.h: Likewise.
52563         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52564         section with atom_text_section.
52565         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52566         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52567         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52568         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52569         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52571         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52572         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52573         already be defined.  Change to take two parameters and don't assign
52574         result to variable.  Adjust all users.
52575         Define INTERNAL_GETTIME if not already defined.
52576         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52577         call.
52578         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52579         HAVE_CLOCK_GETTIME_VSYSCALL.
52580         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52582         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52583         gettimeofday vsyscall, just use time.
52585 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52588         <errno.h>.
52590 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52592         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52593         syscall on x86-64.
52594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52595         syscall.
52596         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52597         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52598         syscall if possible.
52600 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52602         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52603         e_ident.  Don't pass to find_mapsXX.
52604         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52606 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52609         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52610         * sysdeps/x86_64/multiarch/strchr.S: Update.
52611         Check bit_slow_BSF bit.
52612         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52613         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52614         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52616 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52618         [BZ #13134]
52619         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52620         before glibc 2.15.
52621         (tryshell): Define.
52622         (__spawni): Change last parameter to be flag.  Test
52623         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52624         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52625         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52626         * posix/spawni.c: Likewise.
52627         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52628         * posix/spawnp.c: Likewise.  Change normal version to use
52629         SPAWN_XFLAGS_USE_PATH.
52630         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52631         SPAWN_XFLAGS_TRY_SHELL.
52633         [BZ #13150]
52634         * posix/glob.h: Remove gcc 1.x support.
52636         [BZ #13068]
52637         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52639 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52641         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52642         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52643         strrchr-sse2-bsf
52644         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52645         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52646         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52647         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52648         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52649         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52651 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52653         * sysdeps/x86_64/wcscmp.S: New file.
52655         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52656         wcscmp-c wcscmp-sse2
52657         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52658         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52659         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52660         * wcsmbs/wcscmp.c: Allow renaming.
52662 2011-09-05  David S. Miller  <davem@davemloft.net>
52664         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52665         stack slot, rather than the struct return pointer slot.
52666         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52667         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52669         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52671 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52673         * po/ja.po: Update from translation team.
52675         [BZ #13144]
52676         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52677         kernel in 64-bit binaries.
52679 2011-09-01  David S. Miller  <davem@davemloft.net>
52681         * elf/elf.h (HWCAP_SPARC_*): Move to..
52682         * sysdeps/sparc/sysdep.h: this new file and add new values.
52683         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52684         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52685         _DL_HWCAP_COUNT to 24.
52686         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52687         entries.
52688         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52689         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52690         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52691         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52692         instead of magic constants.
52693         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52695 2011-08-31  David S. Miller  <davem@davemloft.net>
52697         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52699         Reimplement to do errno handling inline.
52700         (SYSCALL_ERROR_HANDLER): New macro.
52701         (__SYSCALL_STRING): Do not do errno handling in asm.
52702         (__CLONE_SYSCALL_STRING): Delete.
52703         (__INTERNAL_SYSCALL_STRING): Delete.
52704         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52705         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52706         (PSEUDO): Reimplement to do errno handling inline.
52707         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52708         (SYSCALL_ERROR_HANDLER): New macro.
52709         (__SYSCALL_STRING): Do not do errno handling in asm.
52710         (__CLONE_SYSCALL_STRING): Delete.
52711         (__INTERNAL_SYSCALL_STRING): Delete.
52712         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52713         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52714         i386.
52715         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52716         (inline_syscall*): Add 'err' argument.
52717         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52718         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52719         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52720         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52722         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52723         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52725 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52727         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52729 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52731         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52732         directive.
52734 2011-08-24  David S. Miller  <davem@davemloft.net>
52736         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52738 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52740         * elf/Makefile: Add rules to build and run unload8 test.
52741         * elf/unload8.c: New file.
52742         * elf/unload8mod1.c: New file.
52743         * elf/unload8mod1x.c: New file.
52744         * elf/unload8mod2.c: New file.
52745         * elf/unload8mod3.c: New file.
52747         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52748         it wasn't used.
52750 2011-08-23  David S. Miller  <davem@davemloft.net>
52752         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52753         subtract stack bias.
52754         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52755         %sp not %fp in calculations.
52756         (_JMPBUF_UNWINDS_ADJ): Likewise.
52758         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52759         (aio_suspend): Call it to force an exception region around the
52760         AIO_MISC_WAIT() invocation.
52762 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52764         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52765         backslash.
52767 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52769         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52770         protection macro.
52771         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52772         and <dl-machine.h>.
52773         (Elf64_FuncDesc): Remove.
52775 2011-08-22  David S. Miller  <davem@davemloft.net>
52777         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52778         sigaltstack check, add missing cfi directives.
52779         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52780         missing cfi directives, and sigaltstack handling.
52782 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52784         [BZ #11724]
52785         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52786         object is seen twice.
52787         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52789         * elf/Makefile (distribute): Add tst-initorder2.c.
52790         (tests): Add tst-initorder2.
52791         (modules-names): Add tst-initorder2a tst-initorder2b
52792         tst-initorder2c tst-initorder2d.  Add rules to build them.
52793         ($(objpfx)tst-initorder2.out): New rule.
52794         * elf/tst-initorder2.c: New file.
52795         * elf/tst-initorder2.exp: New file.
52797 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52799         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52801         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52802         dependencies back to end of function.
52804         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52805         $(elfobjdir)/ld.so.
52807 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52809         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52810         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52811         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52812         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52813         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52814         of __vdso_gettimeofday.
52815         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52816         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52817         attribute_hidden.
52818         (_libc_vdso_platform_setup): Remove initialization of
52819         __vdso_gettimeofday and __vdso_time.
52821 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52823         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52824         and fgetc_unlocked.
52825         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52826         getc_unlocked.
52828         * elf/dl-open.c (add_to_global): Report additions to the global scope
52829         for LD_DEBUG=scopes.
52830         (dl_open_worker): Also print scope of newly loaded dependencies.
52831         (_dl_show_scope): Indicate if there is no scope.
52833         [BZ #13114]
52834         * stdio-common/Makefile (tests): Add bug24.
52835         * stdio-common/bug24.c: New file.
52837 2011-08-19  Andreas Jaeger  <aj@suse.de>
52839         [BZ #13114]
52840         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52841         non-existant file when using close-on-exec mode.
52843 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52846         the very first instruction.
52848         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52849         the CFI state in the end.
52850         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52851         inclusion of dl-trampoline.h.
52852         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52854 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52856         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52857         expectations for long double.
52859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52860         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52862 2011-08-14  David S. Miller  <davem@davemloft.net>
52864         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52865         artificual limit depends upon the system page size.
52867 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52869         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52870         * resolv/Makefile: Define CFLAGS-libresolv.
52872 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52874         * nss/makedb.c (compute_tables): Make variables used in nested
52875         function static.
52877 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52879         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52880         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52881         if buffer was too small.
52883         * elf/pldd.c (main): Attach to all threads in the process.
52884         Rewrite /proc handling to use *at functions.
52886 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52888         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52889         specifies first scope to show.
52890         (dl_open_worker): Update callers.  Move printing scope of new
52891         object to before the relocation.
52892         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52893         * sysdeps/generic/ldsodefs.h: Update declaration.
52895         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52896         string for the scope number.
52898 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52900         * nscd/servicescache.c (cache_addserv): Make sure written is always
52901         initialized.
52903 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52905         * sysdeps/i386/i486/bits/atomic.h
52906         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52907         statement expression, so as to suppress "set but not used" warning.
52908         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52910         * string/strncat.c (STRNCAT): Use prototype definition.
52912         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52913         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52914         -Iprograms here.
52915         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52916         (localedef-modules): Add localedef.
52917         (locale-modules): Add locale.
52919         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52920         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52921         to avoid a warning.
52923 2011-08-14  David S. Miller  <davem@davemloft.net>
52925         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52926         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52928 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52930         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52931         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52932         * elf/rtld.c (dl_main): Set l_name of vDSO.
52933         Call _dl_show_scope when DL_DEBUG_SCOPES.
52934         (process_dl_debug): Recognize scopes flag and also set it for all.
52935         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52936         Declare _dl_show_scope.
52938         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52939         (do_dlopen): Pass caller_dlopen to dl_open.
52940         (__libc_dlopen_mode): Initialize caller_dlopen.
52942         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52943         of libc.  Make tolower call locale-independent.  Optimize a bit by
52944         using isdigit instead of isalnum.
52945         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52947 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52949         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52950         was a dependency or dynamically loaded.
52952 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52954         * intl/l10nflist.c: Allow architecture-specific pop function.
52955         * sysdeps/x86_64/l10nflist.c: New file.
52957         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52958         classification.
52960 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52962         * include/dirent.h: Add libc_hidden_proto for scandirat and
52963         scandirat64.  Don't declare __scandirat64.
52964         * dirent/scandirat.c: Add libc_hidden_def.
52965         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52966         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52968 2011-08-10  David S. Miller  <davem@davemloft.net>
52970         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52971         enum.
52972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52973         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52976 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52978         * Versions.def [libc]: Add GLIBC_2.15.
52979         * dirent/Makefile (routines): Add scandirat and scandirat64.
52980         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52981         GLIBC_2.15.
52982         * dirent/dirent.h: Declare scandirat and scandirat64.
52983         * dirent/scandirat.c: New file.
52984         * dirent/scandirat64.c: New file.
52985         * sysdeps/wordsize-64/scandirat.c: New file.
52986         * sysdeps/wordsize-64/scandirat64.c: New file.
52987         * dirent/opendir.c: Define opendirat.
52988         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52989         using scandirat.
52990         * dirent/scandir64.c: Adjust for scandir.c change.
52991         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52992         __scandirat64, and __scandir_cancel_handler.
52993         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52994         additional parameter and use openat instead of open (outside of ld.so).
52995         Add new __opendir as wrapper around __opendirat.
52996         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52997         here without requiring old scandirat implementation.
52999 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53001         * dirent/scandir.c (cancel_handler): Renamed to
53002         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53003         defined.  Adjust users.
53004         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53005         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53007 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53009         * string/test-string.h (IMPL): Use __STRING to expand name and then
53010         stringify it.
53012         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53013         of cleanups.
53015 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53017         * string/Makefile: Update.
53018         (strop-tests): Append strncat.
53019         * string/test-wcscmp.c: New file.
53020         New comprehensive test for wcscmp.
53021         * string/test-strcmp.c: Update.
53022         (WIDE): New define.
53024 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53026         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53027         line.
53029 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53032         encoding to ACE if AI_IDN.
53034 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53036         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53037         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53039 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53041         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53042         Fix overflow bug in strncat.
53043         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53045         * string/test-strncat.c: Update.
53046         Add new tests for checking overflow bugs.
53048 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53050         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53051         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53052         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53053         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53054         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53055         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53056         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53057         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53058         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53060         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53061         (USE_AS_STRCAT): Define.
53062         Add strcat and strncat support.
53063         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53065 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53067         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53068         __n bigger than INT_MAX+1.
53069         (__strncmp_g): Likewise.
53071 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53073         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53074         * libio/stido.h: Likewise.
53076         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53077         (AF_NFC): Define.
53078         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53079         (AF_NFC): Define.
53081         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53082         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53083         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53084         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53085         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53087         [BZ #13021]
53088         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53089         installed.
53091         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53092         typo.
53093         (_dl_x86_64_save_sse): Likewise.
53095 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53097         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53098         OSXSAVE.
53099         (_dl_x86_64_save_sse): Likewise.
53101         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53103         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53105 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53108         change.
53109         (_dl_x86_64_save_sse): Use correct AVX check.
53111 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53113         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53114         bug in strncpy/strncat.
53115         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53117 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53119         * string/tester.c (test_strcat): Add tests for different alignments
53120         of source and destination.
53121         (test_strncat): Likewise.
53123 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53125         [BZ #12852]
53126         * posix/glob.c (glob): Check passed in values before using them in
53127         expressions to avoid some overflows.
53128         (glob_in_dir): Likewise.
53130         [BZ #13007]
53131         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53132         check for AVX enablement so that we don't crash with old kernels and
53133         new hardware.
53134         * elf/tst-audit4.c: Add same checks here.
53135         * elf/tst-audit6.c: Likewise.
53137         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53139 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53141         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53143 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53145         * po/cs.po: Update from translation team.
53146         * po/bg.po: Likewise.
53148 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53150         * misc/sys/cdefs.h: Add support for const attribute.
53151         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53152         to gnu_dev_{major,minor,makedev} functions.
53154 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53156         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53158 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53160         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53161         strlen results.
53163 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53166         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53167         register in order to avoid conflicts with the soft frame pointer
53168         being held in r11 when necessary.
53169         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53170         (INTERNAL_VSYSCALL_NCS): Likewise.
53172 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53174         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53175         * elf/dl-fini.c (_dl_fini): Adjust caller.
53176         * elf/dl-close.c (_dl_close_worker): Likewise.
53177         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53179 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53181         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53182         "aux_cache->nlibs < 0".
53184         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53185         in the reload-count case.
53187 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53189         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53190         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53191         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53192         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53193         * sysdeps/x86_64/multiarch/strcat.S: New file.
53194         * sysdeps/x86_64/multiarch/strncat.S: New file.
53195         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53196         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53197         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53198         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53199         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53200         (USE_AS_STRCAT): Define.
53201         Add strcat and strncat support.
53202         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53203         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53204         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53205         * string/strncat.c: Update.
53206         (USE_AS_STRNCAT): Define.
53207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53208         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53209         and i7.
53210         * sysdeps/x86_64/multiarch/init-arch.h
53211         (bit_Prefer_PMINUB_for_stringop): New.
53212         (index_Prefer_PMINUB_for_stringop): Likewise.
53213         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53214         bit_Prefer_PMINUB_for_stringop.
53216 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53218         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53219         buffer64.
53220         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53221         of casting of buffer.
53222         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53223         buffer32 and buffer64.
53224         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53225         writes instead of casting of buffer.
53226         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53227         buffer32.
53228         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53229         casting of buffer.
53231 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53233         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53235 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53237         * nscd/nscd.c (termination_handler): Don't do anything for a database
53238         if it has not yet been initialized.
53240 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53242         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53244 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53246         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53248 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53250         * po/nl.po: Update from translation team.
53251         * po/sv.po: Likewise.
53253 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53255         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53256         now disallowed by GCC.
53258         * configure.in (use-default-link): Default to yes if a test -shared
53259         link meets our qualifications.
53260         * configure: Regenerated.
53262         * config.make.in (output-format): New variable.
53263         * configure.in: Check for ld --print-output-format support.
53264         * configure: Regenerated.
53265         * Makerules ($(common-objpfx)format.lds)
53266         [$(output-format) != unknown]: Just use $(output-format),
53267         instead of the linker-script munging.
53269 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53271         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53272         of $(common-objpfx)shlib.lds.
53273         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53275         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53276         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53278         * configure.in (-z relro check): Adjust test code to add a large
53279         writable data section after it.
53280         * configure: Regenerated.
53282 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53284         * configure.in (-z relro check): Fix test code to make the variable
53285         truly const.
53286         * configure: Regenerated.
53288 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53290         * nscd/nscd.h (struct traced_file): Define.
53291         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53292         elements.  Add traced_files.
53293         (inotify_fd): Declare.
53294         (register_traced_file): Declare.
53295         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53296         (inotify_fd): Export.
53297         (resolv_conf_descr): Remove.
53298         (nscd_init): Move inotify descriptor creation to main.
53299         Don't register files for notification here.
53300         (register_traced_file): New function.
53301         (invalidate_cache): Don't use reset_res to determine whether to call
53302         res_init, go through the list of registered files.
53303         (main_loop_poll): The inotify descriptors are now stored in the
53304         structures for the traced files.
53305         (main_loop_epoll): Likewise
53306         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53307         to __nss_disable_nscd.
53308         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53309         for a database anymore.  Check the records for all the registered
53310         files instead.
53311         * nss/Makefile (libnss_files-routines): Add files-init.
53312         (libnss_db-routines): Add db-init.
53313         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53314         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53315         * nss/nss_db/db-init.c: New file.
53316         * nss/nss_files/files-init.c: New file.
53317         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53318         __nss_lookup_function.
53319         (__nss_lookup_function): Call nss_load_library.
53320         (nss_load_all_libraries): New function.
53321         (__nss_disable_nscd): Take parameter with callback function for files
53322         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53323         used for the cached services.
53324         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53325         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53326         options for features to all the files in nscd.
53328         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53330 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53332         * csu/elf-init.c (__libc_csu_init): Comment typo.
53334 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53336         * po/pl.po: Update from translation team.
53337         * po/ja.po: Likewise.
53338         * po/ru.po: Likewise.
53339         * po/ko.po: Likewise.
53340         * po/fr.po: Likewise.
53342 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53344         * configure.in (.ctors/.dtors header and trailer check):
53345         Use an empirical test on a built program.
53346         * configure: Regenerated.
53348         * configure.in (-z relro check): Use an empirical test on a built DSO.
53349         Detect, but do not require, on ia64.
53350         * configure: Regenerated.
53352         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53353         Update tests that use readelf to use $READELF instead.
53354         * configure: Regenerated.
53356 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53358         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53359         if the result is not used.
53361 2011-07-05  Andreas Jaeger  <aj@suse.de>
53363         [BZ#9696]
53364         * stdlib/tst-strtod.c: Add testcase.
53366 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53368         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53369         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53370         The latter has a higher limit.  Take additional parameter to pass to
53371         the new function.
53372         (__pathconf): Pass file to __statfs_link_max.
53373         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53374         __statfs_link_max.
53375         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53376         __statfs_link_max.
53378         [BZ #12868]
53379         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53380         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53381         Handle Lustre.
53382         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53383         (__statfs_filesize_max): Likewise.
53384         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53386 2011-07-05  Andreas Jaeger  <aj@suse.de>
53388         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53390 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53392         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53393         `status' variable.
53394         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53395         Likewise.
53397 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53399         * Makefile (strop-tests): Add strncat.
53400         * string/test-strncat.c: New file.
53402 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53404         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53406 2011-06-21  Andreas Jaeger  <aj@suse.de>
53408         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53409         Copy rule from iconvdata/Makefile.
53411 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53413         [BZ #12922]
53414         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53415         but no long options are defined, just return 'W'.
53417 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53419         [BZ #9696]
53420         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53422 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53424         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53425         netgroups to read.
53426         (innetgr): Likewise.
53428 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53430         * config.make.in (install_root): Default to $(DESTDIR).
53432 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53434         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53436 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53438         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53440         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53441         containing directory rather than embedding absolute directory names.
53443         * scripts/check-local-headers.sh: Rewritten using awk.
53444         Match by word, not by line.  Print error messages for matches.
53445         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53447         * Makerules [shlib-lds-flags empty]:
53448         ($(common-objpfx)libc_pic.opts): New target.
53449         ($(common-objpfx)libc_pic.os.clean): New target.
53450         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53452         * config.make.in (OBJCOPY): New variable.
53453         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53454         * configure: Regenerated.
53456         * config.make.in (use-default-link): New variable.
53457         * configure.in (use_default_link): Grok --with-default-link to set it.
53458         * configure: Regenerated.
53459         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53460         (shlib-lds, shlib-lds-flags): Define to empty.
53462         * Makerules (shlib-lds): New variable.
53463         (shlib-lds-flags): New variable.
53464         (build-shlib, build-moduile, build-module-asneeded): Use it.
53465         ($(common-objpfx)libc.so): Use $(shlib-lds).
53466         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53467         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53469         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53470         DT_FLAGS/DT_FLAGS_1 with zero flags.
53472         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53473         linker script munging.
53475 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53477         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53478         as 128-bit value.
53479         * crypt/sha512.c (sha512_process_block): Perform total addition using
53480         128-bit if possible.
53481         (__sha512_finish_ctx): Likewise.
53482         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53483         as 64-bit value.
53484         * crypt/sha256.c (SWAP64): Define.
53485         (sha256_process_block): Perform total addition using 64-bit if
53486         possible.
53487         (__sha256_finish_ctx): Likewise.
53489 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53491         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53492         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53493         * nscd/hstcache.c (cache_addhst): Likewise.
53494         * nscd/grpcache.c (cache_addgr): Likewise.
53495         * nscd/aicache.c (addhstaiX): Likewise
53496         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53498 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53500         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53501         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53502         * nscd/hstcache.c (cache_addhst): Likewise.
53503         * nscd/grpcache.c (cache_addgr): Likewise.
53504         * nscd/aicache.c (addhstaiX): Likewise
53506 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53508         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53509         domain only when needed.
53511 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53513         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53514         is always restored.
53516 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53518         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53519         are re-adding the entry.
53520         * nscd/servicescache.c (cache_addserv): Likewise.
53522 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53524         * sysdeps/generic/dl-irel.h: fix protection against multiple
53525         inclusions.
53526         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53528 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53530         [BZ #12935]
53531         * malloc/memusage.sh: Fix quoting in message.
53532         * debug/xtrace.sh: Likewise.
53534         * configure.in: Remove support for --experimental-malloc option, make
53535         it the default.
53536         * config.make.in: Likewise.
53537         * malloc/Makefile: Likewise.
53539 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53541         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53542         two-byte characters.
53544 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53546         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53547         AC_CACHE_CHECK invocation.
53548         * configure: Regenerated.
53550         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53552 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53554         [BZ #12350]
53555         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53556         bit from old_res_options.
53558         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53560         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53561         value type for setfct.
53563 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53565         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53566         __gettimeofday instead of gettimeofday.
53568 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53570         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53572 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53576         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53577         info.
53579 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53582         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53583         strcpy-sse2-unaligned strncpy-sse2-unaligned
53584         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53585         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53586         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53587         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53588         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53589         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53590         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53591         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53592         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53593         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53594         (STRCPY): Support SSE2 and SSSE3 versions.
53596 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53598         [BZ #12874]
53599         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53600         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53601         kernels which artificially limit size of requests.
53603 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53605         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53606         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53607         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53608         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53609         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53610         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53611         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53612         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53613         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53614         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53615         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53616         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53617         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53618         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53619         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53621         Enable unaligned load optimization for Intel Core i3, i5 and i7
53622         processors.
53623         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53624         Define.
53625         (index_Fast_Unaligned_Load): Define.
53626         (HAS_FAST_UNALIGNED_LOAD): Define.
53628 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53630         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53632 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53634         [BZ #12907]
53635         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53636         until it is clear that the information is realy needed.
53637         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53639 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53641         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53643 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53645         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53646         /sys/devices/system/cpu/online if it is usable.
53648         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53649         reading the information from the /proc filesystem to once a second.
53651 2011-06-21  Andreas Jaeger  <aj@suse.de>
53653         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53654         NULL after inclusion of kernel headers.
53656 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53658         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53659         calls to internal_setent.
53661         [BZ #12885]
53662         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53663         addresses using gethostbyname4_r ignore IPv4 addresses.
53665         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53666         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53668         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53670 2011-06-20  David S. Miller  <davem@davemloft.net>
53672         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53673         inclusions.
53674         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53676         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53677         (elf_irel): Use it.
53678         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53679         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53680         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53681         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53682         * sysdeps/x86_64/dl-irel.h: Likewise.
53684         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53685         * elf/dl-sym.c: Likewise.
53687 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53689         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53690         need to dereference resplen2.
53692 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53694         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53696 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53698         * Makeconfig: Define vardbdir and inst_vardbdir.
53699         * nss/Makefile: Add rules to install db-Makefile.
53701         * nss/nss_db/db-XXX.c: Cleanup.
53703         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53704         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53705         GLIBC_PRIVATE.
53706         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53707         * nss/makedb.c: Implement -g option to specify that value strings
53708         are generated and should not be added to table iterated over for
53709         get*ent calls.
53710         * nss/nss_db/db-initgroups.c: New file.
53712         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53713         interface.
53715         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53716         (internal_getgrouplist): Adjust to name change.
53717         Update use_initgroups_entry if this is not the first call.
53718         * nss/databases.def: Add initgroups entry.
53720         * nss/makedb.c (compute_tables): Check result of multiple hash table
53721         sizes to minimize maximum chain length.
53723 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53725         * Versions.def: Add entry for libnss_db.
53726         * shlib-versions: Likewise.
53727         * nss/Makefile: Add rules to build libnss_db.
53728         * nss/Versions: Add libnss_db information.  Organize libnss_files
53729         entries better.
53730         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53731         makedb progra.  Some minor improvements to generate smaller files.
53732         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53733         here from...
53734         * nss/makedb.c: ...here.
53735         Improve database format to be smaller and require less memory at
53736         runtime.
53737         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53738         db anymore.
53739         * nss/nss_db/db-netgrp.c: Likewise.
53740         * nss/nss_db/db-open.c: Likewise.
53741         * nss/nss_files/flies-XXX.x: Adjust comments.
53742         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53743         * nss/nss_files/files-grp.c: Likewise.
53744         * nss/nss_files/files-hosts.c: Likewise.
53745         * nss/nss_files/files-network.c: Likewise.
53746         * nss/nss_files/files-proto.c: Likewise.
53747         * nss/nss_files/files-pwd.c: Likewise.
53748         * nss/nss_files/files-rpc.c: Likewise.
53749         * nss/nss_files/files-service.c: Likewise.
53750         * nss/nss_files/files-sgrp.c: Likewise.
53751         * nss/nss_files/files-spwd.c: Likewise.
53752         * nss/nss_db/db-alias.c: Removed.
53753         * nss/nss_db/dummy-db.h: Removed.
53755 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53757         * nss/makedb.c: Rewritten to not use database library.
53758         * nss/Makefile: Update to build new makedb program.
53760 2011-06-14  Andreas Jaeger  <aj@suse.de>
53762         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53763         memset declaration.
53765 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53768         tmpbuf.
53770 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53772         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53773         * elf/Makefile ($(objpfx)ld.so): Likewise.
53775         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53776         Don't list ld.so twice in dependencies.
53778         * posix/bug-regex31.c: Include <stdlib.h>.
53780         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53782         * nis/nss_compat/compat-spwd.c
53783         (getspent_next_nss_netgr): Remove unused variable.
53784         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53786         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53787         nonmembers" output to use the right array.
53789         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53791         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53793         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53794         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53795         * catgets/gencat.c (read_input_file): Likewise.
53796         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53798         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53799         variable definition inside #if's controlling its use.
53801         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53803         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53805         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53807         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53808         unreachable code.
53810         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53812         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53813         * configure: Regenerated.
53815         * Makerules: Revert last change.
53816         * elf/Makefile: Likewise.
53818 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53820         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53821         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53822         (reloc-link): Likewise.
53824 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53826         * elf/Makefile: Add rules to build pldd.
53827         * elf/pldd.c: New file.
53828         * elf/pldd-xx.c: New file.
53830 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53832         * version.h: Update for 2.15 development version.
53834 2011-06-07  David S. Miller  <davem@davemloft.net>
53836         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53837         ifuncs.
53838         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53839         elf_machine_lazy_rel): Likewise.
53840         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53841         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53842         elf_machine_lazy_rel): Likewise.
53843         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53844         dl_hwcap via passed in argument.
53845         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53846         Likewise.
53848 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53850         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53852 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53854         [BZ #12849]
53855         * manual/fdl-1.1.texi: New file, verbatim from:
53856         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53857         * manual/lgpl-2.1.texi: New file, verbatim from:
53858         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53859         * manual/Makefile (licenses): New variable, list those new file names.
53860         (texis): Use it.
53861         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53863         * manual/fdl.texi: File removed.
53864         * manual/lesser.texi: File removed.
53865         * manual/libc.texinfo (Copying, Documentation License):
53866         Use new @include file names, put @appendix directive before @include.
53868 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53870         [BZ #12841]
53871         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53872         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53873         (mq_open): Add __NTH.
53875 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53877         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53878         Assume Intel Core i3/i5/i7 processor if AVX is available.
53880 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53882         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53883         typo.
53885 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53887         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53888         memory.  Use alloca_account.  Fix memory leak when retrying.
53890 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53892         * version.h (RELEASE): Bump for 2.14 release.
53893         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53895         * config.make.in (RANLIB): Remove entry.
53897 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53899         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53900         (libc.pot): Work around missing support for .ksh extension in xgettext.
53902         [BZ #12684]
53903         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53904         if both request failed.
53905         (send_dg): In case of server errors clear resplen or *resplen2.
53907         [BZ #12454]
53908         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53909         when there are multiple maps.
53910         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53911         (_dl_fini): Remove test here.
53913         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53915 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53917         [BZ #12350]
53918         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53919         bit from old_res_options.
53920         (gaih_inet): Likewise.
53922         [BZ #11099]
53923         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53924         as signed.
53926         * resolv/res_init.c (res_setoptions): Make the code more compact.
53928         [BZ #11558]
53929         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53930         set RES_USEVC.
53932         [BZ #11634]
53933         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53935         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53937         [BZ #11781]
53938         * malloc/malloc.h: Declare malloc hook variables as volatile.
53940         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53941         in last patch.
53943         [BZ #11799]
53944         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53945         raise in the comment.
53946         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53947         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53948         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53950 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53952         [BZ #12811]
53953         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53954         grow the buffers more if it already has to be sufficient.
53955         (build_wcs_upper_buffer): Likewise.
53956         * posix/regexec.c (check_matching): Likewise.
53957         (clean_state_log_if_needed): Likewise.
53958         (extend_buffers): Don't enlarge buffers beyond size of the input
53959         buffer.
53960         Patches mostly by Emil Wojak <emil@wojak.eu>.
53961         * posix/bug-regex32.c: New file.
53962         * posix/Makefile (tests): Add bug-regex32.
53964         * locale/findlocale.c (_nl_find_locale): Return right away if
53965         _nl_explode_name failed.
53966         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53968         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53970         * debug/xtrace.sh: Unify messages.
53971         * malloc/memusage.sh: Likewise.
53973         [BZ #12813]
53974         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53975         time symbol from vDSO.  Substitute with vsyscall if not available.
53976         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53977         __vdso_time.
53979         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53980         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53981         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53982         Add sendmmsg and internal_sendmmsg.
53983         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53984         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53985         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53987         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53988         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53989         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53991 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53993         [BZ #12813]
53994         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53995         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53996         available.
53997         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53998         __vdso_getcpu.
54000         [BZ #12814]
54001         * iconvdata/Makefile (tests): Add bug-iconv9.
54002         * iconvdata/bug-iconv9.c: New file.
54004 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54006         [BZ #12814]
54007         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54009 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54011         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54012         (struct user_regs_struct): Change intcs field back to cs.
54014 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54016         * po/ja.po: Update from translation team.
54018 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54020         [BZ #12795]
54021         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54022         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54024 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54026         * stdlib/longlong.h: Update from GCC.
54028 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54030         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54031         parameter name.
54032         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54033         Add parameter name.
54034         (__sysconf): Pass it down.
54036 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54038         [BZ #12671]
54039         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54040         some situations.
54041         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54042         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54043         add in in __libc_use_alloca calls.  Adjust callers.
54044         (glob): Use malloc in some situations.
54046         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54047         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54048         pltexit.
54050 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54052         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54053         and CLOCK_BOOTTIME_ALARM.
54055         [BZ #12782]
54056         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54057         is returned.
54059         * string/_strerror.c (__strerror_r): Print negative errors as signed
54060         numbers.
54062         [BZ #12777]
54063         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54064         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54065         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54067         * configure.in: Fix typo in redirection and correct removal of test
54068         files in two cases.
54070         [BZ #12788]
54071         * locale/setlocale.c (new_composite_name): Fix test to check for
54072         identical name of all categories.
54074         [BZ #12792]
54075         * libio/filedoalloc.c (local_isatty): New function.
54076         (_IO_file_doallocate): Use local_isatty.
54077         * stdio-common/perror.c (perror): In case a new stream is used
54078         forward the stream error.
54079         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54080         error flag.
54082 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54084         [BZ #11869]
54085         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54086         alloca.
54087         * include/alloca.h (extend_alloca_account): Define.
54089         [BZ #11857]
54090         * posix/regex.h: Fix comments with documentation of user-accessible
54091         fields after compilation and describe correct free'ing of pattern
54092         after re_compile_pattern.
54093         Patch by Reuben Thomas <rrt@sc3d.org>.
54095 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54097         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54098         and -mno-altivec to prevent the compiler from using Altivec and/or
54099         VSX instructions when the corresponding registers are not available.
54101 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54103         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54105 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54107         * libio/freopen.c (freopen): Use __dup2, not dup2.
54108         * libio/freopen64.c (freopen64): Likewise.
54110 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54112         [BZ #12775]
54113         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54114         * math/Makefile (tests): Add test-powl.
54115         (CFLAGS-test-powl.c): Define.
54116         * math/test-powl.c: New file.
54118 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54120         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54122 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54124         [BZ #11837]
54125         * iconvdata/gb18030.c: Update to GB18020-2005.
54127 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54129         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54130         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54131         Patch by Aharon Robbins <arnold@skeeve.com>.
54133         [BZ #11892]
54134         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54135         on the stack.
54137         [BZ #11895]
54138         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54139         through underflows.
54141         [BZ #12766]
54142         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54143         point to strings before performing equality test for error_one_per_line
54144         mode.
54146         [BZ #11697]
54147         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54149         [BZ #11820]
54150         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54151         (struct user_fpregs_struct): Avoid __uint*_t types.
54153         [BZ #6420]
54154         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54155         symbol info.  Use it instead of calling _dl_addr locally.
54156         (lock_and_info): New function.
54157         (tr_freehook): Call lock_and_info and pass symbol info as additional
54158         parameter to tr_where.
54159         (tr_mallochook): Likewise.
54160         (tr_reallochook): Likewise.
54161         (tr_memalignhook): Likewise.
54163         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54164         used and couldn't be at all thread-safe.
54166 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54168         * libio/freopen.c (freopen): Don't close old file descriptor
54169         before the new one is opened.  Instead dup the new file descriptor
54170         to the old one after the new stream is created.
54171         * libio/freopen64.c (freopen64): Likewise.
54172         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54173         * libio/fileops.c (_IO_new_file_close_it): Handle new
54174         _IO_FLAGS2_NOCLOSE flag.
54175         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54176         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54177         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54178         _IO_FLAGS2_NOCLOSE flag.
54179         * include/unistd.h: Add hidden_proto for dup3.
54180         Define __have_dup3.
54181         * io/dup3.c: Define hidden symbol.
54182         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54184         [BZ #7101]
54185         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54186         when an incomplete long option is used.
54187         * posix/tst-getopt_long1.c: New file.
54188         * posix/Makefile (tests): Add tst-getopt_long1.
54190         [BZ #10138]
54191         * scripts/config.guess: Update from autoconf-2.68.
54192         * scripts/config.sub: Likewise.
54194         [BZ #10157]
54195         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54196         tests into ...
54197         (has_cpuclock): ...this.  New function.
54198         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54199         macro here based on has_cpuclock code.
54201         [BZ #10149]
54202         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54203         First byte (not low byte) is now always NUL.
54204         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54206         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54207         Use non-cancelable interfaces.
54209         [BZ #9809]
54210         * locale/iso-639.def: Add entry for Sorani.
54212         [BZ #11901]
54213         * include/stdlib.h: Move include protection to the right place.
54214         Define abort_msg_s.  Declare __abort_msg with it.
54215         * stdlib/abort.c (__abort_msg): Adjust type.
54216         * assert/assert.c (__assert_fail_base): New function.  Majority
54217         of code from __assert_fail.  Allocate memory for __abort_msg with
54218         mmap.
54219         (__assert_fail): Now call __assert_fail_base.
54220         * assert/assert-perr.c: Remove bulk of implementation.  Use
54221         __assert_fail_base.
54222         * include/assert.hL Declare __assert_fail_base.
54223         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54224         mmap.
54225         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54227 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54229         [BZ #11952]
54230         [BZ #12453]
54231         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54232         until all modules are registered in the DTV.
54233         * elf/Makefile: Add rules to build and run tst-tls19.
54234         * elf/tst-tls19.c: New file.
54235         * elf/tst-tls19mod1.c: New file.
54236         * elf/tst-tls19mod2.c: New file.
54237         * elf/tst-tls19mod3.c: New file.
54238         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54240         [BZ #12083]
54241         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54242         correctly.
54244         [BZ #12601]
54245         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54246         two-byte sequence errors.
54247         * iconvdata/Makefile (tests): Add bug-iconv8.
54248         * iconvdata/bug-iconv8.c: New file.
54250         [BZ #12626]
54251         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54252         buf2 definition.
54254         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54256         [BZ #12432]
54257         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54258         (dummy_getcfa): New function.
54259         (init): Get _Unwind_GetCFA address, use dummy if not found.
54260         (backtrace_helper): In recursion check, also check whether CFA changes.
54261         (__backtrace): Completely initialize arg.
54263         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54264         storing incomplete byte sequence in state object.  Avoid testing for
54265         guaranteed too small input if we know there is enough data available.
54267 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54269         * Makeconfig (+link-pie): Indent.
54270         * Rules (binaries-pie): Define if $(have-fpie) and
54271         $(build-shared).
54272         (binaries-shared): Also filter out $(binaries-pie).
54273         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54274         * nscd/Makefile (others-pie): Add nscd.
54275         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54276         ($(objpfx)nscd): Remove command override.
54277         * login/Makefile (others-pie): Add pt_chown.
54278         ($(objpfx)pt_chown): Remove command override.
54279         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54280         remove command overrides.
54282 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54284         * libio/tst_putwc.c: Fix error messages.
54286         [BZ #12724]
54287         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54288         currently writing and seek to current position when not.
54289         * libio/Makefile (tests): Add bug-fclose1.
54290         * libio/bug-fclose1.c: New file.
54292 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54294         [BZ #12511]
54295         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54296         don't set DF_1_NODELETE here.
54297         (do_lookup_x): When entering new entry test for copy relocation
54298         and if necessary set DF_1_NODELETE flag.
54299         * elf/tst-unique4.cc: New file.
54300         * elf/tst-unique4.h: New file.
54301         * elf/tst-unique4lib.cc: New file.
54302         * elf/Makefile: Add rules to build and run tst-unique4.
54303         Patch by Piotr Bury <pbury@goahead.com>.
54305 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54307         [BZ #12052]
54308         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54310         [BZ #12625]
54311         * misc/mntent_r.c (addmntent): Flush the stream after the output
54313         [BZ #12393]
54314         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54315         (is_trusted_path_normalize): Skip initial colon.  Append slash
54316         to empty buffer.  Duplicate is_trusted_path code but allow
54317         constructed patch to be prefix.
54318         (is_dst): Allow $ORIGIN followed by /.
54319         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54320         Correct testing of result of is_trusted_path_normalize
54321         (decompose_rpath): Fix warning.
54323 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54325         [BZ #11257]
54326         * grp/initgroups.c (internal_getgrouplist): When we found the service
54327         list through the initgroups entry in nsswitch.conf do not always
54328         continue on a successful lookup.  Don't always use the
54329         __nss_group_database value if it is set.
54330         * nss/nsswitch.conf (initgroups): Change action for successful db
54331         lookup to continue for compatibility.
54333 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54335         [BZ #11532]
54336         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54337         and CP774 modules.
54338         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54339         and CP774 modules.
54340         * iconvdata/tst-tables.sh: Likewise.
54341         * iconvdata/cp770.c: New file.
54342         * iconvdata/cp771.c: New file.
54343         * iconvdata/cp772.c: New file.
54344         * iconvdata/cp773.c: New file.
54345         * iconvdata/cp774.c: New file.
54346         * iconvdata/testdata/CP770: New file.
54347         * iconvdata/testdata/CP770..UTF8: New file.
54348         * iconvdata/testdata/CP771: New file.
54349         * iconvdata/testdata/CP771..UTF8: New file.
54350         * iconvdata/testdata/CP772: New file.
54351         * iconvdata/testdata/CP772..UTF8: New file.
54352         * iconvdata/testdata/CP773: New file.
54353         * iconvdata/testdata/CP773..UTF8: New file.
54354         * iconvdata/testdata/CP774: New file.
54355         * iconvdata/testdata/CP774..UTF8: New file.
54357         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54358         END CHARMAP line.
54359         * iconvdata/gen-8bit-gap.sh: Likewise.
54360         * iconvdata/gen-8bit.sh: Likewise.
54362         * locale/iso-639.def: Add ary entry.
54364         [BZ #11258]
54365         * locale/C-translit.h.in: Add U20A1 transliteration.
54367         [BZ #12178]
54368         * locale/iso-639.def: Add wae entry.
54369         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54371         [BZ #12545]
54372         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54373         for n.
54375         [BZ #12711]
54376         * locale/C-translit.h.in: Add entry for U20B9.
54377         Patch by pravin.d.s@gmail.com.
54379 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54381         [BZ #12713]
54382         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54383         ENAMETOOLONG use generic getcwd.
54384         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54385         in rtld.  Use *stat64.
54386         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54387         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54388         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54389         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54390         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54391         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54392         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54393         __fstatat64 macros.
54394         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54395         * dirent/rewinddir.c: Add libc_hidden_def.
54396         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54397         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54399         * include/dirent.h (__alloc_dir): Add flags parameter.
54400         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54401         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54402         __alloc_dir.
54403         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54404         from fdopendir if O_CLOEXEC is already set.
54406 2011-03-15  Alan Modra  <amodra@gmail.com>
54408         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54409         l_tls_firstbyte_offset non-zero.  Save padding offset in
54410         l_tls_firstbyte_offset for later use.
54411         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54412         freeing static tls block.
54414 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54416         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54417         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54418         being defined by the kernel headers.
54420 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54422         [BZ #12734]
54423         * resolv/resolv.h: Define RES_NOTLDQUERY.
54424         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54425         no-tld-query and set RES_NOTLDQUERY.
54426         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54427         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54428         modern BIND to search name as TLD unless forbidden.
54430 2011-05-07  Petr Baudis  <pasky@suse.cz>
54431             Ulrich Drepper  <drepper@gmail.com>
54433         [BZ #12393]
54434         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54435         (is_trusted_path): ...to here.
54436         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54437         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54438         using is_trusted_path_normalize() in setuid scripts.
54440 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54442         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54443         __BEGIN/__END_DECLS.
54445 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54447         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54448         NSS_STATUS_NOTFOUND if no record was found.
54450 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54452         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54453         (headers-not-in-tirpc): Remove rpc/netdb.h
54454         * resolv/netdb.h: Revert last change.
54456 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54458         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54459         circular dependency between libgcc.a and libc.a.
54461 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54463         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54464         * nis/Makefile: Don't install rpcsvc/*.
54465         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54466         instead of <rpc/types.h>.
54467         (MAXHOSTNAMELEN): Define.
54469 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54471         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54473 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54475         [BZ #12714]
54476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54477         gethostbyname4_r when IPv6 results are possible.
54479 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54481         [BZ #12723]
54482         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54483         _PC_PIPE_BUF handling.
54485 2011-04-30  Bruno Haible  <bruno@clisp.org>
54487         [BZ #12717]
54488         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54489         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54490         to 'int'.
54491         * inet/getnameinfo.c (getnameinfo): Likewise.
54493 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54495         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54496         to groups setting in database lookup.
54497         * nss/nsswitch.conf: Add initgroups entry.
54499 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54501         [BZ #12685]
54502         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54503         mode string.
54504         Patch by Eric Blake <eblake@redhat.com>.
54506 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54508         * sunrpc/Makefile (need-export-routines): Add svc_run.
54509         (routines): Remove svc_run.
54510         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54511         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54512         * sunrpc/svc_run.c (svc_run): Likewise.
54513         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54515 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54517         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54518         problem in reallocation in last patch.
54520 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54522         * sunrpc/Makefile: Move inclusion of Rules.
54524 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54526         * nss/nss_files/files-initgroups.c: New file.
54527         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54528         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54529         _nss_files_initgroups_dyn.
54531 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54533         * elf/elf.h (R_ARM_IRELATIVE): Define.
54535 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54537         * po/ru.po: Update from translation team.
54539 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54541         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54542         dependencies.
54544 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54546         [BZ #12653]
54547         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54548         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54549         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54550         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54551         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54553 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54555         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54556         differing bytes.
54557         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54558         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54559         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54561 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54563         [BZ #12420]
54564         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54565         storing it.
54566         * stdlib/bug-getcontext.c: New file.
54567         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54569 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54571         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54572         instructions into .machine "z9-109".
54573         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54574         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54576 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54578         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54579         between environment variables and auxiliary vector.
54581 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54583         * Makefile: Add rules to build linkobj/libc.so.
54584         * include/libc-symbols.h: Define libc_hidden_nolink.
54585         * include/rpc/auth.h: Mark functions which are to be hidden.
54586         * include/rpc/auth_des.h: Likewise.
54587         * include/rpc/auth_unix.h: Likewise.
54588         * include/rpc/clnt.h: Likewise.
54589         * include/rpc/des_crypt.h: Likewise.
54590         * include/rpc/key_prot.h: Likewise.
54591         * include/rpc/pmap_clnt.h: Likewise.
54592         * include/rpc/pmap_prot.h: Likewise.
54593         * include/rpc/pmap_rmt.h: Likewise.
54594         * include/rpc/rpc_msg.h: Likewise.
54595         * include/rpc/svc.h: Likewise.
54596         * include/rpc/svc_auth.h: Likewise.
54597         * include/rpc/xdr.h: Likewise.
54598         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54599         * nss/Makefile: Likewise.
54600         * sunrpc/Makefile: Don't install headers.  Build library with normal
54601         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54602         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54603         for the compat linking library.  Remove use of INTDEF/INTUSE.
54604         * sunrpc/auth_none.c: Likewise.
54605         * sunrpc/auth_unix.c: Likewise.
54606         * sunrpc/authdes_prot.c: Likewise.
54607         * sunrpc/authuxprot.c: Likewise.
54608         * sunrpc/clnt_gen.c: Likewise.
54609         * sunrpc/clnt_perr.c: Likewise.
54610         * sunrpc/clnt_raw.c: Likewise.
54611         * sunrpc/clnt_simp.c: Likewise.
54612         * sunrpc/clnt_tcp.c: Likewise.
54613         * sunrpc/clnt_udp.c: Likewise.
54614         * sunrpc/clnt_unix.c: Likewise.
54615         * sunrpc/des_crypt.c: Likewise.
54616         * sunrpc/des_soft.c: Likewise.
54617         * sunrpc/get_myaddr.c: Likewise.
54618         * sunrpc/key_call.c: Likewise.
54619         * sunrpc/key_prot.c: Likewise.
54620         * sunrpc/netname.c: Likewise.
54621         * sunrpc/pm_getmaps.c: Likewise.
54622         * sunrpc/pm_getport.c: Likewise.
54623         * sunrpc/pmap_clnt.c: Likewise.
54624         * sunrpc/pmap_prot.c: Likewise.
54625         * sunrpc/pmap_prot2.c: Likewise.
54626         * sunrpc/pmap_rmt.c: Likewise.
54627         * sunrpc/publickey.c: Likewise.
54628         * sunrpc/rpc_cmsg.c: Likewise.
54629         * sunrpc/rpc_common.c: Likewise.
54630         * sunrpc/rpc_dtable.c: Likewise.
54631         * sunrpc/rpc_prot.c: Likewise.
54632         * sunrpc/rpc_thread.c: Likewise.
54633         * sunrpc/rtime.c: Likewise.
54634         * sunrpc/svc.c: Likewise.
54635         * sunrpc/svc_auth.c: Likewise.
54636         * sunrpc/svc_authux.c: Likewise.
54637         * sunrpc/svc_raw.c: Likewise.
54638         * sunrpc/svc_run.c: Likewise.
54639         * sunrpc/svc_simple.c: Likewise.
54640         * sunrpc/svc_tcp.c: Likewise.
54641         * sunrpc/svc_udp.c: Likewise.
54642         * sunrpc/svc_unix.c: Likewise.
54643         * sunrpc/svcauth_des.c: Likewise.
54644         * sunrpc/xcrypt.c: Likewise.
54645         * sunrpc/xdr.c: Likewise.
54646         * sunrpc/xdr_array.c: Likewise.
54647         * sunrpc/xdr_float.c: Likewise.
54648         * sunrpc/xdr_intXX_t.c: Likewise.
54649         * sunrpc/xdr_mem.c: Likewise.
54650         * sunrpc/xdr_rec.c: Likewise.
54651         * sunrpc/xdr_ref.c: Likewise.
54652         * sunrpc/xdr_sizeof.c: Likewise.
54653         * sunrpc/xdr_stdio.c: Likewise.
54655 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54657         [BZ #12650]
54658         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54659         * sysdeps/ia64/dl-tls.h: Likewise.
54660         * sysdeps/powerpc/dl-tls.h: Likewise.
54661         * sysdeps/s390/dl-tls.h: Likewise.
54662         * sysdeps/sh/dl-tls.h: Likewise.
54663         * sysdeps/sparc/dl-tls.h: Likewise.
54664         * sysdeps/x86_64/dl-tls.h: Likewise.
54665         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54667 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54669         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54670         rpath element also skip the following colon.
54671         (expand_dynamic_string_token): Add is_path parameter and pass
54672         down to DL_DST_REQUIRED and _dl_dst_substitute.
54673         (decompose_rpath): Call expand_dynamic_string_token with
54674         non-zero is_path.  Ignore empty rpaths.
54675         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54676         with zero is_path.
54678 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54681         Make cancelable.
54683 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54685         [BZ #12655]
54686         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54687         Patch by Filipe David Manana <fdmanana@apache.org>.
54689 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54691         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54692         Maintain aligned stack.
54693         (CHECK_RSP): Remove unused macro.
54695 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54697         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54698         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54700 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54702         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54704         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54706 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54708         [BZ #12518]
54709         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54710         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54711         * sysdeps/x86_64/memmove.c: New file.
54712         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54713         (memcpy): Renamed to ...
54714         (__new_memcpy): This.
54715         (memcpy): Provide GLIBC_2_14 memcpy.
54716         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54717         (memcpy): Provide GLIBC_2_2_5 memcpy.
54719 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54721         [BZ #12631]
54722         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54724 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54726         * misc/syncfs.c: New file.
54727         * misc/Makefile (routines): Add syncfs.
54728         * posix/unistd.h: Declare syncfs.
54729         * sysdeps/unix/syscalls.list: Add syncfs.
54731 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54733         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54734         open_by_handle_at.
54735         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54736         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54737         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54738         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54739         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54740         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54741         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54743 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54745         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54746         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54747         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54748         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54749         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54750         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54751         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54753         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54754         sync_file_range.c with -fexceptions.
54755         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54756         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54757         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54758         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54759         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54760         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54761         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54762         sync_file_range as cancellation point
54763         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54764         now a wrapper around __call_sync_file_range with cancellation handling.
54765         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54766         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54767         function name to __call_sync_file_range.
54768         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54769         Add call_sync_file_range.
54771 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54774         bits/timex.h.
54776 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54778         * iconv/iconv.h: Fix typo in comment.
54779         * io/fcntl.h: Likewise.
54780         * libio/stdio.h: Likewise.
54781         * posix/spawn.h: Likewise.
54782         * posix/unistd.h: Likewise.
54783         * stdlib/stdlib.h: Likewise.
54784         * time/time.h: Likewise.
54785         * wcsmbs/wchar.h: Likewise.
54787         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54788         open_by_handle): Add.
54789         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54790         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54791         Augment a few comments.
54792         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54793         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54796         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54797         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54798         open_by_handle.
54800         * io/fcntl.h (AT_EMPTY_PATH): Define.
54802 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54804         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54805         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54806         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54807         to...
54808         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54809         * Versions.def: Add GLIBC_2.14.
54810         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54811         Export.
54813 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54815         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54816         round counter.
54817         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54819 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54821         [BZ #12597]
54822         * string/test-strncmp.c (do_page_test): New function.
54823         (check2): Likewise.
54824         (test_main): Call check2.
54825         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54827 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54829         [BZ #12587]
54830         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54831         Handle cache information in CPU leaf 4.
54832         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54834 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54836         [BZ #12583]
54837         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54838         character representation.
54839         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54841 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54843         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54844         END(__isnan) to END(__isnanf) to match function entry point/label
54845         EALIGN(__isnanf,...).
54847 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54849         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54851 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54853         [BZ #12510]
54854         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54855         copy from the symbol referenced in the relocation to initialize the
54856         used variable.
54857         Patch by Piotr Bury <pbury@goahead.com>.
54858         * elf/Makefile: Add rules to build and tst-unique3.
54859         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54860         * elf/tst-unique3.cc: New file.
54861         * elf/tst-unique3.h: New file.
54862         * elf/tst-unique3lib.cc: New file.
54863         * elf/tst-unique3lib2.cc: New file.
54865         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54867 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54869         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54870         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54871         to _start.
54873 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54875         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54876         to-be-loaded object along a path to loader is ld.so.
54878 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54879             Ulrich Drepper  <drepper@gmail.com>
54881         * sysdeps/x86_64/memset.S: After aligning destination, code
54882         branches to different locations depending on the value of
54883         misalignment, when multiarch is enabled. Fix this.
54885 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54887         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54888         Set _x86_64_preferred_memory_instruction for AMD processsors.
54889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54890         Set bit_Prefer_SSE_for_memop for AMD processors.
54892 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54894         * libio/fmemopen.c (fmemopen): Optimize a bit.
54896 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54898         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54900 2011-03-03  Roland McGrath  <roland@redhat.com>
54902         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54904 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54906         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54907         __bzero_ultra1 instead of __memset_ultra1.
54909 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54910             Ulrich Drepper  <drepper@gmail.com>
54912         [BZ #12509]
54913         * include/link.h (struct link_map): Add l_orig_initfini.
54914         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54915         returning unsuccessfully.
54916         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54917         close of a file loaded at startup, restore the original l_initfini
54918         list.
54919         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54920         list, store the pointer.
54921         * elf/Makefile ($(objpfx)noload-mem): New rule.
54922         (noload-ENV): Define.
54923         (tests): Add $(objpfx)noload-mem.
54924         * elf/noload.c: Include <memcheck.h>.
54925         (main): Call mtrace.  Close all opened handles.
54927 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54929         [BZ #12454]
54930         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54931         dependencies are missing.
54933 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54935         Fix __if_freereq crash: Unlike the generic version which uses free,
54936         Hurd needs munmap.
54937         * sysdeps/mach/hurd/ifreq.h: New file.
54939 2011-01-27  Petr Baudis  <pasky@suse.cz>
54940             Ulrich Drepper  <drepper@gmail.com>
54942         [BZ 12445]#
54943         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54944         to extend_alloca().
54945         * stdio-common/bug23.c: New file.
54946         * stdio-common/Makefile (tests): Add bug23.
54948 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54949             Ulrich Drepper  <drepper@gmail.com>
54951         [BZ #12489]
54952         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54953         before performing relro protection.  At old place add assertion
54954         to make sure nothing changed.
54956 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54957             Glauber de Oliveira Costa  <glommer@gmail.com>
54959         * elf/elf.h: Add new ARM TLS relocs.
54961 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54964         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54965         cast from r3.
54966         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54967         'tests' variable.
54968         * sysdeps/wordsize-64/tst-writev.c: New file.
54970 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54972         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54973         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54974         insns in _dl_start to prevent a TOC reference before relocs are
54975         resolved.
54977 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54979         [BZ #12469]
54980         * Makeconfig: Remove RANLIB definition.
54981         * Makerules: Don't use RANLIB.
54982         * aclocal.m4: Remove ranlib test.
54983         * configure.in: No need to check for ranlib.
54984         * elf/rtld-Rules: Don't use RANLIB.
54986 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54988         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54989         protection macro.
54990         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54991         inclusion protection macro.
54993         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54994         SIGRTMIN and SIGRTMAX and print information in that case only when
54995         SIGRTMIN is defined.
54997 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54999         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55000         arginfo fn returning -1.
55002         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55003         and thousands string is zero terminated.
55005 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55007         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55008         sysdeps/unix/sysv/linux/bits/socket.h.
55010 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55012         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55013         (__CPU_COUNT): Remove old macros.
55014         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55015         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55016         (__CPU_ALLOC, __CPU_FREE): Add macros.
55017         (__sched_cpualloc, __sched_cpufree): Add declarations.
55019 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55021         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55022         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55023         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55024         (readdhstai): Return value of addhstaiX call.
55025         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55026         (addgrbyX): Return value returned by cache_addgr.
55027         (readdgrbyname): Return value returned by addgrbyX.
55028         (readdgrbygid): Likewise.
55029         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55030         (addpwbyX): Return value returned by cache_addpw.
55031         (readdpwbyname): Return value returned by addhstbyX.
55032         (readdpwbyuid): Likewise.
55033         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55034         (addservbyX): Return value returned by cache_addserv.
55035         (readdservbyname): Return value returned by addservbyX:
55036         (readdservbyport): Likewise.
55037         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55038         (addhstbyX): Return value returned by cache_addhst.
55039         (readdhstbyname): Return value returned by addhstbyX.
55040         (readdhstbyaddr): Likewise.
55041         (readdhstbynamev6): Likewise.
55042         (readdhstbyaddrv6): Likewise.
55043         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55044         (readdinitgroups): Return value returned by addinitgroupsX.
55045         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55046         (prune_cache): Keep track of timeout value of re-added entries.
55047         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55048         * nscd/nscd.h: Adjust prototypes of readd* functions.
55050 2011-02-04  Roland McGrath  <roland@redhat.com>
55052         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55053         (nis_stats): Likewise.
55054         * nis/nis_modify.c (nis_modify): Likewise.
55055         * nis/nis_remove.c (nis_remove): Likewise.
55056         * nis/nis_add.c (nis_add): Likewise.
55058         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55060         * posix/fnmatch_loop.c: Add some consts.
55062         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55064 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55066         [BZ #12460]
55067         * config.make.in (config-cflags-novzeroupper): Define.
55068         * configure.in: Substitute libc_cv_cc_novzeroupper.
55069         * elf/Makefile (AVX-CFLAGS): Define.
55070         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55071         (CFLAGS-tst-auditmod4a.c): Likewise.
55072         (CFLAGS-tst-auditmod4b.c): Likewise.
55073         (CFLAGS-tst-auditmod6b.c): Likewise.
55074         (CFLAGS-tst-auditmod6c.c): Likewise.
55075         (CFLAGS-tst-auditmod7b.c): Likewise.
55076         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55078 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55080         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55081         function to the callback.
55082         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55084 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55086         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55087         of errno.
55089 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55091         [BZ #11724]
55092         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55093         of constructors.
55094         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55095         of destructors.
55096         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55098         [BZ #11724]
55099         * elf/Makefile: Add rules to build and run new test.
55100         * elf/tst-initorder.c: New file.
55101         * elf/tst-initorder.exp: New file.
55102         * elf/tst-initordera1.c: New file.
55103         * elf/tst-initordera2.c: New file.
55104         * elf/tst-initordera3.c: New file.
55105         * elf/tst-initordera4.c: New file.
55106         * elf/tst-initorderb1.c: New file.
55107         * elf/tst-initorderb2.c: New file.
55108         * elf/tst-order-a1.c: New file.
55109         * elf/tst-order-a2.c: New file.
55110         * elf/tst-order-a3.c: New file.
55111         * elf/tst-order-a4.c: New file.
55112         * elf/tst-order-b1.c: New file.
55113         * elf/tst-order-b2.c: New file.
55114         * elf/tst-order-main.c: New file.
55115         New test case by George Gensure <werkt0@gmail.com>.
55117 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55119         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55120         decoding ACE if AI_CANONIDN.
55122 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55124         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55126 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55128         * version.h (RELEASE): Bump for 2.13 release.
55129         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55131         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55133         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55134         MADV_NOHUGEPAGE.
55135         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55136         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55137         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55138         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55139         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55140         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55142         * posix/getconf.c: Update copyright year.
55143         * catgets/gencat.c: Likewise.
55144         * csu/version.c: Likewise.
55145         * debug/catchsegv.sh: Likewise.
55146         * debug/xtrace.sh: Likewise.
55147         * elf/ldconfig.c: Likewise.
55148         * elf/ldd.bash.in: Likewise.
55149         * elf/sprof.c (print_version): Likewise.
55150         * iconv/iconv_prog.c: Likewise.
55151         * iconv/iconvconfig.c: Likewise.
55152         * locale/programs/locale.c: Likewise.
55153         * locale/programs/localedef.c: Likewise.
55154         * malloc/memusage.sh: Likewise.
55155         * malloc/mtrace.pl: Likewise.
55156         * nscd/nscd.c (print_version): Likewise.
55157         * nss/getent.c: Likewise.
55159         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55160         PF_CAIF, and PF_ALG.
55161         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55163 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55165         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55166         (modules-names): Use them.
55167         (ifunc-test-modules, ifunc-pie-tests): Define.
55168         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55169         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55170         (test-extras): Likewise.
55171         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55172         $(compile-command.c).
55173         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55174         (all-built-dso): Define.
55175         (check-textrel.out, check-execstack.out): Depend on it.
55177         * configure.in: Don't override --enable-multi-arch.
55179 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55181         [BZ #6812]
55182         * nscd/hstcache.c (tryagain): Define.
55183         (cache_addhst): Return tryagain not notfound for temporary errors.
55184         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55185         failed.
55187 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55189         [BZ #10563]
55190         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55191         to make the syscall.
55192         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55194         [BZ #12378]
55195         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55196         and fall back to matching as normal character if the string ends before
55197         the matching ']' is found.  This is what POSIX requires.
55198         * posix/testfnm.c: Adjust test result.
55199         * posix/globtest.sh: Adjust test result.  Add new test.
55200         * posix/tst-fnmatch.input: Likewise.
55201         * posix/tst-fnmatch2.c: Add new test.
55203 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55205         * elf/Makefile (check-execstack): Revert last change.  Depend on
55206         check-execstack.h.
55207         (check-execstack.h): New target.
55208         (generated): Add check-execstack.h.
55209         * elf/check-execstack.c: Include "check-execstack.h".
55210         (main): Revert last change.
55211         (handle_file): Return zero if GNU_STACK is absent and
55212         DEFAULT_STACK_PERMS doesn't include PF_X.
55214 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55216         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55217         in child fails because the descriptor is already closed.
55218         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55219         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55220         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55222         [BZ #12397]
55223         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55224         syscall.
55226         [BZ #10484]
55227         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55228         temporary buffer used to handle multi lookups locally.
55229         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55231 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55233         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55234         loader is ld.so.
55236 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55238         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55239         alignment for SSE2.
55241 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55243         [BZ #12394]
55244         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55245         characters.  When rounding increased number of integer digits recompute
55246         number of groups.
55247         * stdio-common/tst-grouping.c: New file.
55248         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55250 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55252         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55253         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55255         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55256         void.
55257         * bits/select.h: Likewise.
55259 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55261         * po/ja.po: Update from translation team.
55263 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55265         [BZ #11155]
55266         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55267         implementation just like for lxstat, fxstatat, et al.
55269 2010-12-27  Jim Meyering  <meyering@redhat.com>
55271         [BZ #12348]
55272         * posix/regexec.c (build_trtable): Return failure indication upon
55273         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55275 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55277         [BZ #12201]
55278         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55279         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55280         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55281         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55283         [BZ #12207]
55284         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55286         [BZ #12204]
55287         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55288         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55290 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55292         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55293         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55294         script has SORT_BY_INIT_PRIORITY.
55295         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55296         NO_CTORS_DTORS_SECTIONS is defined.
55297         * elf/soinit.c: Likewise.
55298         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55299         NO_CTORS_DTORS_SECTIONS is defined.
55300         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55301         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55302         * sysdeps/sh/init-first.c: Likewise.
55303         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55305 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55307         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55308         always use the slow path.
55310 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55312         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55313         similar rule which adds the sysdep directories to the header search in
55314         order to pick up the correct platform stackinfo.h.
55315         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55316         perform test if it is, otherwise return successfully without testing.
55317         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55318         DEFAULT_STACK_PERMS define in stackinfo.h.
55319         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55320         defined in stackinfo.h.
55321         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55322         DEFAULT_STACK_PERMS defined in stackinfo.h.
55323         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55324         * sysdeps/ia64/stackinfo.h: Likewise.
55325         * sysdeps/s390/stackinfo.h: Likewise.
55326         * sysdeps/sh/stackinfo.h: Likewise.
55327         * sysdeps/sparc/stackinfo.h: Likewise.
55328         * sysdeps/x86_64/stackinfo.h: Likewise.
55329         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55330         PF_X for powerpc64.  Retain PF_X for powerpc32.
55332 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55334         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55335         accurately.
55336         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55337         GETDENTS_64BIT_ALIGNED.
55339 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55341         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55343 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55345         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55346         _GNU_SOURCE.
55348         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55349         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55350         Remove __restrict.
55351         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55352         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55354 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55356         [BZ #11655]
55357         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55358         are initialized.
55360 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55362         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55364 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55366         * po/it.po: Update from translation team.
55368 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55370         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55371         unused codes.
55373 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55375         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55377 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55379         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55380         specially.
55381         (gaih_getanswer_slice): Likewise.
55383 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55385         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55387 2010-05-31  Petr Baudis  <pasky@suse.cz>
55389         [BZ #11149]
55390         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55391         silently even in the chroot mode.
55393 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55395         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55396         last patch a bit.  Pretty printing
55398 2010-05-31  Petr Baudis <pasky@suse.cz>
55400         [BZ #10085]
55401         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55402         initialization of skip_initgroups_dyn.
55404 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55406         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55407         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55409 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55411         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55413 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55415         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55416         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55417         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55418         ($(objpfx)tst-fnmatch-mem): New rule.
55419         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55420         * posix/tst-fnmatch.c (main): Call mtrace.
55422 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55425         Support Intel processor model 6 and model 0x2c.
55427 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55429         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55430           signed comparison.
55432 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55434         [BZ #12205]
55435         * string/test-strncasecmp.c (check_result): New function.
55436         (do_one_test): Use it.
55437         (check1): New function.
55438         (test_main): Use it.
55439         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55440         Support strcasecmp and strncasecmp.
55442 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55444         [BZ #12194]
55445         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55446         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55448 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55450         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55451         IFUNC support.
55452         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55453         memset-x86-64.
55454         * sysdeps/x86_64/multiarch/bzero.S: New file.
55455         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55456         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55457         * sysdeps/x86_64/multiarch/memset.S: New file.
55458         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55459         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55460         Set bit_Prefer_SSE_for_memop for Intel processors.
55461         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55462         Define.
55463         (index_Prefer_SSE_for_memop): Define.
55464         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55466 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55468         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55469         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55471 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55473         [BZ #12191]
55474         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55475         (__x86_64_raw_data_cache_size_half): Likewise.
55476         (__x86_64_raw_shared_cache_size): Likewise.
55477         (__x86_64_raw_shared_cache_size_half): Likewise.
55479         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55480         (__x86_64_raw_data_cache_size_half): Likewise.
55481         (__x86_64_raw_shared_cache_size): Likewise.
55482         (__x86_64_raw_shared_cache_size_half): Likewise.
55483         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55484         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55485         and __x86_64_raw_shared_cache_size_half.  Round
55486         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55487         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55488         to multiple of 256 bytes.
55490 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55492         [BZ #12167]
55493         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55494         of inacessible symlinks.  Verify result of symlink before returning it.
55495         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55496         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55498 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55500         * math/math.h (isinf): Fix typo in comment.
55502 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55504         * po/da.po: Update from translation team.
55506 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55508         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55509         is added to the list.
55511 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55512             Ulrich Drepper  <drepper@gmail.com>
55514         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55515         the global list here.  Move code to...
55516         (_dl_add_to_namespace_list): ...here.  New function.
55517         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55518         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55519         * elf/dl-load.c (lose): Don't remove the element from the list.
55520         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55521         (_dl_map_object): Likewise.
55523 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55525         [BZ #12159]
55526         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55527         into all bytes of SSE register.
55528         Patch by Richard Li <richardpku@gmail.com>.
55530 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55532         [BZ #12140]
55533         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55534         perturbing.
55536 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55538         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55539         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55540         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55541         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55543         submachine.
55544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55546 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55548         * include/dlfcn.h (__RTLD_SECURE): Define.
55549         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55550         mode & __RTLD_SECURE instead.
55551         (open_path): Rename preloaded parameter to secure.
55552         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55553         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55554         * elf/dl-deps.c (openaux): Likewise.
55555         * elf/rtld.c (struct map_args): Remove is_preloaded.
55556         (map_doit): Don't use it.
55557         (dl_main): Likewise.
55558         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55559         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55561 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55563         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55564         (sysd-rules-targets): Remove duplicates.
55565         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55566         rtld-%.$o dependency.
55568 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55570         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55571         _dl_map_object do it.
55573 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55575         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55576         fast fma builtins, define the macros in the C99 standard.
55577         (FP_FAST_FMAF): Likewise.
55578         (FP_FAST_FMAL): Likewise.
55579         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55581         * bits/mathdef.h: Update copyright year.
55582         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55584 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55586         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55587         builtins, define the macros in the C99 standard.
55588         (FP_FAST_FMAF): Likewise.
55589         (FP_FAST_FMAL): Likewise.
55590         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55591         multiply/add.
55592         (FP_FAST_FMAF): Likewise.
55594 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55596         [BZ #3268]
55597         * math/libm-test.inc (fma_test): Some new testcases.
55598         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55599         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55600         y and infinite z.  Do multiplication by C already in long double.
55601         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55603         y and infinite z.  Do bitwise or of inexact bit into u.d.
55604         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55605         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55606         * sysdeps/i386/fpu/s_fma.S: Removed.
55607         * sysdeps/i386/fpu/s_fmal.S: Removed.
55609 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55611         [BZ #3268]
55612         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55613         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55614         computation is not scheduled after fetestexcept.  Fix value
55615         of minimum denormal long double.
55617 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55619         [BZ #3268]
55620         * math/libm-test.inc (fma_test): Add some more tests.
55621         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55622         correctly.
55624 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55626         * scripts/data/localplt-s390-linux-gnu.data: New file.
55627         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55629 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55631         [BZ #3268]
55632         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55633         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55634         instead of dbl-64.
55635         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55636         inlines.
55637         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55638         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55639         if one of x and y is very large and the other is subnormal.
55640         * sysdeps/s390/fpu/s_fmaf.c: New file.
55641         * sysdeps/s390/fpu/s_fma.c: New file.
55642         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55643         * sysdeps/powerpc/fpu/s_fma.S: New file.
55644         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55645         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55646         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55648 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55650         [BZ #3268]
55651         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55652         fma tests.
55653         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55654         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55655         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55656         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55657         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55658         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55659         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55661 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55663         [BZ #12078]
55664         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55665         * posix/bug-regex31.input: Add test case.
55667 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55669         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55670         * posix/bug-regex31.input: New file.
55672         [BZ #12078]
55673         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55674         (parse_sub_exp): Fix last change, use postorder.
55676         * posix/bug-regex31.c: New file.
55677         * posix/Makefile: Add rules to build and run bug-regex31.
55679         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55681         [BZ #12078]
55682         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55684         [BZ #12108]
55685         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55686         to have entries in sys_siglist.
55688         [BZ #12093]
55689         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55690         be NULL.
55692 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55694         [BZ #3268]
55695         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55696         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55697         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55698         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55699         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55700         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55701         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55702         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55703         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55704         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55705         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55706         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55707         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55708         * math/ftestexcept.c (fetestexcept): Likewise.
55709         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55710         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55711         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55712         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55713         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55714         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55715         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55717 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55719         [BZ #12107]
55720         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55721         newline.
55723 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55725         * string/bug-strstr1.c: New file.
55726         * string/Makefile: Add rules to build and run bug-strstr1.
55728 2010-10-05  Eric Blake  <eblake@redhat.com>
55730         [BZ #12092]
55731         * string/str-two-way.h (two_way_long_needle): Always clear memory
55732         when skipping input due to the shift table.
55734 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55736         [BZ #12005]
55737         * malloc/mcheck.c: Handle large requests.
55739         [BZ #12077]
55740         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55741         for strncmp and strncasecmp.
55742         * string/stratcliff.c: Add tests for strcmp and strncmp.
55743         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55745 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55747         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55748         __set_fpscr.
55750 2010-09-30  Andreas Jaeger  <aj@suse.de>
55752         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55753         (CGROUP_SUPER_MAGIC): Define.
55754         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55755         Handle btrfs and cgroup file systems.
55756         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55757         Likewise.
55759 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55761         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55762         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55764 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55766         [BZ #12067]
55767         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55768         trying to locate the ELF header.
55770 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55772         [BZ #11611]
55773         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55774         Mask out sign-bit copies when constructing f_fsid.
55776 2010-09-24  Petr Baudis <pasky@suse.cz>
55778         * debug/stack_chk_fail_local.c: Add missing licence exception.
55779         * debug/warning-nop.c: Likewise.
55781 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55783         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55784         implementing getdents64 using getdents syscall, set d_type if
55785         __ASSUME_GETDENTS32_D_TYPE.
55787 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55789         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55790         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55792 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55794         [BZ #12037]
55795         * posix/unistd.h: Undo change of feature selection for ftruncate from
55796         2010-01-11.
55798 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55800         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55801         detection.
55803 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55805         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55806         fanotify_mark.
55807         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55809 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55811         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55812         variables after CHECK_SP call.
55813         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55815 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55816             Ulrich Drepper  <drepper@redhat.com>
55818         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55819         re-relocationg ld.so.
55820         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55821         _dl_init_paths call.
55822         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55823         here anymore.
55825 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55827         * resolv/res_init.c (__res_vinit): Count the default server we added.
55829 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55830             Ulrich Drepper  <drepper@redhat.com>
55832         [BZ #11968]
55833         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55834         (____longjmp_chk): Use %ebx for saving value across system call.
55835         Add unwind info.
55837 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55839         * manual/Makefile: Don't mix pattern rules with normal rules.
55841 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55843         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55844         operation.
55845         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55846         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55847         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55848         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55850         Likewise.
55852 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55854         [BZ #11979]
55855         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55856         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55858 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55860         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55861         * sysdeps/x86_64/addmul_1.S: Likewise.
55862         * sysdeps/x86_64/lshift.S: Likewise.
55863         * sysdeps/x86_64/mul_1.S: Likewise.
55864         * sysdeps/x86_64/rshift.S: Likewise.
55865         * sysdeps/x86_64/sub_n.S: Likewise.
55866         * sysdeps/x86_64/submul_1.S: Likewise.
55868 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55870         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55871         Define __sched_param instead of SCHED_* and sched_param when
55872         <bits/sched.h> is included with __need_schedparam defined.
55873         * bits/sched.h [__need_schedparam]
55874         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55875         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55876         (__defined_schedparam): Define to 1.
55877         (__sched_param): New structure, identical to sched_param.
55878         (__need_schedparam): Undefine.
55880 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55882         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55883         (epoll_create1): Declare.
55885         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55887 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55889         [BZ #7066]
55890         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55891         shifting retval into place.
55893 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55895         * nis/rpcsvc/nis.h: Update copyright notice.
55896         * nis/rpcsvc/nis.x: Likewise.
55897         * nis/rpcsvc/nis_callback.h: Likewise.
55898         * nis/rpcsvc/nis_callback.x: Likewise.
55899         * nis/rpcsvc/nis_object.x: Likewise.
55900         * nis/rpcsvc/nis_tags.h: Likewise.
55901         * nis/rpcsvc/yp.h: Likewise.
55902         * nis/rpcsvc/yp.x: Likewise.
55903         * nis/rpcsvc/ypupd.h: Likewise.
55904         * nis/yp_xdr.c: Likewise.
55905         * nis/ypupdate_xdr.c: Likewise.
55907         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55908         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55909         (pmap_getport): Use __libc_rpc_getport.
55910         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55911         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55912         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55914 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55917         fanotify_mark.
55919 2010-08-27  Roland McGrath  <roland@redhat.com>
55921         * sysdeps/i386/i686/multiarch/Makefile
55922         (CFLAGS-varshift.c): New variable.
55924 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55926         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55927         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55929         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55931         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55933 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55935         * sysdeps/x86_64/strlen.S: Unroll the loop.
55936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55937         strlen-sse2 strlen-sse2-bsf.
55938         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55939         __strlen_no_bsf if bit_Slow_BSF is set.
55940         (__strlen_sse42): Removed.
55941         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55942         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55944 2010-08-25  Roland McGrath  <roland@redhat.com>
55946         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55947         * sysdeps/x86_64/multiarch/varshift.c: New file.
55948         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55949         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55950         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55951         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55953 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55955         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55956         strlen-sse2 strlen-sse2-bsf.
55957         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55958         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55959         (__strlen_sse2): Removed.
55960         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55961         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55963         bit_Slow_BSF for Atom.
55964         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55965         (index_Slow_BSF): Define.
55966         (HAS_SLOW_BSF): Define.
55968 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55970         [BZ #10851]
55971         * resolv/res_init.c (__res_vinit): When no server address at all
55972         is given default to loopback.
55974 2010-08-24  Roland McGrath  <roland@redhat.com>
55976         * configure.in: Remove config-name.h generation.
55977         * configure: Regenerated.
55978         * config-name.in: File removed.
55979         * scripts/config-uname.sh: New file.
55980         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55981         ($(objdir)config-name.h): New target.
55983         * sunrpc/rpc_parse.h: Avoid nested comment.
55985 2010-08-24  Richard Henderson  <rth@redhat.com>
55986             Ulrich Drepper  <drepper@redhat.com>
55987             H.J. Lu  <hongjiu.lu@intel.com>
55989         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55991         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55992         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55993         _mm_alignr_epi8 with _mm_loadu_si128.
55994         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55995         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55996         (__m128i_shift_right): Removed.
55997         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55998         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55999         * sysdeps/x86_64/multiarch/varshift.h: New file.
56000         * sysdeps/x86_64/multiarch/varshift.S: New file.
56002 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56004         * configure.in: Move assembler checks to before sysdep dir checking.
56006 2010-08-20  Petr Baudis  <pasky@suse.cz>
56008         * LICENSES: Sync the sunrpc license.
56010 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56012         * sunrpc/auth_des.c: Update copyright notice once again.
56013         * sunrpc/auth_none.c: Likewise.
56014         * sunrpc/auth_unix.c: Likewise.
56015         * sunrpc/authdes_prot.c: Likewise.
56016         * sunrpc/authuxprot.c: Likewise.
56017         * sunrpc/bindrsvprt.c: Likewise.
56018         * sunrpc/clnt_gen.c: Likewise.
56019         * sunrpc/clnt_perr.c: Likewise.
56020         * sunrpc/clnt_raw.c: Likewise.
56021         * sunrpc/clnt_simp.c: Likewise.
56022         * sunrpc/clnt_tcp.c: Likewise.
56023         * sunrpc/clnt_udp.c: Likewise.
56024         * sunrpc/clnt_unix.c: Likewise.
56025         * sunrpc/des_crypt.c: Likewise.
56026         * sunrpc/des_soft.c: Likewise.
56027         * sunrpc/get_myaddr.c: Likewise.
56028         * sunrpc/getrpcport.c: Likewise.
56029         * sunrpc/key_call.c: Likewise.
56030         * sunrpc/key_prot.c: Likewise.
56031         * sunrpc/openchild.c: Likewise.
56032         * sunrpc/pm_getmaps.c: Likewise.
56033         * sunrpc/pm_getport.c: Likewise.
56034         * sunrpc/pmap_clnt.c: Likewise.
56035         * sunrpc/pmap_prot.c: Likewise.
56036         * sunrpc/pmap_prot2.c: Likewise.
56037         * sunrpc/pmap_rmt.c: Likewise.
56038         * sunrpc/rpc/auth.h: Likewise.
56039         * sunrpc/rpc/auth_unix.h: Likewise.
56040         * sunrpc/rpc/clnt.h: Likewise.
56041         * sunrpc/rpc/des_crypt.h: Likewise.
56042         * sunrpc/rpc/key_prot.h: Likewise.
56043         * sunrpc/rpc/netdb.h: Likewise.
56044         * sunrpc/rpc/pmap_clnt.h: Likewise.
56045         * sunrpc/rpc/pmap_prot.h: Likewise.
56046         * sunrpc/rpc/pmap_rmt.h: Likewise.
56047         * sunrpc/rpc/rpc.h: Likewise.
56048         * sunrpc/rpc/rpc_des.h: Likewise.
56049         * sunrpc/rpc/rpc_msg.h: Likewise.
56050         * sunrpc/rpc/svc.h: Likewise.
56051         * sunrpc/rpc/svc_auth.h: Likewise.
56052         * sunrpc/rpc/types.h: Likewise.
56053         * sunrpc/rpc/xdr.h: Likewise.
56054         * sunrpc/rpc_clntout.c: Likewise.
56055         * sunrpc/rpc_cmsg.c: Likewise.
56056         * sunrpc/rpc_common.c: Likewise.
56057         * sunrpc/rpc_cout.c: Likewise.
56058         * sunrpc/rpc_dtable.c: Likewise.
56059         * sunrpc/rpc_hout.c: Likewise.
56060         * sunrpc/rpc_main.c: Likewise.
56061         * sunrpc/rpc_parse.c: Likewise.
56062         * sunrpc/rpc_parse.h: Likewise.
56063         * sunrpc/rpc_prot.c: Likewise.
56064         * sunrpc/rpc_sample.c: Likewise.
56065         * sunrpc/rpc_scan.c: Likewise.
56066         * sunrpc/rpc_scan.h: Likewise.
56067         * sunrpc/rpc_svcout.c: Likewise.
56068         * sunrpc/rpc_tblout.c: Likewise.
56069         * sunrpc/rpc_util.c: Likewise.
56070         * sunrpc/rpc_util.h: Likewise.
56071         * sunrpc/rpcinfo.c: Likewise.
56072         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56073         * sunrpc/rpcsvc/key_prot.x: Likewise.
56074         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56075         * sunrpc/rpcsvc/mount.x: Likewise.
56076         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56077         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56078         * sunrpc/rpcsvc/rex.x: Likewise.
56079         * sunrpc/rpcsvc/rstat.x: Likewise.
56080         * sunrpc/rpcsvc/rusers.x: Likewise.
56081         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56082         * sunrpc/rpcsvc/spray.x: Likewise.
56083         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56084         * sunrpc/rtime.c: Likewise.
56085         * sunrpc/svc.c: Likewise.
56086         * sunrpc/svc_auth.c: Likewise.
56087         * sunrpc/svc_authux.c: Likewise.
56088         * sunrpc/svc_raw.c: Likewise.
56089         * sunrpc/svc_run.c: Likewise.
56090         * sunrpc/svc_simple.c: Likewise.
56091         * sunrpc/svc_tcp.c: Likewise.
56092         * sunrpc/svc_udp.c: Likewise.
56093         * sunrpc/svc_unix.c: Likewise.
56094         * sunrpc/svcauth_des.c: Likewise.
56095         * sunrpc/xcrypt.c: Likewise.
56096         * sunrpc/xdr.c: Likewise.
56097         * sunrpc/xdr_array.c: Likewise.
56098         * sunrpc/xdr_float.c: Likewise.
56099         * sunrpc/xdr_mem.c: Likewise.
56100         * sunrpc/xdr_rec.c: Likewise.
56101         * sunrpc/xdr_ref.c: Likewise.
56102         * sunrpc/xdr_sizeof.c: Likewise.
56103         * sunrpc/xdr_stdio.c: Likewise.
56105         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56106         handling.
56108 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56110         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56112 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56114         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56115         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56116         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56117         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56118         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56119         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56120         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56121         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56122         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56123         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56124         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56125         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56126         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56127         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56129 2010-07-26  Anton Blanchard  <anton@samba.org>
56131         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56132         * malloc/arena.c (heap_trim): Likewise.
56134 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56136         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56137         here.  Not...
56138         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56139         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56141 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56143         * sysdeps/i386/elf/Makefile: New file.
56145 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56147         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56148         from fanotify_init.
56149         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56150         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56152 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56154         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56155         of strncasecmp_l.
56156         * sysdeps/multiarch/strcmp.S: Likewise.
56158 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56160         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56161         strncase_l-nonascii.
56162         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56163         Add strncase_l-ssse3.
56164         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56165         * sysdeps/x86_64/strcmp.S: Likewise.
56166         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56167         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56168         * sysdeps/x86_64/strncase.S: New file.
56169         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56170         * sysdeps/x86_64/strncase_l.S: New file.
56171         * string/Makefile (strop-tests): Add strncasecmp.
56172         * string/test-strncasecmp.c: New file.
56174         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56175         warning.
56177         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56178         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56180 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56182         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56184 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56186         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56187         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56188         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56190 2010-05-01  Alan Modra  <amodra@gmail.com>
56192         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56193         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56194         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56195         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56196         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56197         tidying.  Don't tail-call __sigjmp_save for static lib.
56198         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56199         save location.
56200         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56201         (CALL_MCOUNT): Add eh info, and nop after bl.
56202         (TAIL_CALL_SYSCALL_ERROR): New macro.
56203         (PSEUDO_RET): Use it.
56204         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56205         Correct save location of integer regs and cr.
56206         (_dl_profile_resolve): Correct cr save location.  Delete nops
56207         after bl when SHARED.  Reduce cfi size a little by better
56208         placement of cfi directives.
56209         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56210         make a stack frame.  Instead use parm save area as a temp.
56211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56212         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56214         Don't make a stack frame for parent, use parm save area.
56215         Increase child stack frame to 112 bytes.  Don't save unused reg,
56216         and adjust reg usage.  Set up cfi on error recovery and
56217         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56219         (__makecontext): Add dummy nop after jump to exit.
56220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56221         Use correct parm save area and cr save, reduce stack frame.
56222         Correct cfi for possible PSEUDO_RET frame setup.
56223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56224         Branch to local label emitted by PSEUDO_RET rather than
56225         __syscall_error.
56227 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56229         [BZ #11904]
56230         * locale/programs/locale.c (print_assignment): New function.
56231         (show_locale_vars): Use it.
56233 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56235         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56236         field.
56237         (struct statfs64): Likewise.
56238         (_STATFS_F_FLAGS): Define.
56239         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56240         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56241         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56242         (ST_VALID): Define locally.
56243         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56244         __statvfs_getflags, use the provided value.
56245         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56246         __ASSUME_STATFS_F_FLAGS.
56248         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56250         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56251         Add sys/fanotify.h.
56252         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56253         fanotify_mask for GLIBC_2.13.
56254         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56255         fanotify_init and fanotify_mark.
56256         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56257         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56259         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56260         Add prlimit.
56261         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56262         prlimit64 for GLIBC_2.13.
56263         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56264         prlimit64.
56265         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56266         syscall.
56267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56268         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56269         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56270         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56271         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56272         add prlimit alias.
56273         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56275         [BZ #11903]
56276         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56277         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56279         * nss/Makefile: Add rules to build and run tst-nss-test1.
56280         * shlib-versions: Add entry for libnss_test1.
56281         * nss/nss_test1.c: New file.
56282         * nss/tst-nss-test1.c: New file.
56284         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56285         (__nss_configure_lookup): Set appropriate entry in
56286         __nss_configure_lookup to true.
56287         * nss/nsswitch.h: Define enum with indeces of databases in
56288         databases and __nss_database_custom arrays.  Declare
56289         __nss_database_custom.
56290         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56291         to avoid using nscd when custom rules are installed.
56292         * nss/getXXbyYY_r.c: Likewise.
56293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56295         * nss/nss_files/files-parse.c: Whitespace fixes.
56297 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56299         [BZ #11883]
56300         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56301         * posix/fnmatch_loop.c: Likewise.
56303 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56305         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56306         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56307         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56308         * Versions.def [GLIBC_2.13]: Add.
56310 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56312         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56313         Also fail if tpwd after pwuid call is NULL.
56315 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56317         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56318         when converting to ms.
56320 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56322         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56323         EOPNOTSUPP errors with ENOTTY.
56324         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56325         EOPNOTSUPP errors with ENOTTY.
56327 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56329         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56330         Add strcasecmp_l-ssse3.
56331         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56332         strcasecmp.
56333         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56334         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56335         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56337 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56339         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56341         * string/Makefile (strop-tests): Add strcasecmp.
56342         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56343         strcasecmp_l-nonascii.
56344         (gen-as-const-headers): Add locale-defines.sym.
56345         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56346         * sysdeps/x86_64/strcasecmp.S: New file.
56347         * sysdeps/x86_64/strcasecmp_l.S: New file.
56348         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56349         * sysdeps/x86_64/locale-defines.sym: New file.
56350         * string/test-strcasecmp.c: New file.
56352         * string/test-strcasestr.c: Test both ends of the range of characters.
56353         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56355 2010-07-29  Roland McGrath  <roland@redhat.com>
56357         [BZ #11856]
56358         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56360 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56362         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56363         for ld.so.
56365 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56367         * manual/memory.texi (Malloc Tunable Parameters): Document
56368         M_PERTURB.
56370 2010-07-26  Roland McGrath  <roland@redhat.com>
56372         [BZ #11840]
56373         * configure.in (-fgnu89-inline check): Set and substitute
56374         gnu89_inline, not libc_cv_gnu89_inline.
56375         * configure: Regenerated.
56376         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56378 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56380         * string/test-strnlen.c: New file.
56381         * string/Makefile (strop-tests): Add strnlen.
56382         * string/tester.c (test_strnlen): Add a few more test cases.
56383         * string/tst-strlen.c: Better error reporting.
56385         * sysdeps/x86_64/strnlen.S: New file.
56387 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56389         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56390         lower-latency instructions.
56392 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56394         * string/test-strcasestr.c: New file.
56395         * string/test-strstr.c: New file.
56396         * string/Makefile (strop-tests): Add strstr and strcasestr.
56397         * string/str-two-way.h: Don't undefine MAX.
56398         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56400 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56402         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56403         strcasestr-nonascii.
56404         (CFLAGS-strcasestr-nonascii.c): Define.
56405         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56406         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56407         Remove unused attribute.
56409 2010-07-20  Roland McGrath  <roland@redhat.com>
56411         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56412         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56413         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56414         like LD_HWCAP_MASK can disable hwcaps.
56416 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56418         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56420 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56422         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56423         call in strcasestr.
56424         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56425         __strcasestr_sse42_nonascii.
56426         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56427         strcasestr-nonascii.c.
56428         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56430 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56432         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56433         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56434         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56435         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56437 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56439         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56440         fcntl.
56442 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56444         [BZ #11577]
56445         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56446         dl_signal_cerror.
56448 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56450         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56451         _PC_PIPE_BUF using F_GETPIPE_SZ.
56453 2010-07-05  Roland McGrath  <roland@redhat.com>
56455         * manual/arith.texi (Rounding Functions): Fix rint description
56456         implicit in round description.
56458 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56460         * elf/Makefile: Fix linking for a few tests to make recent linker
56461         happy.
56463 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56465         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56466         $(common-objpfx)libc_nonshared.a.
56468 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56470         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56471         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56472         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56473         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56474         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56475         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56476         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56477         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56492         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56493         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56494         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56495         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56496         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56497         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56498         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56499         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56500         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56501         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56502         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56503         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56519 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56521         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56522         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56523         * string/memmove.c (memmove): Renamed to ...
56524         (MEMMOVE): ...this.  Default to memmove.
56525         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56526         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56527         (END_CHK): Define.
56528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56529         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56530         mempcpy-ssse3-back memmove-ssse3-back.
56531         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56532         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56533         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56534         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56535         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56536         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56537         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56538         * sysdeps/x86_64/multiarch/memmove.c: New file.
56539         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56540         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56541         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56542         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56543         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56544         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56545         Define.
56546         (index_Fast_Copy_Backward): Define.
56547         (HAS_ARCH_FEATURE): Define.
56548         (HAS_FAST_REP_STRING): Define.
56549         (HAS_FAST_COPY_BACKWARD): Define.
56551 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56553         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56554         Restore proper fallback handling.
56556 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56558         [BZ #11701]
56559         * posix/group_member.c (__group_member): Correct checking loop.
56561         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56562         OOM in getpwuid_r correctly.  Return error number when the caller
56563         should return, otherwise -1.
56564         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56565         call returning > 0 value.
56566         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56568 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56570         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56571         libc_nonshared.a from targets in modules-names.
56573 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56575         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56576         requires it.
56578 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56580         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56581         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56582         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56583         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56585 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56587         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56589 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56591         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56592         and F_GETPIPE_SZ.
56593         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56594         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56595         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56597         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56598         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56600 2010-06-14  Roland McGrath  <roland@redhat.com>
56602         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56604 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56606         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56607         __REDIRECT followed by __THROW.
56608         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56609         * posix/getopt.h (getopt): Likewise.
56611 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56613         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56614         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56615         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56616         in AT_FLAGS.
56617         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56618         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56620 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56622         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56624 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56626         [BZ #11640]
56627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56628         Properly check family and model.
56630 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56632         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56634 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56636         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56638 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56640         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56641         symbol reference.
56643 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56645         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56646         symbol reference.
56648 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56650         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56651         and internal_recvmmsg.
56652         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56653         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56654         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56655         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56657         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56658         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56659         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56661 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56663         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56665 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56667         POWER7 optimizations.
56668         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56669         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56671 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56673         * version.h: Update for 2.13 development version.
56675 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56677         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56678         exceptions.  Return 0.
56680 2010-05-07  Roland McGrath  <roland@redhat.com>
56682         * elf/ldconfig.c (main): Add a const.
56684 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56686         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56687         (args_options): Add no-idn option.
56688         (ahosts_keys_int): Add idn_flags to ai_flags.
56689         (parse_option): Handle 'i' option to clear idn_flags.
56691         * malloc/malloc.c (_int_free): Possible race in the most recently
56692         added check.  Only act on the data if no current modification
56693         happened.
56695 See ChangeLog.17 for earlier changes.